CN113032696A - Display method and display device of page picture - Google Patents

Display method and display device of page picture Download PDF

Info

Publication number
CN113032696A
CN113032696A CN201911235026.3A CN201911235026A CN113032696A CN 113032696 A CN113032696 A CN 113032696A CN 201911235026 A CN201911235026 A CN 201911235026A CN 113032696 A CN113032696 A CN 113032696A
Authority
CN
China
Prior art keywords
picture
visual
page
path
display
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
CN201911235026.3A
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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201911235026.3A priority Critical patent/CN113032696A/en
Publication of CN113032696A publication Critical patent/CN113032696A/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
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明公开了一种页面图片的显示方法和显示装置,涉及计算机技术领域。该方法的一具体实施方式包括:确定页面中位于当前可视区的可视占位图元素;获取屏幕倍率以及可视占位图元素的逻辑分辨率;根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示。该实施方式能够根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果。

Figure 201911235026

The invention discloses a display method and display device of a page picture, and relates to the technical field of computers. A specific implementation of the method includes: determining the visual placeholder map element located in the current visible area in the page; obtaining the screen magnification and the logical resolution of the visual placeholder map element; Display resolution of the page image corresponding to the placeholder image element; modify the image path of the visible placeholder image element based on the display resolution to load and display the page image. In this embodiment, the display resolution of the page picture on each terminal can be calculated according to the screen magnification of the terminal, so that each terminal can obtain the best display effect.

Figure 201911235026

Description

一种页面图片的显示方法和显示装置A display method and display device of a page picture

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种页面图片的显示方法和显示装置。The present invention relates to the technical field of computers, and in particular, to a method and a display device for displaying page pictures.

背景技术Background technique

在网页加载图片元素时,终端浏览器目前采取的方案普遍有两种方式,一种是将图片元素的宽和高进行固化,不管多大的屏幕,图片元素的大小宽高比都不变;另一种是以一种图片尺寸去适配多种不同屏幕的尺寸。When loading image elements on web pages, there are generally two methods currently adopted by terminal browsers. One is to solidify the width and height of the image elements. No matter how big the screen is, the size and aspect ratio of the image elements remain unchanged; the other is to solidify the width and height of the image elements. One is to use one image size to fit multiple different screen sizes.

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art:

屏幕越大,被留出的空白越多;图片的清晰度较差。The larger the screen, the more white space is left; the picture is less sharp.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种页面图片的显示方法和显示装置,能够根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果。In view of this, embodiments of the present invention provide a method and a display device for displaying page pictures, which can calculate the display resolution of page pictures on each terminal according to the screen magnification of the terminal, so that each terminal can obtain the best display effect.

为实现上述目的,根据本发明实施例的一个方面,提供了一种页面图片的显示方法。To achieve the above object, according to an aspect of the embodiments of the present invention, a method for displaying page pictures is provided.

本发明实施例的一种页面图片的显示方法包括:A method for displaying page pictures according to an embodiment of the present invention includes:

确定页面中位于当前可视区的可视占位图元素;Determine the visual placeholder element on the page that is located in the current visual area;

获取所述可视占位图元素的逻辑分辨率以及屏幕倍率;obtaining the logical resolution and screen magnification of the visual placeholder element;

根据所述逻辑分辨率和所述屏幕倍率计算所述可视占位图元素对应的页面图片的显示分辨率;Calculate the display resolution of the page picture corresponding to the visible placeholder element according to the logical resolution and the screen magnification;

基于所述显示分辨率修改所述可视占位图元素的图片路径,以对所述页面图片进行加载显示。Modify the picture path of the visible placeholder map element based on the display resolution, so as to load and display the page picture.

可选地,确定页面中位于当前可视区的可视占位图元素,包括:Optionally, determine the visual placeholder elements on the page that are located in the current viewable area, including:

获取页面中的占位图元素,并设置所述占位图元素的图片标签;其中,所述图片标签包括占位图路径和图片路径;Obtain a placeholder map element in the page, and set a picture label of the placeholder map element; wherein, the picture label includes a placeholder map path and a picture path;

获取所述页面中当前可视区的可视区上边距和可视区高度,并基于所述可视区上边距和所述可视区高度计算所述当前可视区的可视区下边距;Obtain the upper margin of the visible area and the height of the visible area of the current visible area in the page, and calculate the lower margin of the visible area of the current visible area based on the upper margin of the visible area and the height of the visible area ;

获取所述图片路径为非空值的所述占位图元素的图元素上边距;obtaining the top margin of the image element of the placeholder image element whose image path is a non-null value;

基于所述图元素上边距、所述可视区上边距和所述可视区下边距筛选出位于所述当前可视区的可视占位图元素。Based on the top margin of the graphic element, the top margin of the viewable area, and the bottom margin of the viewable area, the visual placeholder map elements located in the current viewable area are filtered out.

可选地,所述逻辑分辨率包括逻辑像素宽和逻辑像素高,所述显示分辨率包括显示像素宽和显示像素高,以及Optionally, the logical resolution includes a logical pixel width and a logical pixel height, the display resolution includes a display pixel width and a display pixel height, and

根据所述逻辑分辨率和所述屏幕倍率计算所述可视占位图元素对应的页面图片的显示分辨率,包括:Calculate the display resolution of the page picture corresponding to the visible placeholder element according to the logical resolution and the screen magnification, including:

根据所述可视占位图元素的图片路径获取所述可视占位图元素对应的页面图片;Obtain the page picture corresponding to the visual placeholder map element according to the image path of the visual placeholder map element;

将所述逻辑像素宽与所述屏幕倍率相乘,得到所述页面图片的所述显示像素宽;multiplying the logical pixel width by the screen magnification to obtain the display pixel width of the page picture;

将所述逻辑像素高与所述屏幕倍率相乘,得到所述页面图片的所述显示像素高。Multiply the logical pixel height by the screen magnification to obtain the display pixel height of the page picture.

可选地,基于所述显示分辨率修改所述可视占位图元素的图片路径,包括:Optionally, modifying the picture path of the visual placeholder map element based on the display resolution includes:

确定所述可视占位图元素的图片路径的尺寸位置;determining the size and position of the image path of the visual placeholder element;

基于所述显示像素宽和所述显示像素高修改所述尺寸位置的值。The value of the size location is modified based on the display pixel width and the display pixel height.

可选地,基于所述显示分辨率修改所述可视占位图元素的图片路径之后,还包括:Optionally, after modifying the picture path of the visual placeholder map element based on the display resolution, the method further includes:

生成图片测试对象,将所述可视占位图元素的图片路径设置为所述图片测试对象的测试路径;generating a picture test object, and setting the picture path of the visible placeholder image element as the test path of the picture test object;

按所述测试路径加载所述图片测试对象;Load the picture test object according to the test path;

若加载成功,则保存所述可视占位图元素的图片路径;If the loading is successful, save the image path of the visual placeholder element;

若加载失败,则将所述可视占位图元素的图片路径更改为所述可视占位图元素的占位图路径。If the loading fails, the picture path of the visual placeholder map element is changed to the placeholder map path of the visual placeholder map element.

为实现上述目的,根据本发明实施例的又一方面,提供了一种页面图片的显示装置。To achieve the above object, according to yet another aspect of the embodiments of the present invention, a device for displaying page pictures is provided.

本发明实施例的一种页面图片的显示装置包括:A device for displaying page pictures according to an embodiment of the present invention includes:

