Page display method, device and server

By rendering and sending page data on the server side, the problem of page display delay and complexity on the client side is solved, and a more efficient page display process is achieved.

CN111782993BActive Publication Date: 2024-09-20BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910666808.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-23
Publication Date
2024-09-20
Estimated Expiration
2039-07-23

AI Technical Summary

Technical Problem

In the existing technology, when the page is displayed, the server needs to render all the data, resulting in a delay on the client side, and the paging display method requires the client to develop a front-end template in advance, which increases the complexity of the client.

Method used

During the page display process, the server receives the page request message from the client, obtains the data to be displayed based on the page address information and performs rendering processing, and sends the rendered data to the client. The client does not need to pre-develop a front-end template for rendering.

Benefits of technology

It reduces the complexity of the client, reduces the client's rendering operations when displaying the page, and improves the page display efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111782993B
    Figure CN111782993B
Patent Text Reader

Abstract

The embodiment of the present invention provides a page display method, device and server. The client only needs to send page address information and a page requested to be displayed to the server, wherein the page requested to be displayed is any one of the second page to the last page, so that after receiving the page address information and the page requested to be displayed, the server obtains the data to be displayed according to the page address information and the page requested to be displayed; the page requested to be displayed is a page among the pages corresponding to the page address information; and the data to be displayed is rendered; and then the rendered target data to be displayed is sent to the client so that the page is displayed through the client. The client does not need to develop a front-end template in advance, and does not need to render the page data according to the front-end template. Therefore, the complexity of the client is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to computer technology, and in particular to a page display method, device and server. Background Art

[0002] During the page display process, if paging is not performed during display, the server needs to render all the data corresponding to the page first, and then send the rendered data to the client to display the data to the user through the client. However, since it takes a long time for the server to render the data, there will be a delay when the client displays the page.

[0003] In order to reduce the display delay, in the prior art, data is displayed by paging display. The specific process is: the server first renders the data of the first page, and sends the rendered data of the first page to the client, so that the client displays the rendered data of the first page; further, if the server receives a page request for the second page or other pages thereafter, the data corresponding to the page is sent to the client, so that after receiving the data corresponding to the page, the client renders the data of the page according to its front-end template and displays the rendered data.

[0004] However, with the existing paging display method, the client needs to develop a front-end template in advance, which increases the complexity of the client. Summary of the invention

[0005] The present invention provides a page display method, device and server, which can reduce the complexity of the client during the page display process.

[0006] In a first aspect, an embodiment of the present invention provides a page display method, which is applied to a server, and the page display method includes:

[0007] Receive a page request message sent by a client; wherein the page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any page from the second page to the last page;

[0008] According to the page address information and the page requested to be displayed, the to-be-displayed data to be displayed is acquired; the page requested to be displayed is a page among the multiple pages corresponding to the page address information;

[0009] Rendering the data to be displayed to obtain rendered target data to be displayed;

[0010] The target data to be displayed is sent to the client so as to be displayed on a page through the client.

[0011] In a possible implementation, the rendering of the data to be displayed to obtain rendered target data to be displayed includes:

[0012] Parsing the data to be displayed according to the data structure in the page template to obtain processed data to be displayed; wherein the page template is used to describe the page layout;

[0013] The processed data to be displayed is rendered according to the page template to obtain the target data to be displayed.

[0014] In a possible implementation, before parsing the data to be displayed according to the data structure in the page template, the method further includes:

[0015] The page template is developed in advance according to the page layout; wherein the page layout includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls.

[0016] In a possible implementation, the page display method further includes:

[0017] Monitoring the function and availability of rendering the data to be displayed to obtain monitoring results;

[0018] If the monitoring result indicates that the rendering function and availability do not meet the preset conditions, an alarm message is output.

[0019] In a possible implementation, the acquiring the to-be-displayed data to be displayed according to the page address information and the page requested to be displayed includes:

[0020] The data to be displayed is obtained from an upstream interface or a database according to the page address information and the page requested to be displayed.

[0021] In a second aspect, an embodiment of the present invention further provides a page display device, applied to a server, the page display device comprising:

[0022] A receiving module, used for receiving a page request message sent by a client; wherein the page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any one of the second page to the last page;

