CN106933858B - Page source statistical method and view controller - Google Patents

Page source statistical method and view controller Download PDF

Info

Publication number
CN106933858B
CN106933858B CN201511021560.6A CN201511021560A CN106933858B CN 106933858 B CN106933858 B CN 106933858B CN 201511021560 A CN201511021560 A CN 201511021560A CN 106933858 B CN106933858 B CN 106933858B
Authority
CN
China
Prior art keywords
page
current access
sub
switched
attribute ids
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511021560.6A
Other languages
Chinese (zh)
Other versions
CN106933858A (en
Inventor
孙先岐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201511021560.6A priority Critical patent/CN106933858B/en
Publication of CN106933858A publication Critical patent/CN106933858A/en
Application granted granted Critical
Publication of CN106933858B publication Critical patent/CN106933858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a page source statistical method and a view controller. The method comprises the following steps: detecting that the current access page is switched, when the switched page is determined to be one of a plurality of sub-pages of the current access page, adding identifiers to the two attribute IDs of the current access page, sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched sub-page. And recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page. The page source statistical method and the view controller provided by the invention solve the problem that the conventional page source statistical method causes statistical errors.

Description

Page source statistical method and view controller
Technical Field
The invention relates to the technical field of communication, in particular to a page source statistical method and a view controller.
Background
With the rapid development of mobile APP, mobile client data statistics have become increasingly important. Usually, an enterprise can realize page source statistics of the APP by considering the self mobile APP statistical data security so as to meet the related product service requirements.
Most of the existing page source statistics are that when a certain page is presented, a view controller of the page generates a current access Identifier (ID), and the ID is used to identify a unique value and a state value represented by the page at the present presentation. Then, when switching from the page to the next page, the view controller of the switched page records the current access ID of the switched page as the ID of its source page (also called parent ID, which is passed through the view controller of each page), and generates the current access ID of its own page.
The defects of the prior art are as follows: when the APP page structure of the client is complex, for example, when a certain page includes multiple sub-pages, for example, a Tab page includes A, B two sub-pages, the sub-page a is entered through the Tab page, the parent ID recorded by the view controller of the sub-page a is the Tab ID, and the current access ID of the sub-page a is generated at the same time, and then when the sub-page B is clicked, the parent ID recorded by the sub-page B is the current access ID of the sub-page a, and the current access ID of the sub-page B is generated at the same time, but actually, the parent ID of the sub-page B is the Tab ID, which does not match the actual page source according to the existing statistical method, resulting in statistical errors.
Disclosure of Invention
The invention provides a page source statistical method and a view controller, which are used for solving the problem of statistical errors caused by the fact that the page source counted by the conventional page source statistical method is inconsistent with the actual page source.
In a first aspect, the present invention provides a statistical method for page sources, including:
detecting that page switching occurs in a current access page;
when the switched page is determined to be one of the sub-pages of the current access page, adding identifiers to two attribute identification IDs of the current access page, wherein the two attribute IDs comprise a unique ID for representing the current access page and a page access ID;
sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the corresponding two attribute IDs of the source page, and simultaneously generating a page access ID of the switched sub-page;
and recording the two attribute IDs of the current access page and the two attribute IDs of the source page of the current access page.
Further, still include:
when the switched page is determined not to be one of the sub-pages of the current access page, sending the two attribute IDs of the current access page to the view controller of the switched page, so that the view controller of the switched page records the received two attribute IDs as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched page.
Further, the determining that the switched page is one of a plurality of sub-pages of the currently visited page comprises:
determining to switch from the current access page to one of a plurality of sub-pages of the current access page;
alternatively, the first and second electrodes may be,
determining to switch from one sub-page to another sub-page in the currently visited page.
Further, before detecting that a page switch occurs to the current access page, or when detecting that the current access page is accessed, the method further includes:
and generating a page access ID of the current access page.
Further, the unique ID characterizing the currently accessed page is a page initialization ID of the currently accessed page, and the method further includes:
and when the current access page is initialized, generating and storing the page initialization ID of the current access page.
In a second aspect, the present invention provides a view controller comprising:
the detection module is used for detecting that the page switching occurs on the current access page;
a determining module for determining whether the switched page is one of a plurality of sub-pages of the currently accessed page;
a processing module, configured to add an identifier to two attribute identifiers ID of the current visited page when the determining module determines that the switched page is one of a plurality of sub-pages of the current visited page, where the two attribute IDs include a unique ID characterizing the current visited page and a page access ID;
a sending module, configured to send the two attribute IDs carrying the identifier to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifier as the two corresponding attribute IDs of the source page, and generates a page access ID of the switched sub-page at the same time;
and the recording module is used for recording the two attribute IDs of the current access page and the two attribute IDs of the source page of the current access page.
Further, the sending module is further configured to:
when the determining module determines that the switched page is not one of the sub-pages of the current access page, sending the two attribute IDs of the current access page to the view controller of the switched page, so that the view controller of the switched page records the received two attribute IDs as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched page.
Further, the determining module is specifically configured to:
determining to switch from the current access page to one of a plurality of sub-pages of the current access page;
alternatively, the first and second electrodes may be,
determining to switch from one sub-page to another sub-page in the currently visited page.
Further, the processing module is further configured to:
and generating a page access ID of the current access page before the detection module detects that the current access page is subjected to page switching or when the detection module detects that the current access page is accessed.
Further, the unique ID characterizing the currently accessed page is a page initialization ID of the currently accessed page, and the processing module is further configured to:
and when the current access page is initialized, generating and storing the page initialization ID of the current access page.
According to the page source statistical method and the view controller provided by the invention, after the page switching of the current access page is detected, the switched page is determined to be one sub-page of a plurality of sub-pages of the current access page, the identifiers are added to the two attribute IDs of the current access page, and then the two attribute IDs carrying the identifiers are sent to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the corresponding two attribute IDs of the source page, ignores the received two attribute IDs sent by other sub-pages, and generates the page access ID of the switched sub-page. And finally, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page. Thus, the two attribute IDs of the source page of the switched sub-page record are correct and correspond to the actual source. Therefore, the problem that the statistical error can be caused by the fact that the statistical page source is different from the actual page source when the complex page is counted by the conventional page source statistical method is solved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
FIG. 1 is a flowchart illustrating a first embodiment of a page source statistics method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a page source statistics method according to the present invention;
FIG. 3 is a flowchart of a first embodiment of a method for determining a page access path according to the present invention;
fig. 4 is a schematic structural diagram of a view controller according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The page source statistical method and the view controller provided by the invention are mainly used for solving the problem that the statistical error is caused by the fact that the statistical page source is different from the actual page source when the complex page is counted by the conventional page source statistical method, and can be quickly butted with a log statistical system of the page to determine the page access path, so that the determined page access path is consistent with the actual path, and the page access path is further accurately determined. The processing flow of the present invention will be described in detail below with reference to the drawings.
Fig. 1 is a flowchart of a first embodiment of a page source statistics method according to the present invention, as shown in fig. 1, the method of this embodiment may include:
s101, detecting that page switching occurs in a current access page.
Specifically, the occurrence of a page switch refers to going from a currently accessed page to a next page. When page counting is performed, the page access ID of the current access page may be generated before detecting that page switching occurs to the current access page, or the page access ID of the current access page may be generated when detecting that the current page is accessed.
S102, when the switched page is determined to be one of the sub-pages of the current access page, adding identifiers to two attribute IDs of the current access page, wherein the two attribute IDs comprise a unique ID for representing the current access page and a page access ID.
Specifically, in this embodiment, mainly for processing a complex page (including multiple sub-pages), a statistical tool (such as a view controller) of the page itself determines that a switched page is one of multiple sub-pages of a current access page, specifically, determines that the current access page is switched to one of the multiple sub-pages of the current access page, or determines that one of the multiple sub-pages of the current access page is switched to another sub-page.
The two attribute IDs comprise a unique ID for representing the current access page and a page access ID, the unique ID for representing the current access page can be a page initialization ID of the current access page, and the unique ID is generated and stored by a view controller of the current access page when the current access page is initialized. For each page, the page initialization ID is generated by the page's view controller at page initialization and saved, unchanged as long as it is generated. The page access ID is an ID generated each time a page is accessed (or each presentation), and is related to an access time, and is not changed as long as the page is in a lifecycle of the page being accessed (presented) at a certain time. Specifically, the page access ID of the current access page may be generated before detecting that the page switch occurs on the current access page, or the current page is detected to be accessed, that is, the page access ID of the current access page is generated.
Specifically, when it is determined that the switched page is one of the sub-pages of the current access page, that is, it is determined that the current access page is a complex page including the sub-pages, then identifiers are added to the two attribute IDs of the current access page, that is, a special mark is performed, so that the sub-pages can be identified when the complex page transmits the two attribute IDs of the complex page to the sub-pages.
It should be noted that the view controller for each page in the present invention is a page statistical device for each page, or called a page statistical tool.
S103, sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched sub-page.
Specifically, when a sub-page under a complex page is switched to another sub-page, the switched sub-page receives two attribute IDs sent by the switched sub-page and two attribute IDs sent by the complex page, the two attribute IDs sent by the complex page carry identifiers, the two attribute IDs that the switched sub-page will carry the identifiers are recorded as the two corresponding attribute IDs of the source page, the two attribute IDs sent by the switched sub-page are ignored, and the page access ID of the switched sub-page is generated at the same time. Thus, the two attribute IDs of the source page of the switched sub-page record are correct and correspond to the actual source.
And S104, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page.
For the following page, the two attribute IDs of the source page of the current access page are null, and it only needs to record the two attribute IDs of itself.
In the page source statistical method provided by this embodiment, after detecting that page switching occurs in a current access page, it is first determined that the switched page is one of multiple sub-pages of the current access page, then identifiers are added to two attribute IDs of the current access page, and then the two attribute IDs carrying the identifiers are sent to a view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the two corresponding attribute IDs of the source page, ignores the received two attribute IDs sent by other sub-pages, and generates a page access ID of the switched sub-page at the same time. And finally, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page. Thus, the two attribute IDs of the source page of the switched sub-page record are correct and correspond to the actual source. Therefore, the problem that the statistical error can be caused by the fact that the statistical page source is different from the actual page source when the complex page is counted by the conventional page source statistical method is solved.
The embodiment shown in fig. 1 is mainly directed to processing of complex pages, and is applicable to different types of pages (complex pages and pages without sub-pages), and the processing procedure of another embodiment is described in detail below with reference to fig. 2.
Fig. 2 is a flowchart of a second embodiment of the page source statistics method of the present invention, as shown in fig. 2, the method of this embodiment may include:
s201, detecting that the current access page is switched.
Specifically, when performing page statistics, the page access ID of the current access page may be generated before detecting that page switching occurs to the current access page, or the page access ID of the current access page may be generated when detecting that the current access page is accessed.
S202, determining whether the switched page is one of the sub-pages of the current access page. If so, go to step S203, otherwise, go to step S204.
And S203, adding identifiers to the two attribute IDs of the current access page, wherein the two attribute IDs comprise a unique ID for representing the current access page and a page access ID.
The unique ID representing the current access page is the page initialization ID of the current access page, and for each page, the page initialization ID is generated and stored by a view controller of the page during page initialization and cannot be changed as long as the page initialization ID is generated.
S205, sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page.
And S204, sending the two attribute IDs of the current access page to the view controller of the switched page.
S206, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page.
S207, the view controller of the switched sub-page determines whether two attribute IDs carrying identifiers are received, if so, S208 is executed, and if not, S209 is executed.
S208, the view controller of the switched sub-page records the two received attribute IDs carrying the identifiers as the two corresponding attribute IDs of the source page, and simultaneously generates a page access ID of the switched sub-page.
S209, the view controller of the switched sub-page records the received two attribute IDs as two corresponding attribute IDs of the source page, and generates a page access ID of the switched sub-page.
The page source statistical method provided by this embodiment detects that, after the page switch occurs to the currently accessed page, first, it is determined whether the page being switched is one of the sub-pages of the currently accessed page, and if so, adding identifiers to the two attribute IDs of the current access page, then sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, if not, the two attribute IDs of the currently visited page are directly transmitted to the view controller of the switched page, so that the view controller of the switched sub-page upon determining that two attribute IDs carrying identifiers are received, recording the two attribute IDs carrying the identifiers as corresponding two attribute IDs of the source page, if not, the received two attribute IDs are recorded as corresponding two attribute IDs of the source page, and the page access ID of the switched sub-page is generated at the same time. And finally, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page, thereby solving the problem that the statistical error is caused by the inconsistency between the statistical page source and the actual page source when the conventional page source statistical method is used for counting the complex pages. And is applicable to different types of pages.
The page source statistical methods shown in fig. 1 and fig. 2 can be quickly docked with a log statistical system of the page to determine the page access path, so that the determined page access path coincides with the actual path, and the accuracy of determining the page access path is achieved. As described in detail below in conjunction with fig. 3.
Fig. 3 is a flowchart of a first method for determining a page access path according to the present invention, as shown in fig. 3, the method of this embodiment may include:
s301, obtaining each weblog entry recorded currently.
Specifically, when the weblog entry is recorded, the method specifically includes:
s3011, when the page of each page is initialized, a page initialization ID of each page is generated and stored.
S3012, when detecting that the current page is accessed, generating a page access ID of the current page.
Next, S202-S204 shown in FIG. 2 are performed, and S208-S209 are performed correspondingly for the switched sub-page.
S3013, recording two attribute IDs of the current access page and two attribute IDs of the source page of the current access page in the weblog entry corresponding to the current access page.
S302, determining a first weblog entry and a second weblog entry which meet a set relationship based on two attribute IDs of a source page and two attribute IDs of a self page recorded in each weblog entry, wherein the set relationship is that a page initialization ID in the first weblog entry is the same as a page initialization ID of the source page in the second weblog entry.
S303, determining that the page access path is from the page represented by the page initialization ID in the first weblog entry to the page represented by the page initialization ID in the second weblog entry.
Fig. 3 shows that the page access path for accessing two pages is determined, and the determination of the page access path for accessing a plurality of pages is also applicable to the present invention, and the principle is similar, and is not described herein again.
The method for determining the page access path provided by the embodiment is used for determining the page access path by combining the page source statistical method provided by the invention, so that the determined page access path is consistent with an actual path, and the accuracy of determining the page access path is realized.
Fig. 4 is a schematic structural diagram of a view controller according to a first embodiment of the present invention, and as shown in fig. 4, the view controller of this embodiment may include: the page switching method comprises a detection module 11, a determination module 12, a processing module 13, a sending module 14 and a recording module 15, wherein the detection module 11 is configured to detect that a page switching occurs on a currently accessed page, the determination module 12 is configured to determine whether a switched page is one of a plurality of sub-pages of the currently accessed page, the processing module 13 is configured to add identifiers to two attribute Identifiers (IDs) of the currently accessed page when the determination module determines that the switched page is one of the plurality of sub-pages of the currently accessed page, the two attribute IDs include a unique ID for representing the currently accessed page and a page access ID, the sending module 14 is configured to send the two attribute IDs carrying the identifiers to a view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as corresponding two attribute IDs of a source page, and meanwhile, generating the page access ID of the switched sub-page, and the recording module 15 is configured to record two attribute IDs of the current access page and two attribute IDs of the source page of the current access page.
Further, the sending module 14 is further configured to: when the determining module determines that the switched page is not one of the sub-pages of the current access page, the two attribute IDs of the current access page are sent to the view controller of the switched page, so that the view controller of the switched page records the received two attribute IDs as the corresponding two attribute IDs of the source page, and simultaneously generates the page access ID of the switched page.
The determining module 12 is specifically configured to: a switching from the current page to one of the plurality of sub-pages of the current page is determined. Alternatively, it is determined to switch from one sub-page to another sub-page in the currently visited page.
Further, the processing module 13 is further configured to: and generating the page access ID of the current access page before the detection module 11 detects that the page switching of the current access page occurs.
Further, the unique ID characterizing the currently accessed page is a page initialization ID of the currently accessed page, and the processing module 13 is further configured to: and when the current access page is initialized, generating and storing the page initialization ID of the current access page.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 1 or fig. 2, and the implementation principles thereof are similar and will not be described herein again.
In the view controller provided in this embodiment, after the detection module detects that the page switching occurs in the current access page, the determination module first determines whether the switched page is one of a plurality of sub-pages of the current access page, if so, the processing module adds identifiers to two attribute IDs of the current access page, then the sending module sends the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, if not, the sending module directly sends the two attribute IDs of the current access page to the view controller of the switched page, so that the view controller of the switched sub-page records the two attribute IDs carrying the identifiers as the two attribute IDs corresponding to the source page when determining that the two attribute IDs carrying the identifiers are received, and if not, records the two received attribute IDs as the two attribute IDs corresponding to the source page, and simultaneously generating a page access ID of the switched sub-page. And finally, the recording module records the two attribute IDs of the current access page and the two attribute IDs of the source page of the current access page, so that the problem that the statistical error can be caused because the statistical page source is inconsistent with the actual page source when the conventional page source statistical method is used for counting complex pages is solved. And is applicable to different types of pages.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A page source statistical method is characterized by comprising the following steps:
detecting that page switching occurs in a current access page;
when the switched page is determined to be one of the sub-pages of the current access page, adding identifiers to two attribute identification IDs of the current access page, wherein the two attribute IDs comprise a unique ID for representing the current access page and a page access ID;
sending the two attribute IDs carrying the identifiers to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifiers as the corresponding two attribute IDs of the source page, and simultaneously generating a page access ID of the switched sub-page;
recording two attribute IDs of the current access page and two attribute IDs of a source page of the current access page;
the method further comprises the following steps:
when the switched page is determined not to be one of the sub-pages of the current access page, sending the two attribute IDs of the current access page to the view controller of the switched page, so that the view controller of the switched page records the received two attribute IDs as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched page.
2. The method of claim 1, wherein the determining that the page switched is one of a plurality of sub-pages of the currently visited page comprises:
determining to switch from the current access page to one of a plurality of sub-pages of the current access page;
alternatively, the first and second electrodes may be,
determining to switch from one sub-page to another sub-page in the currently visited page.
3. The method according to claim 1 or 2, wherein before detecting that the page switch occurs to the currently accessed page or when detecting that the currently accessed page is accessed, the method further comprises:
and generating a page access ID of the current access page.
4. The method according to claim 1 or 2, wherein the unique ID characterizing the currently accessed page is a page initialization ID of the currently accessed page, the method further comprising:
and when the current access page is initialized, generating and storing the page initialization ID of the current access page.
5. A view controller, comprising:
the detection module is used for detecting that the page switching occurs on the current access page;
a determining module for determining whether the switched page is one of a plurality of sub-pages of the currently accessed page;
a processing module, configured to add an identifier to two attribute identifiers ID of the current visited page when the determining module determines that the switched page is one of a plurality of sub-pages of the current visited page, where the two attribute IDs include a unique ID characterizing the current visited page and a page access ID;
a sending module, configured to send the two attribute IDs carrying the identifier to the view controller of the switched sub-page, so that the view controller of the switched sub-page records the received two attribute IDs carrying the identifier as the two corresponding attribute IDs of the source page, and generates a page access ID of the switched sub-page at the same time;
the recording module is used for recording the two attribute IDs of the current access page and the two attribute IDs of the source page of the current access page;
wherein the sending module is further configured to:
when the determining module determines that the switched page is not one of the sub-pages of the current access page, sending the two attribute IDs of the current access page to the view controller of the switched page, so that the view controller of the switched page records the received two attribute IDs as the corresponding two attribute IDs of the source page, and simultaneously generating the page access ID of the switched page.
6. The view controller of claim 5, wherein the determining module is specifically configured to:
determining to switch from the current access page to one of a plurality of sub-pages of the current access page;
alternatively, the first and second electrodes may be,
determining to switch from one sub-page to another sub-page in the currently visited page.
7. The view controller of claim 5 or 6, wherein the processing module is further configured to:
and generating a page access ID of the current access page before the detection module detects that the current access page is subjected to page switching or when the detection module detects that the current access page is accessed.
8. The view controller according to claim 5 or 6, wherein the unique ID characterizing the currently visited page is a page initialization ID of the currently visited page, and the processing module is further configured to:
and when the current access page is initialized, generating and storing the page initialization ID of the current access page.
CN201511021560.6A 2015-12-31 2015-12-31 Page source statistical method and view controller Active CN106933858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511021560.6A CN106933858B (en) 2015-12-31 2015-12-31 Page source statistical method and view controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511021560.6A CN106933858B (en) 2015-12-31 2015-12-31 Page source statistical method and view controller

Publications (2)

Publication Number Publication Date
CN106933858A CN106933858A (en) 2017-07-07
CN106933858B true CN106933858B (en) 2020-03-24

Family

ID=59440926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511021560.6A Active CN106933858B (en) 2015-12-31 2015-12-31 Page source statistical method and view controller

Country Status (1)

Country Link
CN (1) CN106933858B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784065B (en) * 2017-08-17 2021-04-27 平安壹钱包电子商务有限公司 Service data tracking method and device, computer equipment and storage medium
CN107741970B (en) * 2017-10-09 2021-10-01 北京京东尚科信息技术有限公司 Method and device for laying out main page
CN108495169A (en) * 2018-03-23 2018-09-04 北京焦点新干线信息技术有限公司 Information displaying method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317884A (en) * 2014-10-21 2015-01-28 北京国双科技有限公司 Method and device for acquiring types of source pages of website
US8984542B2 (en) * 2012-11-30 2015-03-17 Facebook, Inc. Method and system for binding objects in dynamic programming languages using caching techniques
CN104714980A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Page nesting path determination method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8984542B2 (en) * 2012-11-30 2015-03-17 Facebook, Inc. Method and system for binding objects in dynamic programming languages using caching techniques
CN104714980A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Page nesting path determination method and device
CN104317884A (en) * 2014-10-21 2015-01-28 北京国双科技有限公司 Method and device for acquiring types of source pages of website

Also Published As

Publication number Publication date
CN106933858A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN103414824B (en) A kind of automatic login process method based on mobile terminal and system
US10812314B2 (en) Methods and apparatuses for pushing a message
US20180075240A1 (en) Method and device for detecting a suspicious process by analyzing data flow characteristics of a computing device
US10104535B2 (en) Mobile terminal, maintenance server, and method and apparatus for maintaining virtual SIM card
KR102072095B1 (en) Identity authentication methods, devices, and systems
WO2021135809A1 (en) Testing method, device, terminal apparatus, and storage medium
CN104424094A (en) Method and device for obtaining abnormal information and intelligent terminal device
KR102131160B1 (en) Alarm information processing method and device, system, and computer storage medium
CN107085549B (en) Method and device for generating fault information
CN106933858B (en) Page source statistical method and view controller
CN111131357B (en) Screen projection processing method, device and equipment
US9705767B2 (en) Detecting and measuring network route reconvergence using in-band data probes
RU2015137806A (en) SYSTEMS AND METHODS FOR HOST DETECTION OF USB ASYNCHRONOUS NOTIFICATION
CN109542754B (en) Access method of mobile equipment, debugging method, device and system of application program
CN105743725A (en) Method and device for testing application programs
CN106802898B (en) Data entry method and device
US20220086074A1 (en) Detection device, detection method, and detection program
CN101510172B (en) Test system and method
CN111427777B (en) SOL test method, system, equipment and medium
CN109918439B (en) Data synchronization method and loop detection method and related device applied by same
WO2015139540A1 (en) Method and device for parsing video webpage
CN111200654A (en) Client request error processing method and device
CN111030871A (en) Configuration information synchronization method and device based on dual-computer hot standby system
CN114422175A (en) Network security supervision and inspection behavior auditing method and device
CN109165127B (en) Problem interface positioning method and device and electronic equipment

Legal Events

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