确定模块,用于确定页面中位于当前可视区的可视占位图元素;A determination module, which is used to determine the visual placeholder element in the current visible area of the page;

获取模块,用于获取所述可视占位图元素的逻辑分辨率以及屏幕倍率;an acquisition module for acquiring the logical resolution and screen magnification of the visual placeholder element;

计算模块,用于根据所述逻辑分辨率和所述屏幕倍率计算所述可视占位图元素对应的页面图片的显示分辨率;a calculation module, configured to calculate the display resolution of the page picture corresponding to the visible placeholder map element according to the logical resolution and the screen magnification;

修改模块,用于基于所述显示分辨率修改所述可视占位图元素的图片路径,以对所述页面图片进行加载显示。A modification module, configured to modify the picture path of the visible placeholder map element based on the display resolution, so as to load and display the page picture.

可选地,所述确定模块还用于:Optionally, the determining module is also used for:

获取页面中的占位图元素,并设置所述占位图元素的图片标签;其中,所述图片标签包括占位图路径和图片路径;Obtain a placeholder map element in the page, and set a picture label of the placeholder map element; wherein, the picture label includes a placeholder map path and a picture path;

获取所述页面中当前可视区的可视区上边距和可视区高度,并基于所述可视区上边距和所述可视区高度计算所述当前可视区的可视区下边距;Obtain the upper margin of the visible area and the height of the visible area of the current visible area in the page, and calculate the lower margin of the visible area of the current visible area based on the upper margin of the visible area and the height of the visible area ;

获取所述图片路径为非空值的所述占位图元素的图元素上边距;obtaining the top margin of the image element of the placeholder image element whose image path is a non-null value;

基于所述图元素上边距、所述可视区上边距和所述可视区下边距筛选出位于所述当前可视区的可视占位图元素。Based on the top margin of the graphic element, the top margin of the viewable area, and the bottom margin of the viewable area, the visual placeholder map elements located in the current viewable area are filtered out.

可选地,所述逻辑分辨率包括逻辑像素宽和逻辑像素高,所述显示分辨率包括显示像素宽和显示像素高,以及Optionally, the logical resolution includes a logical pixel width and a logical pixel height, the display resolution includes a display pixel width and a display pixel height, and

所述计算模块还用于:The computing module is also used for:

根据所述可视占位图元素的图片路径获取所述可视占位图元素对应的页面图片;Obtain the page picture corresponding to the visual placeholder map element according to the image path of the visual placeholder map element;

将所述逻辑像素宽与所述屏幕倍率相乘,得到所述页面图片的所述显示像素宽;multiplying the logical pixel width by the screen magnification to obtain the display pixel width of the page picture;

将所述逻辑像素高与所述屏幕倍率相乘,得到所述页面图片的所述显示像素高。Multiply the logical pixel height by the screen magnification to obtain the display pixel height of the page picture.

可选地,所述修改模块还用于:Optionally, the modification module is also used for:

确定所述可视占位图元素的图片路径的尺寸位置;determining the size and position of the image path of the visual placeholder element;

基于所述显示像素宽和所述显示像素高修改所述尺寸位置的值。The value of the size location is modified based on the display pixel width and the display pixel height.

可选地,所述显示装置还包括测试模块,用于:Optionally, the display device further includes a test module for:

生成图片测试对象,将所述可视占位图元素的图片路径设置为所述图片测试对象的测试路径;generating a picture test object, and setting the picture path of the visible placeholder image element as the test path of the picture test object;

按所述测试路径加载所述图片测试对象;Load the picture test object according to the test path;

若加载成功,则保存所述可视占位图元素的图片路径;If the loading is successful, save the image path of the visual placeholder element;

若加载失败,则将所述可视占位图元素的图片路径更改为所述可视占位图元素的占位图路径。If the loading fails, the picture path of the visual placeholder map element is changed to the placeholder map path of the visual placeholder map element.

为实现上述目的,根据本发明实施例的又一方面,提供了一种页面图片的显示电子设备。To achieve the above object, according to another aspect of the embodiments of the present invention, an electronic device for displaying page pictures is provided.

本发明实施例的一种页面图片的显示电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明实施例的一种页面图片的显示方法。An electronic device for displaying page pictures according to an embodiment of the present invention includes: one or more processors; and a storage device for storing one or more programs, when the one or more programs are processed by the one or more programs The one or more processors implement the method for displaying a page picture according to the embodiment of the present invention.

为实现上述目的,根据本发明实施例的再一方面,提供了一种计算机可读存储介质。To achieve the above object, according to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided.

本发明实施例的一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本发明实施例的一种页面图片的显示方法。A computer-readable storage medium according to an embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, a method for displaying a page picture according to an embodiment of the present invention is implemented.

上述发明中的一个实施例具有如下优点或有益效果:因为采用确定页面中位于当前可视区的可视占位图元素;获取屏幕倍率以及可视占位图元素的逻辑分辨率;根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示的技术手段,所以克服了屏幕越大,被留出的空白越多;图片的清晰度较差的技术问题,进而达到根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果的技术效果。One embodiment of the above invention has the following advantages or beneficial effects: because the visual placeholder map element located in the current visible area in the page is determined; the screen magnification and the logical resolution of the visual placeholder map element are obtained; according to the logical resolution Calculate the display resolution of the page image corresponding to the visual placeholder element based on the display resolution and screen magnification; modify the image path of the visual placeholder element based on the display resolution to load and display the page image, so it overcomes the problem of the screen. The larger the size, the more blanks are left; the technical problem of poor picture definition, and then the display resolution of the page picture on each terminal can be calculated according to the screen magnification of the terminal, so that each terminal can get the best display The technical effect of the effect.

上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。Further effects of the above non-conventional alternatives will be described below in conjunction with specific embodiments.

附图说明Description of drawings

附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used for better understanding of the present invention and do not constitute an improper limitation of the present invention. in:

图1是根据本发明实施例的页面图片的显示方法的主要步骤的示意图;1 is a schematic diagram of main steps of a method for displaying page pictures according to an embodiment of the present invention;

图2是根据本发明实施例的页面图片的显示方法的实现框架的示意图;2 is a schematic diagram of an implementation framework of a method for displaying page pictures according to an embodiment of the present invention;

图3是根据本发明一个可参考实施例的页面图片的显示方法的主要流程的示意图;3 is a schematic diagram of the main flow of a method for displaying page pictures according to a referenced embodiment of the present invention;

图4是根据本发明实施例的页面图片的显示装置的主要模块的示意图;4 is a schematic diagram of main modules of a display device for a page picture according to an embodiment of the present invention;

图5是本发明实施例可以应用于其中的示例性系统架构图;5 is an exemplary system architecture diagram to which an embodiment of the present invention may be applied;

图6是适于用来实现本发明实施例的终端设备或服务器的计算机系统的结构示意图。FIG. 6 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

需要指出的是,在不冲突的情况下,本发明的实施例以及实施例中的技术特征可以相互结合。It should be pointed out that the embodiments of the present invention and the technical features in the embodiments may be combined with each other without conflict.

图片适配不同的终端,现有技术中常用的两种处理方式如下:The pictures are adapted to different terminals. Two processing methods commonly used in the prior art are as follows:

一种是将图片元素的宽和高进行固化,不管多大的屏幕,图片元素的大小宽高比都不变,例如,当前网页的图片元素的宽高比固定为120x120像素(px),而原始图片的宽高比是240x240px,则该图片在320x568 px、360x640 px、375x667 px或414x736 px等的屏幕中,渲染后的宽高比都是120x120 px。对于手机等终端而言,屏幕尺寸较小,屏幕每个位置合理的利用都是需要考虑的,若以该种方式进行渲染,通常会将图片元素的宽高比设置较小,因此屏幕越大被留出的空白越多;One is to solidify the width and height of the picture element. No matter how big the screen is, the size and aspect ratio of the picture element remains unchanged. The aspect ratio of the image is 240x240px, then the image is rendered with an aspect ratio of 120x120 px on a screen of 320x568 px, 360x640 px, 375x667 px or 414x736 px, etc. For terminals such as mobile phones, the screen size is small, and the reasonable utilization of each position of the screen needs to be considered. If rendering is performed in this way, the aspect ratio of the picture element is usually set to be smaller, so the larger the screen is. The more white space is left;

另一种是以一种图片尺寸去适配多种不同屏幕的尺寸,例如,原始图片的宽高比750x200px,该图片在320x568 px、360x640 px、375x667 px、414x736 px等的屏幕中,渲染后的宽高比分别为320x85.33px、360x96px、375x100px、414x110.39px。若以该种方式进行渲染,虽然图片能适配在不同的屏幕尺寸中,但是只用固定的图片尺寸,就会出现图片拉伸或图片压缩的问题,存在一定的资源损耗,造成图片在清晰度降低(模糊)。The other is to use one image size to adapt to different screen sizes. For example, the aspect ratio of the original image is 750x200px, and the image is in a screen of 320x568 px, 360x640 px, 375x667 px, 414x736 px, etc., after rendering The aspect ratios are 320x85.33px, 360x96px, 375x100px, 414x110.39px. If the rendering is performed in this way, although the picture can be adapted to different screen sizes, but only a fixed picture size is used, the problem of picture stretching or picture compression will occur, and there will be a certain resource loss, resulting in the clear picture. Decreased (blurred).

为了解决固定适配的留白问题,同时解决图片适配多种浏览器时因压缩和拉伸引起的模糊问题,本发明实施例的页面图片的显示方法提出,利用占位图渲染出来的逻辑分辨率结合每个终端的屏幕倍率,计算出使每个终端具有最佳显示效果所需的最佳图片尺寸,并通过图片路径对不同尺寸的页面图片进行区分,在加载时获取正确尺寸的页面图片。In order to solve the blanking problem of fixed adaptation, and at the same time solve the blurring problem caused by compression and stretching when the picture is adapted to various browsers, the display method of the page picture according to the embodiment of the present invention proposes that the logic rendered by the placeholder image is used. The resolution combines the screen magnification of each terminal to calculate the optimal image size required for each terminal to have the best display effect, and distinguish the page images of different sizes through the image path, and obtain the correct size page when loading picture.

图1是根据本发明实施例的页面图片的显示方法的主要步骤的示意图。FIG. 1 is a schematic diagram of main steps of a method for displaying page pictures according to an embodiment of the present invention.

如图1所示,本发明实施例的页面图片的显示方法主要包括以下步骤:As shown in FIG. 1 , the method for displaying page pictures according to the embodiment of the present invention mainly includes the following steps:

步骤S101:确定页面中位于当前可视区的可视占位图元素。Step S101: Determine the visual placeholder map element located in the current visible area in the page.

通常,页面的尺寸会大于手机等终端的屏幕尺寸,这样终端上所加载的页面只有一部分被显示,页面上能被用户直接看到的显示区域称为当前可视区。占位图元素是用于构成页面渲染图片的元素,包含图片的页面,会在显示图片的位置设置占位图元素,当用户访问页面时采用懒加载的方式,即所加载出来的页面中,位于当前可视区的可视占位图元素会加载实际的页面图片,而非当前可视区的占位图元素会加载替代的占位图,待用户滚动页面,原来位于非的占位图元素进入到当前可视区后,再加载实际对应的页面图片。懒加载的方式能够为做图片适配多终端尺寸做准备;还能快速的撑起页面,在视觉给用户最快的反映,同时减少一些不在当前可视区的图片资源加载,减少用户流量损失。Usually, the size of the page is larger than the screen size of a terminal such as a mobile phone, so that only a part of the page loaded on the terminal is displayed, and the display area on the page that can be directly seen by the user is called the current viewable area. A placeholder element is an element used to form a page rendering image. The page containing the image will set a placeholder element at the position where the image is displayed. When the user accesses the page, the lazy loading method is used, that is, in the loaded page, The visual placeholder element located in the current visual area will load the actual page image, and the placeholder map element that is not in the current visual area will load an alternative placeholder image. When the user scrolls the page, the placeholder image that was originally located in the non-visual area will be loaded. After the element enters the current visible area, the actual corresponding page image is loaded. The lazy loading method can prepare for the image adaptation of multiple terminal sizes; it can also quickly prop up the page, give users the fastest visual feedback, and reduce the loading of some image resources that are not in the current visual area, reducing user traffic loss. .

在本发明实施例中,步骤S101可以采用以下方式实现:初始化页面;获取页面中的占位图元素,并设置占位图元素的图片标签;获取页面中当前可视区的可视区上边距和可视区高度,并基于可视区上边距和可视区高度计算当前可视区的可视区下边距;获取图片路径为非空值的占位图元素的图元素上边距;基于图元素上边距、可视区上边距和可视区下边距筛选出位于当前可视区的可视占位图元素。In this embodiment of the present invention, step S101 may be implemented in the following ways: initialize the page; obtain a placeholder image element in the page, and set the image label of the placeholder image element; obtain the upper margin of the visible area of the current visible area in the page and the height of the visible area, and calculate the lower margin of the visible area of the current visible area based on the upper margin of the visible area and the height of the visible area; get the upper margin of the image element of the placeholder image element whose image path is a non-null value; based on the image Element top margin, viewport top margin, and viewport bottom margin filter out the visual placeholder elements that are located in the current viewport.

其中,图片标签包括占位图路径和图片路径,占位图路径是占位图的加载路径,图片路径是页面图片的加载路径。当用户通过浏览器等访问页面时,会先进行页面的DOM加载、CSS加载、JavaScript加载等;然后页面中的图片以懒加载的方式先加载默认图片(即预设的占位图),即在完成占位图元素的实际图片加载之前,会用一张固定的占位图代替实际需要显示的页面图片,因此要为每个占位图元素设置占位图路径和图片路径,此外,如果需要在页面中不显示页面图片,可以将加载路径设置为空;在加载页面图片时,要先确定位于当前可视区的可视占位图元素,作为一种优选的实施方式,可以在非浏览器环境(JavaScript)中通过“document.body.scrollTop”获取当前可视区上边距离最顶部的大小,称之为可视区上边距;再通过“document.documentElement.clientHeight“获取当前可视区的可视区高度;这样利用上面两个数据就可以算出可视区下边距;最后获取占位图元素的图元素上边距,图元素上边距在可视区上边距和可视区下边距之间、且图片路径有具体值的占位图元素就是可视占位图元素。The image tag includes a placeholder image path and an image path, where the placeholder image path is the loading path of the placeholder image, and the image path is the loading path of the page image. When a user accesses a page through a browser, etc., the DOM loading, CSS loading, JavaScript loading, etc. of the page will be performed first; then the images in the page will be loaded with the default image (that is, the preset placeholder image) first in a lazy loading manner, that is Before the actual image loading of the placeholder image element is completed, a fixed placeholder image will be used to replace the actual page image that needs to be displayed. Therefore, the placeholder image path and image path should be set for each placeholder image element. In addition, if If it is necessary to not display the page image on the page, you can set the loading path to be empty; when loading the page image, you must first determine the visual placeholder element located in the current visible area. In the browser environment (JavaScript), "document.body.scrollTop" is used to obtain the size of the top of the current viewable area from the top, which is called the top margin of the viewable area; then "document.documentElement.clientHeight" is used to obtain the current viewable area. The height of the visible area; in this way, the lower margin of the visible area can be calculated using the above two data; finally, the upper margin of the image element of the placeholder image element is obtained, and the upper margin of the image element is the difference between the upper margin of the visible area and the lower margin of the visible area A placeholder map element with a specific value in the image path is a visual placeholder map element.