[0023] A data pulling module, used to obtain the data to be displayed according to the page address information and the page requested to be displayed; wherein the page requested to be displayed is a page among the multiple pages corresponding to the page address information;

[0024] A server-side rendering module is used to render the data to be displayed to obtain rendered target data to be displayed;

[0025] The sending module is used to send the target data to be displayed to the client so as to display the data on the page through the client.

[0026] In a possible implementation, the server-side rendering module is specifically used to parse the data to be displayed according to the data structure in the page template to obtain the processed data to be displayed; wherein the page template is used to describe the page layout; and the processed data to be displayed is rendered according to the page template to obtain the target data to be displayed.

[0027] In a possible implementation, the server-side rendering module is further used to obtain the page template in advance based on the page layout development; wherein the page layout includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls.

[0028] In a possible implementation, the device also includes a monitoring alarm module, which is used to monitor the function and availability of the rendering of the data to be displayed to obtain a monitoring result; if the monitoring result indicates that the rendering function and availability do not meet preset conditions, an alarm message is output.

[0029] In a possible implementation, the data pulling module is specifically configured to obtain the data to be displayed in an upstream interface or a database according to the page address information and the page requested to be displayed.

[0030] In a third aspect, an embodiment of the present invention further provides a server, which may include a memory and a processor, wherein:

[0031] The memory is used to store program instructions;

[0032] The processor is used to read the program instructions in the memory and execute the page display method described in any possible implementation manner of the first aspect according to the program instructions in the memory.

[0033] In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, comprising instructions, which, when executed by one or more processors, enable a server to execute the page display method described in any possible implementation of the first aspect.

[0034] In a fifth aspect, an embodiment of the present invention further provides a chip having a computer program stored thereon, and when the computer program is executed by a processor, the page display method described in any possible implementation manner of the first aspect is executed.

[0035] The page display method, device and server provided by the embodiment of the present invention, during the page display process, the client only needs to send the page address information and the page requested to be displayed to the server, wherein the page requested to be displayed is any one of the second page to the last page, so that after receiving the page address information and the page requested to be displayed, the server obtains the data to be displayed according to the page address information and the page requested to be displayed; the page requested to be displayed is a page in the page corresponding to the page address information; and the data to be displayed is rendered; and then the rendered target data to be displayed is sent to the client, so as to display the page through the client. It can be seen that in the embodiment of the present invention, when displaying a page, for any one of the pages from the second page to the last page, the rendering operation of the corresponding data is performed by the server, and the client does not need to develop a front-end template in advance, and does not need to render the page data according to the front-end template, thereby effectively reducing the complexity of the client. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 An application scenario diagram provided for an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of a flow chart of a page display method provided by an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a flow chart of another page display method provided by an embodiment of the present invention;

[0039] Figure 4 A schematic diagram of the structure of a page display device provided by an embodiment of the present invention;

[0040] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0042] In the embodiments of the present invention, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of the present invention, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0043] Figure 1 An application scenario diagram provided for an embodiment of the present invention is applied to a page display system. For example, the page display system may include a server and at least one terminal device, wherein at least one client is provided in the terminal device, and the server can exchange data with the client to complete the page display process. However, during the entire page display process, the server only renders the data of the first page of the displayed page. For the second page or other subsequent pages, the server only sends the page data to the client, so that the client renders the page data according to its front-end template and displays the rendered data. However, with the existing paging display method, the client needs to develop the front-end template in advance, which increases the complexity of the client.

[0044] In order to reduce the complexity of the client, an embodiment of the present invention provides a page display method. During the page display process, the client only needs to send the page address information and the page requested to be displayed to the server, wherein the page requested to be displayed is any one of the second page to the last page, so that after receiving the page address information and the page requested to be displayed, the server obtains the data to be displayed according to the page address information and the page requested to be displayed; the page requested to be displayed is a page in the page corresponding to the page address information; and the data to be displayed is rendered, and then the rendered target data to be displayed is sent to the client, so as to display the page through the client. It can be seen that in the embodiment of the present invention, when displaying a page, for any one of the pages from the second page to the last page, the rendering operation of the corresponding data is performed by the server, and the client does not need to develop a front-end template in advance, and does not need to render the page data according to the front-end template, thereby effectively reducing the complexity of the client.

