Resource information processing method and device, computer storage medium and electronic device

By generating preloaded memory instances of the html page and intercepting buried point data, it is not loaded until the page is displayed, the problem of poor accuracy of buried point data output in the existing technology is solved, and the accurate synchronous display of data is achieved.

CN113297515BActive Publication Date: 2025-03-07ALIBABA GROUP HOLDING LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010684411.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-16
Publication Date
2025-03-07
Estimated Expiration
2040-07-16

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the buried data output of the html page is poor, and it is impossible to accurately predict the user's behavior trajectory, resulting in the buried data being reported when the user does not see the page, affecting the accuracy of the data.

Method used

By generating a memory instance of preload resource information and intercepting the buried point data during the preloading process, the buried point data is not loaded to the display page until the page is displayed, ensuring the accuracy of the data.

Benefits of technology

Accurate synchronous display of buried point data is realized, data errors caused by early reporting are avoided, and data accuracy and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113297515B_ABST
    Figure CN113297515B_ABST
Patent Text Reader

Abstract

The present application discloses a resource information processing method and device, a page processing method and device, a resource information interaction system, and a computer storage medium and an electronic device, wherein the processing method includes: generating a memory instance corresponding to the preloaded resource information according to the acquired preloaded resource information; in the process of preloading the memory instance, intercepting the embedded point data in the preloaded resource information, wherein the embedded point data is the data arranged in the preloaded resource information according to a pre-arranged position; according to the acquired display instruction for the memory instance, sending the embedded point data that can be displayed on the preloaded resource information display interface; thereby ensuring the accuracy of the embedded point data reporting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer application technology, and specifically to a resource information processing method and device, a page processing method and device, a resource information interaction system, and the present application also relates to a computer storage medium and an electronic device. Background Art

[0002] HTML stands for Hypertext Markup Language. HTML pages are an important form of presenting web page content on terminal devices. However, due to factors such as poor hardware of mobile devices, slow loading of network resources, and low efficiency of script execution, the opening speed of HTML resources is generally slow, which in turn affects the user experience of terminal device users.

[0003] In view of the above, the prior art can usually use pre-rendering technology to improve the opening speed of HTML pages. However, when implementing HTML page pre-rendering, the prior art cannot accurately predict the user's behavior trajectory, and the exposure data of the page will be reported before the user sees the page, resulting in poor accuracy of HTML page embedding and exposure data output. Summary of the invention

[0004] The present application provides a method for processing resource information to solve the problem of poor accuracy of output of buried point data in the prior art.

[0005] The present application provides a method for processing resource information, including:

[0006] Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0007] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information, wherein the embedded point data is data pre-set in the preloaded resource information;

[0008] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display.

[0009] In some embodiments, it also includes:

[0010] Adding preloading parameters to the preloading resource information;

[0011] The step of generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information includes:

[0012] A memory instance corresponding to the preloaded resource information is generated according to the address information in the preloaded resource information and the preloaded parameters.

[0013] In some embodiments, generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information includes:

[0014] By calling a rendering interface, a memory instance of the preloaded resource information is generated according to the address information in the preloaded resource information and the preload parameters.

[0015] In some embodiments, in the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded data in the preloaded resource information includes:

[0016] In the process of preloading the preloaded resource information according to the memory instance, the embedded point data is intercepted according to the generation order of the embedded point data in the preloaded resource information.

[0017] In some embodiments, it also includes:

[0018] The intercepted buried point data are stored in a buried point data queue according to the order in which the buried point data are generated.

[0019] In some embodiments, it also includes:

[0020] In the process of preloading the preloaded resource information according to the memory instance, a display event is configured to trigger the display of the preloaded resource information.

[0021] In some embodiments, in response to the display instruction of the preloaded resource information, displaying the preloaded resource information based on the memory instance, and loading the embedded data to the display page of the preloaded resource information for display, includes:

[0022] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0023] Sending the display instruction to the memory instance according to the display event;

[0024] According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the burying point data is loaded into the display page of the preloaded resource information for display in the order stored in the burying point data queue.

[0025] In some embodiments, in response to the display instruction of the preloaded resource information, displaying the preloaded resource information based on the memory instance, and loading the embedded data to the display page of the preloaded resource information for display, includes:

[0026] In response to the display instruction of the preloaded resource information, the burying point data is loaded into the display page of the preloaded resource information for display according to the storage order stored in the burying point data queue.

[0027] In some embodiments, generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information includes:

[0028] Determine the preloaded resource information according to the user's historical access data;

[0029] Storing the preloaded resource information in a preloaded task queue;

[0030] According to the preloading resource information obtained from the preloading task queue, a memory instance corresponding to the preloading resource information is generated.

[0031] The present application also provides a resource information processing device, including:

[0032] A generating unit, configured to generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0033] An interception unit, configured to intercept embedded point data in the preloaded resource information during the process of preloading the preloaded resource information according to the memory instance, wherein the embedded point data is data pre-set in the preloaded resource information;

[0034] A display unit is used to respond to the display instruction of the preloaded resource information, display the preloaded resource information based on the memory instance, and load the embedded point data to the display page of the preloaded resource information for display.

[0035] The present application also provides a method for processing resource information, including:

[0036] Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data;

[0037] Generate a memory instance corresponding to the preloaded resource information;

[0038] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0039] In some embodiments, the preloaded resource information includes address information and preload parameters of the preloaded resource information.

[0040] In some embodiments, generating a memory instance corresponding to the preloaded resource information includes:

[0041] By calling a rendering interface, a memory instance corresponding to the preloaded resource information is generated according to the address information and the preload parameters in the preloaded resource information.

[0042] In some embodiments, the obtaining of the preloaded resource information that needs to be preloaded and is determined based on the user's historical access data includes:

[0043] Acquire the preloaded resource information from a preload queue storing the preloaded resource information;

[0044] The generating a memory instance corresponding to the preloaded resource information includes:

[0045] Generate a corresponding memory instance according to the storage order of the preload resource information in the preload queue.

[0046] In some embodiments, it also includes:

[0047] Configuring a display event for triggering the display of the preloaded resource information;

[0048] The displaying of the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information includes:

[0049] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0050] Sending the display instruction to the memory instance according to the display event;

[0051] According to the display instruction, the preloaded resource information is displayed based on the memory instance.

[0052] The present application also provides a resource information processing device, including:

[0053] An acquisition unit, used to acquire preload resource information that needs to be preloaded according to the user's historical access data;

[0054] A generating unit, configured to generate a memory instance corresponding to the preloaded resource information;

[0055] A display unit is used to display the preloaded resource information based on the memory instance in response to a display instruction of the preloaded resource information.

[0056] The present application also provides a page processing method, including:

[0057] Generate a memory instance corresponding to the preloaded page information according to the preloaded page information;