步骤S102:获取可视占位图元素的逻辑分辨率以及屏幕倍率。Step S102: Obtain the logical resolution and screen magnification of the visual placeholder element.

屏幕分辨率是指屏幕显示的分辨率。屏幕分辨率确定计算机屏幕上显示多少信息的设置,以水平和垂直像素来衡量,就相同大小的屏幕而言,当屏幕分辨率低时(例如640x480),在屏幕上显示的像素少,单个像素尺寸比较大,当屏幕分辨率高时(例如1600x1200),在屏幕上显示的像素多,单个像素尺寸比较小。Screen resolution refers to the resolution of the screen display. Screen Resolution A setting that determines how much information is displayed on a computer screen, measured in horizontal and vertical pixels, for a screen of the same size, when the screen resolution is low (e.g. 640x480), fewer pixels are displayed on the screen, a single pixel The size is relatively large. When the screen resolution is high (for example, 1600x1200), there are many pixels displayed on the screen, and the size of a single pixel is relatively small.

逻辑分辨率:是浏览器或软件可以达到的,也是css像素;手机上1px与1px大小的区域,用屏幕上的显示元件来显示,会用到几个,可能是1个、4个或9个,具体因屏而定,而逻辑分辨率,指的就是这些最小的显示元件的数目。Logical resolution: it can be achieved by browsers or software, and it is also css pixels; the area of 1px and 1px size on the mobile phone is displayed by the display components on the screen, and several will be used, which may be 1, 4 or 9 The number depends on the screen, and the logical resolution refers to the number of these smallest display elements.

屏幕倍率是屏幕分辨率与逻辑分辨率对比值,作为一种优选的实施方式,可以在JavaScript中通过“window.devicePixelRatio“获取。The screen ratio is the ratio between the screen resolution and the logical resolution. As a preferred implementation, it can be obtained through "window.devicePixelRatio" in JavaScript.

在筛选出可视占位图元素后,获取需要加载页面图片的区域对应到屏幕上的逻辑分辨率,同时再获取终端的屏幕倍率,以进一步计算该区域的屏幕分辨率。After the visual placeholder elements are filtered out, the logical resolution on the screen corresponding to the area where the page image needs to be loaded is obtained, and the screen magnification of the terminal is obtained at the same time to further calculate the screen resolution of the area.

步骤S103:根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率。Step S103: Calculate the display resolution of the page picture corresponding to the visible placeholder element according to the logical resolution and the screen magnification.

由于屏幕倍率是屏幕分辨率与逻辑分辨率对比值,在获取到屏幕倍率和可视占位图元素的逻辑分辨率后,可以计算出可视占位图元素对应的屏幕分辨率,该屏幕分辨率就是使页面图片在一个终端上达到最佳显示效果的显示分辨率。Since the screen magnification is the comparison value between the screen resolution and the logical resolution, after obtaining the screen magnification and the logical resolution of the visual placeholder element, the screen resolution corresponding to the visual placeholder element can be calculated. The resolution is the display resolution that enables the page picture to achieve the best display effect on a terminal.

在本发明实施例中,步骤S103可以采用以下方式实现:根据可视占位图元素的图片路径获取可视占位图元素对应的页面图片;将逻辑像素宽与屏幕倍率相乘,得到页面图片的显示像素宽;将逻辑像素高与屏幕倍率相乘,得到页面图片的显示像素高。In this embodiment of the present invention, step S103 may be implemented in the following manner: obtaining a page image corresponding to the visible placeholder map element according to the image path of the visible placeholder map element; multiplying the logical pixel width by the screen magnification to obtain the page image Display pixel width; multiply the logical pixel height by the screen magnification to get the display pixel height of the page image.

其中,逻辑分辨率包括逻辑像素宽和逻辑像素高,显示分辨率包括显示像素宽和显示像素高。在计算时,分别将逻辑像素宽和逻辑像素高与屏幕倍率相乘,即可得到显示像素宽和显示像素高。The logical resolution includes the logical pixel width and the logical pixel height, and the display resolution includes the display pixel width and the display pixel height. When calculating, multiply the logical pixel width and logical pixel height by the screen magnification, respectively, to obtain the display pixel width and display pixel height.

步骤S104:基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示。Step S104: Modify the picture path of the visible placeholder image element based on the display resolution, so as to load and display the page picture.

页面图片的图片路径用于表示页面图片的存放位置,也是调用页面图片的路径,通过图片路径可以对同一页面图片的不同尺寸进行区分,使同一页面图片对应的每种终端都有一个对应尺寸的图片路径。The image path of the page image is used to indicate the storage location of the page image, and it is also the path to call the page image. Through the image path, different sizes of the same page image can be distinguished, so that each terminal corresponding to the same page image has a corresponding size. image path.

在本发明实施例中,基于显示分辨率修改可视占位图元素的图片路径的步骤可以采用以下方式实现:确定可视占位图元素的图片路径的尺寸位置;基于显示像素宽和显示像素高修改尺寸位置的值。In this embodiment of the present invention, the step of modifying the picture path of the visual placeholder map element based on the display resolution may be implemented in the following manner: determining the size and position of the picture path of the visual placeholder map element; High to modify the value of the dimension position.

在图片路径中具有控制页面图片实际尺寸的尺寸位置,按步骤S103得到的显示分辨率修改图片路径的尺寸位置,即重新设置组合调用页面图片的路径。There is a size position in the picture path that controls the actual size of the page picture, and the size position of the picture path is modified according to the display resolution obtained in step S103, that is, the path of the combined calling page picture is reset.

本发明实施例的页面图片的显示方法还可以包括:生成图片测试对象,将可视占位图元素的图片路径设置为图片测试对象的测试路径;按测试路径加载图片测试对象;若加载成功,则保存可视占位图元素的图片路径;若加载失败,则将可视占位图元素的图片路径更改为可视占位图元素的占位图路径。The method for displaying page pictures according to the embodiment of the present invention may further include: generating a picture test object, setting the picture path of the visible placeholder image element as the test path of the picture test object; loading the picture test object according to the test path; if the loading is successful, Then save the image path of the visual placeholder element; if the loading fails, change the image path of the visual placeholder element to the placeholder path of the visual placeholder element.

