CN106933858A - Page source statistic method and view controller - Google Patents

Page source statistic method and view controller Download PDF

Info

Publication number
CN106933858A
CN106933858A CN201511021560.6A CN201511021560A CN106933858A CN 106933858 A CN106933858 A CN 106933858A CN 201511021560 A CN201511021560 A CN 201511021560A CN 106933858 A CN106933858 A CN 106933858A
Authority
CN
China
Prior art keywords
page
current accessed
switched
property ids
subpage frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511021560.6A
Other languages
Chinese (zh)
Other versions
CN106933858B (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

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 present invention provides a kind of page source statistic method and view controller.The method includes:Detect the current accessed page and page layout switch occurs, when the switched page of determination is a subpage frame in multiple subpage frames of the current accessed page, two Property IDs to the current accessed page add identifier, two Property IDs for carrying identifier are sent to the view controller of switched subpage frame, so that two Property IDs of carrying identifier that the view controller of the subpage frame for being switched will be received are recorded as corresponding two Property IDs of source page, while the page access ID of the switched subpage frame of generation.Record two Property IDs of the source page of two Property IDs and the current accessed page of the current accessed page.Page source statistic method and view controller that the present invention is provided, solve the problems, such as that existing page source statistic method can cause mistake of statistics.

Description

Page source statistic method and view controller
Technical field
The present invention relates to communication technical field, more particularly to a kind of page source statistic method and view control Device.
Background technology
With the fast development of mobile APP, mobile client data statistics has become more and more important. Usual enterprise can take into account the mobile APP statistics safety of itself, understands and oneself realizes that the page of APP comes Source counts, to reach the product business demand of correlation.
Existing page source statistic is mostly the view controller generation of the page in a certain webpage representation Current accessed identifies (ID), and the page unique value representative when this represents is identified with this ID And state value.Then, when entering into next page by the page layout switch, the view control of the page is switched Device will will be switched the page current accessed ID be recorded as its source page ID (also referred to as parent ID, Parent ID is transmitted by the view controller of each page), and generate the current accessed ID of itself page.
Prior art defect is as follows:When the APP page structures of client are more complicated, such as work as certain page During comprising multiple subpage frames, such as two subpage frames of A, B are included under the one Tab page, by Tab The page enters subpage frame A, and the parent ID of the view controller record of subpage frame A is Tab ID, and together The current accessed ID of Shi Shengcheng subpage frames A, when then clicking on subpage frame B, the father of subpage frame B records Level ID is the current accessed ID of subpage frame A, and the current accessed ID of generation subpage frame B simultaneously, but The actually parent ID of subpage frame B is Tab ID, according to existing statistical method, with the actual page Source is not inconsistent, and causes mistake of statistics.
The content of the invention
The present invention provides a kind of page source statistic method and view controller, to solve the existing page The page source of source statistical method statistics is not inconsistent with actual page source, causes the problem of mistake of statistics.
In a first aspect, the present invention provides a kind of page source statistic method, including:
Detect the current accessed page and page layout switch occurs;
Determine that the switched page is a subpage frame in multiple subpage frames of the current accessed page When, two attribute-bit ID to the current accessed page add identifier, described two Property IDs Unique ID and page access ID including characterizing the current accessed page;
Two Property IDs for carrying identifier are sent to the view controller of switched subpage frame, so that Two Property IDs of the carrying identifier that the view controller of the subpage frame for being switched will be received are recorded as Corresponding two Property IDs of source page, while the page access ID of the switched subpage frame of generation;
Record two Property IDs of the current accessed page and the source page of the current accessed page Two Property IDs.
Further, also include:
Determine that the switched page is not a subpage frame in multiple subpage frames of the current accessed page When, the view controller of the switched page will be sent to when two Property IDs of the preceding accession page, So that two Property IDs that the view controller of the page for being switched will be received are recorded as source page Corresponding two Property IDs, while the page access ID of the switched page of generation.
Further, it is described to determine that the switched page is multiple subpage frames of the current accessed page A subpage frame, including:
It is determined that by multiple subpage frames of the current accessed page layout switch to the current accessed page Individual subpage frame;
Or,
It is determined that by a sub- page layout switch in the current accessed page to another subpage frame.
Further, it is described to detect before the current accessed page occurs page layout switch, or detect institute State the current accessed page it is accessed when, also include:
Generate the page access ID of the current accessed page.
Further, unique ID of the sign current accessed page is the page of the current accessed page Initialization ID, methods described also includes:
When the current accessed page page is initialized, the page of the current accessed page is generated and preserved Face initializes ID.
Second aspect, the present invention provides a kind of view controller, including:
, there is page layout switch for detecting the current accessed page in detection module;
Determining module, for determine the switched page whether be the current accessed page multiple subpages A subpage frame in face;
Processing module, for determining that the switched page is the current accessed page in the determining module Multiple subpage frames in a subpage frame when, two attribute-bit ID to the current accessed page add Upper identifier, described two Property IDs include characterizing unique ID and page access ID of the current accessed page;
Sending module, for two Property IDs for carrying identifier to be sent into regarding for switched subpage frame Figure controller, so that two of the carrying identifier that the view controller of the subpage frame for being switched will be received Property ID is recorded as corresponding two Property IDs of source page, while the switched subpage frame of generation Page access ID;
Logging modle, two Property IDs and the current accessed page for recording the current accessed page Two Property IDs of the source page in face.
Further, the sending module is additionally operable to:
Determine that the switched page is not multiple subpage frames of the current accessed page in the determining module In a subpage frame when, will work as the preceding accession page two Property IDs be sent to the switched page View controller so that the view controller of the page for being switched will receive two Property IDs record It is corresponding two Property IDs of source page, while the page access ID of the switched page of generation.
Further, the determining module specifically for:
It is determined that by multiple subpage frames of the current accessed page layout switch to the current accessed page Individual subpage frame;
Or,
It is determined that by a sub- page layout switch in the current accessed page to another subpage frame.
Further, the processing module is additionally operable to:
Before the detection module detects current accessed page generation page layout switch, or detect institute State the current accessed page it is accessed when, generate the page access ID of the current accessed page.
Further, unique ID of the sign current accessed page is the page of the current accessed page Initialization ID, the processing module is additionally operable to:
When the current accessed page page is initialized, the page of the current accessed page is generated and preserved Face initializes ID.
Page source statistic method and view controller that the present invention is provided, by detecting current accessed page After there is page layout switch in face, it is first determined during the page for being switched is multiple subpage frames of the current accessed page A subpage frame, identifier then is added to two Property IDs of the current accessed page, then will carry Two Property IDs of identifier are sent to the view controller of switched subpage frame, so that the son for being switched Two Property IDs of the carrying identifier that the view controller of the page will be received are recorded as source page Corresponding two Property IDs, two Property IDs that other subpage frames that will be received send are ignored, while The page access ID of the switched subpage frame of generation.Finally record two Property IDs of the current accessed page With two Property IDs of the source page of the current accessed page.The source of the subpage frame record for so being switched Two Property IDs of the page are exactly correct, are consistent with actual source.So as to solve the existing page The page source that source statistic method is counted when complex page is counted is not inconsistent with actual page source, meeting Cause the problem of mistake of statistics.
Brief description of the drawings
In order to illustrate more clearly of technical scheme of the invention or of the prior art, below will to embodiment or The accompanying drawing to be used needed for description of the prior art is briefly described, it should be apparent that, describe below In accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of page source statistic embodiment of the method one of the present invention;
Fig. 2 is the flow chart of page source statistic embodiment of the method two of the present invention;
Fig. 3 is the flow chart of page access determining method of path embodiment one of the present invention;
Fig. 4 is the structural representation of view controller embodiment one of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the present invention, it is clear that described implementation Example is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, The every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Page source statistic method and view controller that the present invention is provided, are mainly used in solving existing page The page source that face source statistic method is counted when complex page is counted is not inconsistent with actual page source, Can cause the problem of mistake of statistics, and can also rapidly with the log statistic system docking of the page, realize The determination in page access path so that the page access path determined is consistent with Actual path, enters one It is accurate that step causes that page access path determines.The handling process that the invention will now be described in detail with reference to the accompanying drawings.
Fig. 1 is the flow chart of page source statistic embodiment of the method one of the present invention, as shown in figure 1, this reality The method for applying example can include:
S101, detect the current accessed page occur page layout switch.
Specifically, it refers to enter next page from the current accessed page page layout switch to occur.Carrying out the page Can be the generation current accessed page before current accessed page generation page layout switch is detected during statistics The page access ID in face, or can also be generation current accessed page when detecting current page to be accessed The page access ID in face.
The switched page of S102, determination is a subpage frame in multiple subpage frames of the current accessed page When, two Property IDs to the current accessed page add identifier, and two Property IDs include characterizing currently Unique ID and page access ID of accession page.
Specifically, done primarily directed to complex page (including multiple subpage frames) in the present embodiment Treatment, the statistical tool (such as view controller) of the page itself determines that the switched page is current accessed A subpage frame in multiple subpage frames of the page, can specifically be to determine out by current accessed page layout switch To a subpage frame in multiple subpage frames of the current accessed page, or, it is determined that by the current accessed page In a sub- page layout switch to another subpage frame.
Wherein, two Property IDs include characterizing unique ID and page access ID of the current accessed page, table The unique ID for levying the current accessed page can be the page initialization ID of the current accessed page, be visited currently When asking that the page page is initialized, generated and preserved by the view controller of the current accessed page.For each For the page, initialized ID and preserved by the view controller generation page of the page when the page is initialized, As long as generation would not be changed.When page access ID is that the page is accessed (representing every time in other words) every time The ID of generation, it is relevant with access time, as long as in the life cycle of the page certain accessed (representing), Just will not change.Can be specifically that generation is worked as before current accessed page generation page layout switch is detected The page access ID of preceding accession page, or can also detect current page to be accessed, i.e. generation is worked as The page access ID of preceding accession page.
Specifically, when determine the switched page be multiple subpage frames of the current accessed page in one During subpage frame, that is, it is exactly to determine that the current accessed page is the complex page for containing multiple subpage frames, connects To two Property IDs of the current accessed page plus identifier, that is, carry out special mark, so that When complex page transmits two Property IDs of itself to its subpage frame, subpage frame can be recognized.
It should be noted that the view controller of each page described in the present invention is exactly in fact each page Page statistic device, or be page statistical tool.
S103, the view control that two Property IDs for carrying identifier are sent to switched subpage frame Device, so that two Property IDs of the carrying identifier that the view controller of the subpage frame for being switched will be received Corresponding two Property IDs of source page are recorded as, while the page access of the switched subpage frame of generation ID。
Specifically, during for a sub- page layout switch under complex page to another subpage frame, switched Subpage frame can receive be switched subpage frame transmission two Property IDs and the complex page send two Individual Property ID, two Property IDs that the complex page sends carry identifier, the subpage frame for being switched Two Property IDs that identifier will be carried are recorded as corresponding two Property IDs of source page, will connect Two Property IDs for being switched subpage frame transmission for receiving are ignored, while the page of the switched subpage frame of generation ID is asked in interview.So switched subpage frame record source page two Property IDs be exactly it is correct, It is consistent with actual source.
The two of the source page of S104, two Property IDs of the record current accessed page and the current accessed page Individual Property ID.
For with the page, two Property IDs of the source page of the current accessed page are sky, its need Record two Property IDs of itself.
, there is the page by detecting the current accessed page in the page source statistic method that the present embodiment is provided After switching, it is first determined the page for being switched is a subpage in multiple subpage frames of the current accessed page Two Property IDs of the current accessed page are then added identifier by face, then will carry the two of identifier Individual Property ID is sent to the view controller of switched subpage frame, so that the view of the subpage frame for being switched Two Property IDs of the carrying identifier that controller will be received are recorded as corresponding two of source page Property ID, two Property IDs that other subpage frames that will be received send are ignored, while generation is switched Subpage frame page access ID.Finally record two Property IDs and current accessed of the current accessed page Two Property IDs of the source page of the page.Two of the source page of the subpage frame record for so being switched Property ID is exactly correct, is consistent with actual source.So as to solve existing page source statistic side The page source that method is counted when complex page is counted is not inconsistent with actual page source, and statistics can be caused wrong Problem by mistake.
The treatment that embodiment shown in Fig. 1 is done primarily directed to complex page, be to different types of page Face (complex page and the page without subpage frame) is all suitable for, and next combines Fig. 2 detailed descriptions another The processing procedure of embodiment.
Fig. 2 is the flow chart of page source statistic embodiment of the method two of the present invention, as shown in Fig. 2 this reality The method for applying example can include:
S201, detect the current accessed page occur page layout switch.
Specifically, carry out the page count when, can be detect the current accessed page occur the page cut Before alternatively, the page access ID of the current accessed page is generated, or can also detect current accessed page When face is accessed, that is, generate the page access ID of the current accessed page.
S202, determine the switched page whether be the current accessed page multiple subpage frames in a son The page.If so, S203 is performed, if it is not, performing S204.
S203, two Property IDs to the current accessed page add identifier, and two Property IDs include table Levy unique ID and page access ID of the current accessed page.
Wherein, it is the page initialization ID of the current accessed page to characterize unique ID of the current accessed page, For each page, when the page is initialized by the view controller generation page initialization ID of the page And preserve, as long as generation would not be changed.
S205, the view control that two Property IDs for carrying identifier are sent to switched subpage frame Device.
S204, the view control that two Property IDs of the current accessed page are sent to the switched page Device.
The two of the source page of S206, two Property IDs of the record current accessed page and the current accessed page Individual Property ID.
S207, the view controller of the subpage frame for being switched determine whether to receive two that carry identifier Property ID, if so, S208 is performed, if it is not, performing S209.
Two attributes of the carrying identifier that S208, the view controller of the subpage frame for being switched will be received ID is recorded as corresponding two Property IDs of source page, while the page of the switched subpage frame of generation is visited Ask ID.
Two Property IDs that S209, the view controller of the subpage frame for being switched will be received are recorded as source Corresponding two Property IDs of the page, while the page access ID of the switched subpage frame of generation.
, there is the page by detecting the current accessed page in the page source statistic method that the present embodiment is provided After switching, it is first determined the page for being switched whether be the current accessed page multiple subpage frames in one Subpage frame, if so, adding identifier to two Property IDs of the current accessed page, then will carry and identifies Two Property IDs of symbol are sent to the view controller of switched subpage frame, if it is not, then directly will be current Two Property IDs of accession page are sent to the view controller of the switched page so that the son for being switched The view controller of the page is identified when two Property IDs for receiving carrying identifier are determined by carrying Two Property IDs of symbol are recorded as corresponding two Property IDs of source page, if it is not, will then receive Two Property IDs be recorded as corresponding two Property IDs of source page, while the switched son of generation The page access ID of the page.Finally record two Property IDs and the current accessed page of the current accessed page Source page two Property IDs, it is complicated in statistics so as to solve existing page source statistic method The page source counted during the page is not inconsistent with actual page source, can cause the problem of mistake of statistics.And It is all suitable for for the different types of page.
Page source statistic method shown in above-mentioned Fig. 1 and Fig. 2, can rapidly with the daily record of the page Statistical system is docked, and realizes the determination in page access path so that the page access path determined and reality Border path is consistent, and realizes the accuracy that page access path determines.Described in detail with reference to Fig. 3.
Fig. 3 is the flow chart of page access determining method of path embodiment one of the present invention, as shown in figure 3, The method of the present embodiment can include:
S301, each blog entry for obtaining current record.
Specifically, when recording blog entry, specifically include:
S3011, each page the page initialize when, generate and store each page the page initialization ID。
S3012, detect current page it is accessed when, generate the page access ID of the current accessed page.
Then the S202-S204 shown in Fig. 2 is performed, the subpage frame for being switched accordingly performs S208-S209.
S3013, in the corresponding blog entry of this accession page, record the current accessed page two Two Property IDs of the source page of individual Property ID and the current accessed page.
S302, two Property IDs and itself page based on the source page recorded in each blog entry Two Property IDs, determine the first network journal entries and the second network log bar for meeting setting relation Mesh, wherein, relation is set as the page in first network journal entries initializes ID and the second network log The page initialization ID of the source page in entry is identical.
S303, determine page access path be from first network journal entries the page initialization ID characterize The page in the second blog entry the page initialization ID characterize the page.
Two page access paths of the page of access are to determine shown in Fig. 3, for have accessed multiple pages Page access path determination, the present invention be also it is applicable, principle be similar to, here is omitted.
The page access determining method of path that the present embodiment is provided, the page provided with reference to the present invention is originated and is united Meter method carries out the determination in page access path so that the page access path determined and Actual path phase Meet, realize the accuracy that page access path determines.
Fig. 4 is the structural representation of view controller embodiment one of the present invention, as shown in figure 4, this implementation The view controller of example can include:Detection module 11, determining module 12, processing module 13, transmission Module 14 and logging modle 15, wherein, detection module 11 is used to detect current accessed page generation page Face switches, determining module 12 be used to determining the switched page whether be the current accessed page multiple subpages A subpage frame in face, processing module 13 is used to determine that the switched page is current visit in determining module When asking a subpage frame in multiple subpage frames of the page, to two attribute-bit ID of the current accessed page Plus identifier, two Property IDs include characterizing unique ID and page access ID of the current accessed page, Sending module 14 is used to be sent to two Property IDs for carrying identifier the view of switched subpage frame Controller, so that two category of the carrying identifier that the view controller of the subpage frame for being switched will be received Property ID be recorded as corresponding two Property IDs of source page, while the page of the switched subpage frame of generation ID is asked in interview, and logging modle 15 is used to record two Property IDs and the current accessed page of the current accessed page Two Property IDs of the source page in face.
Further, sending module 14 is additionally operable to:Determine that the switched page is not current in determining module During a subpage frame in multiple subpage frames of accession page, two Property IDs of the current accessed page are sent out The view controller of the switched page is given, so that the view controller of the page for being switched will be received Two Property IDs be recorded as corresponding two Property IDs of source page, while the switched page of generation The page access ID in face.
Wherein it is determined that module 12 specifically for:It is determined that by current accessed page layout switch to the current accessed page Multiple subpage frames in a subpage frame.Or, it is determined that by a subpage frame in the current accessed page It is switched to another subpage frame.
Further, processing module 13 is additionally operable to:Current accessed page hair is detected in detection module 11 Before raw page layout switch, the page access ID of the current accessed page is generated.
Further, unique ID of the current accessed page is characterized for the page of the current accessed page is initialized ID, processing module 13 is additionally operable to:When the current accessed page page is initialized, current visit is generated and preserved Ask the page initialization ID of the page.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1 or Fig. 2, Its realization principle is similar to, and here is omitted.
The view controller that the present embodiment is provided, detects the current accessed page and page occurs by detection module After the switching of face, it is first determined module determine the switched page whether be the current accessed page multiple subpages A subpage frame in face, if so, processing module adds mark to two Property IDs of the current accessed page Accord with, then two Property IDs for carrying identifier are sent to sending module the view of switched subpage frame Controller, if it is not, then direct be sent to two Property IDs of the current accessed page of sending module is switched The page view controller so that the view controller of the subpage frame for being switched is taken determining to receive During two Property IDs of tape identification symbol, two Property IDs for carrying identifier are recorded as source page Corresponding two Property IDs, if it is not, two Property IDs that will then receive are recorded as the phase of source page Two Property IDs answered, while the page access ID of the switched subpage frame of generation.Last logging modle note Two Property IDs of the source page of two Property IDs and the current accessed page of the current accessed page are recorded, The page counted when complex page is counted so as to solve existing page source statistic method is originated and real The page source on border is not inconsistent, and can cause the problem of mistake of statistics.And be all suitable for for the different types of page.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above-mentioned each method embodiment Suddenly can be completed by the related hardware of programmed instruction.Foregoing program can be stored in a computer can In reading storage medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And Foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right Its limitation;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.

Claims (10)

1. a kind of page source statistic method, it is characterised in that including:
Detect the current accessed page and page layout switch occurs;
Determine that the switched page is a subpage frame in multiple subpage frames of the current accessed page When, two attribute-bit ID to the current accessed page add identifier, described two Property IDs Unique ID and page access ID including characterizing the current accessed page;
Two Property IDs for carrying identifier are sent to the view controller of switched subpage frame, so that Two Property IDs of the carrying identifier that the view controller of the subpage frame for being switched will be received are recorded as Corresponding two Property IDs of source page, while the page access ID of the switched subpage frame of generation;
Record two Property IDs of the current accessed page and the source page of the current accessed page Two Property IDs.
2. method according to claim 1, it is characterised in that also include:
Determine that the switched page is not a subpage frame in multiple subpage frames of the current accessed page When, the view controller of the switched page will be sent to when two Property IDs of the preceding accession page, So that two Property IDs that the view controller of the page for being switched will be received are recorded as source page Corresponding two Property IDs, while the page access ID of the switched page of generation.
3. method according to claim 1, it is characterised in that the page that the determination is switched is A subpage frame in multiple subpage frames of the current accessed page, including:
It is determined that by multiple subpage frames of the current accessed page layout switch to the current accessed page Individual subpage frame;
Or,
It is determined that by a sub- page layout switch in the current accessed page to another subpage frame.
4. the method according to claim any one of 1-3, it is characterised in that it is described detect it is current Before there is page layout switch in accession page, or detect the current accessed page it is accessed when, also wrap Include:
Generate the page access ID of the current accessed page.
5. the method according to claim any one of 1-3, it is characterised in that the sign is currently visited The unique ID for asking the page is the page initialization ID of the current accessed page, and methods described also includes:
When the current accessed page page is initialized, the page of the current accessed page is generated and preserved Face initializes ID.
6. a kind of view controller, it is characterised in that including:
, there is page layout switch for detecting the current accessed page in detection module;
Determining module, for determine the switched page whether be the current accessed page multiple subpages A subpage frame in face;
Processing module, for determining that the switched page is the current accessed page in the determining module Multiple subpage frames in a subpage frame when, two attribute-bit ID to the current accessed page add Upper identifier, described two Property IDs include characterizing unique ID and page access ID of the current accessed page;
Sending module, for two Property IDs for carrying identifier to be sent into regarding for switched subpage frame Figure controller, so that two of the carrying identifier that the view controller of the subpage frame for being switched will be received Property ID is recorded as corresponding two Property IDs of source page, while the switched subpage frame of generation Page access ID;
Logging modle, two Property IDs and the current accessed page for recording the current accessed page Two Property IDs of the source page in face.
7. view controller according to claim 6, it is characterised in that the sending module is also used In:
Determine that the switched page is not multiple subpage frames of the current accessed page in the determining module In a subpage frame when, will work as the preceding accession page two Property IDs be sent to the switched page View controller so that the view controller of the page for being switched will receive two Property IDs record It is corresponding two Property IDs of source page, while the page access ID of the switched page of generation.
8. view controller according to claim 6, it is characterised in that the determining module is specific For:
It is determined that by multiple subpage frames of the current accessed page layout switch to the current accessed page Individual subpage frame;
Or,
It is determined that by a sub- page layout switch in the current accessed page to another subpage frame.
9. the view controller according to claim any one of 6-8, it is characterised in that the treatment Module is additionally operable to:
Before the detection module detects current accessed page generation page layout switch, or detect institute State the current accessed page it is accessed when, generate the page access ID of the current accessed page.
10. the view controller according to claim any one of 6-8, it is characterised in that the table The unique ID for levying the current accessed page is the page initialization ID of the current accessed page, the treatment Module is additionally operable to:
When the current accessed page page is initialized, the page of the current accessed page is generated and preserved Face initializes ID.
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 true CN106933858A (en) 2017-07-07
CN106933858B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741970A (en) * 2017-10-09 2018-02-27 北京京东尚科信息技术有限公司 Method and apparatus for being laid out to homepage
CN107784065A (en) * 2017-08-17 2018-03-09 平安壹钱包电子商务有限公司 Business datum tracking, device, computer equipment and storage medium
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

Cited By (4)

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

Also Published As

Publication number Publication date
CN106933858B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
US11256683B2 (en) Method and apparatus for integrating multi-data source user information
CN104834674A (en) Method and device for collecting user behavior data and information recommendation
US9465685B2 (en) Identifying solutions to application execution problems in distributed computing environments
US8935576B2 (en) Automated cabling process for a complex environment
CN105319455A (en) Automatic test system and method
CN103136094A (en) Page testing method and device
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
CN102238038A (en) Network equipment security evaluation method and device
RU2631769C2 (en) Method and device for determining objective of information processing
CN108874672B (en) Application program exception positioning method, device, equipment and storage medium
CN104123324A (en) Positioning and obtaining method and device for unread messages
CN105207832A (en) Server stress testing method and device
CN106933858A (en) Page source statistic method and view controller
CN107770151A (en) A kind of enterprise's integrated work management system and its method
CN104917796A (en) Credit account creating method, system and method
CN105867899A (en) Method and device for identifying device
CN116257223A (en) Data isolation development method, device, equipment, readable storage medium and product
CN109710474B (en) Hard disk fault detection method and device, terminal and readable storage medium
CN105528352A (en) Method for establishing corresponding relation of mobile communication user and network account information thereof
CN109617924A (en) A kind of account usage behavior detection method and device
CN109600398B (en) Account use behavior detection method and device
CN107146098A (en) Advertisement operation configuration method and equipment
CN110070383B (en) Abnormal user identification method and device based on big data analysis
CN111200654A (en) Client request error processing method and device
CN114584482B (en) Method, device and network card for storing detection data based on memory

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