[0058] In the process of preloading the preloaded page information according to the memory instance, intercepting the embedded point data in the preloaded page information; wherein the embedded point data is data pre-set in the preloaded page information;

[0059] In response to the display instruction of the preloaded page information, the preloaded page information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded page information for display.

[0060] The present application also provides a page processing device, comprising:

[0061] A generating unit, configured to generate a memory instance corresponding to the preloaded page information according to the preloaded page information;

[0062] An interception unit, used to intercept the embedded point data in the preloaded page information during the preloading process of the preloaded page information according to the memory instance; wherein the embedded point data is data pre-set in the preloaded page information;

[0063] A sending unit is used to respond to the display instruction of the preloaded page information, display the preloaded page information based on the memory instance, and load the embedded point data to the display page of the preloaded page information for display.

[0064] The present application also provides a resource information interaction system, including: a preloaded resource scheduling terminal and a client;

[0065] The preloading scheduling end sends preloading resource information;

[0066] The client generates a memory instance corresponding to the preloaded resource information based on the received preloaded resource information; in the process of preloading the preloaded resource information according to the memory instance, intercepts the embedded data in the preloaded resource information; wherein the embedded data is data pre-set in the preloaded resource information; in response to the display instruction of the preloaded resource information, displays the preloaded resource information based on the memory instance, and loads the embedded data to the display page of the preloaded resource information for display.

[0067] In some embodiments, the preloading scheduling end is used to add preloading parameters to the preloading resource information, and the client generates a memory instance corresponding to the preloading resource information according to the address information in the preloading resource information and the preloading parameters.

[0068] In some embodiments, the client generates a memory instance of the preloaded resource information according to the address information in the preloaded resource information and the preload parameters by calling a rendering interface.

[0069] In some embodiments, it also includes: a preloading resource prediction end, which predicts the preloading resource information according to the user's historical access data and sends the preloading resource information to the preloading resource scheduling end.

[0070] In some embodiments, the preloading resource prediction end predicts the preloading resource information according to the user's historical access data, and sends the preloading resource information to the preloading resource scheduling end, including:

[0071] Calculate the probability of pre-accessing resources based on the user's historical access data identification information;

[0072] Determining the preloaded resource information according to the probability;

[0073] The address information in the preloaded resource information is sent to the preloaded resource scheduling end.

[0074] In some embodiments, the preloading scheduling end stores the received preloading resource information into a preloading task queue.

[0075] In some embodiments, the client intercepts the embedded data in the preloaded resource information during the process of preloading the preloaded resource information according to the memory instance, including:

[0076] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data according to the generation order of the embedded point data in the preloaded resource information;

[0077] The intercepted buried point data are stored in the buried point data queue according to the generation order.

[0078] In some embodiments, the client displays the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information, and loads the embedded data to the display page of the preloaded resource information for display, including:

[0079] In response to the display instruction of the preloaded resource information, the burying point data is loaded into the display page of the preloaded resource information for display according to the storage order stored in the burying point data queue.

[0080] In some embodiments, the client configures a display event for triggering display of the preloaded resource information during the process of preloading the preloaded resource information according to the memory instance.

[0081] In some embodiments, the client displays the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information, and loads the embedded data to the display page of the preloaded resource information for display, including:

[0082] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0083] Sending the display instruction to the memory instance according to the display event;

[0084] According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the burying point data is loaded into the display page of the preloaded resource information for display in the order stored in the burying point data queue.

[0085] The present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;

[0086] When the program is read and executed, the following steps are performed:

[0087] Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0088] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information;

[0089] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display;

[0090] or,

[0091] Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data;

[0092] Generate a memory instance corresponding to the preloaded resource information;

[0093] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0094] The present application also provides an electronic device, including:

[0095] processor;

[0096] The memory is used to store a program for processing data generated by the network platform, and when the program is read and executed by the processor, the following steps are performed:

[0097] Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0098] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information;

[0099] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display;

[0100] or,

[0101] Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data;

[0102] Generate a memory instance corresponding to the preloaded resource information;

[0103] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0104] Compared with the prior art, this application has the following advantages:

[0105] The present application provides a method for processing resource information, in which a memory instance corresponding to the preloaded resource information is generated according to the preloaded resource, and in the process of preloading the preloaded resource information according to the memory instance, embedded point data in the preloaded resource information is intercepted, wherein the embedded point data is data pre-set in the preloaded resource information, and in response to a display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into a display page of the preloaded resource information for display; thereby, the embedded point data can be displayed synchronously while the preloaded resource information is being displayed, thereby ensuring the accuracy of the embedded point data reporting, and avoiding the problem of server data expansion caused by loading by displaying the preloaded resource information.

[0106] In addition, in the resource information processing method provided by the present application, by obtaining preloaded resource information that needs to be preloaded based on user historical access data, a memory instance corresponding to the preloaded resource information is generated, and in response to a display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, thereby increasing the possibility of the preloaded resources being accessed and avoiding the problem of server data expansion caused by blind loading. BRIEF DESCRIPTION OF THE DRAWINGS

[0107] Figure 1 It is a flow chart of an embodiment of a method for processing resource information provided by the present application;

[0108] Figure 2 It is a structural diagram of an embodiment of a resource information processing device provided by the present application;

[0109] Figure 3 This is an information interaction sequence diagram in an embodiment of a resource information interaction system provided by the present application;

[0110] Figure 4 It is a flow chart of an embodiment of a method for processing resource information provided by the present application;

[0111] Figure 5 It is a structural diagram of an embodiment of a resource information processing device provided by the present application;

[0112] Figure 6 It is a flow chart of an embodiment of a page processing method provided by the present application;

[0113] Figure 7 This is a schematic diagram of a terminal page display of an embodiment of a page processing method provided by the present application;

[0114] Figure 8It is a structural schematic diagram of an embodiment of a page processing device provided by the present application. DETAILED DESCRIPTION

[0115] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0116] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The descriptions used in this application and the appended claims, such as "a", "first", and "second", are not limitations on quantity or sequence, but are used to distinguish the same type of information from each other.

[0117] From the above background technology, it can be known that the processing method of preloading resources provided by the present application is to solve the problem of poor accuracy of point tracking and point tracking data exposure in the prior art. In order to better understand the technical solution of the present application, before describing the technical solution of the present application, the concept of the technical solution of the present application is first described in detail.