通过步骤S101-步骤S104得到并设置页面图片的尺寸后,可以对该页面图片进行测试,即新生成一个图片测试对象,并以步骤S104得到的图片路径作为图片测试对象的测试路径,按测试路径加载图片测试对象,如果加载成功,则表示该图片路径可以使用,可以将该图片路径固定为页面图片的图片路径;如果加载失败,则表示该图片路径不可用,为保证页面的整体显示效果,可以用占位图进行替代显示。其中,占位图路径是占位图的存放位置,也是调用占位图的路径。After obtaining and setting the size of the page picture through steps S101 to S104, the page picture can be tested, that is, a new picture test object is generated, and the picture path obtained in step S104 is used as the test path of the picture test object, according to the test path Load the image test object. If the loading is successful, it means that the image path can be used, and the image path can be fixed as the image path of the page image; if the loading fails, it means that the image path is unavailable. In order to ensure the overall display effect of the page, A placeholder map can be used for an alternative display. The placeholder map path is the storage location of the placeholder map, and is also the path for calling the placeholder map.

根据本发明实施例的页面图片的显示方法可以看出,因为采用确定页面中位于当前可视区的可视占位图元素;获取屏幕倍率以及可视占位图元素的逻辑分辨率;根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示的技术手段,所以克服了屏幕越大,被留出的空白越多;图片的清晰度较差的技术问题,进而达到根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果的技术效果。According to the method for displaying page pictures according to the embodiment of the present invention, it can be seen that, because the visual placeholder map element located in the current visible area in the page is determined; the screen magnification and the logical resolution of the visual placeholder map element are obtained; according to the logic The resolution and screen magnification calculate the display resolution of the page image corresponding to the visual placeholder element; based on the display resolution, the image path of the visual placeholder element is modified to load and display the page image, so it overcomes the The larger the screen, the more blanks are left; the technical problem of poor picture definition, and then the display resolution of the page picture in each terminal can be calculated according to the screen magnification of the terminal, so that each terminal can get the best results. Display the technical effect of the effect.

为了进一步阐述本发明的技术思想,现结合具体的应用场景,对本发明的技术方案进行说明。In order to further illustrate the technical idea of the present invention, the technical solutions of the present invention are now described with reference to specific application scenarios.

如图2所示,在应用本发明实施例的页面图片的显示方法主要包括获取数据参数、参数设置和数据显示三部分,其中:As shown in FIG. 2 , the method for displaying page pictures in the application of the embodiment of the present invention mainly includes three parts: acquiring data parameters, parameter setting and data display, wherein:

1.获取数据,需要通过获取当前可视区的占位图元素,通过占位图元素获取对应的逻辑像素宽高(即逻辑分辨率),再结合屏幕倍率,计算出当前占位图元素对应的区域所需要的实际图片宽和高(即显示分辨率)。1. To obtain data, it is necessary to obtain the placeholder map element of the current visible area, obtain the corresponding logical pixel width and height (ie logical resolution) through the placeholder map element, and then combine the screen magnification to calculate the current placeholder map element. The actual picture width and height (ie display resolution) required for the area.

2.参数设置,主要是结合第一步获取到实际需要的图片宽高比调整图片地址,通过设置图片src的路径(即图片路径),使对应的每种终端都有一个对应尺寸图片src的路径,再动态生成一个image对象,并设置image对象的_src属性为图片src的路径。2. Parameter setting, mainly in combination with the first step to obtain the actual required picture aspect ratio to adjust the picture address, by setting the path of the picture src (that is, the picture path), so that each corresponding terminal has a corresponding size picture src path, and then dynamically generate an image object, and set the _src attribute of the image object to the path of the image src.

3.数据显示,加载image对象,如果加载成功,将图片src的路径设置给占位图元素的图片路径,进行页面展示,如果加载失败,重新设置image的src地址为占位图地址,并重新加载。3. Data display, load the image object, if the loading is successful, set the path of the image src to the image path of the placeholder image element to display the page, if the loading fails, reset the src address of the image to the placeholder image address, and re- load.

如图3所示,在应用本发明实施例的页面图片的显示方法时,可参考以下流程:As shown in FIG. 3 , when applying the method for displaying page pictures according to the embodiment of the present invention, the following process may be referred to:

首先,页面初始化加载,当用户通过浏览器访问页面,会进行页面的DOM加载、CSS加载、JavaScript加载等,以上资源加载完成之后,图片以懒加载的方式先加载默认图片(即占位图),即对占位图元素的处理方式是动态添加图片标签(即img标签),并设置img标签的src属性和_src属性,其中,src属性的值设置为占位图路径,_src属性的值设置为实际的图片路径;First, the page is initialized and loaded. When the user accesses the page through the browser, the DOM loading, CSS loading, JavaScript loading, etc. of the page will be performed. After the above resources are loaded, the default image (ie, placeholder image) will be loaded first in a lazy-loading manner. , that is, the way to deal with the placeholder image element is to dynamically add an image tag (ie img tag), and set the src attribute and _src attribute of the img tag, where the value of the src attribute is set to the placeholder image path, and the value of the _src attribute Set to the actual image path;

其次,当页面加载完成之后,停留在当前页面(即当前可视区),在JavaScript中通过document.body.scrollTop,scroolTop即为“元素中的内容”超出“元素上边界”的那部分高度,此处可以理解为页面滚上去的那部分高度,定义为当前可视区的可视区上边距domT;再通过document.documentElement.clientHeight,clientHeight为当前可视区的可视区高度,也就是页面浏览器中可以看到内容的区域的高度;这样经过以上两个数据可以算出当前可视区的可视区下边距domL;Secondly, when the page is loaded, stay on the current page (ie, the current visible area), and pass document.body.scrollTop in JavaScript. The scrollTop is the height of the part of the "content in the element" that exceeds the "upper border of the element". Here it can be understood as the height of the part of the page scrolled up, which is defined as the upper margin domT of the visible area of the current visible area; then through document.documentElement.clientHeight, clientHeight is the height of the visible area of the current visible area, that is, the page The height of the area where the content can be seen in the browser; in this way, the lower margin domL of the visible area of the current visible area can be calculated through the above two data;

再次,获取页面带有_src属性的占位图元素,获取占位图元素的图元素上边距elemH,如果elemH在domT和domL之间,那么当前占位图元素位于当前可视区内;Again, get the placeholder map element with the _src attribute on the page, and get the top margin elemH of the map element of the placeholder map element. If elemH is between domT and domL, then the current placeholder map element is located in the current visible area;

然后,循环遍历当前可视区内的占位图元素,获取可视占位图元素对应的逻辑像素宽width和逻辑像素高height;同时,获取屏幕的倍率,window.devicePixelRatio,即为终端上的物理像素和逻辑像素的比例,我们将该值定义为变量pr;再通过pr值与逻辑像素宽width以及逻辑像素height相乘,获取每个可视占位图元素对应的页面图片在该终端上具有最佳显示效果所需的图片实际像素大小(即显示分辨率);Then, loop through the placeholder map elements in the current visible area, and obtain the logical pixel width and logical pixel height corresponding to the visual placeholder map element; at the same time, obtain the magnification of the screen, window.devicePixelRatio, which is the value on the terminal. The ratio of physical pixels and logical pixels, we define this value as the variable pr; and then multiply the pr value by the logical pixel width and logical pixel height to obtain the page image corresponding to each visual placeholder element on the terminal. The actual pixel size of the picture required for the best display effect (ie display resolution);

