Page state determination method, apparatus and device

By determining the display area type of the page sub-page, the problem of low accuracy of tracking point reporting in the initial stage of page loading by terminal devices is solved, and the accuracy of tracking point reporting is improved only in the area that the user has browsed.

CN114265632BActive Publication Date: 2025-10-21BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111547585.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2025-10-21
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

In the initial stage of page loading, the accuracy of terminal device reporting of tracking points is low. This is because when multiple modules in the page are not rendered, all modules are located in the visualization area, resulting in the reporting of modules that the user has not browsed.

Method used

By determining the display area type of the sub-page in the page to be displayed, the page browsing status is determined according to the display area type, and the tracking point is reported only when the display area of ​​the sub-page is a visual area.

Benefits of technology

Improves the accuracy of terminal device reporting of tracking points, ensuring that only the page content that the user has browsed is reported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114265632B_ABST
    Figure CN114265632B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a page state determination method, device and equipment, the method comprising: determining a to-be-displayed page, the to-be-displayed page comprising a plurality of sub-pages; in response to a change in display size of a first sub-page in the plurality of sub-pages, obtaining a type of a display area of the first sub-page; and determining a page browsing state of the first sub-page according to the type of the display area. The accuracy of determining the page state is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device and apparatus for determining a page status. Background Art

[0002] During the page loading process, the terminal device can report the exposure of the modules in the page to obtain the process of users browsing the page.

