Page image display method and device, computer equipment and readable storage medium

By compressing the rendered data of the rendered page, the problem of high data transmission bandwidth occupancy in traditional isolation technology is solved, and the rendering speed of page images is improved.

CN120010979APending Publication Date: 2025-05-16GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510004544.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In traditional remote browser isolation technology, the data transmission bandwidth occupancy between the remote server and the target terminal is high, affecting the rendering speed of page images.

Method used

By obtaining the rendering data of the page to be rendered and compressing it, the compressed rendering data is obtained, reducing the data transmission amount and reducing bandwidth usage.

Benefits of technology

It effectively reduces the data transmission bandwidth occupancy between the remote server and the target terminal, and improves the rendering speed of page images in the target terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010979A_ABST
    Figure CN120010979A_ABST
Patent Text Reader

Abstract

The invention relates to a page image display method and device, computer equipment and a readable storage medium, and the page image display method comprises the steps: obtaining rendering data of a to-be-rendered page under a preset data type in response to a page rendering request sent by a target terminal; compressing the rendering data to obtain compressed rendering data; and sending the compressed rendering data to the target terminal, so that the target terminal performs content rendering on a to-be-rendered page of the target terminal according to the compressed rendering data. According to the method, the amount of data transmitted between the remote server and the target terminal is reduced, the bandwidth occupancy rate in the data transmission process is reduced, and the rendering speed of the page image in the target terminal is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a page image display method, device, computer equipment and readable storage medium. Background Art

[0002] With the development of communication technology, especially the popularization of mobile Internet and the widespread application of intelligent devices, people are increasingly relying on network communication for work, study and entertainment. However, this also makes network security threats increasingly complex and changeable. In this context, remote browser isolation technology came into being.

[0003] Remote browser isolation technology completely isolates user browsing activities from the target terminal and loads and executes them on a remote server. The remote server then feeds back the loading and execution results to the target terminal, thereby protecting the target terminal from network security threats.

[0004] However, in the traditional isolation method, the data transmission process between the remote server and the target terminal is prone to high bandwidth occupancy, which affects the rendering speed of the page image in the target terminal. Summary of the invention

[0005] Based on this, it is necessary to provide a page image display method, device, computer equipment, readable storage medium and program product that can reduce bandwidth occupancy and improve page image rendering speed in response to the above technical problems.

[0006] In a first aspect, the present application provides a page image display method, comprising:

[0007] In response to a page rendering request sent by a target terminal, obtaining rendering data of a page to be rendered under a preset data type;

[0008] Compressing the rendering data to obtain compressed rendering data;

[0009] The compressed rendering data is sent to the target terminal, so that the target terminal renders the content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0010] In one of the embodiments, compressing the rendering data to obtain compressed rendering data includes: determining a rendering mode of the page to be rendered; the rendering mode includes a first rendering mode; when the rendering mode is the first rendering mode, compressing the rendering data to obtain compressed rendering data.

[0011] In one of the embodiments, determining the rendering mode of the page to be rendered includes: obtaining communication quality data between a remote server and a target terminal, and determining the rendering mode of the page to be rendered based on the communication quality data; or, receiving mode selection information for the rendering mode from the target terminal, and determining the rendering mode of the page to be rendered based on the mode selection information.

[0012] In one embodiment, compressing the rendering data to obtain compressed rendering data includes: compressing the rendering data to obtain first rendering data; and converting the format of the first rendering data to obtain compressed rendering data.

[0013] In one embodiment, the format of the first rendering data is converted to obtain compressed rendering data, including: converting the data format of the first rendering data into the WebP format to obtain second rendering data; converting the second rendering data into vector command data, and using the vector command data as compressed rendering data.

[0014] In a second aspect, the present application provides another page image display method, comprising:

[0015] Sending a page rendering request to a remote server, so that the remote server responds to the page rendering request and obtains rendering data of the page to be rendered under a preset data type;

[0016] Receiving compressed rendering data sent by a remote server; the compressed rendering data is obtained by the remote server compressing the rendering data;

[0017] According to the compressed rendering data, content rendering is performed on the to-be-rendered page of the target terminal.

[0018] In a third aspect, the present application further provides a page image display device, comprising:

[0019] An acquisition module, used for acquiring rendering data of a page to be rendered under a preset data type in response to a page rendering request sent by a target terminal;

[0020] A first processing module, used for compressing the rendering data to obtain compressed rendering data;