之后,设置实际所需的图片路径,例如原始_src属性的值为:https://img14.360buyimg.com/n2/s240x240_jfs/t1/4009/18/6575/309253/5ba36753E716b41a3/ed3f22f1981a8908.jpg!q70.jpg,其中的240x240所在位置为尺寸位置,用于控制图片的实际尺寸,结合上一步计算出的图片实际像素大小重新设置组合该路径;After that, set the actual desired image path, such as the value of the original _src attribute: https://img14.360buyimg.com/n2/s240x240_jfs/t1/4009/18/6575/309253/5ba36753E716b41a3/ed3f22f1981a8908.jpg! q70.jpg, the position of 240x240 is the size position, which is used to control the actual size of the picture, and the path is reset and combined with the actual pixel size of the picture calculated in the previous step;

最后,生成一个图片测试对象(image),并将上一步设置的图片地址作为给该image的_src属性,然后发送一个图片资源的请求(即加载image);如果image加载成功,会触发success事件,在success事件的回调函数中,可以将该图片地址赋值给当前的占位图元素(即可视占位图元素),实现页面图片的适配显示;如果image加载失败,会触发onerror事件,在onerror事件的回调函数中,可以重新设置当前的占位图元素的_src地址为占位图地址。Finally, generate an image test object (image), and use the image address set in the previous step as the _src attribute for the image, and then send a request for an image resource (that is, load the image); if the image is loaded successfully, the success event will be triggered , in the callback function of the success event, you can assign the image address to the current placeholder element (that is, the visual placeholder element) to realize the adaptive display of the page image; if the image fails to load, the onerror event will be triggered. In the callback function of the onerror event, you can reset the _src address of the current placeholder element to the placeholder address.

图4是根据本发明实施例的页面图片的显示装置的主要模块的示意图。FIG. 4 is a schematic diagram of main modules of a display device for a page picture according to an embodiment of the present invention.

如图4所示,本发明实施例的页面图片的显示装置400包括:确定模块401、获取模块402、计算模块403和修改模块404。As shown in FIG. 4 , the apparatus 400 for displaying page pictures according to the embodiment of the present invention includes: a determination module 401 , an acquisition module 402 , a calculation module 403 , and a modification module 404 .

其中,in,

确定模块401,用于确定页面中位于当前可视区的可视占位图元素;A determination module 401, configured to determine a visual placeholder element located in the current visible area in the page;

获取模块402,用于获取所述可视占位图元素的逻辑分辨率以及屏幕倍率;an obtaining module 402, configured to obtain the logical resolution and screen magnification of the visual placeholder element;

计算模块403,用于根据所述逻辑分辨率和所述屏幕倍率计算所述可视占位图元素对应的页面图片的显示分辨率;A calculation module 403, configured to calculate the display resolution of the page picture corresponding to the visible placeholder map element according to the logical resolution and the screen magnification;

修改模块404,用于基于所述显示分辨率修改所述可视占位图元素的图片路径,以对所述页面图片进行加载显示。The modification module 404 is configured to modify the picture path of the visible placeholder map element based on the display resolution, so as to load and display the page picture.

在本发明实施例中,所述确定模块401还可以用于:In this embodiment of the present invention, the determining module 401 may also be used to:

获取页面中的占位图元素,并设置所述占位图元素的图片标签;其中,所述图片标签包括占位图路径和图片路径;Obtain a placeholder map element in the page, and set a picture label of the placeholder map element; wherein, the picture label includes a placeholder map path and a picture path;

获取所述页面中当前可视区的可视区上边距和可视区高度,并基于所述可视区上边距和所述可视区高度计算所述当前可视区的可视区下边距;Obtain the upper margin of the visible area and the height of the visible area of the current visible area in the page, and calculate the lower margin of the visible area of the current visible area based on the upper margin of the visible area and the height of the visible area ;

获取所述图片路径为非空值的所述占位图元素的图元素上边距;obtaining the top margin of the image element of the placeholder image element whose image path is a non-null value;

基于所述图元素上边距、所述可视区上边距和所述可视区下边距筛选出位于所述当前可视区的可视占位图元素。Based on the top margin of the graphic element, the top margin of the viewable area, and the bottom margin of the viewable area, the visual placeholder map elements located in the current viewable area are filtered out.

此外,所述逻辑分辨率包括逻辑像素宽和逻辑像素高,所述显示分辨率包括显示像素宽和显示像素高。In addition, the logical resolution includes a logical pixel width and a logical pixel height, and the display resolution includes a display pixel width and a display pixel height.

在本发明实施例中,所述计算模块403还可以用于:In this embodiment of the present invention, the computing module 403 may also be used for:

根据所述可视占位图元素的图片路径获取所述可视占位图元素对应的页面图片;Obtain the page picture corresponding to the visual placeholder map element according to the image path of the visual placeholder map element;

将所述逻辑像素宽与所述屏幕倍率相乘,得到所述页面图片的所述显示像素宽;multiplying the logical pixel width by the screen magnification to obtain the display pixel width of the page picture;

将所述逻辑像素高与所述屏幕倍率相乘,得到所述页面图片的所述显示像素高。Multiply the logical pixel height by the screen magnification to obtain the display pixel height of the page picture.

在本发明实施例中,所述修改模块404还可以用于:In this embodiment of the present invention, the modification module 404 may also be used to:

确定所述可视占位图元素的图片路径的尺寸位置;determining the size and position of the image path of the visual placeholder element;

基于所述显示像素宽和所述显示像素高修改所述尺寸位置的值。The value of the size location is modified based on the display pixel width and the display pixel height.

在本发明实施例中,所述显示装置400还可以包括测试模块(图中并未示出),用于:In this embodiment of the present invention, the display device 400 may further include a test module (not shown in the figure) for:

生成图片测试对象,将所述可视占位图元素的图片路径设置为所述图片测试对象的测试路径;generating a picture test object, and setting the picture path of the visible placeholder image element as the test path of the picture test object;

按所述测试路径加载所述图片测试对象;Load the picture test object according to the test path;

若加载成功,则保存所述可视占位图元素的图片路径;If the loading is successful, save the image path of the visual placeholder element;

若加载失败,则将所述可视占位图元素的图片路径更改为所述可视占位图元素的占位图路径。If the loading fails, the picture path of the visual placeholder map element is changed to the placeholder map path of the visual placeholder map element.

根据本发明实施例的页面图片的显示装置可以看出,因为采用确定页面中位于当前可视区的可视占位图元素;获取屏幕倍率以及可视占位图元素的逻辑分辨率;根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示的技术手段,所以克服了屏幕越大,被留出的空白越多;图片的清晰度较差的技术问题,进而达到根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果的技术效果。It can be seen from the display device of the page picture according to the embodiment of the present invention, because the visual placeholder map element located in the current visible area in the page is determined; the screen magnification and the logical resolution of the visual placeholder map element are obtained; according to the logic The resolution and screen magnification calculate the display resolution of the page image corresponding to the visual placeholder element; based on the display resolution, the image path of the visual placeholder element is modified to load and display the page image, so it overcomes the The larger the screen, the more blanks are left; the technical problem of poor picture definition, and then the display resolution of the page picture in each terminal can be calculated according to the screen magnification of the terminal, so that each terminal can get the best results. Display the technical effect of the effect.

图5示出了可以应用本发明实施例的页面图片的显示方法或页面图片的显示装置的示例性系统架构500。FIG. 5 shows an exemplary system architecture 500 of a method for displaying a page picture or an apparatus for displaying a page picture to which an embodiment of the present invention can be applied.