[0045] It can be understood that in the embodiment of the present invention, the page requested to be displayed is any one of the pages from the second page to the last page. The second page here cannot be limited to being understood as a fixed second page arranged in sequence among the pages corresponding to the page address information. For example, the page address information corresponds to 5 pages, and the five pages are the first page, the second page, the third page, the fourth page and the fifth page. The second page cannot be limited to being understood as the second page among the five pages; it can also be understood as a random page among the pages corresponding to the page address information triggered for the second time according to the user's triggering operation. For example, the page requested to be displayed for the first time by the user is the first page. When the page requested to be displayed for the second time is the third page, the second page is the third page; or, when the page requested to be displayed for the second time is the fourth page, the second page is the fourth page. Similarly, the last page cannot be limited to being understood as a fixed last page arranged in sequence among the pages corresponding to the page address information; it can also be understood as a random page among the pages corresponding to the page address information triggered for the last time according to the user's triggering operation.

[0046] The page display method provided by the embodiment of the present invention will be described in detail below through the following embodiments. Figure 2 The following is a flow chart of a page display method provided by an embodiment of the present invention. The execution subject of the page display method may be a page display device, which may be set up separately or in a server. For example, please refer to Figure 2 As shown, the page display method may include:

[0047] S201: Receive a page request message sent by a client.

[0048] The page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any page from the second page to the last page.

[0049] For example, the page address information may be a URL address, such as xxxx.com, or yyyy.cn. Of course, it may also be other address information, which may be set according to actual needs. Here, the embodiment of the present invention does not make any specific limitation.

[0050] It should be noted that when the amount of data included in a page is large and it is impossible to display all the data through one page, the data can be displayed in pages. At this time, when sending a page display request to the page display device, it is necessary not only to include page address information to inform the server which data needs to be displayed, but also to further inform the server which part of the data needs to be displayed through the page requested for display. On the contrary, if the amount of data included in a page can be fully displayed through one page, only a page request message including the page address information can be sent to the server without sending the page requested for display. Here, the embodiment of the present invention is mainly described for the scenario where the amount of data is large and needs to be displayed in pages.

[0051] When performing paginated display, when the client is displaying the first page of the page, if it is detected that the user clicks or drags the page to scroll down, it means that the user wants to view the second page or subsequent pages of the page. At this time, a page request message can be sent to the server. The page request message may include page address information and the page requested to be displayed, so that the server first obtains the data to be displayed according to the page address information and the page requested to be displayed, and renders the data to be displayed. After that, the rendered target data to be displayed is sent to the client. In this way, when the client displays the page, there is no need to pre-develop the front-end template, let alone perform rendering operations, thereby reducing the complexity of the client.

[0052] S202: Obtain the data to be displayed according to the page address information and the page requested to be displayed.

[0053] The page requested to be displayed is a page among the multiple pages corresponding to the page address information.

[0054] When acquiring the data to be displayed, since the page address information may correspond to multiple pages, it is necessary to acquire the data to be displayed in combination with the page requested to be displayed, so as to acquire the data to be displayed.

[0055] Optionally, when acquiring the data to be displayed according to the page address information and the page requested to be displayed, the data to be displayed may be first acquired from an upstream interface or database according to the page address information and the page requested to be displayed, thereby obtaining the data to be displayed.

[0056] S203: Render the data to be displayed to obtain rendered target data to be displayed.

[0057] After the data to be displayed is obtained, the data to be displayed can be rendered to obtain the rendered target data to be displayed; and the target data to be displayed is sent to the client so that the client displays the page, that is, the following S204 is executed:

[0058] S204: Send the target data to be displayed to the client so as to display the page through the client.

[0059] For example, after receiving the rendered target data to be displayed, the client can first add the target data to be displayed to the corresponding page, and bind the front-end time, front-end logic and corresponding display effect of the page, and then display the processed page. On the contrary, if the client does not receive the rendered target data to be displayed, it can resend a page request message to the server to re-request the rendered data corresponding to the page; or, the page can be processed down and an error reminder can be output to provide the user with a page display error.