[0003] Currently, when a module on a page is within the visual area of ​​a terminal device (e.g., the terminal device's display screen), the terminal device can track the module to record that the user has viewed the module. However, during the initial loading phase of a page, many modules on the page have not yet rendered their content (not expanded), and all modules on the page are within the visual area. This causes the terminal device to track all modules, even though the user has not viewed the module content on the page. This results in a low accuracy rate for tracking reports from the terminal device. Summary of the Invention

[0004] The present application provides a page status determination method, apparatus and device, which are used to solve the problem of low accuracy of terminal devices in reporting embedded points in the prior art.

[0005] In a first aspect, the present application provides a method for determining a page status, the method comprising:

[0006] Determining a page to be displayed, wherein the page to be displayed includes multiple sub-pages;

[0007] In response to a change in the display size of a first sub-page among the plurality of sub-pages, acquiring a type of a display area of ​​the first sub-page;

[0008] The page browsing status of the first sub-page is determined according to the type of the display area.

[0009] In a possible implementation, in response to a change in the display size of a first subpage among the multiple subpages, obtaining the type of the display area of ​​the first subpage includes:

[0010] Get the page height of the first subpage;

[0011] When it is determined that the page height of the first subpage is greater than a preset threshold, the type of the display area of ​​the first subpage is obtained.

[0012] In a possible implementation, obtaining the page height of the first subpage includes:

[0013] Determining a sub-page identifier of the first sub-page;

[0014] The sub-page identifier is determined as an input parameter of a first preset interface, and the first preset interface is called to obtain a page height of the first sub-page.

[0015] In a possible implementation, obtaining the type of the display area of ​​the first sub-page includes:

[0016] Determining a sub-page identifier of the first sub-page;

[0017] The sub-page identifier is determined as an input parameter of a second preset interface, and the second preset interface is called to obtain the type of the display area of ​​the first sub-page.

[0018] In a possible implementation, determining the page browsing status of the first sub-page according to the type of the display area includes:

[0019] If the type of the display area is a visual area display, determining that the page browsing state of the first sub-page is a browsed state;

[0020] If the type of the display area is a non-visual area display, it is determined that the page browsing state of the first sub-page is an unbrowsed state.

[0021] In a possible implementation, after determining that the page browsing status of the first sub-page is the browsed status, the method further includes:

[0022] Send the embedding information corresponding to the first sub-page to the server to indicate that the first sub-page has been viewed.

[0023] In a possible implementation, sending the embedding information corresponding to the first sub-page to the server includes:

[0024] Obtaining the reporting status corresponding to the first sub-page;

[0025] When it is determined that the reporting status corresponding to the first sub-page is an unreported status, the burying point information corresponding to the first sub-page is sent to the server.

[0026] In a possible implementation, after sending the embedding information corresponding to the first sub-page to the server, the method further includes:

[0027] Update the reporting status corresponding to the first sub-page to the reported status.

[0028] In a second aspect, the present application provides a device for determining a page status, the device comprising a first determining module, an acquiring module, and a second determining module, wherein:

[0029] The first determining module is used to determine a page to be displayed, wherein the page to be displayed includes multiple sub-pages;

[0030] The acquisition module is configured to acquire the type of the display area of ​​a first sub-page among the plurality of sub-pages in response to a change in the display size of the first sub-page;

[0031] The second determining module is configured to determine a page browsing status of the first sub-page according to a type of the display area.

[0032] In a possible implementation, the acquisition module is specifically configured to:

[0033] Get the page height of the first subpage;

[0034] When it is determined that the page height of the first subpage is greater than a preset threshold, the type of the display area of ​​the first subpage is obtained.

[0035] In a possible implementation, the acquisition module is specifically configured to:

[0036] Determining a sub-page identifier of the first sub-page;

[0037] The sub-page identifier is determined as an input parameter of a first preset interface, and the first preset interface is called to obtain a page height of the first sub-page.

[0038] In a possible implementation, the acquisition module is specifically configured to:

[0039] Determining a sub-page identifier of the first sub-page;

[0040] The sub-page identifier is determined as an input parameter of a second preset interface, and the second preset interface is called to obtain the type of the display area of ​​the first sub-page.

[0041] In a possible implementation manner, the second determining module is specifically configured to:

[0042] If the type of the display area is a visual area display, determining that the page browsing state of the first sub-page is a browsed state;

[0043] If the type of the display area is a non-visual area display, it is determined that the page browsing state of the first sub-page is an unbrowsed state.

[0044] In a possible implementation, the page status determination device further includes a sending module, wherein the sending module is configured to:

[0045] Send the embedding information corresponding to the first sub-page to the server to indicate that the first sub-page has been viewed.

[0046] In a possible implementation, the sending module is specifically configured to:

[0047] Obtaining the reporting status corresponding to the first sub-page;

[0048] When it is determined that the reporting status corresponding to the first sub-page is an unreported status, the burying point information corresponding to the first sub-page is sent to the server.

[0049] In a possible implementation, the page status determination device further includes an updating module, wherein the updating module is configured to:

[0050] Update the reporting status corresponding to the first sub-page to the reported status.

[0051] In a third aspect, the present application provides a page status determination device, including a processor and a memory;

[0052] The memory stores computer-executable instructions;

[0053] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the page status determination method as described in the first aspect.

[0054] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the page status determination method described in the first aspect.

[0055] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the page status determination method described in the first aspect.

[0056] The present application provides a method, apparatus and device for determining a page status, which determines a page to be displayed, wherein the page to be displayed includes multiple sub-pages, and in response to a change in the display size of a first sub-page among the multiple sub-pages, obtains the type of the display area of ​​the first sub-page, and determines the page browsing status of the first sub-page based on the type of the display area. In the above method, when the display size of the first sub-page changes, it indicates that the content of the first sub-page has been loaded. Therefore, based on the type of the display area of ​​the first sub-page, it is possible to accurately determine whether the user has browsed the first sub-page, and then determine whether to perform a buried point report for the first sub-page, thereby improving the accuracy of buried point reporting by the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;

[0058] Figure 2 A flowchart of a method for determining a page status provided in an embodiment of the present application;

[0059] Figure 3 A schematic diagram of a page to be displayed provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of a process for determining a display type provided in an embodiment of the present application;

[0061] Figure 5 A flowchart of another method for determining page status provided in an embodiment of the present application;

[0062] Figure 6 A schematic diagram of determining a page status provided in an embodiment of the present application;

[0063] Figure 7 A schematic diagram of a process of determining a page status provided by an embodiment of the present application;

[0064] Figure 8 A schematic diagram of the structure of a device for determining a page status provided in an embodiment of the present application;

[0065] Figure 9 A schematic diagram of the structure of another device for determining page status is provided for an embodiment of the present application;

[0066] Figure 10 Schematic diagram of the hardware structure of the page status determination device provided in this application. DETAILED DESCRIPTION

[0067] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0068] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0069] In the related art, a terminal device reports the modules in a page by burying points to obtain the user's browsing process. When a module on a page is located within the terminal device's visual area, the terminal device can report the module by burying points to record that the user has browsed the module. For example, when a content module on a page is located on the terminal device's display screen, the terminal device determines that the user has browsed the content of the content module and can report the buried points of the content module to confirm that the user has browsed the content module. However, in the initial stage of page loading, when multiple modules on the page have not yet rendered their content, all modules on the page are located within the visual area, and the terminal device will report buried points for multiple modules. For example, in the initial stage of page loading, when all modules on the page are not expanded and are located on the terminal device's display screen, the terminal device can report buried points for the modules located on the display screen. In this way, there is a situation where a module has not been browsed by the user, but the terminal device has already reported buried points (for example, the module loading speed is slow, and when the module is expanded, it is squeezed out of the visual area by other modules, making it impossible for the user to browse the module content, but the terminal device has already reported buried points for the module). This results in a low accuracy rate in the terminal device’s reporting of tracking points.