如图5所示,系统架构500可以包括终端设备501、502、503,网络504和服务器505。网络504用以在终端设备501、502、503和服务器505之间提供通信链路的介质。网络504可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 5 , the system architecture 500 may include terminal devices 501 , 502 , and 503 , a network 504 and a server 505 . The network 504 is a medium used to provide a communication link between the terminal devices 501 , 502 , 503 and the server 505 . Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备501、502、503通过网络504与服务器505交互,以接收或发送消息等。终端设备501、502、503上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 501, 502, 503 to interact with the server 505 through the network 504 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 501 , 502 and 503 , such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, and the like.

终端设备501、502、503可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

服务器505可以是提供各种服务的服务器,例如对用户利用终端设备501、502、503所浏览的购物类网站提供支持的后台管理服务器。后台管理服务器可以对接收到的产品信息查询请求等数据进行分析等处理,并将处理结果(例如目标推送信息、产品信息)反馈给终端设备。The server 505 may be a server that provides various services, for example, a background management server that provides support for shopping websites browsed by the terminal devices 501 , 502 , and 503 . The background management server can analyze and process the received product information query request and other data, and feed back the processing results (eg, target push information, product information) to the terminal device.

需要说明的是,本发明实施例所提供的页面图片的显示方法一般由服务器505执行,相应地,页面图片的显示装置一般设置于服务器505中。It should be noted that the method for displaying a page picture provided in the embodiment of the present invention is generally performed by the server 505 , and accordingly, a display device for a page picture is generally set in the server 505 .

应该理解,图5中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 5 are only illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

下面参考图6,其示出了适于用来实现本发明实施例的终端设备的计算机系统600的结构示意图。图6示出的终端设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring to FIG. 6 below, it shows a schematic structural diagram of a computer system 600 suitable for implementing a terminal device according to an embodiment of the present invention. The terminal device shown in FIG. 6 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention.

如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, a computer system 600 includes a central processing unit (CPU) 601, which can be loaded into a random access memory (RAM) 603 according to a program stored in a read only memory (ROM) 602 or a program from a storage section 608 Instead, various appropriate actions and processes are performed. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 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 .

以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc. ; and a communication section 609 including a network interface card such as a LAN card, a modem, and the like. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I/O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本发明的系统中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as computer software programs in accordance with the disclosed embodiments of the present invention. For example, embodiments disclosed herein include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 609 and/or installed from the removable medium 611 . When the computer program is executed by the central processing unit (CPU) 601, the above-described functions defined in the system of the present invention are performed.

需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks 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 is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.

描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括确定模块、获取模块、计算模块和修改模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,获取模块还可以被描述为“获取所述可视占位图元素的逻辑分辨率以及屏幕倍率的模块”。The modules involved in the embodiments of the present invention may be implemented in a software manner, and may also be implemented in a hardware manner. The described modules can also be provided in the processor, for example, it can be described as: a processor includes a determination module, an acquisition module, a calculation module and a modification module. Among them, the names of these modules do not constitute a limitation of the module itself in some cases, for example, the acquisition module can also be described as "a module for acquiring the logical resolution and screen magnification of the visual placeholder element" .

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:步骤S101:确定页面中位于当前可视区的可视占位图元素;步骤S102:获取可视占位图元素的逻辑分辨率以及屏幕倍率;步骤S103:根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;步骤S104:基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示。As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device includes: Step S101: Determine the visual placeholder map element located in the current visible area in the page ; Step S102: obtain the logical resolution and screen magnification of the visual placeholder map element; Step S103: calculate the display resolution of the page picture corresponding to the visual placeholder map element according to the logical resolution and the screen magnification; Step S104: based on the display The resolution modifies the image path of the visual placeholder element to load and display the page image.

根据本发明实施例的技术方案,因为采用确定页面中位于当前可视区的可视占位图元素;获取屏幕倍率以及可视占位图元素的逻辑分辨率;根据逻辑分辨率和屏幕倍率计算可视占位图元素对应的页面图片的显示分辨率;基于显示分辨率修改可视占位图元素的图片路径,以对页面图片进行加载显示的技术手段,所以克服了屏幕越大,被留出的空白越多;图片的清晰度较差的技术问题,进而达到根据终端的屏幕倍率计算出页面图片在每个终端的显示分辨率,以使每个终端得到最佳显示效果的技术效果。According to the technical solution of the embodiment of the present invention, because the visual placeholder map element located in the current visible area in the page is determined; the screen magnification and the logical resolution of the visual placeholder map element are obtained; and the logical resolution and the screen magnification are calculated The display resolution of the page image corresponding to the visual placeholder element; the technical means of modifying the image path of the visual placeholder element based on the display resolution to load and display the page image, so it overcomes the problem that the larger the screen, the more The more blanks appear; the technical problem of poor picture definition, and then the technical effect of calculating the display resolution of page pictures on each terminal according to the screen magnification of the terminal, so that each terminal can obtain the best display effect.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (12)

