CN109829077B - Page display method, device and equipment - Google Patents

Page display method, device and equipment Download PDF

Info

Publication number
CN109829077B
CN109829077B CN201710757270.0A CN201710757270A CN109829077B CN 109829077 B CN109829077 B CN 109829077B CN 201710757270 A CN201710757270 A CN 201710757270A CN 109829077 B CN109829077 B CN 109829077B
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.)
Active
Application number
CN201710757270.0A
Other languages
Chinese (zh)
Other versions
CN109829077A (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 page display method, a device and equipment, wherein the method comprises the following steps: when a 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 pre-loading data corresponding to the pre-loading control; and if an operation command for the preloading control is received, displaying the page according to the preloading data. According to the technical scheme, if the operation command for the preloading control is received, the client can display the page according to the preloading data stored in advance to the local place without acquiring the data from the server again, so that the page can be displayed quickly, the page display speed is improved, and the service experience of a user is improved.

Description

Page display method, device and equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, and a device for displaying a page.
Background
When a user uses a client, a plurality of pages are opened, and each time a new page is opened, the client needs to acquire data from a server and display the new page by using the acquired data. However, due to the limitation of the network transmission speed and the data volume to be acquired, it may take a long time (such as several seconds or even tens of seconds) from the start of sending a request from the client to the server to the receipt of the data returned from the server by the client, so that the client can display a new page only after a long time, and the switching speed between pages is slow, and the page display is discontinuous, which may greatly affect the service experience of the user.
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 the page, acquiring a preloading control corresponding to at least one sub-page; wherein the page comprises a plurality of sub-pages;
acquiring pre-loading data corresponding to the pre-loading control;
and if an operation command for the preloading control is received, displaying the 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 for a sub-page in a page, which is 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; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information;
when a preloading request for the preloading control sent by the client is received, the preloading data corresponding to the preloading request is sent to the client; and when receiving an operation command for the preloading control, the client displays a page according to the preloading data.
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 includes a plurality of sub-pages;
acquiring pre-loading data corresponding to the pre-loading control;
and if an operation command for the preloading control is received, displaying the page according to the preloading data.
The application provides a page display device, which is applied to a client, and comprises:
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 pre-loading data corresponding to the pre-loading control;
and the display module is used for displaying the page according to the preloading data when receiving the operation command for the preloading control.
The application provides a page display device, which is applied to a server, and comprises:
the first sending module is used for sending data corresponding to the access request to the client when receiving the access request for the sub-page in the page sent by the client, and sending the pre-loading control information corresponding to the sub-page to the client; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information;
The second sending module is used for sending the pre-loading data corresponding to the pre-loading request to the client when the pre-loading request for the pre-loading control sent by the client is received; and when receiving an operation command for the preloading control, the client displays the page according to the preloading data.
The application provides a page display device, which is applied to a client, and comprises:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page of the page; the page includes a plurality of sub-pages; the preloading data corresponding to the preloading control is obtained;
and the display module is used for displaying the page according to the preloading data when receiving the operation command for the preloading control.
The application provides a terminal device, comprising: 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 pre-loading data corresponding to the pre-loading control; and if an operation command for the preloading control is received, displaying the page according to the preloading data.
The present application provides a server including:
the receiver is used for receiving an access request for the sub-pages in the page, which is sent by the client;
the transmitter is used for transmitting the data corresponding to the access request to the client and transmitting the preloading control information corresponding to the sub-page to the client; the client side displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information;
the receiver is further used for receiving a preloading request for the preloading control sent by the client;
the transmitter is further used for transmitting the pre-load data corresponding to the pre-load request to the client; when the client receives an operation command for the preloading control, page display is performed according to the preloading data.
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 the operation command for the pre-loading control is received, page display can be performed according to the pre-loading data which is stored in advance without obtaining the data from a server again, so that the page display speed is improved, the user service experience is improved, and the problems of slower switching speed between pages, discontinuous page display and the like are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly describe the drawings required to be used in the embodiments of the present application or the description in the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings of the embodiments of the present application for a person having ordinary skill in the art.
FIG. 1 is a schematic diagram of a system architecture in one embodiment of the application;
FIGS. 2A-2D are schematic views of an application scenario in an embodiment of the present application;
FIG. 3 is a flow chart of a method of displaying pages in one embodiment of the application;
FIGS. 4A-4B are schematic diagrams of application scenarios in an embodiment of the present application;
FIG. 5 is a flow chart of a page display method in another embodiment of the application;
FIG. 6 is a flow chart of a page display method in another embodiment of the application;
fig. 7 is a structural view of a page display device in one embodiment of the present application;
fig. 8 is a structural view of a page display device in another embodiment of the present application;
fig. 9 is a block diagram of a page display device in another embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended 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 refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present application to describe various information, these 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 application. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
The embodiment of the application provides a page display method which can be applied to a system comprising a client and a server, and is shown in fig. 1 as a system structure schematic diagram. The client may be an APP (application) on a terminal device (such as a PC (Personal Computer, personal computer), a notebook computer, a mobile terminal, etc.), or may be a browser on the terminal device, so that the type of the client is not limited, and all clients capable of accessing the server are within the scope of the embodiments of the present application, and for convenience of description, the description is given by taking APP on the mobile terminal as an example. The server is a device for providing services for the client, such as a data platform, an e-commerce platform, etc., and the type of the server is not limited.
In one example, with the rapid development of internet technology, more and more contents are displayed to a user from one page, 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 slide down) to display all contents of the page. The page in this embodiment may be a page that cannot be displayed once through the screen and that needs to be displayed by sliding multiple times.
In one example, a client may divide a page into a plurality of sub-pages, each sub-page corresponding to a page identification, rather than a page corresponding to a page identification. For example, a page may be divided into sub-page 1, sub-page 2, and sub-page 3, with sub-page 1 corresponding to page identification 1, sub-page 2 corresponding to page identification 2, and sub-page 3 corresponding to page identification 3. The client may divide the page into a plurality of sub-pages of a specified height (each sub-page may be referred to as an exposure page), and the specified height may include a height of a screen for displaying the page, that is, a screen height of the mobile terminal, but may be other heights, which is not limited.
In one example, a page may include a large number of controls, and 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 identifier.
Referring to fig. 2A, the mobile terminal has a screen height h, and the page is divided into sub-page 1, sub-page 2, and sub-page 3 based on the screen height h, as shown in fig. 2B, 2C, and 2D. The height of each sub-page is the screen height h, and the contents of different sub-pages are not the same. Referring to FIG. 2B, sub-page 1 includes 6 controls, the controls of which are identified as control 1, control 2, control 3, control 4, control 5, and control 6. Referring to FIG. 2C, sub-page 2 includes 4 controls, the controls of the 4 controls identified as control 7, control 8, control 9, control 10. Referring to FIG. 2D, sub-page 3 includes 2 controls, the controls of which 2 are identified as control 11, control 12.
In fig. 2B, 2C, and 2D, the commodity data may include, but is not limited to, commodity name, commodity picture, commodity price, commodity number, commodity description information, commodity profile, and the like.
In fig. 2B, 2C, and 2D, the control may be an encapsulation of data and methods, the control may have its own properties and methods, 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: user interface controls (controls for developing and constructing a user interface, such as controls for interface elements such as windows, text boxes, buttons, drop-down menus, and the like), chart controls (controls for developing charts, data visualization, and the like can be realized), report controls (controls for developing reports, functions such as browsing, designing, editing, printing, and the like, of reports), form controls (controls for developing forms (CELL), functions for data processing and operation in grids, controls for generating, scanning, reading, and printing with barcodes), barcode controls (controls for realizing functions of image browsing and editing), document processing controls (controls for realizing functions of browsing and editing 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 application, the types of the controls are not limited to these types of controls, 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, navigation bar, tab view, button, toolbar, lmage, webview, element, tab cell, textfield, static text, etc.
The types of different controls can be the same or different. For example, control 1 is window and control 2 is also 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, a long time is required to display the new page, the page switching speed is slow, the page display is discontinuous, and the like, in the embodiment of the application, the client can acquire the pre-load data corresponding to the pre-load control in advance, so that if an operation command for the pre-load control is received, the page display can be performed according to the pre-load data stored locally, and the data is not required to be acquired from a server again, thereby the new page can be displayed quickly, the page display speed is improved, the business experience of a user is improved, and the problems of slow switching speed between pages, the page display discontinuity, and the like are avoided.
In order to achieve 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 preloaded control corresponding to the sub-page may be determined according to the click ratio of the control. Thus, when the sub page is accessed, the pre-loading data corresponding to the pre-loading control can be acquired from the server in advance. The above process is described in detail below in connection with several specific embodiments.
In the first case, the client acquires the click ratio of a control in a sub-page in the 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 for the client may include, but is not limited to, the following ways: the client side counts the total clicking times corresponding to all the controls in the sub page, and counts the clicking times corresponding to the controls in the sub page. Then, the client may determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks, for example, the client may determine that the click ratio of the control may be: the number of clicks corresponding to the control divided by the total number of clicks.
Taking the sub page 1 in the page as an example, the client counts the number of times each control in the sub page 1 is clicked every time the sub page 1 is displayed to the user, and the sum of the number of times the control is clicked is the total number of times of clicking. For example, control 1 in sub-page 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 (20+20+30+5+5+0) =80, and the number of clicks corresponding to control 1 is 20, so the click ratio of control 1 is 25%, 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% in the same manner.
The processing procedure for the sub-pages 2 and 3 is similar to the above procedure, and will not be described here again.
The process of determining the preloaded control corresponding to the sub-page according to the click ratio of the control for the client may include, but is not limited to: sorting the controls according to the order of the click ratio from high to low; according to the sorting result, the first N (e.g. 3) controls are determined to be the pre-loading controls corresponding to the sub-pages, and N is a positive integer; or sorting the controls according to the order of the click ratio from low to high; according to the sorting result, determining the latter N controls as preloaded controls corresponding to the sub-pages; or determining the control with the click ratio larger than the preset threshold value as the pre-loading control corresponding to the sub-page.
For example, when the controls are ordered according to the order of the clicking ratio from high to low for the sub page 1, the ordering result 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 subpage 1 may be control 3, control 2, and control 1; if N is 2, the preloaded 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 subpage 1 may be control 3, control 2, and control 1; assuming that the preset threshold is 30%, the corresponding preloading control of the sub page 1 is control 3; and so on.
For convenience of description, taking the preloaded controls corresponding to the sub-page 1 as the control 3, the control 2 and the control 1 as examples, the first mapping table generated by the client may be shown in table 1. In table 1, not only the preloading control corresponding to the sub page 1, but also the preloading control corresponding to the sub page 2 and the preloading control corresponding to the sub page 3 are recorded, and the determination process of the preloading controls for the two sub pages is not repeated.
TABLE 1
Page identification Preloading control
Page identification 1 Control 3, control 2, control 1
Page identity 2 Control 9, control 10
Page identification 3 Control 11
And secondly, the client acquires the click ratio of the control in the sub-page in the page, and records the page identification of the sub-page, the control and the corresponding relation of the click ratio of the control in a second mapping table. For example, the corresponding relationship 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 for the client may include, but is not limited to, the following ways: the client side counts the total clicking times corresponding to all the controls in the sub page, and counts the clicking times corresponding to the controls in the sub page. Then, the client may determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks, for example, the client may determine that the click ratio of the control may be: the number of clicks corresponding to the control divided by the total number of clicks.
Taking the sub page 1 in the page as an example, the client counts the number of times each control in the sub page 1 is clicked every time the sub page 1 is displayed to the user, and the sum of the number of times the control is clicked is the total number of times of clicking. For example, control 1 in sub-page 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 (20+20+30+5+5+0) =80, and the number of clicks corresponding to control 1 is 20, so the click ratio of control 1 is 25%, 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 procedure for the sub-pages 2 and 3 is similar to the above procedure, and will not be described here again.
Further, the second mapping table generated by the client may be as shown in table 2. In table 2, not only the page identifier of the sub page 1, but also the correspondence relationship between each control and the click ratio of each control are recorded. In addition, the second mapping table also records the page identification of the sub page 2, the corresponding relation of each control and the click ratio of each control, and the page identification of the sub page 3, the corresponding relation of each control and the click ratio of each control.
TABLE 2
Thirdly, the server acquires the click ratio of the control in the sub-page in the page, determines the preloading 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 preloading control in a third mapping table.
Wherein, the process of "the server obtaining the click ratio of the control in the sub-page in the page" may include, but is not limited to, the following ways: the server counts the total clicking times corresponding to all the controls in the sub page, and counts the clicking times corresponding to the controls in the sub page. Then, the server may determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks, for example, the server may determine that the click ratio of the control may be: the number of clicks corresponding to the control divided by the total number of clicks.
The third case may be different from the first case in that: in the first case, each client counts the clicking times of the corresponding control. In the third case, the server counts the clicking times of the controls corresponding to all the clients, that is, the sum of the clicking times 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 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 each control in the sub-page 1 is clicked, when the client 3 displays the sub-page 1 to the user each time, and so on, the server can count the number of times 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 each control is the total number 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%, 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 procedure for the sub-pages 2 and 3 is similar to the above procedure, and will not be described here again.
The process of determining the preloaded control corresponding to the sub-page according to the click ratio of the control by the server can include, but is not limited to: sorting the controls according to the order of the click ratio from high to low; according to the sorting result, the first N (e.g. 3) controls are determined to be the pre-loading controls corresponding to the sub-pages, and N is a positive integer; or sorting the controls according to the order of the click ratio from low to high; according to the sorting result, determining the latter N controls as preloaded controls corresponding to the sub-pages; or determining the control with the click ratio larger than the preset threshold value as the pre-loading control corresponding to the sub-page.
For example, when the controls are ordered according to the order of the clicking ratio from high to low for the sub page 1, the ordering result 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 subpage 1 may be control 3, control 2, and control 1; if N is 2, the preloaded 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 subpage 1 may be control 3, control 2, and control 1; assuming that the preset threshold is 30%, the corresponding preloading control of the sub page 1 is control 3; and so on.
For convenience of description, taking the preloaded control corresponding to the sub page 1 as the control 3 for illustration, the third mapping table generated by the server may be shown in table 3. In table 3, not only the preloading control corresponding to the sub page 1, but also the preloading control corresponding to the sub page 2 and the preloading control corresponding to the sub page 3 are recorded, and the determination process of the preloading controls of the two sub pages is not repeated here.
TABLE 3 Table 3
Page identification Preloading control
Page identification 1 Control 3
Page identity 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 page identification of the sub-page, the control and the corresponding relation of the click ratio of the control in a fourth mapping table. For example, the correspondence relationship among the page identifier, each control, and the click ratio of each control is recorded in the fourth mapping table.
Wherein, the process of "the server obtaining the click ratio of the control in the sub-page in the page" may include, but is not limited to, the following ways: the server counts the total clicking times corresponding to all the controls in the sub page, and counts the clicking times corresponding to the controls in the sub page. Then, the server may determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks, for example, the server may determine that the click ratio of the control may be: the number of clicks corresponding to the control divided by the total number of clicks.
The fourth mapping table generated by the server may be as shown in table 4. In table 4, the corresponding relationship of the page identifier of the sub page 1, each control and the click ratio of each control is recorded; page identification of sub page 2, each control, and the corresponding relation of click ratio of each control; page identification of the sub page 3, each control and the corresponding relation of the click ratio of each control; the process of obtaining these correspondence relationships is not described in detail.
TABLE 4 Table 4
In the above application scenario, referring to fig. 3, a flowchart of a page display method according to an embodiment of the present application is shown, where the method may be applied to a client, and the method may include the following steps:
in step 301, when the client displays the sub-pages 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 multiple sub-pages, when a client displays a page, 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 client displays the schematic diagram shown in fig. 2B, a preload control corresponding to the sub-page 1 is acquired; when the client displays the schematic diagram shown in fig. 2C, acquiring a preloading 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 client displays the schematic diagram shown in fig. 4A, acquiring a preloading control corresponding to the sub page 1 and a preloading control corresponding to the sub page 2; when the client displays the schematic diagram shown in fig. 4B, a preload control corresponding to the sub page 2 and a preload control corresponding to the sub page 3 are acquired.
In one example, the process of obtaining, for the client, a preload control corresponding to at least one sub-page (a sub-page is taken as an example later) may include, but is not limited to, the following ways:
in the first mode, a first mapping table is queried through the page identification of the sub page, and the preloading control corresponding to the page identification is obtained. The first mapping table is used for recording the corresponding relation between the page identification and the preloading control.
For example, assuming sub page 1, the first mapping table shown in table 1 is queried by page identifier 1 of sub page 1, so as to obtain preloaded controls as control 3, control 2 and control 1. For another example, assuming sub-page 1 and sub-page 2, the first mapping table shown in table 1 is queried through page identifier 1 of sub-page 1 to obtain the preloaded controls as control 3, control 2 and control 1, and the first mapping table shown in table 1 is queried through page identifier 2 of sub-page 2 to obtain the preloaded controls as control 9 and control 10.
And secondly, the client queries a second mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and determines the preloaded control corresponding to the sub page according to the click ratio of the control. The second mapping table may be used to record the correspondence between page identifiers, controls, and click ratios.
For example, assuming sub page 1, the client may obtain, by looking up the second mapping table shown in table 2 for page identifier 1 of sub page 1, the click ratio of control 1 corresponding to the page identifier 1 of 25%, the click ratio of control 2 corresponding to the page identifier 1 of 25%, the click ratio of control 3 corresponding to the page identifier 1 of 37.5%, the click ratio of control 4 corresponding to the page identifier 1 of 6.25%, the click ratio of control 5 corresponding to the page identifier 1 of 6.25%, and the click ratio of control 6 corresponding to the page identifier 1 of 0%.
In one example, the process for "determining a preloaded control corresponding to the sub-page by the client from the click ratio of the control" may include, but is not limited to: the client orders the controls according to the order of the click ratio from high to low; according to the sorting result, the first N (e.g. 3) controls are determined to be the pre-loading controls corresponding to the sub-pages, and N is a positive integer; or sorting the controls according to the order of the click ratio from low to high; according to the sorting result, determining the latter N controls as preloaded controls corresponding to the sub-pages; or determining the control with the click ratio larger than the preset threshold value as the pre-loading control corresponding to the sub-page.
For example, when the controls are ordered according to the order of the click ratio from high to low, the ordering result 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 subpage 1 may be control 3, control 2, and control 1; if N is 2, the preloaded controls corresponding to the sub page 1 can be control 3 and control 2; and so on. For another example, assuming that the preset threshold is 20%, the preloaded controls corresponding to the subpage 1 may be control 3, control 2, and control 1; assuming that the preset threshold is 30%, the preloaded control corresponding to the sub page 1 is control 3; and so on.
In a third mode, 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 pre-loading control, and the pre-loading control corresponding to the sub-page is obtained according to the first message.
Specifically, when the client displays the 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 that the server sends the preloading control information corresponding to the sub page to the client, the server can firstly analyze the page identification of the sub page from the access request, inquire a third mapping table through the page identification of the sub page to obtain the preloading control corresponding to the page identification, and then send a first message carrying the corresponding relation between the page identification and the preloading control to the client. Thus, after receiving the first message, the client can acquire the preloading control corresponding to the sub-page according to the first message.
For example, assuming that the server parses out the page identifier 1 of the sub-page 1 from the access request, the third mapping table shown in table 3 is queried by the page identifier 1, so as to obtain the preloaded control as the control 3. Then, the server sends a first message carrying the corresponding relation between the page identifier 1 and the control 3 to the client. After receiving the first message, the client can acquire the preloaded control corresponding to the sub-page 1 as the control 3 according to the first message.
In a fourth mode, the client receives a second message sent by the server, wherein the second message carries page identifiers of sub pages, controls corresponding to the page identifiers (such as each control corresponding to the page identifiers), and corresponding relations of click ratios of the controls, and determines a preloaded control corresponding to the sub page according to the click ratio of the controls.
Specifically, when the client displays the 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 that the server sends the preloaded control information corresponding to the sub-page to the client, the server can firstly analyze the page identification of the sub-page from the access request, inquire a fourth mapping table through the page identification of the sub-page to obtain the click ratio of the control corresponding to the page identification, and then send a second message to the client, wherein the second message can carry the page identification, the control corresponding to the page identification and the corresponding relation of 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 by the second message.
For example, assuming that the server parses the page identifier 1 of the sub-page 1 from the access request, the fourth mapping table shown in the table 4 is queried by the page identifier 1 to obtain the click ratio of 25% of the control 1 corresponding to the page identifier 1, the click ratio of 25% of the control 2 corresponding to the page identifier 1, the click ratio of 37.5% of the control 3 corresponding to the page identifier 1, the click ratio of 6.25% of the control 4 corresponding to the page identifier 1, the click ratio of 6.25% of the control 5 corresponding to the page identifier 1, and the click ratio of 0% of the control 6 corresponding to the page identifier 1. The server then sends a second message to the client, which may carry the content.
Further, after receiving the second message, the client can analyze the content from the second message, and can determine the preloaded control corresponding to the sub-page according to the click ratio of each control.
The process for "determining a 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: the client orders the controls according to the order of the click ratio from high to low; according to the sorting result, the first N (e.g. 3) controls are determined to be the pre-loading controls corresponding to the sub-pages, and N is a positive integer; or sorting the controls according to the order of the click ratio from low to high; according to the sorting result, determining the latter N controls as preloaded controls corresponding to the sub-pages; or determining the control with the click ratio larger than the preset threshold value as the pre-loading control corresponding to the sub-page.
For example, when the controls are ordered according to the order of the clicking ratio from high to low, the ordering result may be control 3, control 2, control 1, control 4, control 5, and control 6; thus, if N is 3, the preloaded controls corresponding to subpage 1 may be control 3, control 2, control 1. For another example, assuming that the preset threshold is 20%, the preloaded controls corresponding to the subpage 1 may be control 3, control 2, control 1.
Step 302, obtaining pre-load data corresponding to the pre-load control. The preloaded data is also data for displaying a page, and since the data is preloaded to a client, the data may be referred to as preloaded data, and the name of the data is not limited.
Specifically, after the client acquires the preloading control corresponding to at least one sub-page, the client may send a preloading request for the preloading control to the server. When receiving a preloading request for the preloading control sent by the 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 the sub page 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 when the user does not click on control 3, control 2 and control 1.
In step 303, if the client receives the operation command for the preloading control, page display is performed according to the preloading data corresponding to the preloading control, that is, page display is performed according to the preloading data local to the client, without obtaining the preloading data corresponding to the preloading control from the server.
For example, when the client receives an operation command for the control 1 (i.e. an operation command generated by clicking the control 1 by the user), since the preloaded data corresponding to the control 1 is already stored locally, the client may perform page display according to the preloaded data corresponding to the control 1, without re-acquiring the preloaded data corresponding to the control 1 from the server. After the page is displayed 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.
In one example, the above execution sequence is only one example given for convenience of description, and the execution sequence between steps may be changed, which is not limited. Moreover, in other embodiments, the steps of the corresponding methods need not be performed in the order shown and described herein, and the methods may include more or less steps than described herein. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
In one example, after the pre-load data corresponding to the pre-load control is obtained, the pre-load data can be cached, so that the client can display a page according to the local pre-load data, and in the using process, the obtained pre-load data can be deleted, thereby saving local storage resources.
For example, after the client obtains the pre-load data corresponding to the control 3, the pre-load data corresponding to the control 2, and the pre-load data corresponding to the control 1 from the server, the pre-load data may be cached locally. If the page display is already performed based on the pre-load data corresponding to the control 3, the pre-load data corresponding to the control 3 can be deleted locally. Or if the time of the preloaded data corresponding to the cache control 1 exceeds the preset time, the preloaded data corresponding to the control 1 can be deleted locally. Alternatively, when the data amount of the preloaded data stored in the local cache space has reached a preset threshold, the preloaded data may be deleted locally, such as deleting the preloaded data randomly, 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 are 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 which is stored in advance and does not need to obtain the data from the server again, thereby being capable of displaying the page quickly, improving the page display speed, improving the service experience of users, and avoiding the problems of slower switching speed between the pages, discontinuous page display and the like.
Based on the same application concept as the above method, another page display method is provided in the embodiment of the present application, and referring to fig. 5, a flowchart of the method is shown, and the method may be applied to a server.
Step 501, when an access request for 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; and the client displays the sub-pages in the page according to the data, and determines the preloading control corresponding to at least one sub-page according to the preloading control information.
Step 502, when a preload request for the preload control sent by a client is received, the preload data corresponding to the preload request is sent to the client; and when receiving an operation command for the preloading control, the client displays the page according to the preloading data.
The process of sending the corresponding preloaded control information of the sub-page to the client may include, but is not limited to, the following manners: and inquiring a third mapping table through the page identification of the sub page to obtain a preloading control corresponding to the page identification, and sending a first message carrying the corresponding relation between the page identification and the preloading control to the client. Or, inquiring a fourth mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and sending a second message to the client, wherein the second message carries the page identification, the control corresponding to the page identification and the corresponding relation of the click ratio of the control.
For the flow shown in fig. 5, the implementation may refer to the flow shown in fig. 3, which is not described herein.
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 which is stored in advance and does not need to obtain the data from the server again, thereby being capable of displaying the page quickly, improving the page display speed, improving the service experience of users, and avoiding the problems of slower switching speed between the pages, discontinuous page display and the like.
Based on the same application concept as the above method, another page display method is further provided in the embodiment of the present application, and referring to fig. 6, a flowchart of the method is shown, and the method may be applied to a client.
In step 601, a preload control corresponding to at least one sub-page (e.g., one sub-page or two sub-pages) of a page is obtained. Wherein the page includes a plurality of sub-pages.
Step 602, obtaining pre-load data corresponding to the pre-load control.
Step 603, if an operation command for the preloading control is received, displaying a page according to the preloading data corresponding to the preloading control, that is, displaying a page according to the preloading data of the client without obtaining the preloading data corresponding to the preloading control from the server.
For the flow shown in fig. 6, the implementation may refer to the flow shown in fig. 3, which is not described herein.
Compared to 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 may not necessarily be executed when the sub-page in the page is displayed, but the preload control corresponding to the at least one sub-page is obtained.
For example, when displaying page a, a preload control corresponding to at least one sub-page of page a may be obtained. For another example, when the page B is displayed, a preload control corresponding to at least one sub-page of the page a may be acquired, so that when the page B is jumped to the page a, the page display may be directly performed by using the local preload data of the client. For another example, since the page a is a page frequently accessed by the client, the preload control corresponding to at least one sub-page of the page a can be acquired in advance, so that when the page a is jumped from another page B, the page display can be directly performed by using the preload data local to 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 the operation command for the pre-loading control is received, page display can be performed according to the pre-loading data which is stored in advance without obtaining the data from a server again, so that the page display speed is improved, the user service experience is improved, and the problems of slower switching speed between pages, discontinuous page display and the like are avoided.
Based on the same application concept as the method, the embodiment of the application further provides a page display device, which can be applied to a client, as shown in fig. 7, and is a structural diagram of the device, and the device 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 pre-loading data corresponding to the pre-loading control; and the display module 702 is used for displaying the page according to the preloading data when an operation command for the preloading control is received.
In one example, in the process of acquiring the pre-load control corresponding to at least one sub-page, the acquiring module 701 is specifically configured to: inquiring a first mapping table through the page identification of the sub page to obtain a preloading control corresponding to the page identification; 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 identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and determining the preloaded 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 page identifications, controls and click ratios; 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 pre-loading control, and acquiring the pre-loading 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 relation of the click ratio of the control, and determining the preloaded control corresponding to the sub page according to the click ratio of the control.
In one 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 preloaded control corresponding to the sub-page according to the click ratio of the control;
the page display device further includes (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 one example, the obtaining module 701 is specifically configured to count the total number of clicks corresponding to all the controls in the sub-page in the process of obtaining the click ratio of the controls in the sub-page in the page; counting the clicking times corresponding to the controls in the sub page; determining the click ratio of the control according to the corresponding click times and the total click times of the control; the obtaining module 701 is specifically configured to sort the controls according to the order of the click ratio from high to low in the process of determining the preloaded controls corresponding to the sub-pages according to the click ratio of the controls; according to the sorting result, the first N controls are determined to be preloaded controls corresponding to the sub-pages, and N is a positive integer; or determining the control with the click ratio larger than the preset threshold as the preloaded control corresponding to the sub-page.
Based on the same application concept as the method, the embodiment of the application also provides a terminal device, which 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 pre-loading data corresponding to the pre-loading control; and if an operation command for the preloading control is received, displaying the page according to the preloading data.
Based on the same application concept as the above method, the embodiment of the present application further provides a machine-readable storage medium, which can be applied to a terminal device, where the machine-readable storage medium stores a number of computer instructions, where the computer instructions when executed perform the following processes: when the terminal equipment displays the sub-pages in the page, acquiring a preloading control corresponding to at least one sub-page; wherein the page comprises a plurality of sub-pages; acquiring pre-loading data corresponding to the pre-loading control; and if an operation command for the preloading control is received, displaying the page according to the preloading data.
Based on the same application concept as the method, the embodiment of the application further provides a page display device, which can be applied to a server, as shown in fig. 8, and is a structural diagram of the device, and the device includes:
a first sending module 801, configured to, when receiving an access request sent by a client for a sub-page in a page, send data corresponding to the access request to the client, and send preload control information corresponding to the sub-page to the client; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information;
a second sending module 802, configured to send, when receiving a preload request sent by a client for the preload control, preload data corresponding to the preload request to the client; and when receiving an operation command for the preloading control, the client displays the page according to the preloading data.
The first sending module 801 is specifically configured to, in a process of sending the information of the preload control corresponding to the sub page to the client, query a third mapping table through a page identifier of the sub page to obtain the preload control corresponding to the page identifier, and send a first message carrying a correspondence between the page identifier and the preload control to the client; the third mapping table is used for recording the corresponding relation between the page identification and the preloading control; or, inquiring a fourth mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and sending a second message to the client, wherein the second message carries the page identification, the control corresponding to the page identification and the corresponding relation of the click ratio of the control; the fourth mapping table is used for recording the corresponding relation among page identifiers, controls and click ratios.
The page display device further includes (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 a preloaded 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 of 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 one example, the obtaining module is specifically configured to, in a process of obtaining a click ratio of a control in a sub-page in the page, count a total number of clicks corresponding to all the controls in the sub-page, count a number of clicks corresponding to the control in the sub-page, and determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks corresponding to the control;
the acquisition module is specifically configured to sort the controls according to the order of the click ratio from high to low in the process of determining the preloaded controls corresponding to the sub-pages according to the click ratio of the controls; according to the sorting result, the first N controls are determined to be preloaded controls corresponding to the sub-pages, and N is a positive integer; or determining the control with the click ratio larger than the preset threshold as the preloaded control corresponding to the sub-page.
Based on the same application concept as the method, the embodiment of the application further provides a server, which comprises: the receiver is used for receiving an access request for the sub-pages in the page, which is sent by the client; the transmitter is used for transmitting the data corresponding to the access request to the client and transmitting the preloading control information corresponding to the sub-page to the client; the client side displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information; the receiver is further used for receiving a preloading request for the preloading control sent by the client; the transmitter is further used for transmitting the pre-load data corresponding to the pre-load request to the client; when the client receives an operation command for the preloading control, page display is performed according to the preloading data.
Based on the same application concept as the above 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 server, and the machine-readable storage medium stores a number of computer instructions, where the computer instructions when executed perform the following processes:
Receiving an access request for a sub-page in a page sent by a client; transmitting data corresponding to the access request to a client, and transmitting the preloading control information corresponding to the sub page to the client; the client side displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page according to the pre-loading control information; receiving a preloading request for the preloading control sent by a client; the method comprises the steps of sending pre-loading data corresponding to a pre-loading request to a client; when the client receives an operation command for the preloading control, page display is performed according to the preloading data.
Based on the same application concept as the method, the embodiment of the application further provides a page display device, which can be applied to a client, as shown in fig. 9, and is a structural diagram of the device, and the device includes:
the acquiring module 901 is configured to acquire a preload control corresponding to at least one sub-page of a page; the page includes a plurality of sub-pages; the preloading data corresponding to the preloading control is obtained;
and the display module 902 is used for displaying the page according to the preloading data when an operation command for the preloading control is received.
Based on the same application concept as the method, the embodiment of the application also provides a terminal device, which may include: the processor acquires a preloading control corresponding to at least one sub-page of the page; the page includes a plurality of sub-pages; acquiring pre-loading data corresponding to the pre-loading control; and when an operation command for the preloading control is received, displaying the page according to the preloading data.
Based on the same application concept as the above method, the embodiment of the present application further provides a machine-readable storage medium, which can be applied to a terminal device, where the machine-readable storage medium stores a number of 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 includes a plurality of sub-pages; acquiring pre-loading data corresponding to the pre-loading control; and when an operation command for the preloading control is received, displaying the page according to the preloading data.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email 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 functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
It will be appreciated by those skilled in the art that 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 application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
Moreover, 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 foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (22)

1. A method for displaying a page, the method comprising:
when the client displays the sub-pages in the page, from among the controls included in the sub-pages, sorting according to the click ratio of each control, and acquiring a preloading control corresponding to at least one sub-page; wherein the page comprises a plurality of sub-pages; the sub-page comprises at least one control, and the client is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed;
acquiring pre-loading data corresponding to the pre-loading control;
and if an operation command for the preloading control is received, displaying the page according to the preloading data.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the process for acquiring the preloading control corresponding to the at least one sub-page comprises the following steps:
inquiring a first mapping table through the page identification of the sub page to obtain a preloading control corresponding to the page identification; 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 identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and determining the preloaded 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, wherein the step of determining the position of the substrate comprises,
before the pre-loading control corresponding to at least one sub-page is acquired, the method further comprises:
and acquiring the click ratio of a control in a sub-page 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 first mapping table.
4. The method of claim 2, wherein the step of determining the position of the substrate comprises,
before the pre-loading control corresponding to at least one sub-page is acquired, the method further comprises:
and acquiring the click ratio of the control in the sub page in the page, and recording the page identification of the sub page, the control and the corresponding relation of the click ratio of the control in a second mapping table.
5. The method according to claim 3 or 4, wherein,
the process for obtaining the click ratio of the control in the sub-page in the page comprises the following steps:
counting the total clicking times corresponding to all the controls in the sub page;
counting the clicking times 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, wherein the step of determining the position of the substrate comprises,
the process for acquiring the preloading control corresponding to the at least one sub-page comprises the following steps:
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 pre-loading control, and acquiring the pre-loading 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 identification of the sub-page, the control corresponding to the page identification and the corresponding relation of the click ratio of the control, and determining the preloaded 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 comprises:
sorting the controls according to the order of the click ratio from high to low; according to the sorting result, determining the first N controls as preloaded controls corresponding to the sub-pages, wherein N is a positive integer; or alternatively, the process may be performed,
and determining the control with the click ratio larger than the preset threshold value as a preloaded control corresponding to the sub page.
8. The method according to claim 1, wherein the method further comprises:
dividing a page into a plurality of sub-pages with specified heights, wherein controls positioned in the sub-pages are distributed to the sub-pages; wherein the specified height includes a height of a screen for displaying the page.
9. A method for displaying a page, the method being applied to a server, the method comprising:
when an access request for a sub-page in a page, which is 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; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page from among the controls included in the sub-pages according to the pre-loading control information and sorting according to the click ratio of each control; the sub-page comprises at least one control, and the client is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed;
when a preloading request for the preloading control sent by the client is received, the preloading data corresponding to the preloading request is sent to the client; and when receiving an operation command for the preloading control, the client displays a page according to the preloading data.
10. The method of claim 9, wherein the step of determining the position of the substrate comprises,
the process of sending the preloaded control information corresponding to the sub page to the client side includes:
inquiring a third mapping table through the page identification of the sub page to obtain a preloading control corresponding to the page identification, and sending a first message carrying the corresponding relation between the page identification 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, inquiring a fourth mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and sending a second message to the client, wherein the second message carries the page identification, the control corresponding to the page identification and the corresponding relation of the click ratio of the control; the fourth mapping table is used for recording the corresponding relation among page identifiers, controls and click ratios.
11. The method of claim 10, wherein before the step of sending the preload control information corresponding to the sub-page to the client, the method further comprises:
acquiring the click ratio of a control in a sub-page 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 of 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, wherein the step of determining the position of the probe is performed,
the process for obtaining the click ratio of the control in the sub-page in the page comprises the following steps:
counting the total clicking times corresponding to all the controls in the sub page;
counting the clicking times 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 comprises:
sorting the controls according to the order of the click ratio from high to low; according to the sorting result, determining the first N controls as preloaded controls corresponding to the sub-pages, wherein N is a positive integer; or alternatively, the process may be performed,
and determining the control with the click ratio larger than the preset threshold value as a preloaded control corresponding to the sub page.
14. A page display device, for application to a client, the device comprising:
the acquisition module is used for acquiring a preloading control corresponding to at least one sub-page from among the controls included in the sub-page when the client displays the sub-page in the page according to the click ratio ordering of the controls; wherein the page comprises a plurality of sub-pages; the sub-page comprises at least one control, and the client is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed; acquiring pre-loading data corresponding to the pre-loading control;
and the display module is used for displaying the page according to the preloading data when receiving the operation command for the preloading control.
15. The apparatus of claim 14, wherein in the process of acquiring the preload control corresponding to the at least one sub-page, the acquiring module is specifically configured to:
inquiring a first mapping table through the page identification of the sub page to obtain a preloading control corresponding to the page identification; the first mapping table is used for recording the corresponding relation between the page identification and the preloading control; or alternatively, the process may be performed,
Inquiring a second mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and determining a preloading 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 page identifications, controls and click ratios; or alternatively, the process may be performed,
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 pre-loading control, and acquiring the pre-loading control corresponding to the sub-page according to the first message; or alternatively, the process may be performed,
and receiving a second message sent by the server, wherein the second message carries the page identification of the sub page, a control corresponding to the page identification and a corresponding relation of the click ratio of the control, and determining a preloaded control corresponding to the sub page according to the click ratio of the control.
16. The apparatus of claim 15, wherein the device comprises a plurality of sensors,
the acquisition module is further used for acquiring the click ratio of the control in the sub-page in the page and determining a preloading 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.
17. The apparatus of claim 16, wherein the obtaining module is specifically configured to count total clicking times corresponding to all controls in a sub-page in the page in a process of obtaining a clicking ratio of the controls in the sub-page; counting the clicking times corresponding to the controls in the sub page; determining the click ratio of the control according to the corresponding click times and the total click times of the control;
the acquisition module is specifically configured to sort the controls according to the order of the click ratio from high to low in the process of determining the preloaded controls corresponding to the sub-pages according to the click ratio of the controls; according to the sorting result, the first N controls are determined to be preloaded controls corresponding to the sub-pages, and N is a positive integer; or determining the control with the click ratio larger than the preset threshold as the preloaded control corresponding to the sub-page.
18. A page display device, characterized by being applied to a server, the device comprising:
the first sending module is used for sending data corresponding to the access request to the client when receiving the access request for the sub-page in the page sent by the client, and sending the pre-loading control information corresponding to the sub-page to the client; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page from among the controls included in the sub-pages according to the pre-loading control information and according to the click ratio ordering of the controls; the sub-page comprises at least one control, and the client is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed;
The second sending module is used for sending the pre-loading data corresponding to the pre-loading request to the client when the pre-loading request for the pre-loading control sent by the client is received; and when receiving an operation command for the preloading control, the client displays the page according to the preloading data.
19. The apparatus of claim 18, wherein the device comprises a plurality of sensors,
the first sending module is specifically configured to query a third mapping table through a page identifier of the sub page in a process of sending the information of the pre-load control corresponding to the sub page to the client, obtain the pre-load control corresponding to the page identifier, and send a first message carrying a correspondence between the page identifier and the pre-load control to the client; the third mapping table is used for recording the corresponding relation between the page identification and the preloading control; or, inquiring a fourth mapping table through the page identification of the sub page to obtain the click ratio of the control corresponding to the page identification, and sending a second message to the client, wherein the second message carries the page identification, the control corresponding to the page identification and the corresponding relation of the click ratio of the control; the fourth mapping table is used for recording the corresponding relation among page identifiers, controls and click ratios.
20. The apparatus of claim 19, wherein the apparatus further comprises:
the acquisition module is used for acquiring the click ratio of the control in the sub-page in the page and determining a preloaded 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 of 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 acquisition module is specifically configured to, in a process of acquiring the click ratio of the control in the sub-page in the page, count the total number of clicks corresponding to all the control in the sub-page, count the number of clicks corresponding to the control in the sub-page, and determine the click ratio of the control according to the number of clicks corresponding to the control and the total number of clicks corresponding to the control;
the acquisition module is specifically configured to sort the controls according to the order of the click ratio from high to low in the process of determining the preloaded controls corresponding to the sub-pages according to the click ratio of the controls; according to the sorting result, the first N controls are determined to be preloaded controls corresponding to the sub-pages, and N is a positive integer; or determining the control with the click ratio larger than the preset threshold as the preloaded control corresponding to the sub-page.
21. 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 from among the controls included in the sub-page when the terminal equipment displays the sub-page in the page according to the click ratio ordering of the controls; the terminal equipment is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed; acquiring pre-loading data corresponding to the pre-loading control; and if an operation command for the preloading control is received, displaying the page according to the preloading data.
22. A server, the server comprising:
the receiver is used for receiving an access request for the sub-pages in the page, which is sent by the client;
the transmitter is used for transmitting the data corresponding to the access request to the client and transmitting the preloading control information corresponding to the sub-page to the client; the client displays sub-pages in the page according to the data, and determines a pre-loading control corresponding to at least one sub-page from among the controls included in the sub-pages according to the pre-loading control information and according to the click ratio ordering of the controls; the sub-page comprises at least one control, and the client is used for displaying the page of the operated control after detecting that the control of the displayed sub-page is operated when the sub-page is displayed;
The receiver is further used for receiving a preloading request for the preloading control sent by the client;
the transmitter is further used for transmitting the pre-load data corresponding to the pre-load request to the client; when the client receives an operation command for the preloading control, page display is performed according to the preloading data.
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 CN109829077A (en) 2019-05-31
CN109829077B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333912B (en) * 2019-07-11 2023-04-18 百度在线网络技术(北京)有限公司 Method and device for prefetching applet data and computer readable storage medium
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
CN112346729B (en) * 2019-10-28 2024-01-26 杭州衣科信息技术股份有限公司 iOS platform interface engine processing method based on asynchronous disaster recovery service technology
CN110990733B (en) * 2019-10-31 2023-03-17 合肥美的电冰箱有限公司 Page loading method and device, electronic equipment and medium
CN111263176B (en) 2020-01-17 2021-07-06 北京字节跳动网络技术有限公司 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
CN113378085B (en) * 2021-05-31 2023-11-14 游艺星际(北京)科技有限公司 Page loading method, device, terminal and storage medium

Citations (11)

* 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
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
CN106648343A (en) * 2016-12-29 2017-05-10 广州阿里巴巴文学信息技术有限公司 Rolling page turning display method and apparatus for electronic book reading

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9576070B2 (en) * 2014-04-23 2017-02-21 Akamai Technologies, Inc. Creation and delivery of pre-rendered web pages for accelerated browsing
CN106339398B (en) * 2015-07-09 2019-10-18 广州市动景计算机科技有限公司 A kind of pre-reading method of Webpage, device and intelligent terminal

Patent Citations (11)

* 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
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
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

Also Published As

Publication number Publication date
CN109829077A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN109829077B (en) Page display method, device and equipment
WO2018177251A1 (en) Application program processing method, computer device and storage medium
US9195679B1 (en) Method and system for the contextual display of image tags in a social network
CN110059255B (en) Browser navigation method, device and medium
US20150234891A1 (en) Method and system for providing code scanning result information
CN107085600B (en) POI recommendation method, device, equipment and computer readable storage medium
CN108243219B (en) Information pushing method and device
CN107038194B (en) Page jump method and device
RU2010124946A (en) BUSINESS CARD SERVICES
CN111476015A (en) Document processing method and device, electronic equipment and storage medium
CN105808221A (en) Card type desktop realization method and apparatus
US20190073346A1 (en) Method And System For Image Tagging In A Social Network
CN106201237A (en) A kind of information collection method and device
CN110929129B (en) Information detection method, equipment and machine-readable storage medium
CN111400575A (en) User identification generation method, user identification method and device
CN111259274A (en) Information processing method, device, equipment and information display device
CN113220752A (en) Display method and device and electronic equipment
CN104573120A (en) Recommendation information obtaining method and device for terminal
CN105955988B (en) Information searching method and device
CN116401704A (en) Sensitive data identification method, electronic equipment and storage medium
CN110659406A (en) Searching method and device
KR100971474B1 (en) Mobile diary service system for providing multi-contents one-post function and method therefor
CN112416482B (en) Interface switching method and device
CN108632092B (en) Information management method and device
CN107145314B (en) Display processing method and device for display processing

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