[0070] In order to solve the technical problem of low accuracy of buried point reporting by terminal devices in related technologies, an embodiment of the present application provides a page status determination method, which determines a page to be displayed including multiple sub-pages, obtains the page height of the first sub-page, and when it is determined that the page height of the first sub-page is greater than a preset threshold, obtains the type of display area of ​​the first sub-page, and determines the page browsing status of the first sub-page according to the type of display area. In this way, when the display size of the first sub-page changes, it indicates that the content of the first sub-page has been loaded. Therefore, according to the type of display area of ​​the first sub-page, it can be accurately determined whether the user has browsed the first sub-page, and then determine whether to report the buried point of the first sub-page, thereby improving the accuracy of the terminal device's buried point reporting.

[0071] Next, combine Figure 1 , the application scenarios of the embodiments of the present application are introduced.

[0072] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1 , including a terminal device. The display page of the terminal device includes a page to be displayed. The page to be displayed includes sub-page 1, sub-page 2 and sub-page 3, and sub-page 1, sub-page 2 and sub-page 3 are all located in the user's visual area.

[0073] See Figure 1When the size of sub-page 1 increases, it indicates that the content of sub-page 1 has been loaded. Since sub-page 1 is located on the display screen of the terminal device (the user's visual area) after the size increases, the terminal device determines that the page browsing status of sub-page 1 is viewed. In this way, when the display size of a sub-page changes, the position of the sub-page after the size change can accurately determine whether the user has viewed the sub-page, and then determine whether to report the sub-page's tracking data, thereby improving the accuracy of tracking data reporting by the terminal device.

[0074] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0075] Figure 2 This is a flow chart of a method for determining page status provided in an embodiment of the present application. Figure 2 , the method may include:

[0076] S201: Determine the page to be displayed.

[0077] The execution subject of the embodiments of the present application may be a terminal device, or a page status determination device provided in the terminal device. The page status determination device may be implemented by software or a combination of software and hardware. The terminal device may be any device with a display function. For example, the terminal device may be a mobile phone, a computer, a tablet computer, or other device.

[0078] The page to be displayed includes multiple subpages. Optionally, the subpages may be content modules within the page to be displayed. For example, the page to be displayed may include multiple content modules, each displaying different content. For example, the page to be displayed may be the page displayed when a shopping application is opened. Within the page to be displayed, the content corresponding to each product may be a subpage within the page to be displayed.

[0079] Optionally, the page to be displayed may be determined based on the page display request. Optionally, the page display request includes an identifier of the page to be displayed. For example, when the terminal device receives the page display request, the terminal device may determine the page to be displayed based on the identifier of the page to be displayed in the page display request.

[0080] Optionally, each sub-page in the page to be displayed has corresponding display content. For example, when the page to be displayed is opened, the content in the page to be displayed can be rendered to the corresponding sub-page, and when the sub-page is successfully rendered, the sub-page is fully expanded.

[0081] Next, combine Figure 3 , describe the page to be displayed.

[0082] Figure 3 This is a schematic diagram of a page to be displayed provided in an embodiment of the present application. Figure 3 , including a terminal device. A page to be displayed is displayed on a display screen of the terminal device. The page to be displayed includes subpage A, subpage B, and subpages. Subpage A and subpage B are displayed on the display screen of the terminal device. Subpage A and subpage B both include corresponding display content, and a user can browse the display page of subpage A and the display content of subpage B on the screen of the terminal device.

[0083] S202: In response to a change in the display size of a first sub-page among a plurality of sub-pages, obtain a type of a display area of ​​the first sub-page.

[0084] Optionally, the first subpage may be a page whose display size changes. For example, the terminal device includes subpage A and subpage B. If the display size of subpage A increases, the first subpage is determined to be subpage A.

[0085] Optionally, the type of the display area of ​​the first subpage can be obtained according to the following feasible implementation method; the page height of the first subpage can be obtained, and when the page height of the first subpage is greater than a preset threshold, the type of the display area of ​​the first subpage can be obtained. Optionally, the page height of the first subpage can be the display size of the first subpage. For example, if the width of the display size of the first subpage is 2 cm, the page height of the first subpage is determined to be 2 cm. If the width of the display size of the first subpage is 5 cm, the page height of the first subpage is determined to be 5 cm.

[0086] Optionally, the preset threshold value can be any value. For example, the preset threshold value can be 0. When the page height of the first subpage in the page to be displayed is 0, it indicates that the corresponding content has not been loaded in the first subpage, that is, the first subpage is not expanded. When the page height of the first subpage in the page to be displayed is greater than 0, it indicates that the corresponding content has been loaded in the first subpage, that is, the first subpage has been expanded. For example, the preset threshold value can be any value such as 0 or 1, and this embodiment of the present application is not limited to this.

