CN109829077A - A kind of page display method, device and equipment - Google Patents

A kind of page display method, device and equipment Download PDF

Info

Publication number
CN109829077A
CN109829077A CN201710757270.0A CN201710757270A CN109829077A CN 109829077 A CN109829077 A CN 109829077A CN 201710757270 A CN201710757270 A CN 201710757270A CN 109829077 A CN109829077 A CN 109829077A
Authority
CN
China
Prior art keywords
page
control
sub
preloading
client
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.)
Granted
Application number
CN201710757270.0A
Other languages
Chinese (zh)
Other versions
CN109829077B (en
Inventor
武鸣
禹果
林志龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Singapore Holdings Pte Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710757270.0A priority Critical patent/CN109829077B/en
Publication of CN109829077A publication Critical patent/CN109829077A/en
Application granted granted Critical
Publication of CN109829077B publication Critical patent/CN109829077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of page display method, device and equipment, this method comprises: obtaining the corresponding preloading control of at least one subpage frame when client shows the subpage frame in the page;Wherein, the page includes multiple subpage frames;Obtain preloading data corresponding with the preloading control;If receiving for the operational order for preloading control, the page is carried out according to preloading data and is shown.Pass through the technical solution of the application, if receiving the operational order for the preloading control, client can carry out the page to local preloading data according to storage in advance and show, and do not have to obtain data from server again, so as to quickly show the page, page display speed is improved, the business experience of user is promoted.

Description

Page display method, device and equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a page display method, apparatus, and device.
Background
When a user uses the client, a plurality of pages are opened, and each time a new page is opened, the client needs to acquire data from the server and display the new page by using the acquired data. However, due to the limitation of the network transmission speed and the amount of data that needs to be acquired, it may take a long time (e.g., several seconds or even ten and several seconds) from when the client sends the request to the server to when the client receives the data returned by the server, so that the client may display a new page after a long time, and problems such as slow switching speed between pages, discontinuous page display, and the like occur, and the service experience of the user may be greatly affected.
Disclosure of Invention
The application provides a page display method, which is applied to a client and comprises the following steps:
when the client displays sub pages in a page, acquiring a preloading control corresponding to at least one sub page; wherein the page comprises a plurality of sub-pages;
acquiring preloaded data corresponding to the preloaded control;
and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
The application provides a page display method, which is applied to a server and comprises the following steps:
when an access request aiming at a sub-page in a page sent by a client is received, sending data corresponding to the access request to the client, and sending pre-loading control information corresponding to the sub-page to the client; enabling the client to display sub-pages in a page according to the data and determine a preloading control corresponding to at least one sub-page according to the preloading control information;
when a preloading request aiming at the preloading control sent by the client is received, sending preloading data corresponding to the preloading request to the client; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
The application provides a page display method, which is applied to a client and comprises the following steps:
acquiring a preloading control corresponding to at least one sub-page of a page; the page comprises a plurality of sub-pages;
acquiring preloaded data corresponding to the preloaded control;
and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
The application provides a page display device, is applied to the customer end, the device includes:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page when the client displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control;
and the display module is used for displaying a page according to the preloading data when receiving an operation command aiming at the preloading control.
The application provides a page display device, is applied to the server, the device includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending data corresponding to an access request to a client and sending preloading control information corresponding to a sub-page to the client when the access request aiming at the sub-page in a page sent by the client is received; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information;
the second sending module is used for sending the preloading data corresponding to the preloading request to the client when the preloading request aiming at the preloading control sent by the client is received; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
The application provides a page display device, is applied to the customer end, the device includes:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page of the page; the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control;
and the display module is used for displaying a page according to the preloading data when receiving an operation command aiming at the preloading control.
The application provides a terminal device, the terminal device includes: the processor is used for acquiring a preloading control corresponding to at least one sub-page when the terminal equipment displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
The present application provides a server, the server comprising:
the receiver is used for receiving an access request which is sent by a client and aims at a sub-page in a page;
the emitter is used for sending data corresponding to the access request to the client and sending the preloading control information corresponding to the sub-page to the client; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information;
the receiver is further used for receiving a preloading request for the preloading control sent by a client;
the transmitter is further used for sending the preloading data corresponding to the preloading request to the client; and displaying the page according to the preloading data when the client receives the operation command aiming at the preloading control.
Based on the technical scheme, in the embodiment of the application, the pre-loading data corresponding to the pre-loading control can be obtained in advance by obtaining the pre-loading control corresponding to at least one sub-page, if an operation command for the pre-loading control is received, page display can be performed according to the pre-loading data which is stored to the local in advance, and data does not need to be obtained from the server again, so that the page is displayed quickly, the page display speed is improved, the user service experience is improved, and the problems of low switching speed between pages, discontinuous page display and the like are solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
FIG. 1 is a schematic diagram of a system architecture in one embodiment of the present application;
FIGS. 2A-2D are schematic diagrams of an application scenario in an embodiment of the present application;
FIG. 3 is a flow chart of a page display method in one embodiment of the present application;
FIGS. 4A-4B are schematic diagrams of an application scenario in an embodiment of the present application;
FIG. 5 is a flow chart of a page display method in another embodiment of the present application;
FIG. 6 is a flow chart of a page display method in another embodiment of the present application;
FIG. 7 is a block diagram of a page display device according to an embodiment of the present application;
FIG. 8 is a block diagram of a page display apparatus according to another embodiment of the present application;
fig. 9 is a structural diagram of a page display device according to another embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
The embodiment of the present application provides a page display method, which may be applied to a system including a client and a server, and is a schematic system structure diagram as shown in fig. 1. The client may be an APP (application) on a terminal device (e.g., a PC (personal computer), a notebook computer, a mobile terminal, etc.), or may be a browser on the terminal device, the type of the client is not limited, all clients capable of accessing a server are within the protection scope of the embodiment of the present application, and for convenience of description, the client is an APP on a mobile terminal as an example. The server is a device for providing services to the client, such as a data platform, an e-commerce platform, and the like, and the type of the server is not limited.
In one example, with the rapid development of internet technology, a page presents more and more contents to a user, the screen of the mobile terminal may not be able to display all contents of the page, and the user needs to continuously slide (e.g., slide up or down) to be able to display all contents of the page. The page in this embodiment may be a page that cannot be displayed on the screen at one time and needs to be displayed by sliding for multiple times.
In one example, the client may divide the page into a plurality of sub-pages, each sub-page corresponding to a page identifier, rather than a page corresponding to a page identifier. For example, the page may be divided into a sub-page 1, a sub-page 2, and a sub-page 3, where the sub-page 1 corresponds to the page identifier 1, the sub-page 2 corresponds to the page identifier 2, and the sub-page 3 corresponds to the page identifier 3. The client may divide the page into a plurality of sub-pages with specified heights (each sub-page may be referred to as an exposure page), and the specified heights may include a height of a screen used for displaying the page, that is, a screen height of the mobile terminal, and may be other heights, which is not limited in this respect.
In one example, a page may include a number of controls, and the controls located in a sub-page may be assigned to the sub-page, i.e., the controls are controls belonging to the sub-page, and each control corresponds to a control identification.
Referring to fig. 2A, the screen height of the mobile terminal is h, and the page is divided into a sub-page 1, a sub-page 2 and a sub-page 3, and the sub-page 1, the sub-page 2 and the sub-page 3 based on the screen height h, as shown in fig. 2B, fig. 2C and fig. 2D. The height of each sub-page is the screen height h, and the contents of different sub-pages are different. Referring to fig. 2B, sub-page 1 includes 6 controls, and the controls of the 6 controls are identified as control 1, control 2, control 3, control 4, control 5, and control 6. Referring to fig. 2C, the sub page 2 includes 4 controls, and the controls of the 4 controls are identified as control 7, control 8, control 9, and control 10. Referring to fig. 2D, the sub page 3 includes 2 controls, and the controls of the 2 controls are identified as a control 11 and a control 12.
In fig. 2B, 2C, and 2D, the commodity data may include, but is not limited to, commodity names, commodity pictures, commodity prices, commodity quantities, commodity description information, commodity profiles, and the like.
In fig. 2B, 2C, and 2D, the control may be a package of data and methods, and the control may have its own properties and methods, where the properties are simple visitors of the control data, and the methods are some simple visible functions of the control. For example, controls may include, but are not limited to: the system comprises a user interface control (a control for developing and constructing a user interface, such as a control for interface elements such as a window, a text box, a button and a pull-down menu), a chart control (a control for developing a chart, which can realize data visualization and the like), a report control (a control for developing a report, which realizes functions of browsing, viewing, designing, editing, printing and the like of the report), a form control (a control for developing a form (CELL), which realizes functions of data processing and operation in a grid), a bar code control (a control for generating, scanning, reading and printing with a bar code), an image processing control (a control for realizing functions of image browsing and editing), a document processing control (a control for realizing functions of browsing and editing of document files) and the like. Of course, in the above process, only a few examples of the types of the controls are given, and in practical applications, the types of the controls are not limited to these types, and the types of the controls are not limited in detail.
For example, the types of controls described above may include, but are not limited to: window, Scrollview, navigationbar, tablevew, button, toolbar, mage, webview, Element, tablecell, textfield, tapetext, etc.
The types of the different controls may be the same or different. For example, control 1 is a window, and control 2 is also a window. Alternatively, control 1 is window and control 2 is button.
In order to solve the problems that when a client opens a new page, the new page can be displayed only after a long time, the page switching speed is low, the page display is discontinuous, and the like, in the embodiment of the application, the client can acquire the pre-loaded data corresponding to the pre-loaded control in advance, so that if an operation command for the pre-loaded control is received, the page display can be performed according to the pre-loaded data stored to the local, the data does not need to be acquired from the server again, the new page can be displayed quickly, the page display speed is improved, the service experience of a user is improved, and the problems that the switching speed between the pages is low, the page display is discontinuous, and.
In order to implement the above process, in the embodiment of the present application, the click ratio of the control in the sub page in the page may be counted, and the pre-loaded control corresponding to the sub page may be determined according to the click ratio of the control. Therefore, when the sub-page is accessed, the preloading data corresponding to the preloading control can be obtained from the server in advance. The above process is described in detail below with reference to several specific examples.
In the first situation, a client acquires the click ratio of a control in a sub-page in a page, determines a pre-loading control corresponding to the sub-page according to the click ratio of the control, and records the corresponding relation between the page identification of the sub-page and the pre-loading control in a first mapping table.
The process of acquiring the click ratio of the control in the sub page in the page by the client may include, but is not limited to, the following ways: and the client side counts the total click times corresponding to all the controls in the sub-page and counts the click times corresponding to the controls in the sub-page. Then, the client may determine the click ratio of the control according to the click number corresponding to the control and the total click number, for example, the click ratio of the control determined by the client may be: and dividing the number of clicks corresponding to the control by the total number of clicks.
Taking sub-page 1 in the page as an example, when the client displays sub-page 1 to the user, counting the number of times that each control in sub-page 1 is clicked, and the sum of the number of times that the controls are clicked is the total number of times of clicking. For example, control 1 in subpage 1 is clicked 20 times, control 2 is clicked 20 times, control 3 is clicked 30 times, control 4 is clicked 5 times, control 5 is clicked 5 times, and control 6 is clicked 0 times. Based on this, the total number of clicks is 80 (20+20+30 +5+0), and the number of clicks corresponding to control 1 is 20, so the click ratio of control 1 is 25%, similarly, the click ratio of control 2 is 25%, the click ratio of control 3 is 37.5%, the click ratio of control 4 is 6.25%, the click ratio of control 5 is 6.25%, and the click ratio of control 6 is 0%.
The processing procedures for the sub-page 2 and the sub-page 3 are similar to the above-mentioned procedures, and are not described herein again.
The process of determining the preloaded control corresponding to the sub-page by the client according to the click ratio of the control may include, but is not limited to: sequencing the controls according to the sequence of the click ratio from high to low; determining the first N (such as 3) controls as the pre-loading controls corresponding to the sub-page according to the sequencing result, wherein N is a positive integer; or, the controls are sorted according to the sequence of the click ratio from low to high; determining the last N controls as pre-loading controls corresponding to the sub-page according to the sequencing result; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
For example, for the sub-page 1, when the controls are sorted in the order from high to low in the click ratio, the sorting result may be the control 3, the control 2, the control 1, the control 4, the control 5, and the control 6; therefore, if N is 3, the preloaded controls corresponding to the sub-page 1 may be a control 3, a control 2, and a control 1; if N is 2, the preloading controls corresponding to the sub-page 1 can be a control 3 and a control 2; and so on. For another example, assuming that the preset threshold is 20%, the pre-loaded controls corresponding to the sub-page 1 may be a control 3, a control 2, and a control 1; if the preset threshold is 30%, the pre-loading control corresponding to the sub-page 1 is a control 3; and so on.
For convenience of description, taking the preloaded controls corresponding to the sub-page 1 as a control 3, a control 2, and a control 1 as examples, the first mapping table generated by the client may be as shown in table 1. In table 1, not only the preload control corresponding to the sub-page 1, but also the preload control corresponding to the sub-page 2 and the preload control corresponding to the sub-page 3 are recorded, and the determination process of the preload controls for the two sub-pages is not repeated.
TABLE 1
Page identification Preloading control
Page identification 1 Control 3, control 2 and control 1
Page identification 2 Control 9 and control 10
Page identification 3 Control 11
And in the second situation, the client acquires the click ratio of the control in the sub-page in the page, and records the corresponding relation among the page identifier of the sub-page, the control and the click ratio of the control in a second mapping table. For example, the correspondence of the page identification, each control, and the click ratio of each control is recorded in the second mapping table.
The process of acquiring the click ratio of the control in the sub page in the page by the client may include, but is not limited to, the following ways: and the client side counts the total click times corresponding to all the controls in the sub-page and counts the click times corresponding to the controls in the sub-page. Then, the client may determine the click ratio of the control according to the click number corresponding to the control and the total click number, for example, the click ratio of the control determined by the client may be: and dividing the number of clicks corresponding to the control by the total number of clicks.
Taking sub-page 1 in the page as an example, when the client displays sub-page 1 to the user, counting the number of times that each control in sub-page 1 is clicked, and the sum of the number of times that the controls are clicked is the total number of times of clicking. For example, control 1 in subpage 1 is clicked 20 times, control 2 is clicked 20 times, control 3 is clicked 30 times, control 4 is clicked 5 times, control 5 is clicked 5 times, and control 6 is clicked 0 times. Based on this, the total number of clicks is 80 (20+20+30 +5+0), and the number of clicks corresponding to control 1 is 20, so the click ratio of control 1 is 25%, similarly, the click ratio of control 2 is 25%, the click ratio of control 3 is 37.5%, the click ratio of control 4 is 6.25%, the click ratio of control 5 is 6.25%, and the click ratio of control 6 is 0.
The processing procedures for the sub-page 2 and the sub-page 3 are similar to the above-mentioned procedures, and are not described herein again.
Further, the second mapping table generated by the client may be as shown in table 2. In table 2, not only the correspondence between the page identifier of the sub page 1, each control, and the click ratio of each control is recorded. In addition, the second mapping table also records the corresponding relationship of the page identifier of the sub-page 2, each control and the click ratio of each control, and the corresponding relationship of the page identifier of the sub-page 3, each control and the click ratio of each control.
TABLE 2
And thirdly, the server acquires the click ratio of the control in the sub-page in the page, determines the pre-loading control corresponding to the sub-page according to the click ratio of the control, and records the corresponding relation between the page identification of the sub-page and the pre-loading control in a third mapping table.
The process of "the server obtains the click ratio of the control in the sub page in the page" may include, but is not limited to, the following ways: and the server counts the total click times corresponding to all the controls in the sub-page and counts the click times corresponding to the controls in the sub-page. Then, the server may determine the click ratio of the control according to the click number corresponding to the control and the total click number, for example, the click ratio of the control determined by the server may be: and dividing the number of clicks corresponding to the control by the total number of clicks.
Case three may differ from case one in that: in the first case, each client counts the number of clicks of its corresponding control. In case three, the server counts the number of clicks of the controls corresponding to all the clients, that is, the sum of the number of clicks of the controls corresponding to all the clients.
Taking the sub-page 1 in the page as an example, when the client 1 displays the sub-page 1 to the user each time, counting the number of times that each control in the sub-page 1 is clicked, when the client 2 displays the sub-page 1 to the user each time, counting the number of times that each control in the sub-page 1 is clicked, when the client 3 displays the sub-page 1 to the user each time, counting the number of times that each control in the sub-page 1 is clicked, and so on, the server can count the number of times that each control is clicked after a large number of clients display the sub-page 1 to the user, and the sum of the number of times that the controls are clicked is the total number of times of clicks. For example, control 1 is clicked 200000 times, control 2 is clicked 200000 times, control 3 is clicked 300000 times, control 4 is clicked 50000 times, control 5 is clicked 50000 times, and control 6 is clicked 0 times. Based on this, the total number of clicks may be (200000+200000+300000+50000+50000+0) ═ 800000, and the number of clicks corresponding to control 1 is 200000, so the click ratio of control 1 is 25%, similarly, the click ratio of control 2 is 25%, the click ratio of control 3 is 37.5%, the click ratio of control 4 is 6.25%, the click ratio of control 5 is 6.25%, and the click ratio of control 6 is 0%.
The processing procedures for the sub-page 2 and the sub-page 3 are similar to the above-mentioned procedures, and are not described herein again.
The process of determining, by the server, the preloaded control corresponding to the sub-page according to the click ratio of the control may include, but is not limited to: sequencing the controls according to the sequence of the click ratio from high to low; determining the first N (such as 3) controls as the pre-loading controls corresponding to the sub-page according to the sequencing result, wherein N is a positive integer; or, the controls are sorted according to the sequence of the click ratio from low to high; determining the last N controls as pre-loading controls corresponding to the sub-page according to the sequencing result; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
For example, for the sub-page 1, when the controls are sorted in the order from high to low in the click ratio, the sorting result may be the control 3, the control 2, the control 1, the control 4, the control 5, and the control 6; therefore, if N is 3, the preloaded controls corresponding to the sub-page 1 may be a control 3, a control 2, and a control 1; if N is 2, the preloading controls corresponding to the sub-page 1 can be a control 3 and a control 2; and so on. For another example, assuming that the preset threshold is 20%, the pre-loaded controls corresponding to the sub-page 1 may be a control 3, a control 2, and a control 1; if the preset threshold is 30%, the pre-loading control corresponding to the sub-page 1 is a control 3; and so on.
For convenience of description, taking the preloaded control corresponding to the sub-page 1 as the control 3 for example, the third mapping table generated by the server may be as shown in table 3. In table 3, not only the preload control corresponding to the sub-page 1, but also the preload control corresponding to the sub-page 2 and the preload control corresponding to the sub-page 3 are recorded, and for the determination process of the preload controls of the two sub-pages, repeated description is not repeated here.
TABLE 3
Page identification Preloading control
Page identification 1 Control 3
Page identification 2 Control 9
Page identification 3 Control 11
And fourthly, the server acquires the click ratio of the control in the sub-page in the page, and records the corresponding relation among the page identifier of the sub-page, the control and the click ratio of the control in a fourth mapping table. For example, the corresponding relationship of the page identification, each control and the click ratio of each control is recorded in the fourth mapping table.
The process of "the server obtains the click ratio of the control in the sub page in the page" may include, but is not limited to, the following ways: and the server counts the total click times corresponding to all the controls in the sub-page and counts the click times corresponding to the controls in the sub-page. Then, the server may determine the click ratio of the control according to the click number corresponding to the control and the total click number, for example, the click ratio of the control determined by the server may be: and dividing the number of clicks corresponding to the control by the total number of clicks.
Wherein, the fourth mapping table generated by the server can be as shown in table 4. In table 4, the correspondence between the page identifier of the sub-page 1, each control, and the click ratio of each control is recorded; the corresponding relation of the page identification of the sub-page 2, each control and the click ratio of each control; the corresponding relation of the page identification of the sub-page 3, each control and the click ratio of each control; the process of obtaining these correspondences is not described in detail.
TABLE 4
In the above application scenario, referring to fig. 3, a flowchart of a page display method provided in this embodiment is shown, where the method may be applied to a client, and the method may include the following steps:
step 301, when the client displays a sub-page in the page, a preload control corresponding to at least one sub-page (e.g., one sub-page or two sub-pages) is obtained.
In one example, since a page is divided into a plurality of sub-pages, when a client displays the page, the sub-pages in the page are displayed. Also, as the user slides, the sub page may be one sub page or two sub pages. For example, when the schematic diagram shown in fig. 2B is displayed by the client, the preloading control corresponding to the sub-page 1 is acquired; when the client displays the schematic diagram shown in fig. 2C, acquiring a pre-loading control corresponding to the sub-page 2; when the client displays the schematic diagram shown in fig. 2D, acquiring a preloading control corresponding to the sub-page 3; when the schematic diagram shown in fig. 4A is displayed by the client, acquiring a pre-loading control corresponding to the sub-page 1 and a pre-loading control corresponding to the sub-page 2; when the schematic diagram shown in fig. 4B is displayed by the client, the preloading control corresponding to the sub-page 2 and the preloading control corresponding to the sub-page 3 are obtained.
In an example, the process of "the client obtains a preloaded control corresponding to at least one sub-page (for example, one sub-page is taken as a follow-up example)" may include, but is not limited to, the following ways:
in a first mode, the first mapping table is inquired through the page identifier of the sub-page, and the preloading control corresponding to the page identifier is obtained. The first mapping table is used for recording the corresponding relation between the page identification and the preloading control.
For example, if the sub-page 1 is assumed, the first mapping table shown in table 1 is queried through the page identifier 1 of the sub-page 1, and the preloaded controls are obtained as a control 3, a control 2, and a control 1. For another example, assuming that the sub-page 1 and the sub-page 2 are provided, the first mapping table shown in table 1 is queried through the page identifier 1 of the sub-page 1 to obtain the control 3, the control 2, and the control 1 as the preloaded control, and the first mapping table shown in table 1 is queried through the page identifier 2 of the sub-page 2 to obtain the control 9 and the control 10 as the preloaded control.
And secondly, the client queries a second mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and determines the pre-loaded control corresponding to the sub-page according to the click ratio of the control. The second mapping table may be used to record a corresponding relationship between the page identifier, the control, and the click ratio.
For example, assuming that the page is a sub-page 1, the client may obtain, by querying the second mapping table shown in table 2 through the page identifier 1 of the sub-page 1, a click ratio of the control 1 corresponding to the page identifier 1 of 25%, a click ratio of the control 2 corresponding to the page identifier 1 of 25%, a click ratio of the control 3 corresponding to the page identifier 1 of 37.5%, a click ratio of the control 4 corresponding to the page identifier 1 of 6.25%, a click ratio of the control 5 corresponding to the page identifier 1 of 6.25%, and a click ratio of the control 6 corresponding to the page identifier 1 of 0%.
In one example, the process for "the client determines the preloaded control corresponding to the sub-page according to the click ratio of the control" may include, but is not limited to: the client sorts the controls according to the sequence of the click ratio from high to low; determining the first N (such as 3) controls as the pre-loading controls corresponding to the sub-page according to the sequencing result, wherein N is a positive integer; or, the controls are sorted according to the sequence of the click ratio from low to high; determining the last N controls as pre-loading controls corresponding to the sub-page according to the sequencing result; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
For example, when the controls are sorted in the order from high to low in the click ratio, the sorting results may be control 3, control 2, control 1, control 4, control 5, and control 6; therefore, if N is 3, the preloaded controls corresponding to the sub-page 1 may be control 3, control 2, and control 1; if N is 2, the preloading controls corresponding to the sub-page 1 can be a control 3 and a control 2; and so on. For another example, assuming that the preset threshold is 20%, the preloaded controls corresponding to the sub-page 1 may be a control 3, a control 2, and a control 1; assuming that the preset threshold is 30%, the pre-loading control corresponding to the sub-page 1 is a control 3; and so on.
And thirdly, the client receives a first message sent by the server, the first message carries the corresponding relation between the page identifier of the sub-page and the preloading control, and the preloading control corresponding to the sub-page is obtained according to the first message.
Specifically, when the client displays a sub-page in the page, the client may send an access request for the sub-page in the page to the server, and after receiving the access request for the sub-page in the page sent by the client, the server may send data corresponding to the access request to the client, so that the client may display the sub-page in the page according to the data. On the basis, the server can also send the preloading control information corresponding to the sub-page to the client, so that the client determines the preloading control corresponding to at least one sub-page according to the preloading control information.
In the process of sending the pre-loading control information corresponding to the sub-page to the client by the server, the server may first parse the page identifier of the sub-page from the access request, query the third mapping table through the page identifier of the sub-page to obtain the pre-loading control corresponding to the page identifier, and then send a first message carrying the correspondence between the page identifier and the pre-loading control to the client. Therefore, after receiving the first message, the client can acquire the preloaded control corresponding to the sub-page according to the first message.
For example, assuming that the server parses the page identifier 1 of the sub-page 1 from the access request, the page identifier 1 is used to look up the third mapping table shown in table 3, so as to obtain the preloaded control as the control 3. Then, the server sends a first message carrying the corresponding relationship between the page identifier 1 and the control 3 to the client. After receiving the first message, the client may obtain, according to the first message, that the preloaded control corresponding to the sub-page 1 is the control 3.
And the client receives a second message sent by the server, the second message carries the page identifier of the sub-page, the controls corresponding to the page identifier (such as each control corresponding to the page identifier) and the corresponding relationship of the click ratio of the controls, and the pre-loading control corresponding to the sub-page is determined according to the click ratio of the controls.
Specifically, when the client displays a sub-page in the page, the client may send an access request for the sub-page in the page to the server, and after receiving the access request for the sub-page in the page sent by the client, the server may send data corresponding to the access request to the client, so that the client may display the sub-page in the page according to the data. On the basis, the server can also send the preloading control information corresponding to the sub-page to the client, so that the client determines the preloading control corresponding to at least one sub-page according to the preloading control information.
In the process of sending the preloaded control information corresponding to the sub-page to the client by the server, the server may first parse the page identifier of the sub-page from the access request, and query the fourth mapping table according to the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and then send a second message to the client by the server, where the second message may carry the correspondence between the page identifier, the control corresponding to the page identifier, and the click ratio of the control. In this way, after receiving the second message, the client can determine the preloaded control corresponding to the sub-page according to the click ratio of the control carried in the second message.
For example, assuming that the server parses the page identifier 1 of the sub-page 1 from the access request, the page identifier 1 queries the fourth mapping table shown in table 4 to obtain a click ratio of 25% for the control 1 corresponding to the page identifier 1, a click ratio of 25% for the control 2 corresponding to the page identifier 1, a click ratio of 37.5% for the control 3 corresponding to the page identifier 1, a click ratio of 6.25% for the control 4 corresponding to the page identifier 1, a click ratio of 6.25% for the control 5 corresponding to the page identifier 1, and a click ratio of 0% for the control 6 corresponding to the page identifier 1. Then, the server sends a second message to the client, where the second message may carry the content.
Further, after receiving the second message, the client may parse the content from the second message, and may determine the preloaded control corresponding to the sub-page according to the click ratio of each control.
The process for "the client determines the preloaded control corresponding to the sub-page according to the click ratio of the control" may include, but is not limited to: the client sorts the controls according to the sequence of the click ratio from high to low; determining the first N (such as 3) controls as the pre-loading controls corresponding to the sub-page according to the sequencing result, wherein N is a positive integer; or, the controls are sorted according to the sequence of the click ratio from low to high; determining the last N controls as pre-loading controls corresponding to the sub-page according to the sequencing result; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
For example, when the controls are sorted in the order from high to low in the click ratio, the sorting results may be control 3, control 2, control 1, control 4, control 5, and control 6; therefore, if N is 3, the preloaded controls corresponding to the sub-page 1 may be control 3, control 2, and control 1. For another example, assuming that the preset threshold is 20%, the preloaded controls corresponding to the sub-page 1 may be control 3, control 2, and control 1.
Step 302, obtain the preloaded data corresponding to the preloaded control. The preloaded data is also data for displaying a page, and only because the data is preloaded to the client, the data can be said to be preloaded data, and the name of the data is not limited.
Specifically, after acquiring the preload control corresponding to at least one sub-page, the client may send a preload request for the preload control to the server. When receiving a preloading request aiming at the preloading control sent by a client, the server sends preloading data corresponding to the preloading request to the client, so that the client acquires the preloading data corresponding to the preloading control.
For example, if the preloaded controls are control 3, control 2, and control 1, when the client displays sub-page 1, and the user does not click on control 3, control 2, and control 1, the client may obtain the preloaded data corresponding to control 3, the preloaded data corresponding to control 2, and the preloaded data corresponding to control 1 from the server.
Step 303, if the client receives the operation command for the preload control, performing page display according to the preload data corresponding to the preload control, that is, performing page display according to the local preload data of the client, without acquiring the preload data corresponding to the preload control from the server.
For example, when the client receives an operation command for the control 1 (i.e., an operation command generated by a user clicking the control 1), since the preloaded data corresponding to the control 1 is already stored locally, a page can be displayed according to the preloaded data corresponding to the control 1, without retrieving the preloaded data corresponding to the control 1 from the server. After the page display is performed according to the preloaded data corresponding to the control 1, a new page is entered, and after the new page is entered, the scheme of the embodiment is continuously adopted for processing, which is not described herein again.
In an example, the execution sequence is only an example given for convenience of description, and the execution sequence between the steps may also be changed, and is not limited. Moreover, in other embodiments, the steps of the respective methods do not have to be performed in the order shown and described herein, and the methods may include more or less steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; while various steps described in this specification may be combined into a single step in other embodiments.
In one example, after the preloaded data corresponding to the preloaded control is obtained, the preloaded data can be cached, so that the client can perform page display according to the local preloaded data, and the obtained preloaded data can be deleted in the using process, thereby saving local storage resources.
For example, after the client acquires the preloaded data corresponding to the control 3, the preloaded data corresponding to the control 2, and the preloaded data corresponding to the control 1 from the server, the preloaded data may be cached locally. If the page display is performed based on the preloaded data corresponding to the control 3, the preloaded data corresponding to the control 3 may be deleted locally. Or, if the time for caching the preloaded data corresponding to the control 1 exceeds the preset time, the preloaded data corresponding to the control 1 may be deleted locally. Or, when the data amount of the preloaded data stored in the local cache space has reached the preset threshold, the preloaded data may be deleted locally, such as randomly deleting the preloaded data, or deleting the preloaded data with a long storage time, or deleting the preloaded data with a large data amount. Of course, the above are just a few examples of deleting preloaded data, and this is not limiting.
Based on the technical scheme, in the embodiment of the application, when the client displays the sub-pages in the page, the pre-loading data corresponding to the pre-loading control can be obtained in advance by obtaining the pre-loading control corresponding to at least one sub-page, so that if an operation command for the pre-loading control is received, the client can display the page according to the pre-loading data stored to the local in advance without obtaining data from the server again, and thus the page can be displayed quickly, the page display speed is improved, the service experience of a user is improved, and the problems of low switching speed between the pages, discontinuous page display and the like are avoided.
Based on the same application concept as the method described above, the embodiment of the present application further provides another page display method, which is shown in fig. 5 and is a flowchart of the method, and the method may be applied to a server.
Step 501, when receiving an access request for a sub-page in a page sent by a client, sending data corresponding to the access request to the client, and sending pre-loaded control information corresponding to the sub-page to the client; and enabling the client to display sub-pages in the page according to the data and determine the preloading control corresponding to at least one sub-page according to the preloading control information.
Step 502, when a preloading request for the preloading control sent by a client is received, sending preloading data corresponding to the preloading request to the client; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
The process of "sending the preloaded control information corresponding to the sub-page to the client" may include, but is not limited to, the following ways: and inquiring a third mapping table through the page identifier of the sub-page to obtain a preloading control corresponding to the page identifier, and sending a first message carrying the corresponding relation between the page identifier and the preloading control to the client. Or, querying a fourth mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and sending a second message to the client, where the second message carries the page identifier, the control corresponding to the page identifier, and the corresponding relationship of the click ratio of the control.
For the process shown in fig. 5, the implementation thereof can refer to the process shown in fig. 3, which is not described herein again.
Based on the technical scheme, in the embodiment of the application, when the client displays the sub-pages in the page, the pre-loading data corresponding to the pre-loading control can be obtained in advance by obtaining the pre-loading control corresponding to at least one sub-page, so that if an operation command for the pre-loading control is received, the client can display the page according to the pre-loading data stored to the local in advance without obtaining data from the server again, and thus the page can be displayed quickly, the page display speed is improved, the service experience of a user is improved, and the problems of low switching speed between the pages, discontinuous page display and the like are avoided.
Based on the same application concept as the method described above, the embodiment of the present application further provides another page display method, which is shown in fig. 6 and is a flowchart of the method, and the method can be applied to a client.
Step 601, obtaining a pre-loading control corresponding to at least one sub-page (such as one sub-page or two sub-pages) of the page. Wherein the page comprises a plurality of sub-pages.
Step 602, obtaining the preloading data corresponding to the preloading control.
Step 603, if an operation command for the preload control is received, performing page display according to the preload data corresponding to the preload control, that is, performing page display according to the local preload data of the client, without acquiring the preload data corresponding to the preload control from the server.
For the process shown in fig. 6, the implementation thereof can refer to the process shown in fig. 3, which is not described herein again.
Compared with the flow shown in fig. 3, in the embodiment of the present application, the process for "obtaining the preload control corresponding to at least one sub-page of the page" may be executed under any condition, and it is not necessary that the preload control corresponding to at least one sub-page is obtained only when the sub-page in the page is displayed.
For example, when the page a is displayed, a preload control corresponding to at least one sub-page of the page a may be acquired. For another example, when the page B is displayed, the preloaded control corresponding to at least one sub-page of the page a may also be obtained, so that when jumping from the page B to the page a, the page may be directly displayed by using the local preloaded data of the client. For another example, because the page a is a page frequently visited by the client, the pre-loaded control corresponding to at least one sub-page of the page a can be obtained in advance, so that when jumping from another page B to the page a, the page can be directly displayed by using the local pre-loaded data of the client.
Based on the technical scheme, in the embodiment of the application, the pre-loading data corresponding to the pre-loading control can be obtained in advance by obtaining the pre-loading control corresponding to at least one sub-page, if an operation command for the pre-loading control is received, page display can be performed according to the pre-loading data which is stored to the local in advance, and data does not need to be obtained from the server again, so that the page is displayed quickly, the page display speed is improved, the user service experience is improved, and the problems of low switching speed between pages, discontinuous page display and the like are solved.
Based on the same application concept as the method described above, an embodiment of the present application further provides a page display apparatus, which can be applied to a client, as shown in fig. 7, and is a structural diagram of the apparatus, where the apparatus includes:
an obtaining module 701, configured to obtain a preload control corresponding to at least one sub-page when the client displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; a display module 702, configured to, when an operation command for the preload control is received, perform page display according to the preload data.
In an example, in the process of acquiring the preload control corresponding to at least one sub-page, the acquiring module 701 is specifically configured to: inquiring a first mapping table through the page identifier of the sub-page to obtain a preloading control corresponding to the page identifier; the first mapping table is used for recording the corresponding relation between the page identification and the preloading control; or inquiring a second mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control; the second mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio; or receiving a first message sent by a server, wherein the first message carries the corresponding relation between the page identifier of the sub-page and the preloading control, and acquiring the preloading control corresponding to the sub-page according to the first message; or receiving a second message sent by the server, wherein the second message carries the page identifier of the sub-page, the control corresponding to the page identifier, and the corresponding relationship of the click ratio of the control, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control.
In an example, the obtaining module 701 is further configured to obtain a click ratio of a control in a sub-page in the page, and determine a pre-loading control corresponding to the sub-page according to the click ratio of the control;
the page display device further comprises (not shown in the figure): the recording module is used for recording the corresponding relation between the page identification of the sub page and the preloading control in a first mapping table; or recording the corresponding relation among the page identification of the sub page, the control and the click ratio of the control in a second mapping table.
In an example, the obtaining module 701 is specifically configured to count the total number of clicks corresponding to all controls in a sub-page in the page in a process of obtaining a click ratio of the controls in the sub-page in the page; counting the number of clicks corresponding to the controls in the sub-page; determining the click ratio of the control according to the click times corresponding to the control and the total click times; the obtaining module 701 is specifically configured to, in the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the control, sort the controls in an order from high to low in the click ratio; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
Based on the same application concept as the method, an embodiment of the present application further provides a terminal device, where the terminal device may include: the processor is used for acquiring a preloading control corresponding to at least one sub-page when the terminal equipment displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, where the machine-readable storage medium may be applied to a terminal device, and the machine-readable storage medium has stored thereon several computer instructions, where the computer instructions, when executed, perform the following processes: when the terminal equipment displays sub pages in a page, acquiring a preloading control corresponding to at least one sub page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
Based on the same application concept as the method, an embodiment of the present application further provides a page display apparatus, which can be applied to a server, as shown in fig. 8, and is a structural diagram of the apparatus, where the apparatus includes:
the first sending module 801 is configured to, when receiving an access request for a sub-page in a page sent by a client, send data corresponding to the access request to the client, and send pre-loaded control information corresponding to the sub-page to the client; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information;
a second sending module 802, configured to send, when a preload request for the preload control sent by a client is received, preload data corresponding to the preload request to the client; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
The first sending module 801 is specifically configured to, in the process of sending the preloaded control information corresponding to the sub-page to the client, query a third mapping table through the page identifier of the sub-page to obtain a preloaded control corresponding to the page identifier, and send a first message carrying a corresponding relationship between the page identifier and the preloaded control to the client; the third mapping table is used for recording the corresponding relation between the page identification and the preloading control; or, querying a fourth mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and sending a second message to the client, where the second message carries the page identifier, the control corresponding to the page identifier, and the corresponding relationship of the click ratio of the control; and the fourth mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio.
The page display device further comprises (not shown in the figure): the acquisition module is used for acquiring the click ratio of the control in the sub-page in the page and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control; the recording module is used for recording the corresponding relation between the page identification of the sub page and the preloading control in a third mapping table; or recording the corresponding relation among the page identification of the sub page, the control in the sub page and the click ratio of the control in the sub page in a fourth mapping table;
in an example, the obtaining module is specifically configured to, in a process of obtaining a click ratio of a control in a sub-page of the page, count total clicks corresponding to all controls in the sub-page, count click times corresponding to the controls in the sub-page, and determine the click ratio of the control according to the click times corresponding to the controls and the total click times corresponding to the controls;
the obtaining module is specifically configured to sort the controls according to a sequence from high to low in the click ratio in the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the controls; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
Based on the same application concept as the method, an embodiment of the present application further provides a server, where the server includes: the receiver is used for receiving an access request which is sent by a client and aims at a sub-page in a page; the emitter is used for sending data corresponding to the access request to the client and sending the preloading control information corresponding to the sub-page to the client; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information; the receiver is further used for receiving a preloading request for the preloading control sent by a client; the transmitter is further used for sending the preloading data corresponding to the preloading request to the client; and displaying the page according to the preloading data when the client receives the operation command aiming at the preloading control.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, which can be applied to a server, and the machine-readable storage medium stores several computer instructions, and when executed, the computer instructions perform the following processes:
receiving an access request aiming at a sub-page in a page, which is sent by a client; sending data corresponding to the access request to a client, and sending the pre-loaded control information corresponding to the sub-page to the client; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information; receiving a preloading request aiming at the preloading control sent by a client; sending the pre-loading data corresponding to the pre-loading request to the client; and displaying the page according to the preloading data when the client receives the operation command aiming at the preloading control.
Based on the same application concept as the method described above, an embodiment of the present application further provides a page display apparatus, which can be applied to a client, as shown in fig. 9, and is a structural diagram of the apparatus, where the apparatus includes:
an obtaining module 901, configured to obtain a preloaded control corresponding to at least one sub-page of a page; the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control;
a display module 902, configured to, when an operation command for the preloaded control is received, perform page display according to the preloaded data.
Based on the same application concept as the method, an embodiment of the present application further provides a terminal device, where the terminal device may include: the processor is used for acquiring a preloading control corresponding to at least one sub-page of the page; the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and when an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, where the machine-readable storage medium may be applied to a terminal device, and the machine-readable storage medium has stored thereon several computer instructions, where the computer instructions, when executed, perform the following processes:
acquiring a preloading control corresponding to at least one sub-page of a page; the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and when an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (24)

1. A page display method is applied to a client side, and comprises the following steps:
when the client displays sub pages in a page, acquiring a preloading control corresponding to at least one sub page; wherein the page comprises a plurality of sub-pages;
acquiring preloaded data corresponding to the preloaded control;
and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
2. The method of claim 1,
the process of obtaining the preload control corresponding to at least one sub-page includes:
inquiring a first mapping table through the page identifier of the sub-page to obtain a preloading control corresponding to the page identifier; the first mapping table is used for recording the corresponding relation between the page identification and the preloading control;
or inquiring a second mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control; and the second mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio.
3. The method of claim 2,
before the obtaining of the preload control corresponding to at least one sub-page, the method further includes:
obtaining the click ratio of the control in the sub-page in the page, determining the pre-loading control corresponding to the sub-page according to the click ratio of the control, and recording the corresponding relation between the page identification of the sub-page and the pre-loading control in a first mapping table.
4. The method of claim 2,
before the obtaining of the preload control corresponding to at least one sub-page, the method further includes:
and acquiring the click ratio of the control in the sub-page in the page, and recording the corresponding relation among the page identifier of the sub-page, the control and the click ratio of the control in a second mapping table.
5. The method according to claim 3 or 4,
the process of obtaining the click ratio of the control in the sub page of the page includes:
counting the total number of clicks corresponding to all controls in the sub-page;
counting the number of clicks corresponding to the controls in the sub-page;
and determining the click ratio of the control according to the click times corresponding to the control and the total click times.
6. The method of claim 1,
the process of obtaining the preload control corresponding to at least one sub-page includes:
receiving a first message sent by a server, wherein the first message carries the corresponding relation between the page identification of the sub-page and a preloading control, and acquiring the preloading control corresponding to the sub-page according to the first message;
or receiving a second message sent by a server, wherein the second message carries the page identifier of the sub-page, the control corresponding to the page identifier and the corresponding relationship of the click ratio of the control, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control.
7. The method according to claim 2, 3 or 6, wherein the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the control specifically includes:
sequencing the controls according to the sequence of the click ratio from high to low; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or,
and determining the control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
8. The method of claim 1, further comprising:
dividing a page into a plurality of sub-pages with specified heights, and distributing controls positioned in the sub-pages to the sub-pages; wherein the specified height comprises a height of a screen for displaying the page.
9. A page display method is applied to a server, and comprises the following steps:
when an access request aiming at a sub-page in a page sent by a client is received, sending data corresponding to the access request to the client, and sending pre-loading control information corresponding to the sub-page to the client; enabling the client to display sub-pages in a page according to the data and determine a preloading control corresponding to at least one sub-page according to the preloading control information;
when a preloading request aiming at the preloading control sent by the client is received, sending preloading data corresponding to the preloading request to the client; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
10. The method of claim 9,
the process of sending the pre-loaded control information corresponding to the sub-page to the client includes:
inquiring a third mapping table through the page identifier of the sub-page to obtain a preloading control corresponding to the page identifier, and sending a first message carrying the corresponding relation between the page identifier and the preloading control to a client; the third mapping table is used for recording the corresponding relation between the page identification and the preloading control;
or, querying a fourth mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and sending a second message to the client, where the second message carries the page identifier, the control corresponding to the page identifier, and the corresponding relationship of the click ratio of the control; and the fourth mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio.
11. The method of claim 10, wherein before sending the preloaded control information corresponding to the sub-page to the client, the method further comprises:
acquiring the click ratio of controls in sub pages in the page;
determining a preloading control corresponding to the sub-page according to the click ratio of the control, and recording the corresponding relation between the page identification of the sub-page and the preloading control in a third mapping table; or recording the corresponding relation among the page identification of the sub-page, the control and the click ratio of the control in a fourth mapping table.
12. The method of claim 11,
the process of obtaining the click ratio of the control in the sub page of the page includes:
counting the total number of clicks corresponding to all controls in the sub-page;
counting the number of clicks corresponding to the controls in the sub-page;
and determining the click ratio of the control according to the click times corresponding to the control and the total click times.
13. The method according to claim 11, wherein the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the control specifically includes:
sequencing the controls according to the sequence of the click ratio from high to low; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or,
and determining the control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
14. A page display method is applied to a client side, and comprises the following steps:
acquiring a preloading control corresponding to at least one sub-page of a page; the page comprises a plurality of sub-pages;
acquiring preloaded data corresponding to the preloaded control;
and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
15. A page display device applied to a client, the device comprising:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page when the client displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control;
and the display module is used for displaying a page according to the preloading data when receiving an operation command aiming at the preloading control.
16. The apparatus according to claim 15, wherein in the process of obtaining the preload control corresponding to at least one sub-page, the obtaining module is specifically configured to:
inquiring a first mapping table through the page identifier of the sub-page to obtain a preloading control corresponding to the page identifier; the first mapping table is used for recording the corresponding relation between the page identification and the preloading control; or,
inquiring a second mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control; the second mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio; or,
receiving a first message sent by a server, wherein the first message carries the corresponding relation between the page identification of the sub-page and the preloading control, and acquiring the preloading control corresponding to the sub-page according to the first message; or,
and receiving a second message sent by the server, wherein the second message carries the corresponding relation among the page identifier of the sub-page, the control corresponding to the page identifier and the click ratio of the control, and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control.
17. The apparatus of claim 16,
the acquisition module is further used for acquiring the click ratio of the control in the sub-page in the page and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control;
the page display device further includes: the recording module is used for recording the corresponding relation between the page identification of the sub page and the preloading control in a first mapping table; or recording the corresponding relation among the page identification of the sub-page, the control and the click ratio of the control in a second mapping table.
18. The apparatus according to claim 17, wherein the obtaining module is specifically configured to, in a process of obtaining the click ratio of the controls in the sub page of the page, count total number of clicks corresponding to all the controls in the sub page; counting the number of clicks corresponding to the controls in the sub-page; determining the click ratio of the control according to the click times corresponding to the control and the total click times;
the obtaining module is specifically configured to sort the controls according to a sequence from high to low in the click ratio in the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the controls; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
19. A page display device is applied to a server, and the device comprises:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending data corresponding to an access request to a client and sending preloading control information corresponding to a sub-page to the client when the access request aiming at the sub-page in a page sent by the client is received; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information;
the second sending module is used for sending the preloading data corresponding to the preloading request to the client when the preloading request aiming at the preloading control sent by the client is received; and displaying a page according to the preloading data when the client receives an operation command aiming at the preloading control.
20. The apparatus of claim 19,
the first sending module is specifically configured to, in a process of sending the pre-loading control information corresponding to the sub-page to the client, query a third mapping table through the page identifier of the sub-page to obtain a pre-loading control corresponding to the page identifier, and send a first message carrying a correspondence between the page identifier and the pre-loading control to the client; the third mapping table is used for recording the corresponding relation between the page identification and the preloading control; or, querying a fourth mapping table through the page identifier of the sub-page to obtain the click ratio of the control corresponding to the page identifier, and sending a second message to the client, where the second message carries the page identifier, the control corresponding to the page identifier, and the corresponding relationship of the click ratio of the control; and the fourth mapping table is used for recording the corresponding relation among the page identification, the control and the click ratio.
21. The apparatus of claim 20, further comprising:
the acquisition module is used for acquiring the click ratio of the control in the sub-page in the page and determining the pre-loading control corresponding to the sub-page according to the click ratio of the control;
the recording module is used for recording the corresponding relation between the page identification of the sub page and the preloading control in a third mapping table; or recording the corresponding relation among the page identification of the sub page, the control in the sub page and the click ratio of the control in the sub page in a fourth mapping table;
the obtaining module is specifically configured to, in a process of obtaining the click ratio of the controls in the sub-page of the page, count total clicks corresponding to all the controls in the sub-page, count the click times corresponding to the controls in the sub-page, and determine the click ratio of the controls according to the click times corresponding to the controls and the total click times corresponding to the controls;
the obtaining module is specifically configured to sort the controls according to a sequence from high to low in the click ratio in the process of determining the preloaded control corresponding to the sub-page according to the click ratio of the controls; determining the first N controls as pre-loading controls corresponding to the sub-pages according to the sequencing result, wherein N is a positive integer; or determining a control with the click ratio larger than a preset threshold value as a preloading control corresponding to the sub-page.
22. A page display device applied to a client, the device comprising:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page of the page; the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control;
and the display module is used for displaying a page according to the preloading data when receiving an operation command aiming at the preloading control.
23. A terminal device, characterized in that the terminal device comprises:
the processor is used for acquiring a preloading control corresponding to at least one sub-page when the terminal equipment displays the sub-page in the page; wherein the page comprises a plurality of sub-pages; acquiring preloaded data corresponding to the preloaded control; and if an operation command aiming at the preloading control is received, displaying a page according to the preloading data.
24. A server, characterized in that the server comprises:
the receiver is used for receiving an access request which is sent by a client and aims at a sub-page in a page;
the emitter is used for sending data corresponding to the access request to the client and sending the preloading control information corresponding to the sub-page to the client; enabling the client to determine a preloading control corresponding to at least one sub-page according to the sub-page in the data display page and the preloading control information;
the receiver is further used for receiving a preloading request for the preloading control sent by a client;
the transmitter is further used for sending the preloading data corresponding to the preloading request to the client; and displaying the page according to the preloading data when the client receives the operation command aiming at the preloading control.
CN201710757270.0A 2017-08-29 2017-08-29 Page display method, device and equipment Active CN109829077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710757270.0A CN109829077B (en) 2017-08-29 2017-08-29 Page display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710757270.0A CN109829077B (en) 2017-08-29 2017-08-29 Page display method, device and equipment

Publications (2)

Publication Number Publication Date
CN109829077A true CN109829077A (en) 2019-05-31
CN109829077B CN109829077B (en) 2023-10-24

Family

ID=66858074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710757270.0A Active CN109829077B (en) 2017-08-29 2017-08-29 Page display method, device and equipment

Country Status (1)

Country Link
CN (1) CN109829077B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333912A (en) * 2019-07-11 2019-10-15 百度在线网络技术(北京)有限公司 A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
CN110764767A (en) * 2019-10-28 2020-02-07 杭州衣科信息技术有限公司 User-defined query interface setting method based on iOS platform
CN110990733A (en) * 2019-10-31 2020-04-10 合肥美的电冰箱有限公司 Page loading method and device, electronic equipment and medium
CN111263176A (en) * 2020-01-17 2020-06-09 北京字节跳动网络技术有限公司 Loading method, device, terminal, server and storage medium for live broadcast room page
CN111461666A (en) * 2020-04-07 2020-07-28 中国建设银行股份有限公司 Demand tracking matrix display method and system
CN113378085A (en) * 2021-05-31 2021-09-10 游艺星际(北京)科技有限公司 Page loading method, device, terminal and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747749B1 (en) * 2006-05-05 2010-06-29 Google Inc. Systems and methods of efficiently preloading documents to client devices
CN102541848A (en) * 2010-12-08 2012-07-04 卓望数码技术(深圳)有限公司 Method, device, system and server for page loading based on cell phone browser
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages
CN103440276A (en) * 2013-08-08 2013-12-11 星云融创(北京)信息技术有限公司 Method and device for improving webpage display speed
CN104268221A (en) * 2014-09-25 2015-01-07 车智互联(北京)科技有限公司 Page turning method and page turning system based on Ios system WebView
KR20150090617A (en) * 2014-01-29 2015-08-06 에스케이텔레콤 주식회사 Apparatus for displaying screen using preloading and computer recordable medium storing the method thereof
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus
US20150310126A1 (en) * 2014-04-23 2015-10-29 Akamai Technologies, Inc. Creation and delivery of pre-rendered web pages for accelerated browsing
CN105095227A (en) * 2014-04-28 2015-11-25 小米科技有限责任公司 Method and apparatus for preloading webpage
CN105224548A (en) * 2014-06-06 2016-01-06 中国移动通信集团浙江有限公司 A kind of page display method, device and server
CN105589914A (en) * 2015-07-20 2016-05-18 广州市动景计算机科技有限公司 Webpage pre-reading method and apparatus and intelligent terminal device
US20170013072A1 (en) * 2015-07-09 2017-01-12 Guangzhou Ucweb Computer Technology Co., Ltd. Webpage pre-reading method, apparatus and smart terminal device
CN106648343A (en) * 2016-12-29 2017-05-10 广州阿里巴巴文学信息技术有限公司 Rolling page turning display method and apparatus for electronic book reading

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747749B1 (en) * 2006-05-05 2010-06-29 Google Inc. Systems and methods of efficiently preloading documents to client devices
CN102541848A (en) * 2010-12-08 2012-07-04 卓望数码技术(深圳)有限公司 Method, device, system and server for page loading based on cell phone browser
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages
CN103440276A (en) * 2013-08-08 2013-12-11 星云融创(北京)信息技术有限公司 Method and device for improving webpage display speed
KR20150090617A (en) * 2014-01-29 2015-08-06 에스케이텔레콤 주식회사 Apparatus for displaying screen using preloading and computer recordable medium storing the method thereof
US20150310126A1 (en) * 2014-04-23 2015-10-29 Akamai Technologies, Inc. Creation and delivery of pre-rendered web pages for accelerated browsing
CN105095227A (en) * 2014-04-28 2015-11-25 小米科技有限责任公司 Method and apparatus for preloading webpage
CN105224548A (en) * 2014-06-06 2016-01-06 中国移动通信集团浙江有限公司 A kind of page display method, device and server
CN104268221A (en) * 2014-09-25 2015-01-07 车智互联(北京)科技有限公司 Page turning method and page turning system based on Ios system WebView
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus
US20170013072A1 (en) * 2015-07-09 2017-01-12 Guangzhou Ucweb Computer Technology Co., Ltd. Webpage pre-reading method, apparatus and smart terminal device
CN105589914A (en) * 2015-07-20 2016-05-18 广州市动景计算机科技有限公司 Webpage pre-reading method and apparatus and intelligent terminal device
CN106648343A (en) * 2016-12-29 2017-05-10 广州阿里巴巴文学信息技术有限公司 Rolling page turning display method and apparatus for electronic book reading

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333912A (en) * 2019-07-11 2019-10-15 百度在线网络技术(北京)有限公司 A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
CN110764767A (en) * 2019-10-28 2020-02-07 杭州衣科信息技术有限公司 User-defined query interface setting method based on iOS platform
CN112328248A (en) * 2019-10-28 2021-02-05 杭州衣科信息技术有限公司 iOS platform interface setting method based on asynchronous disaster tolerance service system
CN112328248B (en) * 2019-10-28 2021-08-17 杭州衣科信息技术股份有限公司 iOS platform interface setting method based on asynchronous disaster tolerance service system
CN110990733A (en) * 2019-10-31 2020-04-10 合肥美的电冰箱有限公司 Page loading method and device, electronic equipment and medium
CN111263176A (en) * 2020-01-17 2020-06-09 北京字节跳动网络技术有限公司 Loading method, device, terminal, server and storage medium for live broadcast room page
US11936922B2 (en) 2020-01-17 2024-03-19 Beijing Bytedance Network Technology Co., Ltd. Live streaming room page loading method and apparatus, and terminal, server and storage medium
CN111461666A (en) * 2020-04-07 2020-07-28 中国建设银行股份有限公司 Demand tracking matrix display method and system
CN113378085A (en) * 2021-05-31 2021-09-10 游艺星际(北京)科技有限公司 Page loading method, device, terminal and storage medium
CN113378085B (en) * 2021-05-31 2023-11-14 游艺星际(北京)科技有限公司 Page loading method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN109829077B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN109829077B (en) Page display method, device and equipment
KR101343609B1 (en) Apparatus and Method for Automatically recommending Application using Augmented Reality Data
CN107038194B (en) Page jump method and device
US20130124539A1 (en) Personal relevancy content resizing
CN106126557A (en) Page processing method and device
CN103870553B (en) A kind of input resource supplying method and system
US20230244707A1 (en) Management of event summary types
CN114938458B (en) Object information display method and device, electronic equipment and storage medium
CN111476015A (en) Document processing method and device, electronic equipment and storage medium
CN113010795B (en) User dynamic image generation method, system, storage medium and electronic device
CN112487871B (en) Handwriting data processing method and device and electronic equipment
CN111324836B (en) Page processing method and device, computer equipment and storage medium
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN106528136A (en) Widget-based display method and apparatus, and terminal device
US9690859B2 (en) Transmitting information based on reading speed
CN103544150A (en) Method and system for providing recommendation information for mobile terminal browser
CN105260459A (en) Search method and apparatus
CN111400575A (en) User identification generation method, user identification method and device
CN110929129B (en) Information detection method, equipment and machine-readable storage medium
CN107391163B (en) Page data loading method and device in mobile terminal and application
CN113254819A (en) Page rendering method, system, equipment and storage medium
CN116320648B (en) Bullet screen drawing method and device and electronic equipment
CN109408647B (en) Method and apparatus for processing information
CN104834728B (en) A kind of method for pushing and device for subscribing to video
CN100592300C (en) Data display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240218

Address after: # 01-21, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Patentee after: Alibaba Singapore Holdings Ltd.

Country or region after: Singapore

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: United Kingdom