[0118] According to the description of the background technology and in combination with the actual application scenario, it can be known that in order to speed up the speed of opening HTML page resources by the client in the prior art, the HTML page resources are loaded in advance by pre-rendering, thereby improving the opening speed of HTML page resources, for example: according to the search results, the search results with the highest ranking are rendered in advance, thereby improving the response speed of HTML page resources. However, since it is impossible to accurately predict the user's behavior trajectory, and this pre-rendering method will cause the page buried data or exposure data to be reported before the user sees the page, thereby resulting in poor accuracy in the reporting of buried data or exposure data, and burying huge data risks for subsequent corresponding processing (for example: statistics) of buried data or exposure data. Because the buried data corresponds to different content at different times, when the user has not seen the buried data displayed on the page, it will be reported, which will inevitably lead to errors in the reported content. Therefore, the data processing method for pre-loading resources provided in the present application can ensure the accuracy of buried data and exposure data. A method for processing resource information provided by the present application will be described in detail below.

[0119] Please refer to Figure 1 As shown, Figure 1 This is a flow chart of an embodiment of a method for processing resource information provided by the present application. The processing method embodiment includes:

[0120] Step S101: generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information.

[0121] The resource information in step S101 can be an html page in this embodiment. The preloaded resource information can be understood as being able to quickly open the html page in the access request when the user issues an access request. The opened html page is the preloaded html page. In this embodiment, the html page can be understood as an html page on a mobile device, for example, an html5 page, which is an advanced web page technology. Compared with html4, html5 has more interactive functions, and one of its biggest advantages is that it supports multimedia on mobile devices. The invitations, slides, small games, etc. that you usually see are all html5 pages. There is essentially no difference between html5 pages and the pages you usually see on the Internet. In the following content, html pages, pages, and web pages refer to the same, and can all be regarded as html5 pages in this embodiment. Of course, in this embodiment, only pages are used as specific application scenarios for example. In any application scenario that requires preloading, the technical solution of the present application can be adopted. Therefore, the preloaded resource information is not limited to the single application scenario of page resources, for example, the preloading of video frames in video data in streaming media resources.

[0122] It is clear that the page obtained in step S101 is a page that needs to be preloaded, that is, the relevant data content of the page needs to be cached first, so as to facilitate subsequent rapid opening. Therefore, when facing a large number of pages, it is necessary to determine which pages are preloaded pages and which do not need to be preloaded. However, the preloaded page obtained in step S101 must be a page that needs to be preloaded.

[0123] In this embodiment, an application may include many pages. In order to simplify the distinction between preloaded pages and ordinary pages, preload parameters may be added to the address information of the preloaded page. That is, the preloaded page may include: the address information of the preloaded page and the preload parameters added for the address information. The preload parameters can be used to determine whether the page corresponding to the address information needs to be preloaded. In this embodiment, the preload parameters may be added to the end of the URL of the page address information, where preload, as the name implies, is a way of preloading, which declares to the browser a page resource that needs to be submitted for loading, and executes it immediately when the page resource is actually used, without waiting for network consumption.

[0124] In this embodiment, the preloaded resource information includes the address information of the preloaded page and the preload parameter preload added at the end of the address information, and the value of the preload parameter is true, that is, the preload=true parameter is added at the end of the address information. In this embodiment, the preload parameter preload is added to the end of the address information URL. Of course, it can also be added to other locations of the address information URL. The purpose is to determine that the address information needs to be preloaded in advance based on the preload parameter. The specific location of the addition is not limited. Among them, URL is the abbreviation of UniformResourceLocator, which can be understood as a kind of identification information of the page resource, and then the preload parameter is added. Of course, the preload parameter can also be set by other information of the preloaded page resource.

[0125] In the prior art, when preloading page resources, the developer of the page adds description information to the anchor point of the page, for example: <link rel="prerender"> , where link is a tag in HTML5 that defines the relationship between a document and an external resource; rel is the relationship between the current document and the linked document / resource specified in HTML5; prerender is preload. <link rel="prerender”> When a resource is requested, a Prerender resource request, i.e., a preload resource information request, is started. The browser preloads the anchor point with preloading (prerender) according to the description information of the preload resource information request. However, in this preloading method, the developer cannot predict the probability of the user accessing the preload anchor point. The browser blindly preloads according to the developer's description, which will increase the number of server requests. To avoid this phenomenon, in this embodiment, the preloaded page resource information obtained in step S101 can be obtained from the preloading task queue according to the user's historical access data. The so-called user historical access data can include the user's access history behavior data or the user's interaction method for the page. Among them, the access history behavior can be understood as the number of times a user visits a certain page, the length of stay, etc. The interaction method can be understood as the user accessing the page resource through a search method. The obtained preloading page resource information can determine the preloading page resource information based on at least one of the number of visits, the length of stay, and the ranking of the search results, and put the preloading page resource information into the preloading queue. Therefore, in this embodiment, the obtained preloading page resource information is obtained from the preloading queue and can improve the hit rate of user access and avoid the problem of server request expansion caused by blind loading.

[0126] In this embodiment, the preload task queue may include multiple preload tasks, that is, may include multiple preload page resource information. Of course, when there is no preload task queue, multiple preload resource information may be obtained, and a corresponding memory instance is generated for each preload resource information.

[0127] In step S101, for the acquired preloaded resource information, a memory instance corresponding to the preloaded resource information is generated, which can be generated by using the address information of the preloaded resource information and the preload parameters to obtain a memory instance for the preloaded page resource. In this embodiment, the generation of the memory instance can be achieved according to the preload parameters by calling the rendering interface in the WebView (page display control).

[0128] The WebView is a control based on the webkit engine (open source browser engine) that can parse DOM (Document Object Model) elements and display HTML pages. In the mobile terminal device based on the application scenario embodiment of this application, the use of the WebView control can better provide conditions for displaying HTML pages. The functions of the WebView component include directly displaying pages; displaying local HTML pages and laying them out through HTML; and the interaction between Java and JS, where JS is the abbreviation of JavaScript, a scripting language that does not require compilation and can also be understood as a logical execution language used by HTML pages.

[0129] In this embodiment, by adopting the WebView control, it is possible to load the html file for preloading page resources, that is, generate an html file, for example: the generation of the html file memory instance is realized through the WebView.loadUrl statement, and the interaction between java and js can be realized in the subsequent preloading process, wherein LoadUrl is a way for WebView to load data, that is, directly record the web page information according to the URL. Of course, LoadData can also be used for loading. LoadData is also a way for WebView to load data, but it mainly loads a section of html text. The specific loading method can be determined according to the actual need to preload the resources.

[0130] It can be understood that the preloading described in this embodiment can be understood as prerendering, that is, preloading the resource information to be displayed in advance. In other words, caching the resource information to be displayed so that the resource information can be quickly rendered and displayed when the user opens it.

[0131] It should be noted that the source of the preloaded resource information may include multiple methods, for example, obtained from other end sides, or obtained by the processing side itself.

[0132] Step S102: in the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information, wherein the embedded point data is data pre-set in the preloaded resource information;