[0021] The first sending module is used to send the compressed rendering data to the target terminal, so that the target terminal renders the content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0022] In a fourth aspect, the present application also provides another page image display device, comprising:

[0023] A second sending module is used to send a page rendering request to a remote server, so that the remote server responds to the page rendering request and obtains rendering data of the page to be rendered under a preset data type;

[0024] A receiving module, used for receiving compressed rendering data sent by a remote server; the compressed rendering data is obtained by the remote server after compressing the rendering data;

[0025] The second processing module is used to render content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0026] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method of the first aspect or the second aspect in various possible implementations is implemented.

[0027] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method of the first aspect or the second aspect in various possible implementations.

[0028] In a seventh aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the method of the first aspect or the second aspect in various possible implementations.

[0029] The above-mentioned page image display method, device, computer equipment, readable storage medium and program product obtain compressed rendering data by intercepting rendering data of the page to be rendered under a preset data type and compressing the rendering data; thus, the compressed rendering data only needs to be sent to the target terminal, so that the target terminal can render content on the page to be rendered of the target terminal according to the compressed rendering data. The amount of data transmitted between the remote server and the target terminal is reduced, the bandwidth occupancy rate during data transmission is reduced, and the rendering speed of the page image in the target terminal is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A diagram showing an application environment of a page image display method in an embodiment;

[0032] Figure 2A schematic diagram of a flow chart of a page image display method in one embodiment;

[0033] Figure 3 A schematic diagram of a flow chart of a compression processing step of rendering data in one embodiment;

[0034] Figure 4 is a flow chart of a page image display method in another embodiment;

[0035] Figure 5 A schematic diagram of a flow chart of a method for displaying a page image in yet another embodiment;

[0036] Figure 6 is a structural block diagram of a page image display device in an embodiment;

[0037] Figure 7 is a structural block diagram of a page image display device in another embodiment;

[0038] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0040] The page image display method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the target terminal 110 communicates with the remote server 120 through the network, and the remote server 120 communicates with the target server 130 through the network. The data storage system can store the data that the remote server 120 needs to process. The data storage system can be integrated on the remote server 120, or it can be placed on the cloud or other network servers. Figure 1 In the page image display method provided in the embodiment of the present application, the target terminal 110 sends a page rendering request to the remote server 120; the remote server 120 obtains rendering data of the page to be rendered under a preset data type from the target server 130 in response to the page rendering request; the remote server 120 compresses the rendering data to obtain compressed rendering data; the remote server 120 sends the compressed rendering data to the target terminal 110, so that the target terminal 110 renders content on the page to be rendered of the target terminal 110 according to the compressed rendering data.

[0041] Among them, the target terminal 110 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The remote server 120 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The target server 130 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0042] In an exemplary embodiment, Figure 2 As shown, a page image display method is provided, and the method is applied to Figure 1 The remote server 120 in the example is used as an example to illustrate, and the following steps are included:

[0043] S210: In response to a page rendering request sent by a target terminal, obtaining rendering data of a page to be rendered under a preset data type.

[0044] The page rendering request may be understood as a rendering request generated by a browser of a target terminal when a user accesses a page based on the target terminal, and is used to request a target resource of a page to be rendered.

[0045] In an optional embodiment, the page rendering request may include an access address and request parameters. The access address may be understood as a URL (Uniform Resource Locator), which is used to locate network resources such as web pages, pictures, and videos. The request parameters may be understood as parameter data generated when a user performs an operation on a target terminal.

[0046] The preset data type can be set according to actual needs, and this application does not impose any limitation on the preset data type. In particular, the preset data type can be an image data type.

[0047] In an optional embodiment, in response to a page rendering request sent by a target terminal, obtaining rendering data of a page to be rendered under a preset data type includes: in response to the page rendering request, obtaining a target resource corresponding to the request parameter from a target server corresponding to an access address; parsing the page rendering data of the page to be rendered from the target resource; and filtering out the rendering data under a preset data type from the page rendering data.

[0048] The target resource may include at least one of Html (Hyper Text Markup Language), Css (Cascading Style Sheets), Png (Portable Network Graphics), and JavaScript (Java Description Language). This application does not impose any restrictions on the type and content of the target resource. Optionally, the target resource may be parsed into page rendering data of the page to be rendered based on the graphics library of the remote server.

[0049] S220: compress the rendering data to obtain compressed rendering data.