[0060] It can be seen that in the embodiment of the present invention, when displaying a page, for any page from the second page to the last page, the server obtains the data to be displayed based on the page address information in the page request message and the page requested to be displayed, and renders the data to be displayed. That is, the data rendering operation is performed by the server, and the client does not need to develop a front-end template in advance, and does not need to render the page data according to the front-end template. Therefore, the complexity of the client is effectively reduced.

[0061] based on Figure 2 In order to more clearly illustrate how to render the data to be displayed in S202 in the embodiment of the present invention to obtain the rendered target data to be displayed, for example, see Figure 3 As shown, Figure 3 A flow chart of another page display method provided by an embodiment of the present invention, the page display method may further include:

[0062] S301 , parsing the data to be displayed according to the data structure in the page template to obtain processed data to be displayed.

[0063] The page template is used to describe the page layout, which includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls. Of course, other information may also be included, which can be set according to actual needs, and the embodiment of the present invention does not make any specific restrictions here.

[0064] Optionally, before parsing the data to be displayed according to the data structure in the page template, the page template can be developed in advance according to the page layout, and the data to be displayed can be parsed according to the data structure in the page template, so as to obtain the processed data to be displayed. For example, the processed data to be displayed conforms to the data structure of the page template and can be in JavaScript Object Notation (JSON) format. Among them, JSON is a lightweight data exchange format. It is based on a subset of ECMAScript (js specification developed by w3c) and uses a text format that is completely independent of the programming language to store and represent data. The concise and clear hierarchical structure makes JSON an ideal data exchange language, and JSON is easy to read and write, and is also easy to be parsed and generated by machines, which effectively improves network transmission efficiency.

[0065] For example, the JSON format can be as follows

[0066]

[0067] After obtaining the processed data to be displayed in the data format that conforms to the page template, the processed data to be displayed in the data format that conforms to the page template is rendered according to the page template to obtain the target data to be displayed, that is, the following S302 is executed:

[0068] S302: Render the processed data to be displayed according to the page template to obtain target data to be displayed.

[0069] The processed data to be displayed is rendered according to the page template to obtain the target data to be displayed in the format of HyperText Markup Language (HTML), and the rendered target data to be displayed is sent to the client to display the page through the client. It can be seen that in the embodiment of the present invention, when displaying a page, for any page from the second page to the last page, the server obtains the data to be displayed according to the page address information in the page request message and the page requested to be displayed, and renders the data to be displayed, that is, the rendering operations of the corresponding data are all performed by the server, and the client does not need to develop a front-end template in advance, and does not need to render the page data according to the front-end template, thereby effectively reducing the complexity of the client.

[0070] Based on the above Figure 2 or Figure 3 In the embodiment shown, during the data rendering process, the function and availability of the data to be displayed can also be monitored to obtain monitoring results; if the monitoring results indicate that the rendering function and availability do not meet preset conditions, an alarm message is output.

[0071] Among them, failure to meet the preset conditions can be understood as errors in the rendered data, or unclear data, etc., which will affect the normal display of the page.

[0072] In addition, it can also be understood that in the process of monitoring the function and availability of the rendering of the data to be displayed, the rendering process can also be recorded in the form of a log. In this way, when the monitoring results indicate that the function and availability of the rendering do not meet the preset conditions, the error information can also be output through the information recorded in the log for the staff to view, thereby providing a basis for the staff.

[0073] To facilitate understanding of the technical solution provided by an embodiment of the present invention, for example, when a user wants to view relevant information about Zhang San, he will first enter the page address information of zhangsan.com on the client, and the client will send the page address information zhangsan.com and the first page requested to be displayed to the server. After receiving the page address information zhangsan.com and the first page requested to be displayed, the server first obtains the data to be displayed from the upstream interface or database according to zhangsan.com and the first page, renders the data to be displayed, and then sends the rendered target data to be displayed to the client. After receiving the rendered target data to be displayed, the client adds the target data to be displayed on the first page, and binds the front-end time, front-end logic and corresponding display effect of the page. After that, the client displays the first page to the user. When the client is displaying the first page of the page to the user, if it is detected that the user clicks or drags the page to scroll down, it means that the user may want to view the second page of the page. At this time, a page request message including the page address information zhangsan.com and the second page requested to be displayed can be sent to the server. After receiving the page request message, the server first obtains the data to be displayed in the upstream interface or database according to the page address information zhangsan.com and the second page requested to be displayed, renders the data to be displayed, and then sends the rendered target data to be displayed to the client. After receiving the rendering message, the client After the target data to be displayed is rendered, the target data to be displayed is added to the second page, and the front-end time, front-end logic and corresponding display effect of the page are bound. After that, the client displays the second page to the user. It can be seen that when displaying the page, for any page from the second page to the last page, the server obtains the data to be displayed according to the page address information in the page request message and the page requested to be displayed, and renders the data to be displayed, that is, the rendering operations of the corresponding data are all performed by the server. The client does not need to develop the front-end template in advance, and does not need to render the page data according to the front-end template. Therefore, the complexity of the client is effectively reduced.