[0133] The buried data in step S102 can be understood as data laid out according to the positions pre-arranged in the preloaded page. The data can be third-party data, for example, data pushed by a third party, of course, data pushed by the application system itself, or some related data associated with the specific time and released at a specific time.

[0134] The purpose of step S102 is to intercept the buried point data.

[0135] Therefore, the implementation process of interception can be to intercept the embedded data in the preloaded page resources in the JavaScript plug-in during the process of loading the memory instance through the WebView control.

[0136] In this embodiment, the interception of buried data is mainly completed by using the JavaScript script environment, and the interception methods may include: intercepting the location of the JavaScript plug-in script layout page file to intercept the buried data, intercepting the location of the buried data in the JavaScript plug-in script layout page, and intercepting the buried data.

[0137] The embedding location and order of the embedding data can be designed in the process of page development. Therefore, the specific implementation process of step S102 may include:

[0138] Step S102-1: in the process of preloading the memory instance of the preloaded resource information, intercepting the embedded point data according to the generation order of the embedded point data in the preloaded resource information;

[0139] Step S102-2: Storing the intercepted buried point data in the buried point data queue according to the generation order. In this embodiment, the intercepted buried point data can be cached in the buried point data cache queue according to the generation order.

[0140] It is understandable that in the step S102, after intercepting the buried point data, the operation behavior of the buried point data can be predicted, and based on the prediction result, it is determined whether the buried point data can be processed separately. The operation behavior can be understood as the behavior of clicking on the buried point data. The so-called separate processing means that if the prediction result is that the possibility of clicking on the buried point data is high, the next interface corresponding to the buried point data can be pre-loaded in advance.

[0141] It is understandable that whether the buried data is rendered synchronously with the page resource information is determined according to the type of the buried data. For example, if the buried data is the data content of the application platform itself, it can be rendered synchronously with the platform page resource information; if it is the data content embedded in the application platform by a third party, the buried data can be rendered asynchronously with the platform page resource information.

[0142] Step S103: In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display.

[0143] In this embodiment, the specific implementation process of step S103 may be, according to the display instruction obtained for the memory instance, displaying the embedded point data in the storage order stored in the embedded point data queue, specifically displaying the pre-set position in the preloaded resource information display page.

[0144] The display instruction in step S103 can be understood as an instruction to send the page to the mobile terminal device for display. Therefore, it can be understood that in the process of preloading the memory instance of the preloaded page resource, a display event is configured based on the JavaScript plug-in to trigger the display of the preloaded page resource, for example: registering an attachEvent, that is, the display event can also be called a binding event. Normally, attachEvent has the following parameters, namely: element, type and listener, where element is the object of the binding event, and the html node; type is the event name; listener is the event listening function to be bound.

[0145] When an access request is issued for the preloaded page resource, the display event for the preloaded resource information is obtained, and a display instruction is sent to the memory instance through the parameter content in the display event. In view of this, the specific implementation of step S103 may include:

[0146] Step S103-1: acquiring the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0147] Step S103-2: sending the display instruction to the memory instance according to the display event;

[0148] Step S103-3: According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the burying point data is loaded into the display page for displaying the preloaded resource information in the order stored in the burying point data queue for display.

[0149] It can be understood that based on the above-mentioned buried data and memory instance related information, this embodiment can also include: listening to access requests for preloaded resource information through configured display events, thereby sending display instructions and optimizing subsequent preloaded resource information. For example: it can be determined whether the preloaded resource information meets the output requirements based on the monitoring data for the preloaded access request, that is, whether the user has accessed the preloaded page resources. The monitoring data may include the number and duration of visits, thereby optimizing the preloading of resources.

[0150] In the step S103-3, according to the display instruction, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page displaying the preloaded resource information in the order stored in the embedded point data queue for display. It can be understood that when displaying the display page of the current preloaded resource information, the subsequent pages of the display page can also be preloaded in advance.

[0151] The above is a specific description of an embodiment of a method for processing resource information provided by the present application. Corresponding to the embodiment of a method for processing resource information provided above, the present application also discloses an embodiment of a device for processing resource information. Figure 2 Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0152] like Figure 2 As shown, Figure 2 : is a schematic diagram of a structure of an embodiment of a resource information processing device provided by the present application, and the processing device embodiment includes:

[0153] The generating unit 201 is used to generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information.

[0154] The generating unit 201 includes: a determining subunit, a storing subunit and an acquiring subunit.

[0155] The determining subunit is used to determine the preloaded resource information according to the user's historical access data;

[0156] The storage subunit is used to store the preload resource information in the preload task queue;

[0157] The acquisition subunit is used to acquire the preloading resource information from the preloading task queue.

[0158] The system further comprises: an adding unit configured to add preloading parameters to the preloading resource information. The generating unit may be configured to generate a memory instance corresponding to the preloading resource information according to the address information and the preloading parameters obtained in the preloading resource information.

[0159] The generating unit 201 is specifically used to generate a memory instance for the preloaded resource information according to the address information in the preloaded resource information and the preload parameters by calling a rendering interface. The rendering interface can be understood as a rendering interface of a WebView control. For the description of the WebView control and the specific implementation process of the generating unit 201, reference can be made to the description of step S101 above, which will not be repeated here.

[0160] The interception unit 202 is used to intercept the embedded data in the preloaded resource information during the preloading process of the preloaded resource information according to the memory instance, wherein the embedded data is data pre-set in the preloaded resource information.

[0161] The interception unit 202 may be specifically configured to intercept the embedded data according to the generation order of the embedded data in the preloaded resource information during the preloading process of the preloaded resource information according to the memory instance.

[0162] In this embodiment, it may also include: a storage unit, which is used to store the intercepted burying point data in a burying point data queue according to the order in which the burying point data is generated.

[0163] In this embodiment, the present invention may further include: a configuration subunit, which is used to configure a display event for triggering the display of the preloaded resource information during the preloading process of the memory instance.

[0164] The specific contents of the interception unit 202 can also be referred to the description of the above step S102, which will not be repeated here.

[0165] The display unit 203 is used to respond to the display instruction of the preloaded resource information, display the preloaded resource information based on the memory instance, and load the embedded point data to the display page of the preloaded resource information for display.

[0166] The sending unit 203 is specifically used to send the buried point data in the order stored in the buried point data queue according to the acquired display instruction for the memory instance. Because, usually, the buried point data needs to be processed in the HTML page development stage, for example, there will be a buried point data record after a block in the HTML page is seen by the user. Therefore, the buried point data is sequential. In this embodiment, the buried point data can also be sent in the order in which the buried point data is stored in the buried point data queue. The buried point data queue stores the buried point data about the preloaded HTML page. If the number of visits to the preloaded HTML page on the mobile device does not meet the browsing requirements, the buried point data about the preloaded HTML page in the buried point data cache queue can be released later to reduce the waste of storage space.