[0087] Optionally, the page height of the first page can be obtained according to the following feasible implementation method: determine the subpage identifier of the first subpage, determine the subpage identifier as an input parameter of the first preset interface, and call the first preset interface to obtain the page height of the first subpage. Optionally, the first preset interface is used to obtain the page height of the subpage. For example, the first preset interface can be a ResizeObserver interface, through which the page height corresponding to the subpage can be directly determined. For example, if the page identifier of the first subpage is used as the input parameter corresponding to the ResizeObserver interface, when the terminal device calls the ResizeObserver interface, the ResizeObserver interface can obtain the page size of the first subpage, so that it can accurately determine whether the size of the first subpage has changed, and then accurately determine the page browsing status of the first subpage.

[0088] Optionally, the page identifier of the first subpage can be determined according to the following feasible implementation method: obtaining a first preset relationship. Optionally, the first preset relationship includes at least one subpage and an identifier corresponding to each subpage. For example, the first preset relationship can be as shown in Table 1:

[0089] Table 1

[0090]

[0091]

[0092] It should be noted that Table 1 is only an exemplary description of the first preset relationship, and does not limit the first preset relationship.

[0093] The page identifier of the first subpage is determined based on the first subpage and the first preset relationship. For example, if the first subpage in the page to be displayed is subpage 1, the subpage identifier of the first subpage is identifier 1; if the first subpage in the page to be displayed is subpage 2, the subpage identifier of the first subpage is identifier 2; if the first subpage in the page to be displayed is subpage 3, the subpage identifier of the first subpage is identifier 3.

[0094] Optionally, the type of the display area is a visual area display or a non-visual area display. Optionally, the visual area is an area that can be browsed by the user. For example, the visual area can be a display area on a display screen of a terminal device, and the user can browse the content in the display area on the display screen.

[0095] Optionally, the non-visual area is an area that the user cannot browse. For example, the non-visual area can be an area outside the display area of ​​the display screen of the terminal device. For example, the non-visual area is an area outside the display area of ​​the terminal device, and the user cannot browse the content in the non-visual area.

[0096] Optionally, the type of the display area of ​​the first sub-page can be obtained according to the following feasible implementation method: the type of the display area of ​​the first sub-page is determined according to the display position of the first sub-page in the terminal device. Optionally, if the display position of the first sub-page is located within the visualization area, the type of the display area of ​​the first sub-page is determined to be visualization area display. For example, when the size of the first sub-page changes, if the first sub-page is located within the display screen of the terminal device, the user can browse to the first sub-page, and the type of the display area of ​​the first sub-page is visualization area display.

[0097] Optionally, if the display position of the first sub-page is within the non-visual area, the type of the display area of ​​the first sub-page is determined to be a non-visual area display. For example, when the size of the first sub-page changes, if the first sub-page is not displayed on the display screen of the terminal device, the terminal device determines that the type of the display area of ​​the first sub-page is a non-visual area display.

[0098] Optionally, the display position of the first sub-page on the terminal device can be determined according to the following feasible implementation method: determining a sub-page identifier of the first sub-page, determining the sub-page identifier as an input parameter of a second preset interface, and calling the second preset interface to obtain the type of the display area of ​​the first sub-page. Optionally, determining the page identifier of the first sub-page is described in Table 1 and will not be further described in detail in this embodiment of the present application.

[0099] Optionally, the second preset interface may be IntersectionObserver, through which the display position of the sub-page can be directly determined, thereby obtaining the type of the display area of ​​the first sub-page. For example, if the page identifier of the first sub-page is used as the input parameter corresponding to the IntersectionObserver interface, when the terminal device calls the IntersectionObserver interface, the IntersectionObserver interface can obtain the display position of the first sub-page. If the display position is within the visual area, the type of the display area of ​​the first sub-page is determined to be a visual area display; if the display position is within the non-visual area, the type of the display area of ​​the first sub-page is determined to be a non-visual area display. In this way, it is possible to accurately determine whether the expanded first sub-page is within the visual area, thereby improving the accuracy of determining the page status.

[0100] Next, combine Figure 4 , the process of determining the type of the display area of ​​the first sub-page is described.

[0101] Figure 4 This is a schematic diagram of a process for determining the type of a display area provided in an embodiment of the present application. Figure 4 , including a terminal device. A display screen of the terminal device displays a page to be displayed. The page to be displayed includes subpage 1, subpage 2, and subpage 3. The page height of subpage 1 is 0, the page height of subpage 2 is 0, and the page height of subpage 3 is 0.