[0074] Of course, when the client is displaying the second page of the page to the user, if it is detected that the user has clicked or dragged the page to scroll down, it means that the user may want to view the third page of the page, and the display process of the third page is similar to the display process of the first page and the second page. For details, please refer to the display process of the first page and the second page. Here, the embodiment of the present invention will not be repeated.

[0075] Figure 4A schematic diagram of the structure of a page display device 40 provided in an embodiment of the present invention, which is applied to a server, for example, see Figure 4 As shown, the page display device 40 may include:

[0076] The receiving module 401 is used to receive a page request message sent by a client; wherein the page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any page from the second page to the last page.

[0077] The data pulling module 402 is used to obtain the data to be displayed according to the page address information and the page requested to be displayed; wherein the page requested to be displayed is a page among the multiple pages corresponding to the page address information.

[0078] The server-side rendering module 403 is used to render the data to be displayed to obtain rendered target data to be displayed.

[0079] The sending module 404 is used to send the target data to be displayed to the client so as to display the page through the client.

[0080] Optionally, the server-side rendering module 403 is specifically used to parse the data to be displayed according to the data structure in the page template to obtain processed data to be displayed; wherein the page template is used to describe the page layout; and render the processed data to be displayed according to the page template to obtain target data to be displayed.

[0081] Optionally, the server-side rendering module 403 is also used to develop a page template in advance based on the page layout; wherein the page layout includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls.

[0082] Optionally, the page display device 40 also includes a monitoring alarm module 405; the monitoring alarm module 405 is used to monitor the function and availability of rendering the data to be displayed and obtain a monitoring result; if the monitoring result indicates that the rendering function and availability do not meet preset conditions, an alarm message is output.

[0083] Optionally, the data pulling module 402 is specifically used to obtain the data to be displayed in the upstream interface or database according to the page address information and the page requested to be displayed.

[0084] Optionally, the page display device 40 may also include a log module and a dynamic configuration management module, wherein, in the process of monitoring the function and availability of the rendered data to be displayed, the log module is used to record the rendering process, so that when the monitoring result indicates that the function and availability of the rendered data do not meet the preset conditions, the error information can be output through the information recorded in the log module for the staff to view, thereby providing a basis for the staff. The dynamic configuration management module is used to determine whether to use the paging rendering method or the full rendering method through visual configuration.

[0085] The page display device 40 shown in the embodiment of the present invention can execute the technical solution of the page display method shown in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the page display method, and will not be repeated here.

[0086] Figure 5 A schematic diagram of the structure of a server 50 provided in an embodiment of the present invention is provided for example. Figure 5 As shown, the server 50 may include a memory 502 and a processor 501, wherein:

[0087] The memory 502 is used to store program instructions;

[0088] The processor 501 is used to read the program instructions in the memory 502, and execute the technical solution of the page display method shown in any of the above embodiments according to the program instructions in the memory 502. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the page display method, and will not be repeated here.

[0089] An embodiment of the present invention also provides a computer storage medium, including instructions. When the instructions are executed by one or more processors, the server executes the technical solution of the page display method shown in any of the above embodiments. The implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the page display method, and will not be repeated here.

[0090] An embodiment of the present invention also provides a chip having a computer program stored thereon. When the computer program is executed by a processor, the technical solution of the page display method shown in any of the above embodiments is executed. The implementation principle and beneficial effects thereof are similar to those of the page display method, and will not be described in detail here.

[0091] In the above embodiments, the processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the instructions in the memory and completes the steps of the above method in combination with its hardware.