[0050] In an optional embodiment, compressing the rendering data to obtain compressed rendering data includes: compressing the rendering data to obtain first rendering data; and converting the format of the first rendering data to obtain compressed rendering data.

[0051] Optionally, converting the format of the first rendering data to obtain compressed rendering data includes: converting the data format of the first rendering data into a WebP format to obtain second rendering data; converting the second rendering data into vector command data, and using the vector command data as compressed rendering data.

[0052] Among them, the WebP format is an image format that aims to provide a more efficient image compression method to speed up web page loading. It supports both lossy and lossless compression, and can significantly reduce file size while maintaining image quality. Vector command data can be understood as instructions for creating and displaying vector graphics in a computer graphics environment. By converting the rendering data into the WebP format and vector command data in turn, the amount of rendering data is reduced while maintaining image quality.

[0053] S230: Send the compressed rendering data to the target terminal, so that the target terminal renders content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0054] In an optional embodiment, the page image display method also includes: sending target rendering data other than rendering data of a preset data type in the page rendering data of the page to be rendered to the target terminal, so that the target terminal renders content on the page to be rendered of the target terminal according to the target rendering data.

[0055] The compressed rendering data and the target rendering data may be sent to the target terminal simultaneously or sequentially. In addition, the data format of the compressed rendering data and the target rendering data may be an image data format or a vector command data format. This application does not impose any limitation on the data format of the compressed rendering data and the target rendering data.

[0056] In the embodiment provided by the present application, the rendering data of the page to be rendered under the preset data type is intercepted and the rendering data is compressed to obtain the compressed rendering data; thus, the compressed rendering data only needs to be sent to the target terminal, so that the target terminal can render the content on the page to be rendered of the target terminal according to the compressed rendering data. The amount of data transmitted between the remote server and the target terminal is reduced, the bandwidth occupancy rate during the data transmission process is reduced, and the rendering speed of the page image in the target terminal is improved.

[0057] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the compression processing steps of the rendering data are refined.

[0058] See also Figure 3 The steps of compressing the rendering data shown include:

[0059] S310: Determine a rendering mode of a page to be rendered; the rendering mode includes a first rendering mode.

[0060] In an optional embodiment, the rendering mode further includes a second rendering mode, wherein the first rendering mode can be understood as an accelerated rendering mode, in which the accelerated rendering mode pays more attention to the rendering speed; and the second rendering mode can be understood as a quality rendering mode, in which the quality rendering mode pays more attention to the rendering quality.

[0061] In an optional embodiment, the rendering mode of the page to be rendered may be determined in the following manner: obtaining communication quality data between the remote server and the target terminal, and determining the rendering mode of the page to be rendered according to the communication quality data.

[0062] The communication quality data may include at least one of the data transmission speed and bandwidth occupancy rate between the remote server and the target terminal. The bandwidth occupancy rate refers to the ratio of the data throughput of the information network link to the link bandwidth, reflecting the degree of data transmission congestion.

[0063] Exemplarily, when the data transmission speed is greater than the speed threshold, the rendering mode is determined to be the second rendering mode; when the data transmission speed is not greater than the speed threshold, the rendering mode is determined to be the first rendering mode. The speed threshold can be set by technicians according to needs or experience, or determined through a large number of experiments, and this application does not impose any limitation on this.

[0064] Exemplarily, when the bandwidth occupancy rate is greater than the occupancy rate threshold, the rendering mode is determined to be the first rendering mode; when the bandwidth occupancy rate is not greater than the occupancy rate threshold, the rendering mode is determined to be the second rendering mode. The occupancy rate threshold can be set by technicians according to needs or experience, or determined through a large number of experiments, and this application does not impose any limitation on this.

[0065] In another optional embodiment, the rendering mode of the page to be rendered may be determined by: receiving mode selection information for the rendering mode from the target terminal, and determining the rendering mode of the page to be rendered according to the mode selection information, wherein the mode selection information includes the first selection information or the second selection information.

[0066] Exemplarily, when the received mode selection information is the first selection information, the rendering mode is determined to be the first rendering mode.

[0067] Exemplarily, when the received mode selection information is the second selection information, the rendering mode is determined to be the second rendering mode.

[0068] S320: When the rendering mode is the first rendering mode, compress the rendering data to obtain compressed rendering data.

[0069] In an optional embodiment, when the rendering mode is the second rendering mode, the rendering data is sent to the target terminal, so that the target terminal renders the content on the to-be-rendered page of the target terminal according to the rendering data.