[0167] Based on the display event configured by the configuration subunit in the generating unit 202, the specific implementation process of the sending unit 203 may include:

[0168] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0169] Sending the display instruction to the memory instance according to the display event;

[0170] According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page displaying the preloaded resource information in the order stored in the embedded point data queue for display.

[0171] For a detailed description of the specific implementation process of the sending unit 203, reference may be made to the above step S103, and therefore, it will not be repeated here.

[0172] Based on the above content, this application also provides a resource information interaction system, such as Figure 3 As shown in FIG. 1 , the interactive system mainly describes the process of preloading resource information from the perspective of the execution subject in the system. The difference from the above-mentioned resource information processing method embodiment is that the resource information processing method embodiment mainly describes the processing process of preloading the underlying data. Figure 3 , Figure 3This is a data interaction sequence diagram of a resource information interaction system embodiment provided by the present application. The interaction system embodiment includes: a preloaded resource scheduling terminal and a client;

[0173] Before describing the embodiment of the data interaction system for pre-rendered resources, it should be noted that in this embodiment, the pre-rendered resources mainly refer to pre-rendered page resources, that is, the application scenario of the data interaction system for pre-rendered resources provided by this application is the pre-rendering of H5 page resources. In the following description, it can be understood that the pre-loaded resource information and the pre-loaded page resource information refer to the same thing.

[0174] The preloading scheduling end sends the preloading resource information; in this embodiment, the preloading scheduling end can obtain it from the preloading resource prediction end. Therefore, in this embodiment, it can also include: the preloading resource prediction end predicts the preloading resource information according to the user's historical access data, and sends the preloading resource information to the preloading resource scheduling end. The preloading resource prediction end predicts the preloading resource information according to the user's historical access data, and sends the preloading resource information to the preloading resource scheduling end. The specific implementation method may include:

[0175] Calculate the probability of pre-accessing resources based on the user's historical access data identification information;

[0176] Determining the preloaded resource information according to the probability;

[0177] The address information in the preloaded resource information is sent to the preloaded resource scheduling end.

[0178] Wherein, the historical access data may include the user's access history behavior data or the user's interaction mode for the page. Wherein, the access history behavior can be understood as the number of times a user visits a certain page, the length of stay, etc. The interaction mode can be understood as the user accessing the page resource by searching. The acquired preloaded page resource can determine the preloaded page resource according to at least one of the number of visits, the length of stay, and the sorting of the search results, and put the preloaded page resource into the preload queue. Therefore, in this embodiment, the acquired preloaded page resource is obtained from the preload queue and can improve the hit rate of user access, avoiding the problem of server request expansion caused by blind loading. In this embodiment, the historical access data identification information is page identification information, for example: the address information URL of the page. According to the user's historical access data identification information, the probability of pre-accessing resources can be calculated by adopting calculation methods such as Bayes to calculate the probability of pre-accessing page resources.

[0179] In this embodiment, the preload resource prediction end can also determine whether to recall the preload page resource based on the monitoring information of the preload scheduling end for the display event monitoring. If recalled, the preload page resource will be removed from the preload task queue. That is, it can be determined whether the preload resource information meets the output requirements based on the monitoring data for the preload access request, that is, whether the user has accessed the preload page resource. The monitoring data may include the number of visits and duration, so as to optimize the preloading of resources.

[0180] Based on the above content, it can be known that in this embodiment, the preloading scheduling end adds the received preloading resource information to the preloading task queue, and performs the preloading process on the preloading resource information. In this embodiment, the preloading process can be to add preloading parameters to the preloading resource information, and the preloading parameters can be specifically added to the address information of the preloading resource information, and then the preloading page resource information in the preloading task queue is scheduled and sent to the client for subsequent preloading processing.

[0181] It should be noted that the preloading scheduling end and the preloading prediction end can be combined with the description of the above step S101, and will not be described in detail here.

[0182] The client generates a memory instance corresponding to the preloaded resource information based on the received preloaded resource information; in the process of preloading the preloaded resource information according to the memory instance, intercepts the embedded data in the preloaded resource information; the embedded data can be data arranged in the preloaded resource information according to a pre-arranged position; in response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded data is loaded into the display page of the preloaded resource information for display.

[0183] The client, upon receiving the preloaded page resources from the preloaded resource scheduling end, generates a memory instance of the preloaded page resources by calling the rendering interface in WebView (page display control). The WebView is a control based on the webkit engine that can parse DOM elements and display HTML pages. In the mobile terminal device based on the application scenario embodiment of the present application, the use of the WebView control can better provide conditions for displaying HTML pages. The functions of the WebView component include directly displaying web pages; displaying local HTML pages, using HTML to lay out; and interaction between Java and JS. In this embodiment, the use of the WebView control can realize the HTML file for preloaded page resources, for example: the generation of memory instances is realized through the WebView.loadUrl statement, and the interaction between Java and JS can be realized in the subsequent preloading process, where JS is the abbreviation of JavaScript, a scripting language that does not require compilation and can also be understood as a logical execution language used by HTML pages.

[0184] In order to ensure the accuracy of the output of the buried point data (also known as exposure data) when the preloaded page is rendered and output on the client, it is necessary to store the intercepted buried point data of the preloaded resource information during the preloading process of the preloaded resource information according to the memory instance. In this embodiment, the client first needs to intercept the buried point data of the preloaded resource information, which may specifically include: in the process of preloading the memory instance of the preloaded resource information, according to the generation order of the buried point data in the preloaded resource information, intercepting the buried point data; after obtaining the intercepted buried point data, it is necessary to store the buried point data in the buried point data queue according to the generation order of the buried point data, and the storage may be performed by caching. This can avoid the situation where the buried data involved in the preloaded page resources are pre-exposed during the preloading process before being displayed on the client, and the user does not see the corresponding buried data content when the page is displayed. This will cause data errors in reporting the buried data, that is, statistical errors will be caused when the buried data are counted because the buried data are not displayed. For example, when clearing the buried data, the buried data is usually automatically reported and recorded after the page is opened, so that the corresponding buried data can be cleared according to the recorded data. At this time, the reported records will be inaccurate due to the problem of displaying the buried data, resulting in abnormalities in the subsequent clearing.

[0185] In this embodiment, the interception implementation process may be to intercept the embedded data in the preloaded page resources in the JavaScript plug-in during the process of loading the memory instance through the WebView control.

[0186] In this embodiment, the interception of buried data is mainly completed by using the JavaScript script environment, and the interception methods may include: intercepting the location of the JavaScript plug-in script layout (or implantation) page file to intercept the buried data, intercepting the location of the buried data in the JavaScript plug-in script layout page, and intercepting the buried data.