[0102] See Figure 4 , the page heights of subpage 1, subpage 2, and subpage 3 are all increased. After the page height of subpage 1 is increased, it is determined that subpage 1 is located in the visual area of ​​the terminal device. After the page height of subpage 2 is increased, it is determined that subpage 2 is located in the visual area of ​​the terminal device. After the page height of subpage 3 is increased, it is determined that subpage 3 is located in the non-visual area of ​​the terminal device (the user cannot browse to subpage 3 on the display screen, so subpage 3 is not shown in the figure). The terminal device determines that the display area type of subpage 1 and subpage 2 is visual area display, and the terminal device determines that the display area type of subpage 3 is non-visual area display.

[0103] S203: Determine the page browsing status of the first subpage according to the type of the display area.

[0104] Optionally, the page browsing status is a browsed state or an unbrowsed state. The page browsing status is used to indicate whether the user has browsed the first sub-page. For example, if the page browsing status of the first sub-page A in the page to be displayed is a browsed state, it means that the user has browsed the first sub-page A. If the page browsing status of the first sub-page B in the page to be displayed is an unbrowsed state, it means that the user has not browsed the first sub-page B.

[0105] Optionally, the page browsing status can be a tracking point reported by the terminal device. For example, if the page browsing status of the first sub-page is viewed, the terminal device reports the first sub-page to confirm that the user has viewed the first sub-page. If the page browsing status of the first sub-page is not viewed, the terminal device does not report the first sub-page to confirm that the user has not viewed the first sub-page.

[0106] Optionally, the page browsing status of the first sub-page can be determined according to the following feasible implementation method: if the type of the display area is a visual area display, the page browsing status of the first sub-page is determined to be a browsed state; if the type of the display area is a non-visual area display, the page browsing status of the first sub-page is determined to be an unbrowsed state. For example, if the type of the display area of ​​the first sub-page is a visual area display, it means that after the display size of the first sub-page changes, the first sub-page is still located in the display area of ​​the terminal device, and the user can browse to the first sub-page, so the page browsing status of the first sub-page is determined to be a browsed state; if the type of the display area of ​​the first sub-page is a non-visual area display, it means that after the display size of the first sub-page changes, the first sub-page is not displayed in the display area of ​​the terminal device, and the user cannot browse to the first sub-page, so the page browsing status of the first sub-page is determined to be an unbrowsed state.

[0107] An embodiment of the present application provides a page status determination method, which determines a page to be displayed including multiple sub-pages, obtains the page height of the first sub-page, and when it is determined that the page height of the first sub-page is greater than a preset threshold, obtains the type of the display area of ​​the first sub-page, and determines the page browsing status of the first sub-page based on the type of the display area. In the above method, when the display size of the first sub-page changes, it means that the content of the first sub-page has been loaded. If the display area type of the first sub-page is a visual area display, it means that after the content of the first sub-page is loaded, the first sub-page is still located in the display area of ​​the terminal device. Therefore, the user can browse to the first sub-page in the terminal device, and then determine that the page browsing status of the first sub-page is browsed (that is, the buried point of the first sub-page is reported). If the display area type of the first sub-page is a non-visual area display, it means that after the content of the first sub-page is loaded, the first sub-page is not in the display area of ​​the terminal device. Therefore, the user cannot browse to the first sub-page in the terminal device, and then determine that the page browsing status of the first sub-page is not browsed (that is, the buried point of the first sub-page is not reported). In this way, it is possible to accurately determine whether the user has browsed the first sub-page, and then determine whether to report the buried point of the first sub-page, thereby improving the accuracy of the terminal device's buried point reporting.

[0108] exist Figure 2 Based on the embodiment shown below, combined with Figure 5 , the process of the above-mentioned page status determination method is described in detail.

[0109] Figure 5 This is a flowchart of another method for determining page status provided in an embodiment of the present application. Figure 5 , the process method includes:

[0110] S501: Determine the page to be displayed.

[0111] The page to be displayed includes multiple sub-pages.

[0112] It should be noted that the execution process of step S501 can refer to step S201, and this embodiment of the present application will not be further described.

[0113] S502: In response to a change in the display size of a first sub-page among a plurality of sub-pages, obtain a type of a display area of ​​the first sub-page.

[0114] The type of the display area is visual area display or non-visual area display.

[0115] It should be noted that the execution process of step S502 can refer to step S202, and the embodiment of the present application is not limited to this.

[0116] S503: Determine the page browsing status of the first subpage according to the type of the display area.

[0117] The page browsing status is either browsed or unbrowsed.