[0070] In the embodiment provided in the present application, by determining the rendering mode of the page to be rendered, corresponding processing strategies are executed for different rendering modes, so that the above-mentioned page image display method can be adapted to different application scenarios, thereby improving the applicability of the page image display method.

[0071] In an exemplary embodiment, Figure 4 As shown, another page image display method is provided, which is applied to Figure 1 Taking the target terminal 110 in the example as an example, the method includes the following steps:

[0072] S410: Send a page rendering request to a remote server, so that the remote server responds to the page rendering request and obtains rendering data of the to-be-rendered page under a preset data type.

[0073] In an optional embodiment, the page rendering request includes an access address and request parameters; the remote server responds to the page rendering request, and obtains rendering data of the page to be rendered under a preset data type, including: responding to the page rendering request, obtaining a target resource corresponding to the request parameters from a target server corresponding to the access address; parsing the page rendering data of the page to be rendered from the target resource; and filtering out the rendering data under the preset data type from the page rendering data.

[0074] S420, receiving compressed rendering data sent by a remote server; the compressed rendering data is obtained by the remote server after compressing the rendering data.

[0075] In an optional embodiment, the compressed rendering data is obtained by the remote server after compressing the rendering data when determining that the rendering mode is the first rendering mode.

[0076] Optionally, the remote server obtains communication quality data between the remote server and the target terminal, and determines a rendering mode of the page to be rendered according to the communication quality data.

[0077] Optionally, the target terminal sends mode selection information for the rendering mode to the remote server, and the remote server determines the rendering mode of the page to be rendered according to the mode selection information.

[0078] In an optional embodiment, the compressed rendering data is obtained by compressing the rendering data by the remote server to obtain the first rendering data, and converting the format of the first rendering data.

[0079] Optionally, the remote server converts the format of the first rendering data, including: the remote server converts the data format of the first rendering data into the WebP format to obtain second rendering data; the remote server converts the second rendering data into vector command data, and uses the vector command data as compressed rendering data.

[0080] S430: Rendering content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0081] In the embodiment provided by the present application, the target terminal receives the compressed rendering data sent by the remote server, and renders the content on the page to be rendered of the target terminal according to the compressed rendering data. This reduces the amount of data transmitted between the remote server and the target terminal, reduces the bandwidth occupancy rate during the data transmission process, and improves the rendering speed of the page image in the target terminal.

[0082] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which a specific implementation method of another page image display method is provided.

[0083] See also Figure 5 Another page image display method shown includes:

[0084] S510. The target terminal sends a page rendering request to the remote server; the page rendering request includes an access address and request parameters.

[0085] S520: In response to the page rendering request, the remote server obtains a target resource corresponding to the request parameter from a target server corresponding to the access address.

[0086] S530: The remote server parses the target resource to obtain page rendering data of the page to be rendered.

[0087] S540: The remote server obtains rendering data of a preset data type from the page rendering data.

[0088] S550: The remote server determines a rendering mode for the page to be rendered; the rendering mode includes a first rendering mode.

[0089] S560: When the rendering mode is the first rendering mode, the remote server compresses the rendering data to obtain first rendering data.

[0090] S570: The remote server converts the format of the first rendering data to obtain compressed rendering data.

[0091] S580: The remote server sends the compressed rendering data to the target terminal.

[0092] S590: The target terminal renders content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0093] The detailed technical contents of the above steps S510 - S590 have been recorded in the above examples and will not be repeated here.

[0094] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0095] Based on the same inventive concept, the embodiment of the present application also provides a page image display device for implementing the page image display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more page image display device embodiments provided below can refer to the limitations of the page image display method above, and will not be repeated here.

[0096] In an exemplary embodiment, Figure 6 As shown, a page image display device is provided, including: an acquisition module 610, a first processing module 620 and a first sending module 630, wherein:

[0097] The acquisition module 610 is used to obtain rendering data of the page to be rendered under a preset data type in response to a page rendering request sent by a target terminal.

[0098] The first processing module 620 is used to compress the rendering data to obtain compressed rendering data.

[0099] The first sending module 630 is used to send the compressed rendering data to the target terminal, so that the target terminal renders the content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0100] In one embodiment, the first processing module 620 includes: a first determination unit, used to determine the rendering mode of the page to be rendered; the rendering mode includes a first rendering mode; and a first processing unit, used to compress the rendering data to obtain compressed rendering data when the rendering mode is the first rendering mode.