[0187] In this embodiment, the client sends the embedded data in the order stored in the embedded data queue according to the acquired display instruction for the memory instance. Among them, the display instruction can be understood as a display instruction for displaying the page resources. Therefore, it can be understood that in the process of preloading the memory instance of the preloaded page resource information, a display event for the preloaded page resource information is configured based on the JavaScript plug-in, for example: registering an attachevent. Normally, attachevent has the following parameters, namely: element, type and listener, wherein element is the object to which the event is bound, and the html node; type is the event name; listener is the event listening function to be bound.

[0188] When an access request is issued for the preloaded page resource, the display event is triggered, and a display instruction is sent to the memory instance through the parameter content in the display event. The display instruction can be understood as an instruction to display the preloaded resource information on the screen according to the memory instance. In view of this, the client may include:

[0189] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0190] Sending the display instruction to the memory instance according to the display event;

[0191] According to the display instruction, the preloaded resource information is displayed based on the memory instance. The display module of the client renders the preloaded resource information and the embedded point data and displays them on a display page.

[0192] It can be understood that based on the above-mentioned sent tracking data and memory instance related information, this embodiment can also include: monitoring access requests for preloaded resource information through configured display events, so as to optimize subsequent preloaded resource information. For example: it can be determined whether the preloaded resource information meets the output requirements based on the monitoring data for the preloaded access request, that is, whether the user has accessed the preloaded page resources. The monitoring data may include the number and duration of visits, so as to optimize the preloading of resources.

[0193] The client renders and outputs the memory instance and the received embedded point data according to the access request for the preloaded resource information.

[0194] The client renders and outputs the memory instance and the embedded data on the interface of the client according to the user's access request for the preloaded resource information, thereby improving the page opening speed. That is, the client can execute the HTML page life cycle events for the preloaded page resources according to the user's operation, such as: DocumentLoaded->Load->DOMContentAttached->BeforeUnload->Unload. Compared with the traditional HTML page life cycle events, namely: DocumentLoaded->Load->BeforeUnload->Unload, the difference is that this embodiment adds a display event (attachevent) when executing the HTML page life cycle events, thereby ensuring the accuracy of the embedded data reporting. Among them, DocumentLoaded loads the HTML file, and the DOM tree has been generated, Load all resources are loaded, DOMContentAttached embedded data display event, BeforeUnload whether to leave the current page, Unload exits the page.

[0195] The above description about the preloading resource scheduling end and the client end can refer to the description of the above steps S101-S103, and some repeated parts are omitted in the above description.

[0196] It should be noted that, with regard to the buried point data, after intercepting the buried point data, the operational behavior of the buried point data can be predicted, and based on the prediction result, it is determined whether the buried point data can be processed separately. The operational behavior can be understood as the behavior of clicking on the buried point data. The so-called separate processing means that if the prediction result is that the possibility of clicking on the buried point data is high, the next interface corresponding to the buried point data can be pre-loaded in advance.

[0197] It is understandable that, depending on the type of the buried data, it is determined whether the buried data is rendered synchronously with the page resource information. For example: if the buried data is the data content of the application platform itself, it can be rendered synchronously with the platform page resource information. If it is the data content embedded in the application platform by a third party, the buried data and the platform page resource information can be rendered asynchronously. It is understandable that in the step S102, with respect to the buried data, after intercepting the buried data, the operation behavior of the buried data can be predicted, and based on the prediction result, it is determined whether the buried data can be processed separately. The operation behavior can be understood as the behavior of clicking on the buried data. The so-called separate processing can be that if the prediction result is that the possibility of clicking on the buried data is high, the next interface corresponding to the buried data can be pre-loaded in advance.

[0198] It is understandable that whether the buried data is rendered synchronously with the page resource information is determined according to the type of the buried data. For example, if the buried data is the data content of the application platform itself, it can be rendered synchronously with the platform page resource information; if it is the data content embedded in the application platform by a third party, the buried data can be rendered asynchronously with the platform page resource information.

[0199] The type of the buried point data can be identified, and the bottom layer of the client renders and displays the buried point data after obtaining the buried point data.

[0200] It can be understood that the client's execution of "generating a memory instance corresponding to the preloaded resource information according to the received preloaded resource information; intercepting the embedded data in the preloaded resource information during the preloading process of the memory instance; the embedded data is the data arranged in the preloaded resource information according to the pre-arranged position; sending the embedded data that can be displayed on the preloaded resource information display page according to the acquired display instruction for the memory instance" can also be completed through the server. In this embodiment, for the H5 page, it is mainly for the terminal device to complete the corresponding process for the client.

[0201] Based on the above content, this application also provides a method for processing resource information, such as Figure 4 As shown, Figure 4 : is a flowchart of an embodiment of a method for processing resource information provided by the present application, and the processing method embodiment includes:

[0202] Step S401: obtaining preloaded resource information that needs to be preloaded based on user historical access data;

[0203] In this embodiment, the preloaded resource information includes: address information and preloaded parameters of the preloaded resource information.

[0204] The specific implementation process of step S401 may be:

[0205] Acquire the preloaded resource information from a preload queue storing the preloaded resource information;

[0206] It may also include: configuring a display event for triggering the display of the preloaded resource information.

[0207] Step S402: Generate a memory instance corresponding to the preloaded resource information;

[0208] In this embodiment, a rendering interface is called to generate a memory instance corresponding to the preloaded resource information according to the address information and the preload parameters in the preloaded resource information.

[0209] The specific implementation process of step S402 may include:

[0210] Generate a corresponding memory instance according to the storage order of the preload resource information in the preload queue.

[0211] For details of step S402, please refer to the description of step S101 above, which will not be repeated here.

[0212] Step S403: In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0213] The step S403 may specifically include:

[0214] Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information;

[0215] Sending the display instruction to the memory instance according to the display event;

[0216] According to the display instruction, the preloaded resource information is displayed based on the memory instance.

[0217] The above is an overview of an embodiment of a method for processing resource information provided in the present application. For the contents of this part, please refer to the description of steps S101-S103 and the description of the embodiment of the data interaction system for preloading resources provided above.

[0218] Based on the above content, the present application also provides a resource information processing device, such as Figure 5 As shown, the processing device embodiment includes:

[0219] An acquisition unit 501 is used to acquire preload resource information that needs to be preloaded according to user historical access data;

[0220] The preloaded resource information includes address information and preload parameters of the preloaded resource information.

[0221] The obtaining unit 501 may be specifically configured to obtain the preloaded resource information from a preload queue storing the preloaded resource information.

[0222] A generating unit 502, configured to generate a memory instance corresponding to the preloaded resource information;

[0223] The generating unit 502 may be specifically configured to generate a memory instance corresponding to the preloaded resource information according to the address information and the preload parameters in the preloaded resource information by calling a rendering interface.