1. A method for displaying a page picture is characterized by comprising the following steps:
determining a visual occupying bitmap element positioned in a current visual area in a page;
acquiring the logic resolution and screen magnification of the visual occupied bitmap element;
calculating the display resolution of the page picture corresponding to the visual occupied bitmap element according to the logic resolution and the screen magnification;
and modifying the picture path of the visual occupied bitmap element based on the display resolution so as to load and display the page picture.
2. The method of claim 1, wherein determining the visible occupancy bitmap element in the page that is in the current visible region comprises:
acquiring placeholder pixels in a page, and setting picture tags of the placeholder pixels; wherein the picture tag comprises a placeholder map path and a picture path;
acquiring the visible area upper margin and the visible area height of the current visible area in the page, and calculating the visible area lower margin of the current visible area based on the visible area upper margin and the visible area height;
acquiring the upper edge distance of the pixel of the occupied bitmap element with the picture path being a non-null value;
and screening out the visual occupied bitmap element positioned in the current visual area based on the primitive element upper edge distance, the visual area upper edge distance and the visual area lower edge distance.
3. The method of claim 2, wherein the logical resolution comprises a logical pixel width and a logical pixel height, wherein the display resolution comprises a display pixel width and a display pixel height, and wherein
Calculating the display resolution of the page picture corresponding to the visual occupied bitmap element according to the logic resolution and the screen magnification, wherein the calculation comprises the following steps:
acquiring a page picture corresponding to the visual placeholder element according to the picture path of the visual placeholder bitmap element;
multiplying the logic pixel width by the screen multiplying power to obtain the display pixel width of the page picture;
and multiplying the logic pixel height by the screen multiplying power to obtain the display pixel height of the page picture.
4. The method of claim 3, wherein modifying the picture path of the visual occupancy bitmap element based on the display resolution comprises:
determining a size position of a picture path of the visual occupancy bitmap element;
modifying a value of the dimension location based on the display pixel width and the display pixel height.
5. The method of claim 3, further comprising, after modifying the picture path of the visible occupancy bitmap element based on the display resolution:
generating a picture test object, and setting a picture path of the visual occupation bitmap element as a test path of the picture test object;
loading the picture test object according to the test path;
if the loading is successful, saving the picture path of the visible bit map element;
if the loading fails, changing the picture path of the visual occupation bitmap element into the occupation map path of the visual occupation bitmap element.
6. A device for displaying a page picture, comprising:
the determining module is used for determining the visible occupied bitmap element positioned in the current visible area in the page;
the acquisition module is used for acquiring the logic resolution and the screen magnification of the visual bitmap element;
the calculation module is used for calculating the display resolution of the page picture corresponding to the visual occupation bitmap element according to the logic resolution and the screen magnification;
and the modification module is used for modifying the picture path of the visual occupied bitmap element based on the display resolution so as to load and display the page picture.
7. The display device of claim 6, wherein the determination module is further configured to:
acquiring placeholder pixels in a page, and setting picture tags of the placeholder pixels; wherein the picture tag comprises a placeholder map path and a picture path;
acquiring the visible area upper margin and the visible area height of the current visible area in the page, and calculating the visible area lower margin of the current visible area based on the visible area upper margin and the visible area height;
acquiring the upper edge distance of the pixel of the occupied bitmap element with the picture path being a non-null value;
and screening out the visual occupied bitmap element positioned in the current visual area based on the primitive element upper edge distance, the visual area upper edge distance and the visual area lower edge distance.
8. The display device of claim 7, wherein the logical resolution comprises a logical pixel width and a logical pixel height, wherein the display resolution comprises a display pixel width and a display pixel height, and wherein
The calculation module is further to:
acquiring a page picture corresponding to the visual placeholder element according to the picture path of the visual placeholder bitmap element;
multiplying the logic pixel width by the screen multiplying power to obtain the display pixel width of the page picture;
and multiplying the logic pixel height by the screen multiplying power to obtain the display pixel height of the page picture.
9. The display device of claim 8, wherein the modification module is further configured to:
determining a size position of a picture path of the visual occupancy bitmap element;
modifying a value of the dimension location based on the display pixel width and the display pixel height.
10. The display device of claim 8, further comprising a testing module to:
generating a picture test object, and setting a picture path of the visual occupation bitmap element as a test path of the picture test object;
loading the picture test object according to the test path;
if the loading is successful, saving the picture path of the visible bit map element;
if the loading fails, changing the picture path of the visual occupation bitmap element into the occupation map path of the visual occupation bitmap element.
11. An electronic device for displaying page pictures, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201911235026.3A 2019-12-05 2019-12-05 Display method and display device of page picture Pending CN113032696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911235026.3A CN113032696A (en) 2019-12-05 2019-12-05 Display method and display device of page picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911235026.3A CN113032696A (en) 2019-12-05 2019-12-05 Display method and display device of page picture

Publications (1)

Publication Number Publication Date
CN113032696A true CN113032696A (en) 2021-06-25

Family

ID=76450728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911235026.3A Pending CN113032696A (en) 2019-12-05 2019-12-05 Display method and display device of page picture

Country Status (1)

Country Link
CN (1) CN113032696A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190202A (en) * 2021-05-25 2021-07-30 海信视像科技股份有限公司 Data display method and display equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112082A1 (en) * 2000-12-07 2002-08-15 Ko John D. System and method for delivery of documents over a computer network
CN1402572A (en) * 2001-08-23 2003-03-12 华为技术有限公司 Method for implementing static picture display adaptation in mobile terminal
US20110221766A1 (en) * 2010-03-09 2011-09-15 Designmade Co., Ltd. Method for printing a captured screen of web pages
CN105204152A (en) * 2011-09-09 2015-12-30 文塔纳医疗系统公司 Imaging systems, cassettes, and methods of using the same
CN107818008A (en) * 2017-11-21 2018-03-20 武汉斗鱼网络科技有限公司 page loading method and device
CN109086374A (en) * 2018-07-23 2018-12-25 北京达佳互联信息技术有限公司 Webpage loading display method, device, terminal device and readable storage medium storing program for executing
CN110147230A (en) * 2019-04-18 2019-08-20 浙江数链科技有限公司 Page adaptation method, apparatus, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112082A1 (en) * 2000-12-07 2002-08-15 Ko John D. System and method for delivery of documents over a computer network
CN1402572A (en) * 2001-08-23 2003-03-12 华为技术有限公司 Method for implementing static picture display adaptation in mobile terminal
US20110221766A1 (en) * 2010-03-09 2011-09-15 Designmade Co., Ltd. Method for printing a captured screen of web pages
CN105204152A (en) * 2011-09-09 2015-12-30 文塔纳医疗系统公司 Imaging systems, cassettes, and methods of using the same
CN107818008A (en) * 2017-11-21 2018-03-20 武汉斗鱼网络科技有限公司 page loading method and device
CN109086374A (en) * 2018-07-23 2018-12-25 北京达佳互联信息技术有限公司 Webpage loading display method, device, terminal device and readable storage medium storing program for executing
CN110147230A (en) * 2019-04-18 2019-08-20 浙江数链科技有限公司 Page adaptation method, apparatus, equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
AYO: "A Guide to Responsive Images on the Web", Retrieved from the Internet <URL:https://freshman.tech/responsive-images/> *
MASATOSHI NISHIMURA; TSUNEO KAGAWA; HIROAKI NISHINO; KOUICHI UTSUMIYA: "A Document Browser Based on a Book-Style Interface with Augmented Reality", IEEE, 19 September 2013 (2013-09-19) *
冯兴利;洪丹丹;罗军锋;锁志海;: "视频自适应技术在网页设计中的实现", 现代电子技术, no. 24, 15 December 2016 (2016-12-15) *
吴瑕;唐权;: "利用Javascript DOM创建并优化网页图片库", 四川职业技术学院学报, no. 06, 15 December 2015 (2015-12-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190202A (en) * 2021-05-25 2021-07-30 海信视像科技股份有限公司 Data display method and display equipment
CN113190202B (en) * 2021-05-25 2023-01-06 Vidaa(荷兰)国际控股有限公司 Data display method and display equipment

Similar Documents

Publication Publication Date Title
US20090085921A1 (en) Populate Web-Based Content Based on Space Availability
CN105808307B (en) Page display method and device
US9679075B1 (en) Efficient delivery of animated image files
CN111951356B (en) Animation rendering method based on JSON data format
CN110020304A (en) A kind of method and apparatus of loading page
CN110675465A (en) Method and apparatus for generating image
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN110874172B (en) Method, device, medium and electronic equipment for amplifying APP interface
CN113626113B (en) Page rendering method and device
CN112445394B (en) Screenshot method and screenshot device
CN113282852A (en) Method and device for editing webpage
US11438403B2 (en) Page presentation method and system, computer system, and computer readable medium
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN114371838B (en) A small program canvas rendering method, device, equipment and storage medium
CN109144655B (en) Method, device, system and medium for dynamically displaying image
CN110209965B (en) Method and apparatus for displaying information
CN114489910A (en) Video conference data display method, device, equipment and medium
CN111222302A (en) Web page rendering control method, control device and computer readable medium
CN113032696A (en) Display method and display device of page picture
CN110020320A (en) The method and apparatus for caching page pictures
CN110427584A (en) Page generation method, device, electronic equipment and computer readable storage medium
CN115643468A (en) Poster generation method and device, electronic equipment and storage medium
CN112882775A (en) Method and device for self-adaptive adjustment of page template
CN114329278B (en) Processing method and device of search result page, electronic equipment and storage medium
CN105069058A (en) Quick response method of network map request for high-frequency interaction environment

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