[0101] In one embodiment, the first determination unit includes: a first determination subunit or a second determination subunit; the first determination subunit is used to obtain communication quality data between the remote server and the target terminal, and determine the rendering mode of the page to be rendered based on the communication quality data; the second determination subunit is used to receive mode selection information for the rendering mode from the target terminal, and determine the rendering mode of the page to be rendered based on the mode selection information.

[0102] In one embodiment, the first processing module 620 includes: a second processing unit, configured to perform data compression on the rendering data to obtain first rendering data; and a third processing unit, configured to perform format conversion on the first rendering data to obtain compressed rendering data.

[0103] In one embodiment, the third processing unit includes: a first processing sub-unit, used to convert the data format of the first rendering data into the WebP format to obtain second rendering data; a second processing sub-unit, used to convert the second rendering data into vector command data, and use the vector command data as compressed rendering data.

[0104] In an exemplary embodiment, Figure 7 As shown, another page image display device is provided, including: a second sending module 710, a receiving module 720 and a second processing module 730, wherein:

[0105] The second sending module 710 is used to send a page rendering request to the remote server, so that the remote server responds to the page rendering request and obtains rendering data of the page to be rendered under a preset data type;

[0106] The receiving module 720 is used to receive the compressed rendering data sent by the remote server; the compressed rendering data is obtained by the remote server after compressing the rendering data;

[0107] The second processing module 730 is used to render content on the to-be-rendered page of the target terminal according to the compressed rendering data.

[0108] Each module in the above-mentioned page image display device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0109] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a page image display method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0110] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0111] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0112] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0113] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0114] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0115] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0116] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A page image display method, characterized in that: Applied to a remote server, the method comprises: In response to a page rendering request sent by a target terminal, obtaining rendering data of a page to be rendered under a preset data type; Compressing the rendering data to obtain compressed rendering data; The compressed rendering data is sent to the target terminal, so that the target terminal performs content rendering on the to-be-rendered page of the target terminal according to the compressed rendering data.

2. The method according to claim 1, characterized in that The compressing the rendering data to obtain compressed rendering data includes: Determine a rendering mode of the page to be rendered; the rendering mode includes a first rendering mode; When the rendering mode is the first rendering mode, the rendering data is compressed to obtain compressed rendering data.

3. The method according to claim 2, characterized in that Determining the rendering mode of the page to be rendered includes: Acquiring communication quality data between the remote server and the target terminal, and determining a rendering mode of the to-be-rendered page according to the communication quality data; or, Mode selection information for the rendering mode is received from the target terminal, and a rendering mode of the to-be-rendered page is determined according to the mode selection information.

4. The method according to any one of claims 1 to 3, characterized in that: The compressing the rendering data to obtain compressed rendering data comprises: Compressing the rendering data to obtain first rendering data; The first rendering data is formatted to obtain the compressed rendering data.

5. The method according to claim 4, characterized in that The converting the format of the first rendering data to obtain the compressed rendering data includes: Convert the data format of the first rendering data into WebP format to obtain second rendering data; The second rendering data is converted into vector command data, and the vector command data is used as the compressed rendering data.

6. A page image display method, characterized in that: Applied to a target terminal, the method comprises: Sending a page rendering request to a remote server, so that the remote server responds to the page rendering request and obtains rendering data of the to-be-rendered page under a preset data type; Receiving compressed rendering data sent by a remote server; the compressed rendering data is obtained by the remote server compressing the rendering data; Content rendering is performed on the to-be-rendered page of the target terminal according to the compressed rendering data.

7. A page image display device, characterized in that: The device comprises: An acquisition module, used for acquiring rendering data of a page to be rendered under a preset data type in response to a page rendering request sent by a target terminal; A first processing module, used for compressing the rendering data to obtain compressed rendering data; The first sending module is used to send the compressed rendering data to the target terminal, so that the target terminal performs content rendering on the to-be-rendered page of the target terminal according to the compressed rendering data.

8. A page image display device, characterized in that: The device comprises: A second sending module is used to send a page rendering request to a remote server, so that the remote server responds to the page rendering request and obtains rendering data of the page to be rendered under a preset data type; A receiving module, used for receiving compressed rendering data sent by a remote server; the compressed rendering data is obtained by the remote server after compressing the rendering data; The second processing module is used to render content on the to-be-rendered page of the target terminal according to the compressed rendering data.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Page construction method and device, equipment, medium and program product

    CN122489859A