[0224] The generating unit 502 acquires the preloaded resource information from the preloaded queue storing the preloaded resource information based on the acquiring unit 501, and generates a corresponding memory instance according to the storage order of the preloaded resource information in the preloaded queue.

[0225] It also includes: a configuration unit, which is used to configure a display event for triggering the display of the preloaded resource information.

[0226] The display unit 503 is used to display the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information.

[0227] The display unit 503 is based on the display event configured by the configuration unit, and its specific implementation may include: an acquisition subunit, a sending subunit and a display subunit; the acquisition subunit is used to acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information; the sending subunit is used to send the display instruction to the memory instance according to the display event; the display subunit is used to display the preloaded resource information based on the memory instance according to the display instruction.

[0228] Based on the above content, this application also provides a page processing method, please refer to Figure 6 As shown, the page preloading method embodiment is mainly described in combination with a specific application scenario. For example, the resource described in the above-mentioned preloading resource processing method embodiment can be an HTML page, and of course it can be other resources that need to be preloaded. Therefore, here, the description is mainly based on the page as the preloading resource. The description content of the following embodiment corresponds to the above-mentioned preloading resource processing method embodiment, so the description is relatively concise. For specific content, please refer to the above-mentioned steps S101-S104. The page preloading method embodiment provided in this application may include:

[0229] Step S601: Generate a memory instance corresponding to the preloaded page information according to the preloaded page information

[0230] For the specific implementation process of step S601, please refer to the description of step S101 above.

[0231] Step S602: In the process of preloading the preloaded page information according to the memory instance, intercepting the embedded point data in the preloaded page information; the embedded point data is data pre-set in the preloaded page information.

[0232] For the specific implementation process of step S602, please refer to the description of step S102 above.

[0233] Step S603: In response to the display instruction of the preloaded page information, the preloaded page information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded page information for display.

[0234] For the specific implementation process of step S603, please refer to the description of step S103 above.

[0235] To better understand the description of a page preloading method embodiment and a preloading resource processing method embodiment provided by this application, please refer to Figure 7 As shown, Figure 7 It is a schematic diagram of a terminal page display of an embodiment of a page processing method provided in the present application, that is, a schematic diagram of an application scenario. Figure 7 The comparison between the preloaded subpage (preloaded page on the right in the figure) and the non-preloaded subpage (normal page on the left in the figure) in the figure shows that the preloaded page of this application can display the buried data synchronously with the memory instance of the preloaded page. Figure 7 It can be seen that a page processing method embodiment provided by the present application can operate the application App on the user terminal device to enter the App homepage, and then trigger the supermarket control. When the corresponding supermarket page is opened, according to the received display instruction, the buried data can be quickly output to the supermarket page, thereby achieving avoidance and avoiding statistical errors in the statistical exposure rate of buried data due to delays or lags in the display of buried data. However, the prior art cannot predict the buried data, so it will cause multiple pre-loaded page requests to be sent to the server when the supermarket page is opened, which increases the number of server requests and further lags in the display of buried data. Figure 7 As shown in the figure, there is a lag in displaying the buried data on the ordinary page. At this time, there may be no display information of the buried data on the page. It can also be as follows Figure 7 The information shown cannot be displayed normally. In order to highlight the difference between the preloaded page and the normal page, Figure 7 Examples are given that do not display properly.

[0236] According to the above content, correspondingly, this application also provides a page processing device, please refer to Figure 8 As shown, the device embodiment includes:

[0237] A generating unit 801 is used to generate a memory instance corresponding to the preloaded page information according to the preloaded page information;

[0238] The interception unit 802 is used to intercept the embedded point data in the preloaded page information during the preloading process of the preloaded page information according to the memory instance; the embedded point data is data pre-set in the preloaded page information;

[0239] The display unit 803 is used to respond to the display instruction of the preloaded page information, display the preloaded page information based on the memory instance, and load the embedded point data to the display page of the preloaded page information for display.

[0240] For the specific content of the above-mentioned page preloading device embodiment, reference can also be made to the above-mentioned description of the preloading resource processing method and device embodiment, which will not be repeated here.

[0241] Based on the above content, the present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;

[0242] When the program is read and executed, the following steps are performed:

[0243] Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0244] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information;

[0245] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display;

[0246] or,

[0247] Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data;

[0248] Generate a memory instance corresponding to the preloaded resource information;

[0249] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0250] Based on the above content, the present application also provides an electronic device, including:

[0251] processor;

[0252] The memory is used to store a program for processing data generated by the network platform, and when the program is read and executed by the processor, the following steps are performed:

[0253] Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information;

[0254] In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information;

[0255] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display;

[0256] or,

[0257] Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data;

[0258] Generate a memory instance corresponding to the preloaded resource information;

[0259] In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance.

[0260] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0261] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0262] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0263] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0264] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A method for processing resource information, comprising: Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information; In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information, wherein the embedded point data is data pre-set in the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display.

2. The method for processing resource information according to claim 1, further comprising: Adding preloading parameters to the preloading resource information; The step of generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information includes: A memory instance corresponding to the preloaded resource information is generated according to the address information in the preloaded resource information and the preloaded parameters.

3. The method for processing resource information according to claim 2, wherein generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information comprises: By calling a rendering interface, a memory instance of the preloaded resource information is generated according to the address information in the preloaded resource information and the preload parameters.

4. According to the resource information processing method of claim 1, in the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded data in the preloaded resource information comprises: In the process of preloading the preloaded resource information according to the memory instance, the embedded point data is intercepted according to the generation order of the embedded point data in the preloaded resource information.

5. The method for processing resource information according to claim 1 or 4, further comprising: The intercepted buried point data are stored in a buried point data queue according to the order in which the buried point data are generated.

6. The method for processing resource information according to claim 1, further comprising: In the process of preloading the preloaded resource information according to the memory instance, a display event is configured to trigger the display of the preloaded resource information.

7. The method for processing resource information according to claim 6, wherein in response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display, comprising: Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information; Sending the display instruction to the memory instance according to the display event; According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page displaying the preloaded resource information in the order stored in the embedded point data queue for display.

8. The method for processing resource information according to claim 1, wherein in response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display, comprising: In response to the display instruction of the preloaded resource information, the burying point data is loaded into the display page displaying the preloaded resource information according to the storage order stored in the burying point data queue for display.

9. The method for processing resource information according to claim 1, wherein generating a memory instance corresponding to the preloaded resource information according to the preloaded resource information comprises: Determining the preloaded resource information according to the user's historical access data; Storing the preloaded resource information in a preloaded task queue; According to the preloading resource information obtained from the preloading task queue, a memory instance corresponding to the preloading resource information is generated.