[0118] Next, combine Figure 6 , the page browsing status of determining the first sub-page is explained.

[0119] Figure 6 This is a schematic diagram of determining the page browsing status provided by an embodiment of the present application. Figure 6 , including a terminal device. The terminal device includes subpage 1 and subpage 2. The contents of subpage 1 and subpage 2 are not filled, and the height of the page size is 0. Therefore, subpage 1 and subpage 2 are both located within the visualization area of ​​the terminal device.

[0120] See Figure 6 When the contents of sub-page 1 and sub-page 2 are loaded, the heights of the page sizes of sub-page 1 and sub-page 2 are increased, and sub-page 1 is located within the visualization area. Since the height of sub-page 1 is larger, sub-page 2 is squeezed out of the visualization area, and sub-page 2 is located within the non-visualization area. The terminal device determines that the page browsing status of sub-page 1 is a browsable state, and the page browsing status of sub-page 2 is a non-browsable state.

[0121] S504. If the page browsing status of the first sub-page is the browsed status, the embedding information corresponding to the first sub-page is sent to the server to indicate that the first sub-page has been browsed.

[0122] When the page browsing status of the first sub-page is in the browsed state, the terminal device may send the tracking information corresponding to the first sub-page to the server. For example, if the page browsing status of the first sub-page is in the browsed state, the terminal device may determine that the user has browsed the first sub-page, and the terminal device may send the tracking information of the first sub-page to the server.

[0123] Optionally, the tracking information is used to obtain the process of the user browsing the page to be displayed. For example, if the server receives the tracking information corresponding to the first sub-page A, it means that the user has browsed the first sub-page A. If the server does not receive the tracking information corresponding to the first sub-page B, it means that the user has not browsed the first sub-page B.

[0124] Optionally, the burying point information corresponding to the first sub-page can be sent to the server according to the following feasible implementation method: obtain the reporting status corresponding to the first sub-page. The reporting status is used to indicate whether the first sub-page has reported the burying point information. Optionally, the reporting status is a reported status or a reported status. For example, if the reporting status of the first sub-page is a reported status, it means that the first sub-page has previously reported the burying point information. If the reporting status of the first sub-page is a non-reported status, it means that the first sub-page has not previously reported the burying point information.

[0125] When it is determined that the reporting status corresponding to the first sub-page is the unreported status, the tracking information corresponding to the first sub-page is sent to the server. For example, when the page browsing status of the first sub-page is the browsed status, if the reporting status corresponding to the first sub-page is the reported status, it means that the first sub-page has previously reported the tracking information. Therefore, the terminal device may not send the tracking information corresponding to the first sub-page to the server. If the reporting status corresponding to the first sub-page is the unreported status, it means that the first sub-page has not previously reported the tracking information. Therefore, the terminal device may send the tracking information corresponding to the first sub-page to the server.

[0126] S505: Update the reporting status corresponding to the first sub-page to a reported status.

[0127] Optionally, after the terminal device sends the burying point information corresponding to the first sub-page to the server, the terminal device can update the reporting status corresponding to the first sub-page to the reported status, so as to avoid repeatedly sending the burying point information corresponding to the first sub-page to the server, thereby saving system resources.

[0128] It is worth noting that the tracking information used in the context of the embodiment of the present application can be data authorized for use by the user, or data permitted for use by laws and regulations.

[0129] An embodiment of the present application provides a method for determining a page status, wherein a terminal device determines a page to be displayed, and in response to a change in the display size of a first sub-page among a plurality of sub-pages, obtains the type of the display area of ​​the first sub-page, and determines the page browsing status of the first sub-page based on the type of the display area. If the page browsing status of the first sub-page is a browsed state, the terminal device sends the buried point information corresponding to the first sub-page to the server to indicate that the first sub-page has been browsed, and updates the reporting status corresponding to the first sub-page to a reported state. In this way, when the display size of the first sub-page changes, it indicates that the content of the first sub-page has been loaded. Therefore, based on the type of the display area of ​​the first sub-page, it is possible to accurately determine whether the user has browsed the first sub-page, and accurately report the buried point of the first sub-page, thereby improving the accuracy of the buried point reporting by the terminal device.

[0130] Based on any of the above embodiments, Figure 7 , the process of the above-mentioned page status determination method is explained.

[0131] Figure 7 This is a process diagram of a method for determining page status provided in an embodiment of the present application. Figure 7 , including terminal devices. The terminal device includes page 101, page 102, page 103, and page 104. Please refer to page 101. Page 101 includes subpage 1, subpage 2, subpage 3, subpage 4, and subpage 5. In page 101, the page contents of subpage 1, subpage 2, subpage 3, subpage 4, and subpage 5 are not filled, and the height of the page size is 0. Therefore, subpage 1, subpage 2, subpage 3, subpage 4, and subpage 5 are all located within the visual area of ​​the terminal device.

