CN110083459A - The data in cross-page face bury point methods, device, equipment and storage medium - Google Patents
The data in cross-page face bury point methods, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110083459A CN110083459A CN201910202062.3A CN201910202062A CN110083459A CN 110083459 A CN110083459 A CN 110083459A CN 201910202062 A CN201910202062 A CN 201910202062A CN 110083459 A CN110083459 A CN 110083459A
- Authority
- CN
- China
- Prior art keywords
- page
- data
- user terminal
- code
- message
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012544 monitoring process Methods 0.000 claims abstract description 25
- 230000001960 triggered effect Effects 0.000 claims abstract description 23
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 230000006378 damage Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention belongs to data to bury point tracking technical field, and the data for disclosing a kind of cross-page face bury point methods, device, equipment and storage medium.The present invention is when receiving the links and accesses request that user terminal is triggered based on first page, according to the corresponding second page of the links and accesses request, the second page is fed back into the user terminal, so that the user terminal is shown the second page, Code obtaining, which is monitored, by the page events by the second page buries point data, and code is sent for the point data of burying with the sending of presetting message format by the message by the second page, it obtains the first page and buries point data by what message monitoring event code was listened to, since message format is generally independent of second page, therefore, it can be transmitted in the case where burying a page close or burying and destroyed immediately after a page saves and bury point data, it avoids obtaining and buries point data failure.
Description
Technical field
Bury point tracking technical field the present invention relates to data more particularly to a kind of data in cross-page face bury point methods, device,
Equipment and storage medium.
Background technique
Front end data, which buries, in internet (Web) project is a little all based on greatly the perfect event handling of Web page, event monitoring system
System realizes that the data of front end page corresponding function bury a realization by way of dependent event distribution processor.But in more browsers
In the case that window, more frames (iframe) window are nested, if burying a page close or burying after a page saves immediately
In the case where destruction, because of the limitation of browser, the request of transmission can be intercepted cancellation, therefore data is caused to bury a failure, can not
Realize that the data of the corresponding function are buried a little.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of data in cross-page face to bury point methods, device, equipment and storage medium,
Aim to solve the problem that the request meeting of transmission in the case where burying a page close in the prior art or burying and destroy immediately after page saves
It is intercepted to cancel, the technical issues of causing data to bury failure.
To achieve the above object, the data that the present invention provides a kind of cross-page face bury point methods, and the data in the cross-page face are buried
Point methods the following steps are included:
When receiving the links and accesses request that user terminal is triggered based on first page, asked according to the links and accesses
It asks and obtains corresponding second page, the first page monitors event code added with message, is added in the second page
Page events monitor code and message sends code;
The second page is fed back into the user terminal, so that the user terminal opens up the second page
Show, monitors Code obtaining by the page events by the second page and bury point data, and institute is passed through by the second page
It states message and sends code for the point data of burying with the sending of presetting message format;
It obtains the first page and buries point data by what message monitoring event code was listened to.
Preferably, described that the second page is fed back into the user terminal, so that the user terminal is to described
Two pages are shown, and are monitored Code obtaining by the page events by the second page and are buried point data, and by described the
Two pages send code for the point data of burying with the sending of presetting message format by the message, comprising:
The second page is fed back into the user terminal, so that the user terminal opens up the second page
Show, monitors a variety of to monitored data of second page described in code acquisition by the page events as the second page, press
It is ranked up, is combined to described to monitored data according to ranking results, with life to monitored data to described according to preset order
At burying point data, and by the second page by the message send code by the preset order and it is described bury point data with
Presetting message format issues;
The acquisition first page buries point data by what message monitoring event code was listened to, comprising:
It obtains the first page and the preset order and bury point data that event code is listened to is monitored by the message,
The point data of burying is parsed according to the preset order, obtain the second page to monitored data.
Preferably, described that the second page is fed back into the user terminal, so that the user terminal is to described
Two pages are shown, as the second page by the page events monitor code acquisition described in second page it is a variety of to
Monitored data is ranked up to described to monitored data according to preset order, according to ranking results to it is described to monitored data into
Row combination buries point data to generate, and sends code for the preset order and institute by the message by the second page
It states and buries point data with the sending of presetting message format, comprising:
The second page is fed back into the user terminal, so that the user terminal opens up the second page
Show, monitors a variety of to monitored data of second page described in code acquisition by the page events as the second page, press
It is ranked up, is combined to described to monitored data according to ranking results, with life to monitored data to described according to preset order
At point data is buried, the point data of burying is encrypted according to the generation time for burying point data, and by the second page
Code is sent by the preset order, the generation time by the message and encrypted buried point data and is disappeared with presetting
Format is ceased to issue;
It is described to obtain the preset order and bury a little that the first page is listened to by message monitoring event code
Data parse the point data of burying according to the preset order, obtain the second page to monitored data, packet
It includes:
Obtain the first page by the message monitor event code listened to preset order, generate the time,
And it is encrypted bury point data, the encrypted point data of burying is decrypted according to the generation time, according to described
Preset order to decryption obtain point data of burying parse, obtain the second page to monitored data.
Preferably, described to monitored data includes: page load data, page beforeunload data, the page
Unload data, page click data, page mouseEnter data and page mouseLeave data.
Preferably, described when receiving the links and accesses request that user terminal is triggered based on first page, according to institute
State the corresponding second page of links and accesses request, comprising:
When receiving the links and accesses request that user terminal is triggered based on first page, obtain and the connected reference
Corresponding target pages are requested, and injects page events in the target pages and monitors code and message transmission code, to obtain
Obtain second page;
Or,
When receiving the links and accesses request that user terminal is triggered based on first page, search and the connected reference
Request corresponding second page.
Preferably, described when receiving the links and accesses request that user terminal is triggered based on first page, according to institute
Before stating the corresponding second page of links and accesses request, the data in the cross-page face bury point methods further include:
When receiving the web access requests of user terminal triggering, corresponding with the web access requests first is obtained
The page;
The first page is fed back into the user terminal, so that the user terminal shows the first page.
Preferably, described when receiving the web access requests of user terminal triggering, acquisition is asked with the web page access
Seek corresponding first page, comprising:
When receiving the web access requests of user terminal triggering, obtain corresponding with the web access requests wait visit
It asks the page, and injects message in the page to be visited and monitor event code, to obtain first page;
Or,
When receiving the web access requests of user terminal triggering, corresponding with the web access requests first is searched
The page.
In addition, to achieve the above object, the present invention also proposes that a kind of data in cross-page face bury a device, described device packet
It includes:
Page acquisition module, in the links and accesses request for receiving user terminal and being triggered based on first page,
According to the corresponding second page of the links and accesses request, the first page monitors event code, institute added with message
It states in second page and monitors code and message transmission code added with page events;
Page feedback module, for the second page to be fed back to the user terminal, so that the user terminal pair
The second page is shown, and is monitored Code obtaining by the page events by the second page and is buried point data, and by
The second page sends code for the point data of burying with the sending of presetting message format by the message;
Data acquisition module is buried for obtaining the first page by what message monitoring event code was listened to
Point data.
In addition, to achieve the above object, the present invention also proposes that a kind of data in cross-page face bury point device, the equipment packet
It includes: memory, processor and being stored in the data in the cross-page face that can be run on the memory and on the processor and bury a little
Program, the data in the cross-page face bury a program and are arranged for carrying out the step of data in cross-page face as described above bury point methods.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored on the storage medium cross-page
The data in face bury a program, and the data in the cross-page face, which are buried, realizes cross-page face as described above when a program is executed by processor
Data bury the step of point methods.
The present invention is when receiving the links and accesses request that user terminal is triggered based on first page, according to the link
Access request obtains corresponding second page, the second page is fed back to the user terminal, so that the user terminal
The second page is shown, Code obtaining is monitored by the page events by the second page and buries point data, and
Code is sent for the point data of burying with the sending of presetting message format by the message by the second page, obtains described the
One page buries point data by what message monitoring event code was listened to, since message format is generally independent of second
Therefore the page can transmit in the case where burying a page close or burying and destroy immediately after a page saves and bury point data, avoid
Point data failure is buried in acquisition.
Detailed description of the invention
Fig. 1 is that the data in the cross-page face for the hardware running environment that the embodiment of the present invention is related to are buried the structure of point device and shown
It is intended to;
Fig. 2 is that the data in the cross-page face of the present invention bury the flow diagram of point methods first embodiment;
Fig. 3 is that the data in the cross-page face of the present invention bury the flow diagram of point methods second embodiment;
Fig. 4 is that the data in the cross-page face of the present invention bury the flow diagram of point methods 3rd embodiment;
Fig. 5 is that the data in the cross-page face of the present invention bury the flow diagram of point methods fourth embodiment;
Fig. 6 is that the data in the cross-page face of the present invention bury a structural block diagram for device first embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is that the data in the cross-page face for the hardware running environment that the embodiment of the present invention is related to bury point device
Structural schematic diagram.
As shown in Figure 1, it may include: processor 1001, such as central processing unit that the data in the cross-page face, which bury point device,
(Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display
Shield (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include that the wired of standard connects
Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as Wireless Fidelity
(WIreless-FIdelity, WI-FI) interface).Memory 1005 can be the random access memory (Random of high speed
Access Memory, RAM) memory, be also possible to stable nonvolatile memory (Non-Volatile Memory,
), such as magnetic disk storage NVM.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1, which is not constituted, buries point device to the data in cross-page face
Restriction, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, data storage mould in a kind of memory 1005 of storage medium
Block, network communication module, Subscriber Interface Module SIM and the data in cross-page face bury a program.
The data in cross-page face shown in Fig. 1 are buried in point device, and network interface 1004 is mainly used for carrying out with other equipment
Data communication;User interface 1003 is mainly used for carrying out data interaction with user;The data in the cross-page face of the present invention are buried in point device
Processor 1001, the data that can be set in cross-page face of memory 1005 bury in point device, the data in the cross-page face are buried a little
Equipment calls the data in the cross-page face stored in memory 1005 to bury a program by processor 1001, and executes implementation of the present invention
The data in the cross-page face that example provides bury point methods.
Bury point methods the embodiment of the invention provides a kind of data in cross-page face, referring to Fig. 2, Fig. 2 be the present invention it is a kind of across
The data of the page bury the flow diagram of point methods first embodiment.
In the present embodiment, the data in the cross-page face bury point methods the following steps are included:
S10: when receiving the links and accesses request that user terminal is triggered based on first page, according to the chain receiving
Ask request corresponding second page, the first page monitors event code added with message, adds in the second page
Code is monitored added with page events and message sends code.
It should be noted that the executing subject of the method for the present embodiment is specially Web server, the Web server is
To can provide the server that network information browses service function, that is to say, that user terminal can send webpage to Web server and visit
Ask request, correspondingly, Web server can feed back webpage corresponding with web access requests.
In the concrete realization, the user terminal is terminal device used by a user, can be smart phone, plate
Computer, laptop or PC etc..
It will be appreciated that the first page is the page being shown in the display interface of user terminal, usually
Having some link triggering elements in first page, (each link triggering element respectively corresponds a uniform resource locator
URL), when triggering link triggering element in first page as user, user terminal can generate a links and accesses request, and will
The links and accesses request is sent to the Web server, usually contacts with the chain being triggered in the links and accesses request
The target URL of element is sent out, the Web server can obtain corresponding second according to the target URL in connected reference request
The page.
To be added with the second page that page events monitor code and message sends code convenient for obtaining, in the present embodiment,
Following two mode can be used to realize:
First way are as follows: instant injection mode;That is, being triggered receiving user terminal based on first page
Links and accesses request when, obtain corresponding with connected reference request target pages, and inject in the target pages
Page events monitor code and message sends code, to obtain second page.
The second way are as follows: be previously implanted mode;That is, in advance in the corresponding each page of each connection triggering element
It is previously implanted page events and monitors code and message and send code, in the chain for receiving user terminal and being triggered based on first page
When connecing access request, second page corresponding with connected reference request is searched.
Certainly, other similar mode also can be used and realizes that the present embodiment is without restriction to this.
In the concrete realization, the second page would generally be shown in the form of window etc., this is not added in the present embodiment
With limitation.
S20: feeding back to the user terminal for the second page so that the user terminal to the second page into
Row is shown, is monitored Code obtaining by the page events by the second page and is buried point data, and is led to by the second page
It crosses the message and sends code for the point data of burying with the sending of presetting message format.
It should be noted that it is to be used to obtain the code for burying point data, and bury points that the page events, which monitor code,
According to the data for being as able to reflect user's operation.
It will be appreciated that it is to be used to bury the code of point data sending that message, which sends code, but due to being usually by the
Two pages will directly bury point data by the modes such as list or scripting language (JavaScript, JS) code and be sent to first page
Face, and when these modes the case where destroying at once after second page is closed or the page saves, sends that request is intercepted to be cancelled, and leads
It causes to obtain and buries point data failure, to avoid this problem, bury point data by described in the present solution, message sends code and disappeared with default
It ceases format to issue, specifically, the point data of burying can be added in message queue by postMessage message format, and
Message queue is not rely on second page, therefore, can successively issue the message in message queue.
S30: the first page is obtained by what message monitoring event code was listened to and buries point data.
In the concrete realization, it to guarantee that first page buries point data described in capable of receiving, is added in first page
Message monitors event code, and message monitors event code can be by burying point data with minor function to monitor:
The present embodiment is when receiving the links and accesses request that user terminal is triggered based on first page, according to the chain
Receiving asks request corresponding second page, and the second page is fed back to the user terminal, so that the user is whole
End is shown the second page, monitors Code obtaining by the page events by the second page and buries point data,
And code is sent for the point data of burying with the sending of presetting message format, described in acquisition by the message by the second page
First page buries point data by what the message monitored that event code listened to, since message format is generally independent of the
Therefore two pages can transmit in the case where burying a page close or burying and destroy immediately after a page saves and bury point data, keep away
Exempt to obtain and buries point data failure.
With reference to Fig. 3, Fig. 3 is the flow diagram that a kind of data in cross-page face of the present invention bury point methods second embodiment.
Based on above-mentioned first embodiment, in the present embodiment, step S20 includes:
S21: feeding back to the user terminal for the second page so that the user terminal to the second page into
Row is shown, monitors a variety of numbers to be monitored of second page described in code acquisition by the page events as the second page
According to, it is ranked up to described to monitored data according to preset order, is combined to described to monitored data according to ranking results,
Point data is buried to generate, and points by the preset order and described are buried by message transmission code by the second page
Presetting message format issues accordingly.
Step S30 includes:
S31: the first page is obtained by the message and monitors the preset order and bury a little that event code is listened to
Data parse the point data of burying according to the preset order, obtain the second page to monitored data.
It should be noted that for it is described bury point data for, would generally by it is a variety of to monitored data generate, certainly,
It is described to monitored data can include: page load data, page beforeunload data, page unload data, the page
Click data, page mouseEnter data and page mouseLeave data, may also include other data, the present embodiment
It is without restriction to this.
To be described to monitored data convenient for acquiring, in the concrete realization, the page events monitor code can include: the page
Load event (i.e. page load events) monitors function, page beforeunload event (i.e. page close event) monitors letter
Number, page unload event (i.e. page unloading event) monitor function, page click event (i.e. page click event) monitors letter
Number, page mouseEnter event (i.e. page mouse incoming event) monitor function and page mouseLeave event (i.e. page
Face mouse stops event) monitor function.
Below with page load event monitoring code, page unload event monitoring code and the page click event prison
For listening code.
Page load event monitoring code can be by recording user access information with minor function:
It will be appreciated that for it is above-mentioned it is a variety of to monitored data for, if being sent directly as point data is buried, usually
It needs to be easy to go out active in transmission process, and there is also transmitting efficiency mistakes to respectively sending respectively to monitored data
Low problem in the present embodiment, can pass through the page events as the second page and monitor second page described in code acquisition
It is a variety of to monitored data, be ranked up to described to monitored data according to preset order, according to ranking results to described wait supervise
It listens data to be combined, buries point data to generate, and sending code by the message by the second page will be described default
Sequence and the point data of burying are with the sending of presetting message format, to guarantee once to send a variety of to monitored data.
Certainly, in the present embodiment, the first page can be obtained and pass through the message convenient for obtaining respectively to monitored data
The preset order and bury point data that event code is listened to are monitored, the point data of burying is solved according to the preset order
Analysis, obtain the second page to monitored data.
Assuming that preset order be put in order according to following data: page load data, page beforeunload data,
Page unload data, page click data, page mouseEnter data and page mouseLeave data, at this point,
It can will be according to page load data, page beforeunload data, page unload data, page click data, the page
The sequence of mouseEnter data and page mouseLeave data is combined, obtain the second page wait monitor
Data.
With reference to Fig. 4, Fig. 4 is the flow diagram that a kind of data in cross-page face of the present invention bury point methods 3rd embodiment.
Based on above-mentioned 3rd embodiment, in the present embodiment, step S21 includes:
S22: feeding back to the user terminal for the second page so that the user terminal to the second page into
Row is shown, monitors a variety of numbers to be monitored of second page described in code acquisition by the page events as the second page
According to, it is ranked up to described to monitored data according to preset order, is combined to described to monitored data according to ranking results,
Point data is buried to generate, the point data of burying is encrypted according to the generation time for burying point data, and by described second
The page sends code for the preset order, the generation time and encrypted point data of burying with pre- by the message
If message format issues.
The step S31, comprising:
S32: when obtaining preset order, the generation that the first page is listened to by message monitoring event code
Between and it is encrypted bury point data, the encrypted point data of burying is decrypted according to the generation time, according to institute
State preset order to decryption obtain point data of burying parse, obtain the second page to monitored data.
Due to it is described bury point data directly with presetting message format issue if, be easy it is obtained by a hacker, to cause to use
The leakage of family information not can guarantee user information safety, therefore, in the present embodiment, can be obtained when point data is buried in generation described in
It buries the generation time of point data, and the point data of burying is encrypted according to the generation time, and by the second page
Code is sent by the preset order, the generation time by the message and encrypted buried point data and is disappeared with presetting
Format is ceased to issue.
In the concrete realization, it is assumed that it is described bury point data be AAABBBCCEE, and generate the time be X point Y minutes and Z seconds, this
When, it can be by the generation time conversion at number of seconds, at this point, can get a calculated result X*60*60+Y*60+Z, then will be described
Calculated result divided by default value (can be configured as needed, such as: 10,11,12,13,14 etc.), obtain remainder, then will
The remainder is superimposed to described bury in point data, it is assumed that remainder 2, at this point, encrypted point data of burying is CCCDDDEEGG.
Correspondingly, be it is readily available described to monitored data, the first page can be obtained and pass through message monitoring thing
Preset order that part code is listened to, generate the time and it is encrypted bury point data, according to the generation time to described
Encrypted point data of burying is decrypted, and is parsed according to the point data of burying that the preset order obtains decryption, obtains institute
State second page to monitored data, due to the conversion process that decrypting process is ciphering process, details are not described herein.
With reference to Fig. 5, Fig. 5 is the flow diagram that a kind of data in cross-page face of the present invention bury point methods fourth embodiment.
Based on above-mentioned first embodiment, in the present embodiment, before step S10, the data in the cross-page face bury point methods also
Include:
S01: it when receiving the web access requests of user terminal triggering, obtains corresponding with the web access requests
First page.
For in the present embodiment, following two can be used convenient for obtaining the first page for monitoring event code added with message
Mode is realized:
First way are as follows: instant injection mode;That is, in the web access requests for receiving user terminal triggering
When, the page to be visited corresponding with the web access requests is obtained, and inject message in the page to be visited and monitor thing
Part code, to obtain first page.
The second way are as follows: be previously implanted mode;That is, adding message in each webpage in advance monitors event generation
Code searches first page corresponding with the web access requests when receiving the web access requests of user terminal triggering.
Certainly, other similar mode also can be used and realizes that the present embodiment is without restriction to this.
It will be appreciated that user is when needing to access webpage, it will usually input URL, user terminal after receiving URL,
The web access requests for carrying the URL can be generated, at this point, can obtain by the URL corresponding with the web access requests
First page.
S02: feeding back to the user terminal for the first page, so that the user terminal shows the first page
Face.
To be triggered convenient for user to first page, in the present embodiment, it can be used and the first page is fed back into institute
User terminal is stated, so that the user terminal shows the first page.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the data in cross-page face are stored on the storage medium
A program is buried, the data in the cross-page face, which are buried, realizes that the data in cross-page face as described above are buried when a program is executed by processor
The step of point methods.
Referring to Fig. 6, Fig. 6 is that the data in the cross-page face of the present invention bury a structural block diagram for device first embodiment.
As shown in fig. 6, the data in the cross-page face that the embodiment of the present invention proposes bury a device and include:
Page acquisition module 4001, in the links and accesses request for receiving user terminal and being triggered based on first page
When, according to the corresponding second page of the links and accesses request, the first page monitors event code added with message,
Code is monitored added with page events in the second page and message sends code;
Page feedback module 4002, for the second page to be fed back to the user terminal, so that the user is whole
End is shown the second page, monitors Code obtaining by the page events by the second page and buries point data,
And code is sent for the point data of burying with the sending of presetting message format by the message by the second page;
Data acquisition module 4003 is listened to for obtaining the first page by message monitoring event code
Bury point data.
To be added with the second page that page events monitor code and message sends code convenient for obtaining, in the present embodiment,
The page acquisition module 4001 is also used in the links and accesses request for receiving user terminal and being triggered based on first page
When, target pages corresponding with connected reference request are obtained, and inject page events in the target pages and monitor generation
Code and message send code, to obtain second page;
Or,
The page acquisition module 4001 is also used in the chain receiving for receiving user terminal and being triggered based on first page
When asking request, second page corresponding with connected reference request is searched.
To trigger convenient for user to first page, in the present embodiment, the data in the cross-page face are buried a device and are also wrapped
It includes:
Page presentation module, for obtaining and the webpage when receiving the web access requests of user terminal triggering
The corresponding first page of access request;The first page is fed back into the user terminal, so that the user terminal is shown
The first page.
For convenient for obtaining the first page for monitoring event code added with message, in the present embodiment, the page presentation mould
Block, be also used to receive user terminal triggering web access requests when, obtain it is corresponding with the web access requests to
Accession page, and inject message in the page to be visited and monitor event code, to obtain first page;
Or,
The page presentation module is also used to when receiving the web access requests of user terminal triggering, lookup and institute
State the corresponding first page of web access requests.
For convenient for burying point data described in obtaining, in the present embodiment, it includes: page load thing that the page events, which monitor code,
Part monitors function, page beforeunload event monitoring function, page unload event monitoring function, page click event
Monitor at least one in function, page mouseEnter event monitoring function and page mouseLeave event monitoring function
Kind.
Correspondingly, the point data of burying includes: load data, beforeunload data, unload data, click number
According at least one of, mouseEnter data and mouseLeave data.
Specifically, the presetting message format is postMessage message format.
In addition, the not technical detail of detailed description in the present embodiment, reference can be made to provided by any embodiment of the invention
The data in cross-page face bury point methods, and details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data in cross-page face bury point methods, which is characterized in that it includes following step that the data in the cross-page face, which bury point methods,
It is rapid:
When receiving the links and accesses request that user terminal is triggered based on first page, obtained according to links and accesses request
Corresponding second page is taken, the first page monitors event code added with message, is added with the page in the second page
Event monitoring code and message send code;
The second page is fed back into the user terminal, so that the user terminal is shown the second page,
Code obtaining is monitored by the page events by the second page and buries point data, and is disappeared by the second page by described
Breath sends code for the point data of burying with the sending of presetting message format;
It obtains the first page and buries point data by what message monitoring event code was listened to.
2. the data in cross-page face as described in claim 1 bury point methods, which is characterized in that described to feed back the second page
Passed through by the second page described to the user terminal so that the user terminal is shown the second page
Page events monitor Code obtaining and bury point data, and send code by the message by the second page and bury points for described
Presetting message format issues accordingly, comprising:
The second page is fed back into the user terminal, so that the user terminal is shown the second page,
The a variety of to monitored data of second page described in code acquisition are monitored by the page events as the second page, according to pre-
If sequence is ranked up to described to monitored data, it is combined to described to monitored data according to ranking results, is buried with generating
Point data, and code is sent for the preset order by the message by the second page and described buries point data to preset
Message format issues;
The acquisition first page buries point data by what message monitoring event code was listened to, comprising:
It obtains the first page and the preset order and bury point data that event code is listened to is monitored by the message, according to
The preset order parses the point data of burying, obtain the second page to monitored data.
3. the data in cross-page face as claimed in claim 2 bury point methods, which is characterized in that described to feed back the second page
Passed through by the second page described to the user terminal so that the user terminal is shown the second page
Page events monitor a variety of to monitored data of second page described in code acquisition, according to preset order to described to monitored data
It is ranked up, is combined to described to monitored data according to ranking results, bury point data to generate, and by the second page
Code is sent by the preset order and the point data of burying by the message with the sending of presetting message format, comprising:
The second page is fed back into the user terminal, so that the user terminal is shown the second page,
The a variety of to monitored data of second page described in code acquisition are monitored by the page events as the second page, according to pre-
If sequence is ranked up to described to monitored data, it is combined to described to monitored data according to ranking results, is buried with generating
Point data encrypts the point data of burying according to the generation time for burying point data, and is passed through by the second page
The message sends code for the preset order, the generation time and encrypted point data of burying with presetting message lattice
Formula issues;
It is described to obtain the preset order and bury point data that the first page is listened to by message monitoring event code,
The point data of burying is parsed according to the preset order, obtain the second page to monitored data, comprising:
Obtain the first page by the message monitor event code listened to preset order, generate the time and
It is encrypted to bury point data, the encrypted point data of burying is decrypted according to the generation time, according to described default
Sequence to decryption obtain point data of burying parse, obtain the second page to monitored data.
4. the data in cross-page face according to any one of claims 1 to 3 bury point methods, which is characterized in that described wait monitor
Data include: page load data, page beforeunload data, page unload data, page click data, the page
MouseEnter data and page mouseLeave data.
5. the data in cross-page face according to any one of claims 1 to 3 bury point methods, which is characterized in that described to receive
When the links and accesses request triggered to user terminal based on first page, according to the links and accesses request corresponding the
Two pages, comprising:
When receiving the links and accesses request that user terminal is triggered based on first page, obtains and requested with the connected reference
Corresponding target pages, and in the target pages inject page events and monitor code and message and send code, to obtain the
Two pages;
Or,
When receiving the links and accesses request that user terminal is triggered based on first page, searches and requested with the connected reference
Corresponding second page.
6. the data in cross-page face according to any one of claims 1 to 3 bury point methods, which is characterized in that described to receive
When the links and accesses request triggered to user terminal based on first page, according to the links and accesses request corresponding the
Before two pages, the data in the cross-page face bury point methods further include:
When receiving the web access requests of user terminal triggering, first page corresponding with the web access requests is obtained
Face;
The first page is fed back into the user terminal, so that the user terminal shows the first page.
7. the data in cross-page face as claimed in claim 6 bury point methods, which is characterized in that described to receive user terminal touching
When the web access requests of hair, first page corresponding with the web access requests is obtained, comprising:
When receiving the web access requests of user terminal triggering, page to be visited corresponding with the web access requests is obtained
Face, and inject message in the page to be visited and monitor event code, to obtain first page;
Or,
When receiving the web access requests of user terminal triggering, first page corresponding with the web access requests is searched
Face.
8. a kind of data in cross-page face bury a device, which is characterized in that described device includes:
Page acquisition module, in the links and accesses request for receiving user terminal and being triggered based on first page, according to
The corresponding second page of the links and accesses request, the first page monitor event code added with message, and described the
Code is monitored added with page events in two pages and message sends code;
Page feedback module, for the second page to be fed back to the user terminal, so that the user terminal is to described
Second page is shown, and is monitored Code obtaining by the page events by the second page and is buried point data, and by described
Second page sends code for the point data of burying with the sending of presetting message format by the message;
Data acquisition module buries points by what message monitoring event code was listened to for obtaining the first page
According to.
9. a kind of data in cross-page face bury point device, which is characterized in that the equipment includes: memory, processor and is stored in
On the memory and the data in cross-page face that can run on the processor bury a program, and the data in the cross-page face are buried a little
The step of data that program is arranged for carrying out the cross-page face as described in any one of claims 1 to 7 bury point methods.
10. a kind of storage medium, which is characterized in that the data for being stored with cross-page face on the storage medium bury a program, described
The data in cross-page face bury the data that cross-page face as described in any one of claim 1 to 7 is realized when a program is executed by processor
The step of burying point methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910202062.3A CN110083459A (en) | 2019-03-16 | 2019-03-16 | The data in cross-page face bury point methods, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910202062.3A CN110083459A (en) | 2019-03-16 | 2019-03-16 | The data in cross-page face bury point methods, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110083459A true CN110083459A (en) | 2019-08-02 |
Family
ID=67413204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910202062.3A Pending CN110083459A (en) | 2019-03-16 | 2019-03-16 | The data in cross-page face bury point methods, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083459A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131442A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Webpage data monitoring method, terminal equipment and readable storage medium |
CN111176960A (en) * | 2019-10-22 | 2020-05-19 | 腾讯科技(深圳)有限公司 | User operation behavior tracking method, device, equipment and storage medium |
CN111241446A (en) * | 2020-01-13 | 2020-06-05 | 杭州安恒信息技术股份有限公司 | Method, device, equipment and medium for extracting text content of web page |
CN112989162A (en) * | 2021-03-12 | 2021-06-18 | 中国平安财产保险股份有限公司 | Buried point reporting method, device, equipment and storage medium |
CN113590996A (en) * | 2021-08-12 | 2021-11-02 | 杭州粉象家科技有限公司 | Buried point data generation method, device, equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004265034A (en) * | 2003-02-28 | 2004-09-24 | Mori Seiki Co Ltd | Operation management system |
CN104915398A (en) * | 2015-05-29 | 2015-09-16 | 北京京东尚科信息技术有限公司 | Method and device for webpage point burying |
CN106528432A (en) * | 2016-12-12 | 2017-03-22 | 北京三快在线科技有限公司 | Construction method and apparatus for test scene data, and buried point test method |
CN106708899A (en) * | 2015-11-17 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Automatic point burying device |
CN107154931A (en) * | 2017-03-31 | 2017-09-12 | 北京奇艺世纪科技有限公司 | A kind of compatible method and device of client release |
CN107295050A (en) * | 2016-04-01 | 2017-10-24 | 阿里巴巴集团控股有限公司 | Front end user behavioral statisticses method and device |
CN107562598A (en) * | 2017-08-03 | 2018-01-09 | 合肥美的智能科技有限公司 | Processing method, device, computer installation, server and readable storage medium storing program for executing |
CN107562620A (en) * | 2017-08-24 | 2018-01-09 | 阿里巴巴集团控股有限公司 | One kind buries an automatic setting method and device |
CN107944059A (en) * | 2017-12-29 | 2018-04-20 | 深圳市中润四方信息技术有限公司西安分公司 | A kind of user behavior analysis method and system based on stream calculation |
CN108280102A (en) * | 2017-02-08 | 2018-07-13 | 广州市动景计算机科技有限公司 | Internet behavior recording method, device and user terminal |
CN108664625A (en) * | 2018-05-14 | 2018-10-16 | 链家网(北京)科技有限公司 | A kind of cross-system method of data synchronization and device |
CN109474619A (en) * | 2018-12-17 | 2019-03-15 | 中国平安财产保险股份有限公司 | Data encryption report method and device, data decryption method and device |
-
2019
- 2019-03-16 CN CN201910202062.3A patent/CN110083459A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004265034A (en) * | 2003-02-28 | 2004-09-24 | Mori Seiki Co Ltd | Operation management system |
CN104915398A (en) * | 2015-05-29 | 2015-09-16 | 北京京东尚科信息技术有限公司 | Method and device for webpage point burying |
CN106708899A (en) * | 2015-11-17 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Automatic point burying device |
CN107295050A (en) * | 2016-04-01 | 2017-10-24 | 阿里巴巴集团控股有限公司 | Front end user behavioral statisticses method and device |
CN106528432A (en) * | 2016-12-12 | 2017-03-22 | 北京三快在线科技有限公司 | Construction method and apparatus for test scene data, and buried point test method |
CN108280102A (en) * | 2017-02-08 | 2018-07-13 | 广州市动景计算机科技有限公司 | Internet behavior recording method, device and user terminal |
CN107154931A (en) * | 2017-03-31 | 2017-09-12 | 北京奇艺世纪科技有限公司 | A kind of compatible method and device of client release |
CN107562598A (en) * | 2017-08-03 | 2018-01-09 | 合肥美的智能科技有限公司 | Processing method, device, computer installation, server and readable storage medium storing program for executing |
CN107562620A (en) * | 2017-08-24 | 2018-01-09 | 阿里巴巴集团控股有限公司 | One kind buries an automatic setting method and device |
CN107944059A (en) * | 2017-12-29 | 2018-04-20 | 深圳市中润四方信息技术有限公司西安分公司 | A kind of user behavior analysis method and system based on stream calculation |
CN108664625A (en) * | 2018-05-14 | 2018-10-16 | 链家网(北京)科技有限公司 | A kind of cross-system method of data synchronization and device |
CN109474619A (en) * | 2018-12-17 | 2019-03-15 | 中国平安财产保险股份有限公司 | Data encryption report method and device, data decryption method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176960A (en) * | 2019-10-22 | 2020-05-19 | 腾讯科技(深圳)有限公司 | User operation behavior tracking method, device, equipment and storage medium |
CN111176960B (en) * | 2019-10-22 | 2022-02-18 | 腾讯科技(深圳)有限公司 | User operation behavior tracking method, device, equipment and storage medium |
CN111131442A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Webpage data monitoring method, terminal equipment and readable storage medium |
CN111131442B (en) * | 2019-12-19 | 2023-04-07 | 广州品唯软件有限公司 | Webpage data monitoring method, terminal equipment and readable storage medium |
CN111241446A (en) * | 2020-01-13 | 2020-06-05 | 杭州安恒信息技术股份有限公司 | Method, device, equipment and medium for extracting text content of web page |
CN111241446B (en) * | 2020-01-13 | 2023-10-31 | 杭州安恒信息技术股份有限公司 | Method, device, equipment and medium for extracting text content of web page |
CN112989162A (en) * | 2021-03-12 | 2021-06-18 | 中国平安财产保险股份有限公司 | Buried point reporting method, device, equipment and storage medium |
CN112989162B (en) * | 2021-03-12 | 2023-09-29 | 中国平安财产保险股份有限公司 | Buried point reporting method, device, equipment and storage medium |
CN113590996A (en) * | 2021-08-12 | 2021-11-02 | 杭州粉象家科技有限公司 | Buried point data generation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083459A (en) | The data in cross-page face bury point methods, device, equipment and storage medium | |
US10572633B1 (en) | Method, manufacture, and apparatus for instantiating plugin from within browser | |
US9864671B1 (en) | Systems and methods of live experimentation on content provided by a web site | |
CN106412024B (en) | A kind of page acquisition methods and device | |
CN105357323A (en) | HTML5 page debugging method and device in APP | |
CN107181779B (en) | Method, device and system for processing access request | |
EP3763108B1 (en) | Restricted environments for message generation in networked environments | |
CN103106216A (en) | Method and device of web page access | |
US10831754B2 (en) | Using metadata to take action on an SMS message on a proprietary system | |
CN112231711A (en) | Vulnerability detection method and device, computer equipment and storage medium | |
JP2010072916A (en) | Data protection system and data protection method | |
CN112506481A (en) | Service data interaction method and device, computer equipment and storage medium | |
WO2020073374A1 (en) | Advertisement anti-shielding method and device | |
CN113609147A (en) | Data sharing method and device and electronic equipment | |
CN111181905B (en) | File encryption method and device | |
CN116614653A (en) | Multimedia file playing method, device, system, equipment and storage medium | |
US10193793B2 (en) | Browser apparatus, recording medium, server apparatus, and information processing method | |
US10268536B2 (en) | Secure debugging with an encrypted token | |
US20170359212A1 (en) | Information processing method, device and computer readable storage medium | |
CN112822225A (en) | Method and device for tracking content delivery effect | |
CN110851754A (en) | Webpage access method and system, computer system and computer readable storage medium | |
KR20200122381A (en) | Aggregated Conversion Measurement | |
CN113472785B (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN115834254B (en) | Network content security protection method and device, storage medium and electronic equipment | |
CN111835783B (en) | Data retrieval method and device and computer 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 |