10. A resource information processing device, comprising: A generating unit, configured to generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information; An interception unit, configured to intercept embedded point data in the preloaded resource information during the process of preloading the preloaded resource information according to the memory instance, wherein the embedded point data is data pre-set in the preloaded resource information; A display unit is used to respond to the display instruction of the preloaded resource information, display the preloaded resource information based on the memory instance, and load the embedded point data to the display page of the preloaded resource information for display.

11. A method for processing resource information, comprising: Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data; Generate a memory instance corresponding to the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded data in the preloaded resource information intercepted during the preloading process of the preloaded resource information according to the memory instance is loaded into the display page of the preloaded resource information for display. 12 . The resource information processing method according to claim 11 , wherein the preloaded resource information comprises address information and preload parameters of the preloaded resource information.

13. The resource information processing method according to claim 12, wherein generating a memory instance corresponding to the preloaded resource information comprises: By calling a rendering interface, a memory instance corresponding to the preloaded resource information is generated according to the address information and the preload parameters in the preloaded resource information.

14. The method for processing resource information according to claim 12, wherein the step of obtaining the preloaded resource information that needs to be preloaded based on the user's historical access data comprises: Acquire the preloaded resource information from a preload queue storing the preloaded resource information; The generating a memory instance corresponding to the preloaded resource information includes: Generate a corresponding memory instance according to the storage order of the preload resource information in the preload queue.

15. The method for processing resource information according to claim 11, further comprising: Configuring a display event for triggering the display of the preloaded resource information; The displaying of the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information includes: Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information; Sending the display instruction to the memory instance according to the display event; According to the display instruction, the preloaded resource information is displayed based on the memory instance.

16. A resource information processing device, comprising: An acquisition unit, used to acquire preload resource information that needs to be preloaded according to the user's historical access data; A generating unit, configured to generate a memory instance corresponding to the preloaded resource information; A display unit is used to respond to a display instruction of the preloaded resource information, display the preloaded resource information based on the memory instance, and load the embedded point data in the preloaded resource information intercepted during the preloading process of the preloaded resource information according to the memory instance into the display page of the preloaded resource information for display.

17. A page processing method, comprising: Generate a memory instance corresponding to the preloaded page information according to the preloaded page information; In the process of preloading the preloaded page information according to the memory instance, intercepting the embedded point data in the preloaded page information; wherein the embedded point data is data pre-set in the preloaded page information; In response to the display instruction of the preloaded page information, the preloaded page information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded page information for display.

18. A page processing device, comprising: A generating unit, configured to generate a memory instance corresponding to the preloaded page information according to the preloaded page information; An interception unit, used to intercept the embedded point data in the preloaded page information during the preloading process of the preloaded page information according to the memory instance; wherein the embedded point data is data pre-set in the preloaded page information; A display unit is used to respond to the display instruction of the preloaded page information, display the preloaded page information based on the memory instance, and load the embedded point data into the display page of the preloaded page information for display.

19. A resource information interaction system, comprising: Preload resource scheduling and client; The preload resource scheduling end sends preload resource information; The client generates a memory instance corresponding to the preloaded resource information based on the received preloaded resource information; in the process of preloading the preloaded resource information according to the memory instance, intercepts the embedded data in the preloaded resource information; wherein the embedded data is data pre-set in the preloaded resource information; in response to the display instruction of the preloaded resource information, displays the preloaded resource information based on the memory instance, and loads the embedded data to the display page of the preloaded resource information for display.

20. According to the resource information interaction system of claim 19, the preloading resource scheduling end is used to add preloading parameters to the preloading resource information, and the client generates a memory instance corresponding to the preloading resource information based on the address information in the preloading resource information and the preloading parameters.

21. The resource information interaction system according to claim 20, wherein the client generates a memory instance of the preloaded resource information according to the address information in the preloaded resource information and the preload parameters by calling a rendering interface.

22. The resource information interaction system according to claim 19, further comprising: The preloaded resource prediction end predicts the preloaded resource information according to the user's historical access data, and sends the preloaded resource information to the preloaded resource scheduling end.

23. The resource information interaction system according to claim 22, wherein the preloaded resource prediction end predicts the preloaded resource information according to the user's historical access data and sends the preloaded resource information to the preloaded resource scheduling end, comprising: Calculate the probability of pre-accessing resources based on the user's historical access data identification information; Determining the preloaded resource information according to the probability; The address information in the preloaded resource information is sent to the preloaded resource scheduling end.

24. The resource information interaction system according to claim 19, wherein the preloading resource scheduling end stores the received preloading resource information into a preloading task queue.

25. The resource information interaction system according to claim 19, wherein the client intercepts the embedded data in the preloaded resource information during the process of preloading the preloaded resource information according to the memory instance, comprising: In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data according to the generation order of the embedded point data in the preloaded resource information; The intercepted buried point data are stored in the buried point data queue according to the generation order.

26. The resource information interaction system according to claim 19 or 25, wherein the client displays the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information, and loads the embedded data to the display page of the preloaded resource information for display, including: In response to the display instruction of the preloaded resource information, the burying point data is loaded into the display page displaying the preloaded resource information in the storage order stored in the burying point data queue for display.

27. According to the resource information interaction system of claim 19, during the process of preloading the preloaded resource information according to the memory instance, the client is configured with a display event for triggering display of the preloaded resource information.

28. The resource information interaction system according to claim 27, wherein the client displays the preloaded resource information based on the memory instance in response to the display instruction of the preloaded resource information, and loads the embedded data to the display page of the preloaded resource information for display, including: Acquire the display event for the preloaded resource information according to the received access request for the preloaded resource information; Sending the display instruction to the memory instance according to the display event; According to the display instruction, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page displaying the preloaded resource information in the order stored in the embedded point data queue for display.

29. A computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform; When the program is read and executed, the following steps are performed: Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information; In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display; or, Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data; Generate a memory instance corresponding to the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded data in the preloaded resource information intercepted during the preloading process of the preloaded resource information according to the memory instance is loaded into the display page of the preloaded resource information for display.

30. An electronic device comprising: processor; The memory is used to store a program for processing data generated by the network platform, and when the program is read and executed by the processor, the following steps are performed: Generate a memory instance corresponding to the preloaded resource information according to the preloaded resource information; In the process of preloading the preloaded resource information according to the memory instance, intercepting the embedded point data in the preloaded resource information; the embedded point data is data pre-set in the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded point data is loaded into the display page of the preloaded resource information for display; or, Obtaining preloaded resource information that needs to be preloaded based on the user's historical access data; Generate a memory instance corresponding to the preloaded resource information; In response to the display instruction of the preloaded resource information, the preloaded resource information is displayed based on the memory instance, and the embedded data in the preloaded resource information intercepted during the preloading process of the preloaded resource information according to the memory instance is loaded into the display page of the preloaded resource information for display.

Citation Information

Patent Citations

  • Preloading method of browsed contents, and terminal

    CN105550356A