[0132] Please refer to page 102. The content of sub-page 2 is filled, and the height of the page size of sub-page 2 is not 0. The terminal device determines that sub-page 2 is still within the visualization area of ​​the terminal device. Therefore, the terminal device determines that the page browsing status of sub-page 2 is browsed. Since sub-page 2 has not yet been reported, the terminal device reports the corresponding buried point information of sub-page 2 and marks the reporting status of sub-page 2 as reported.

[0133] Please refer to page 103. The contents of subpage 1, subpage 3, subpage 4, and subpage 5 are all filled, and the height of the page size of subpage 1, subpage 3, subpage 4, and subpage 5 is not 0. The terminal device determines that subpage 1 and subpage 2 are still within the visual area of ​​the terminal device, and determines that subpage 3, subpage 4, and subpage 5 are within the non-visual area of ​​the terminal device. Therefore, the terminal device determines that the page browsing status of subpage 1 and subpage 2 is browsed, and the terminal device determines that the page browsing status of subpage 3, subpage 4, and subpage 5 is unbrowsed. Since subpage 1 has not yet been buried and subpage 2 has been buried for hundreds of times, the terminal device reports the buried information corresponding to subpage 1 and marks the reporting status of subpage 1 as reported.

[0134] As shown on page 104, when the user swipes the terminal device's display screen upward, part of the content of subpage 1 falls outside the visible area, while the content of subpages 3 and 4 falls within the visible area. The terminal device's visible area includes subpages 1, 2, 3, and 4. Since the heights of subpages 3 and 4 are not zero, the terminal device determines that subpages 1, 2, 3, and 4 have been viewed, while the terminal device determines that subpage 5 has not been viewed. Since subpages 1 and 2 have already reported tracking information, the terminal device reports tracking information for subpages 3 and 4 and marks them as reported. This way, when the display size of a subpage changes, it indicates that the subpage's content has been loaded. Therefore, based on whether the subpage is within the visible area, it is possible to accurately determine whether the user has viewed the subpage and accurately report tracking information for the subpage, thereby improving the accuracy of tracking reporting by the terminal device.

[0135] Figure 8 This is a schematic diagram of the structure of a device for determining page status provided in an embodiment of the present application. Figure 8 The page status determination device 10 includes a first determination module 11, an acquisition module 12, and a second determination module 13, wherein:

[0136] The first determining module 11 is used to determine a page to be displayed, where the page to be displayed includes multiple sub-pages;

[0137] The acquisition module 12 is configured to acquire the type of the display area of ​​a first sub-page among the plurality of sub-pages in response to a change in the display size of the first sub-page;

[0138] The second determining module 13 is configured to determine the page browsing status of the first sub-page according to the type of the display area.

[0139] In a possible implementation, the acquisition module 12 is specifically configured to:

[0140] Get the page height of the first subpage;

[0141] When it is determined that the page height of the first subpage is greater than a preset threshold, the type of the display area of ​​the first subpage is obtained.

[0142] In a possible implementation, the acquisition module 12 is specifically configured to:

[0143] Determining a sub-page identifier of the first sub-page;

[0144] The sub-page identifier is determined as an input parameter of a first preset interface, and the first preset interface is called to obtain a page height of the first sub-page.

[0145] In a possible implementation, the acquisition module 12 is specifically configured to:

[0146] Determining a sub-page identifier of the first sub-page;

[0147] The sub-page identifier is determined as an input parameter of a second preset interface, and the second preset interface is called to obtain the type of the display area of ​​the first sub-page.

[0148] In a possible implementation manner, the second determining module 13 is specifically configured to:

[0149] If the type of the display area is a visual area display, determining that the page browsing state of the first sub-page is a browsed state;

[0150] If the type of the display area is a non-visual area display, it is determined that the page browsing state of the first sub-page is an unbrowsed state.

[0151] The page status determination device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0152] The page status determination device shown in the embodiment of the present application can be a chip, a hardware module, a processor, etc. Of course, the page status determination device can be in other forms, and the embodiment of the present application does not specifically limit this.

[0153] Figure 9 The present invention provides another structural diagram of a device for determining page status. Figure 8 Based on the examples shown, see Figure 9The page status determination device 10 further includes a sending module 14, which is configured to:

[0154] Send the embedding information corresponding to the first sub-page to the server to indicate that the first sub-page has been viewed.

[0155] In a possible implementation, the sending module 14 is specifically configured to:

[0156] Obtaining the reporting status corresponding to the first sub-page;

[0157] When it is determined that the reporting status corresponding to the first sub-page is an unreported status, the burying point information corresponding to the first sub-page is sent to the server.

[0158] In another possible implementation, the page status determination device 10 further includes an updating module 15, and the updating module 15 is configured to:

[0159] Update the reporting status corresponding to the first sub-page to the reported status.

[0160] The page status determination device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0161] The page status determination device shown in the embodiment of the present application can be a chip, a hardware module, a processor, etc. Of course, the page status determination device can be in other forms, and the embodiment of the present application does not specifically limit this.

[0162] Figure 10 Schematic diagram of the hardware structure of the page status determination device provided for this application. Figure 10 The page status determination device 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 can communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 is used to store program instructions, and the processor 21 is used to call the program instructions in the memory to execute the page status determination method shown in any of the above method embodiments.

[0163] Optionally, the page status determination device 20 may further include a communication interface, which may include a transmitter and / or a receiver.

[0164] Optionally, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASICs). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in this application may be directly implemented by a hardware processor or implemented by a combination of hardware and software modules in the processor.

[0165] The present application provides a readable storage medium having a computer program stored thereon; the computer program is used to implement the page status determination method as described in any of the above embodiments.

[0166] An embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed, a computer executes the above-mentioned page status determination method.

[0167] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-mentioned method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.

[0168] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable terminal device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable terminal device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0169] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0170] These computer program instructions can also be loaded onto a computer or other programmable terminal device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0171] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations.

[0172] In this application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". In this application, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In this application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

Claims

1. A method for determining page status, the method being applied to the initial stage of page loading, characterized in that: include: Determining a page to be displayed, wherein the page to be displayed includes multiple sub-pages; When it is determined that the page height of a first subpage among the plurality of subpages is greater than a preset threshold, determining a subpage identifier of the first subpage; Determining the sub-page identifier as an input parameter of a second preset interface, and calling the second preset interface to obtain the type of the display area of ​​the first sub-page; If the type of the display area is a visual area display, determining that the page browsing status of the first sub-page is a browsed state; obtaining a reporting status corresponding to the first sub-page; and when determining that the reporting status corresponding to the first sub-page is an unreported state, sending the embedding information corresponding to the first sub-page to the server to indicate that the first sub-page has been browsed; If the type of the display area is a non-visual area display, it is determined that the page browsing state of the first sub-page is an unbrowsed state.

2. The method according to claim 1, characterized in that Also includes: Get the page height of the first subpage.

3. The method according to claim 2, characterized in that Obtaining the page height of the first subpage includes: Determining a sub-page identifier of the first sub-page; The sub-page identifier is determined as an input parameter of a first preset interface, and the first preset interface is called to obtain a page height of the first sub-page.

4. The method according to claim 1, wherein After sending the embedding information corresponding to the first sub-page to the server, the method further includes: Update the reporting status corresponding to the first sub-page to the reported status.

5. A device for determining page status, which is applied to the initial stage of page loading, and is characterized in that: It includes a first determining module, an acquiring module and a second determining module, wherein: The first determining module is used to determine a page to be displayed, wherein the page to be displayed includes multiple sub-pages; The acquisition module is configured to acquire the type of the display area of ​​a first sub-page among the plurality of sub-pages in response to a change in the display size of the first sub-page; The second determining module is configured to determine a page browsing status of the first sub-page according to a type of the display area; The acquisition module is specifically configured to: determine a sub-page identifier of a first sub-page among the plurality of sub-pages when determining that the page height of the first sub-page is greater than a preset threshold; determine the sub-page identifier as an input parameter of a second preset interface, and call the second preset interface to obtain a type of a display area of ​​the first sub-page; The second determining module is specifically configured to: if the type of the display area is a visual area display, determine that the page browsing status of the first sub-page is a browsed status; If the type of the display area is a non-visual area display, determining that the page browsing state of the first sub-page is an unbrowsed state; The page status determination device also includes a sending module, which is used to: obtain the reporting status corresponding to the first sub-page; when it is determined that the reporting status corresponding to the first sub-page is an unreported state, send the burying point information corresponding to the first sub-page to the server to indicate that the first sub-page has been browsed.

6. A device for determining a page state, characterized in that: The page status determination device includes: a memory, a processor, and a page status determination program stored in the memory and executable on the processor. When the page status determination program is executed by the processor, the steps of the page status determination method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a page status determination program, which, when executed by a processor, implements the steps of the page status determination method according to any one of claims 1 to 4.

8. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the page status determination method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • User browsing behavior reporting method and device, readable storage medium and electronic equipment

    CN111625712A