[0092] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0093] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the various embodiments of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0094] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0095] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A page display method, characterized in that: Applied to a server, the method comprises: Receive a page request message sent by a client; wherein the page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any page from the second page to the last page; According to the page address information and the page requested to be displayed, the to-be-displayed data to be displayed is acquired; the page requested to be displayed is a page among the multiple pages corresponding to the page address information; Rendering the data to be displayed to obtain rendered target data to be displayed; Sending the target data to be displayed to the client, so that the target data to be displayed is added to the target page through the client, binding the front-end time, front-end logic and display effect of the target page, and displaying the page after display processing; The method further comprises: Monitoring the function and availability of rendering the data to be displayed to obtain monitoring results; If the monitoring result indicates that the rendering function and availability do not meet the preset conditions, an alarm message is output; wherein, not meeting the preset conditions means that errors occur in the rendered data or the rendered data is unclear.

2. The method according to claim 1, characterized in that: The rendering process is performed on the data to be displayed to obtain the rendered target data to be displayed, including: Parsing the data to be displayed according to the data structure in the page template to obtain processed data to be displayed; wherein the page template is used to describe the page layout; The processed data to be displayed is rendered according to the page template to obtain the target data to be displayed.

3. The method according to claim 2, characterized in that Before parsing the data to be displayed according to the data structure in the page template, the method further includes: The page template is developed in advance according to the page layout; wherein the page layout includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls.

4. The method according to any one of claims 1 to 3, characterized in that: The acquiring the to-be-displayed data to be displayed according to the page address information and the page requested to be displayed comprises: The data to be displayed is obtained from an upstream interface or a database according to the page address information and the page requested to be displayed.

5. A page display device, characterized in that: Applied to a server, the device comprises: A receiving module, used for receiving a page request message sent by a client; wherein the page request message includes page address information and a page requested to be displayed, and the page requested to be displayed is any one of the second page to the last page; A data pulling module, used to obtain the data to be displayed according to the page address information and the page requested to be displayed; wherein the page requested to be displayed is a page among the multiple pages corresponding to the page address information; A server-side rendering module is used to render the data to be displayed to obtain rendered target data to be displayed; A sending module is used to send the target data to be displayed to the client, so that the target data to be displayed is added to the target page through the client, and the front-end time, front-end logic and display effect of the target page are bound, and the page after display processing is displayed; the device also includes a monitoring alarm module; The monitoring and alarm module is used to monitor the function and availability of the rendering of the data to be displayed and obtain a monitoring result; if the monitoring result indicates that the rendering function and availability do not meet the preset conditions, an alarm message is output; wherein, not meeting the preset conditions means that errors occur in the rendered data or the rendered data is unclear.

6. The device according to claim 5, characterized in that The server-side rendering module is specifically used to parse and process the data to be displayed according to the data structure in the page template to obtain the processed data to be displayed; wherein the page template is used to describe the page layout; and render the processed data to be displayed according to the page template to obtain the target data to be displayed.

7. The device according to claim 6, characterized in that The server-side rendering module is also used to develop the page template in advance according to the page layout; wherein the page layout includes at least one of the arrangement of web page controls, the type of web page controls, the shape of web page controls, or the location information of web page controls.

8. The device according to any one of claims 5 to 7, characterized in that: The data pulling module is specifically used to obtain the data to be displayed in the upstream interface or database according to the page address information and the page requested to be displayed.

9. A server, characterized in that: comprising a memory and a processor, wherein: The memory is used to store program instructions; The processor is used to read the program instructions in the memory and execute the page display method according to any one of claims 1 to 4 according to the program instructions in the memory.

10. A computer storage medium comprising instructions, characterized in that: When the instructions are executed by one or more processors, the server executes the page display method described in any one of claims 1 to 4.

11. A computer program product, comprising a computer storage medium, characterized in that: When the computer storage medium is executed by the processor, the page display method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Method, client, server and system for refreshing partial page modules

    CN104778211A

  • A web page rendering method and device, a terminal and a server

    CN106991154A

  • Page data processing method and system based on WEB

    CN107391664A

  • Page rendering method, apparatus and device

    CN107562467A

  • Page loading method, device and equipment and storage medium

    CN109684574A