CN108900563A - Sending method, device, computer equipment and the storage medium of data - Google Patents

Sending method, device, computer equipment and the storage medium of data Download PDF

Info

Publication number
CN108900563A
CN108900563A CN201810277668.9A CN201810277668A CN108900563A CN 108900563 A CN108900563 A CN 108900563A CN 201810277668 A CN201810277668 A CN 201810277668A CN 108900563 A CN108900563 A CN 108900563A
Authority
CN
China
Prior art keywords
webpage
data
sent
user
user interactive
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
CN201810277668.9A
Other languages
Chinese (zh)
Other versions
CN108900563B (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.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
CENTURY DRAGON INFORMATION NETWORK 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 CENTURY DRAGON INFORMATION NETWORK Co Ltd filed Critical CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority to CN201810277668.9A priority Critical patent/CN108900563B/en
Publication of CN108900563A publication Critical patent/CN108900563A/en
Application granted granted Critical
Publication of CN108900563B publication Critical patent/CN108900563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention provides sending method, device, computer equipment and the storage medium of a kind of data.This method includes:If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that preset user interactive data collection whether there is not sent user interactive data;Wherein, the not sent user interactive data is the not sent data on all second webpages accessed before first webpage;If so, the not sent user interactive data is sent to acquisition server.This method can be when detecting that user accesses the operation of the first webpage of website to be analyzed, not sent user interactive data supplement on all second webpages for being stored in user interactive data concentration is sent to acquisition server, the case where effectively preventing loss of data, to improve the integrity degree for the data that client acquires, and then improve the accuracy of the result of acquisition server statistical analysis.

Description

Sending method, device, computer equipment and the storage medium of data
Technical field
The present invention relates to technical field of data processing, set more particularly to a kind of sending method of data, device, computer Standby and storage medium.
Background technique
With the continuous development of Internet technology, various types of websites are doubled and redoubled like the mushrooms after rain.In order to obtain To the operation datas of above-mentioned various types of websites, (operation data may include user interactive data, website traffic data, user The mode that browses web sites data and webpage abnormal data etc.), web analytics tool also comes into being therewith.Wherein, web analytics Tool may include the acquisition server for acquiring script and being stored with acquisition script.Web analytics tool can be by website Operation data is acquired analysis, and analysis result is supplied to Web Hosting personnel, so that Web Hosting personnel are according to analysis The construction of result optimizing website, so that the construction of website more meets the demand of user.
In the conventional technology, in advance website to be analyzed each of include it is webpage embedded enter to acquire code, when user passes through When the browser run in client opens website to be analyzed, acquisition generation is entered since each of website to be analyzed is webpage embedded Code, in this way, client will load acquisition script by the instruction of the acquisition code, after acquisition script load is completed, Client can be acquired the related data of the webpage when front opening, and collected data are sent to acquisition service Device, so that data that acquisition server is acquired according to client are for statistical analysis.In general, when user browses the current net opened When page, the user interactive data generated on current web page may be more, for this situation, the use that is acquired on current web page After family interaction data is met certain condition down, this certain customers' interaction data of acquisition is just sent to acquisition service by client Device.
But client by the user interactive data acquired on current web page be also not issued to acquisition server it Before, if user closes current web page, this certain customers' interaction data of client acquisition will be lost, so as to cause client The data of acquisition are imperfect, and then the result accuracy for causing acquisition server to statistically analyze is lower.
Summary of the invention
Based on this, it is necessary to which for traditional technology after current web page closing, client acquisition data are imperfect, into one The lower problem of the result accuracy that step causes acquisition server to statistically analyze, provides sending method, the device, meter of a kind of data Calculate machine equipment and storage medium.
In a first aspect, the embodiment of the present invention provides a kind of sending method of data, including:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that whether preset user interactive data collection There are not sent user interactive datas;Wherein, the not sent user interactive data is before first webpage Not sent data on all second webpages of access;
If so, the not sent user interactive data is sent to acquisition server.
The sending method of data provided in this embodiment is detecting the operation for accessing the first webpage of website to be analyzed When, client determines that preset user interactive data collection whether there is not sent user interactive data, and is determining user's friendship There are not sent user interactive datas in mutual data set, then user interactive data is concentrated not sent user's interaction by client Data are sent to acquisition server.Due to data not sent on all second webpages of website to be analyzed be stored in it is preset User interactive data is concentrated, and when client detects that user accesses the operation of the first webpage of website to be analyzed, client End can send the not sent user interactive data supplement on all second webpages for being stored in user interactive data concentration To acquisition server.This method effectively prevents the case where loss of data, to improve the complete of the data of client acquisition Whole degree, and then improve the accuracy of the result of acquisition server statistical analysis.
Second aspect, the embodiment of the present invention provide a kind of sending device of data, including:
First determining module, for determining preset when detecting the operation for accessing the first webpage of website to be analyzed User interactive data collection whether there is not sent user interactive data;Wherein, the not sent user interactive data is position The not sent data on all second webpages accessed before first webpage;
Sending module, for determining the preset user interactive data collection in first determining module, there are not sent User interactive data when, the not sent user interactive data is sent to acquisition server.
The third aspect, the embodiment of the present invention provide a kind of computer equipment, including memory and processor, the memory It is stored with computer program, the processor realizes following steps when executing the computer program:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that whether preset user interactive data collection There are not sent user interactive datas;Wherein, the not sent user interactive data is before first webpage Not sent data on all second webpages of access;
If so, the not sent user interactive data is sent to acquisition server.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program realizes following steps when being executed by processor:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that whether preset user interactive data collection There are not sent user interactive datas;Wherein, the not sent user interactive data is before first webpage Not sent data on all second webpages of access;
If so, the not sent user interactive data is sent to acquisition server.
Sending device, computer equipment and the readable storage medium storing program for executing of data provided in this embodiment can visit in detection When asking the operation of the first webpage of website to be analyzed, determine that preset user interactive data collection is handed over the presence or absence of not sent user Mutual data, and determine user interactive data concentrate there are when not sent user interactive data, user interactive data is concentrated Not sent user interactive data is sent to acquisition server.Due to number not sent on all second webpages of website to be analyzed It is concentrated according to preset user interactive data is stored in, and is detecting that user accesses the behaviour of the first webpage of website to be analyzed It, can be by the not sent user interactive data supplement hair on all second webpages for being stored in user interactive data concentration when making Give acquisition server.Sending device, computer equipment and the readable storage medium storing program for executing of data provided in this embodiment, it is effective anti- The case where having stopped loss of data to improve the integrity degree of the data of client acquisition, and then improves acquisition server system Count the accuracy of the result of analysis.
Detailed description of the invention
Fig. 1 is the system architecture diagram that the sending method of data provided in an embodiment of the present invention is applied;
Fig. 2 is the flow diagram of the sending method for the data that an embodiment provides;
Fig. 3 is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 4 is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 5 a is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 5 b is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 6 is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 7 is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 8 is the flow diagram of the sending method for the data that another embodiment provides;
Fig. 9 is the sending device structural schematic diagram for the data that an embodiment provides;
Figure 10 is the sending device structural schematic diagram for the data that another embodiment provides;
Figure 11 is the sending device structural schematic diagram for the data that another embodiment provides;
Figure 12 is the sending device structural schematic diagram for the data that another embodiment provides;
Figure 13 is a kind of schematic diagram of internal structure for computer equipment that an embodiment provides.
Specific embodiment
The sending method of data provided in an embodiment of the present invention can be adapted for system as shown in Figure 1, as shown in Figure 1, The system includes client 10, Website server 11 and acquisition server 12.Wherein, client 10 can pass through the clear of installation Device of looking at accesses the website to be analyzed on Website server 11, is stored with acquisition script on acquisition server 12, which uses Page data on the webpage in the above-mentioned website to be analyzed of acquisition.Detect that user accesses Website server 11 in client 10 On website to be analyzed in any webpage when, client 10 can load the acquisition script on acquisition server 12, adopt After collecting script load completion, client 10 can be acquired by acquisition script when the page data on the webpage of front opening, and The page data of acquisition is sent to acquisition server 12, it is to be analyzed to obtain so that acquisition server 12 is for statistical analysis Flow indicator, user's interaction index and the user of website browse web sites the indexs such as mode.Optionally, client 10 can be a People's computer (Personal Computer, PC), smart phone, smartwatch and can portable device etc. there is online function The electronic equipment that can and can be interacted with external equipment or user.Optionally, Website server 11 can be independent service Device is also possible to the server cluster of multiple server compositions.Optionally, acquisition server 12 can be independent server with And the electronic equipment having data processing function such as server cluster of multiple server compositions.The embodiment of the present invention is at this to visitor The concrete form at family end 10, Website server 11 and acquisition server 12 is without limitation.
For user in browsing when the webpage of front opening, the user interactive data generated on current web page may be more (introduction about user interactive data may refer to following embodiments), during data acquisition, in order to not influence user Normal browsing current web page, in the conventional technology, the user's interaction times acquired on current web page meet preset threshold value it Afterwards, user interactive data caused by this certain customers interaction can be just sent to acquisition server by client.If current web page User's interaction times of upper acquisition are unsatisfactory for preset threshold value, then client will not be by user caused by this certain customers interaction Interaction data is sent to acquisition server.But this certain customers' interaction data of acquisition is also not issued in client and is adopted Before collecting server, if user closes current web page, this certain customers' interaction data of client acquisition will be lost, from And the data for causing client to acquire are imperfect, and then the result accuracy for causing acquisition server to statistically analyze is lower.For this purpose, The embodiment of the invention provides a kind of sending methods of data, it is intended to solve technical problem present in above-mentioned traditional technology.
It should be noted that the executing subject of following methods embodiment can be the sending device of data, which can be with The some or all of of computer equipment is implemented as by way of software, hardware or software and hardware combining.Optionally, the meter Calculating machine equipment can be above-mentioned client.The executing subject of following methods embodiment by computer equipment be client for come into Row explanation.
In order to make the objectives, technical solutions, and advantages of the present invention clearer, pass through following embodiments and combine attached Figure, the further description of technical solution in the embodiment of the present invention.It should be appreciated that specific embodiment described herein Only to explain the present invention, it is not intended to limit the present invention.
Fig. 2 is the flow diagram of the sending method for the data that an embodiment provides.What is involved is clients for the present embodiment How data not sent on all second webpages accessed before being located at the first webpage to be supplemented and is sent to acquisition server Detailed process.Specifically, as shown in Fig. 2, this method may include:
If S101, detecting the operation for accessing the first webpage of website to be analyzed, it is determined that preset user interactive data Collection whether there is not sent user interactive data;Wherein, the not sent user interactive data is positioned at first net The not sent data on all second webpages accessed before page.
Specifically, the first webpage is the webpage of user's current accessed, the second webpage is that user visits before the first webpage The webpage asked.Optionally, user can be visited by inputting the address of website to be analyzed in the address field of the browser of client Ask the first webpage of website to be analyzed;It can also be by clicking the net to be analyzed of collection in the collection of the browser of client The address stood accesses the first webpage of website to be analyzed;It can also be by clicking website to be analyzed on the navigation page of browser Address link, access the first webpage of website to be analyzed.The present embodiment accesses user the first net of website to be analyzed at this Page concrete mode without limitation, as long as client is able to detect that user accesses the first webpage of website to be analyzed.
Above-mentioned preset user interactive data collection is stored in the local cache of client, and user interactive data concentration is deposited Contain the not sent user interactive data on all second webpages accessed before being located at the first webpage.Wherein, user's interaction Interaction data of the data between user and client, optionally, user interactive data can be sliding for user click data, user Dynamic data, user's touch data etc..Optionally, user interactive data may include the access of the second webpage of each of user's access Address interacts cumulative number, the user's operation position on each second webpage, Mei Geyong in the user on each second webpage User's interaction cumulative number and each user's operation position on the operating position of family whether there is in hyperlink address at least One.
S102, if so, the not sent user interactive data is sent to acquisition server.
Illustratively, the first webpage be website to be analyzed webpage G, the second webpage be website to be analyzed webpage A and to The webpage B of analyzing web site.When user accesses webpage A, if user has carried out interactive operation on webpage A, client just will This user interactive data real-time storage caused by the interactive operation on webpage A is concentrated in preset user interactive data. Likewise, if user has carried out interactive operation on webpage B, client also can be by this in net when user accesses webpage B User interactive data real-time storage caused by interactive operation on page B is concentrated in preset user interactive data.When preset When the sum of user interactive operation number on user interactive data centrally stored webpage A and webpage B meets preset times threshold value, This certain customers' interaction data can be sent to acquisition server by client.Optionally, preset times threshold value is usually 10 times.If User has carried out 3 interactive operations on webpage A, and 2 interactive operations have been carried out on webpage B, due to preset user interaction The sum of user interactive operation number on data centrally stored webpage A and webpage B is unsatisfactory for preset times threshold value, then client It will not will be caused by 2 interactive operations on user interactive data and webpage B caused by 3 interactive operations on webpage A User interactive data is sent to acquisition server.At this point, if user closes webpage A and webpage B, on webpage A not there are 3 times The user interactive data of transmission, there are 2 not sent user interactive datas on webpage B.Detect that user accesses in client After the operation of the webpage G of website to be analyzed, client determines that preset user interactive data is concentrated with the presence or absence of not sent User interactive data, have since preset user interactive data is centrally stored user interactive data not sent on webpage A and Not sent user interactive data on webpage B, therefore, client can determine that preset user interactive data is concentrated in the presence of not The user interactive data of transmission, and 3 users not sent on the centrally stored webpage A of preset user interactive data are interactive 2 times not sent user interactive datas, are sent to acquisition server on data and webpage B.
The sending method of data provided in this embodiment is detecting the operation for accessing the first webpage of website to be analyzed When, client determines that preset user interactive data collection whether there is not sent user interactive data, and is determining user's friendship There are when not sent user interactive data in mutual data set, user interactive data is concentrated not sent user's interaction by client Data are sent to acquisition server.Due to data not sent on all second webpages of website to be analyzed be stored in it is preset User interactive data is concentrated, and when client detects that user accesses the operation of the first webpage of website to be analyzed, client End can send the not sent user interactive data supplement on all second webpages for being stored in user interactive data concentration To acquisition server.This method effectively prevents the case where loss of data, to improve the complete of the data of client acquisition Whole degree, and then improve the accuracy of the result of acquisition server statistical analysis.
Above-described embodiment mainly describes the supplement transmission process to the not sent data on the second webpage.In actual number During according to statistics, the case where there is also a kind of loss of data:The page number of webpage is redirected caused by page reorientation The problem of according to losing.Specifically, assume that user clicks the access address of webpage C on webpage B, and the browser of client is aobvious What is shown is the page of webpage D, does not show the page of webpage C.That is webpage C is redirected to webpage D, and webpage C is to be redirected Webpage.Based on the example, since client also loads the acquisition script of webpage C not successfully, webpage C has been redirected to webpage D, Therefore, client can not collect the page data of webpage C, and the page data of webpage C is caused to be lost, so as to cause acquisition service The result accuracy of device statistical analysis is lower.Following embodiments shown in Fig. 3 aim to solve the problem that this technical problem, further avoid The problem of loss of data.
Fig. 3 is the flow diagram of the sending method for the data that another embodiment provides.What is involved is clients for the present embodiment How the page data for being redirected webpage supplement is sent to the detailed process of acquisition server by end.In the base of above-described embodiment On plinth, optionally, as shown in figure 3, after S102, this method further includes:
S201, obtained from page access path first webpage the first upstream source web page access address;Wherein, The access address of the upstream source web page of the webpage of current accessed is stored in the page access path.
Specifically, the first webpage be user's current accessed webpage, upstream source web page characterization current accessed webpage be from What which web page interlinkage came.Optionally, page access path can be user when accessing the first webpage, the browsing of client The access of the first upstream source web page of the first webpage is stored in the referer that device is sent to Website server 11, the referer Address, i.e. referer, which identify the first webpage, to be come from which web page interlinkage.That is, client can be from itself The access address of the first upstream source web page of the first webpage is obtained in the referer of transmission.
S202, according to local IP access record and first upstream source web page access address, determine the net to be analyzed Stand with the presence or absence of being redirected webpage, and determine exist described in be redirected webpage when, by the page for being redirected webpage Face data is sent to the acquisition server.
Wherein, include in local IP access record first webpage access address, first webpage access In moment, second webpage on the access address and described second of the second upstream source web page relevant to first webpage It swims the access moment of source web page, the access address in the local IP access record is according to the sequence of access moment;It is described to be redirected The page data of webpage includes the access address for being redirected webpage and the access moment for being redirected webpage.
Specifically, local IP access record accesses the record of website to be analyzed for storing the user of client acquisition.Assuming that User has accessed webpage A by client, and the access address of webpage B is then clicked on the page of webpage A, in open net The access address of webpage C is clicked on the page of page B, should respond to open be webpage C originally, but webpage C is but reset To arrive webpage D.At this point, local IP access record according to the sequencing at web page access moment store webpage A access address, Webpage A access the moment, the access address of webpage B, webpage B access the moment, webpage D access address and webpage D visit Ask the moment.Based on the example, webpage D is the first webpage, and webpage A and webpage B are the second upstream source web page relevant to webpage D.
In client after getting the access address of the first upstream source web page of the first webpage in page access path, Client can be by comparing the record stored and the first net got from page access path in local IP access record The access address of first upstream source web page of page, according to comparison result determine website to be analyzed with the presence or absence of being redirected webpage, And when determining in the presence of webpage is redirected, the page data for being redirected webpage is sent to acquisition server.Wherein, it is weighed The page data for orienting webpage includes the access address for being redirected webpage and the access moment for being redirected webpage.
As a kind of possible embodiment of above-mentioned S202, client can by judge local IP access record in whether There are the access address of the first upstream source web page obtained in page access path, whether there is with determination website to be analyzed and are weighed Webpage is oriented, if it does not exist, it is determined that website to be analyzed, which exists, is redirected webpage, and determines that the first upstream source web page is to be weighed Orient webpage
Specifically, continuing by taking the example in above-mentioned S202 as an example, the first webpage that client is obtained from page access path The first upstream source web page access address be webpage C access address, and local IP access record according to the web page access moment Sequencing storage be the access address of webpage A, the access address of webpage B and webpage D access address.Accordingly, objective Family end can determine the access address that webpage C is not present in local IP access record, then client determines that there are quilts for website to be analyzed Webpage is redirected, and determines that webpage C is to be redirected webpage.
As the alternatively possible embodiment of above-mentioned S202, client can also pass through following processes shown in Fig. 4 It determines that website to be analyzed whether there is and is redirected webpage, and determine which webpage is to be redirected webpage.Such as Fig. 4 institute Show, above-mentioned S202 may include S301-S304:
S301, source web page adjacent with first webpage in the source web page of second upstream is obtained.
Specifically, due to the visit for storing the first webpage in local IP access record according to the sequencing at web page access moment Ask address, the access moment of the first webpage, in the second webpage the second upstream source web page relevant to the first webpage access address With the access moment of the second upstream source web page, therefore, client can be from the second upstream source web page in local IP access record It is middle to obtain the source web page adjacent with the first webpage.Continue by taking the example in above-mentioned S202 as an example, is stored in local IP access record It is the access address of the access address of webpage A, the access address of webpage B and webpage D.Based on this example, webpage D is the first net Page, webpage A and webpage B are the second upstream source web page of webpage D, and client is from the second upstream source web page (webpage A, webpage B) The source web page adjacent with the first webpage obtained is webpage B.
S302, judge whether the adjacent source web page of first webpage is identical as the address of first upstream source web page. If so, S303 is executed, if it is not, then executing S304.
S303, determine that webpage is redirected there is no described in the website to be analyzed.
S304, determine that webpage is redirected described in existing in the website to be analyzed.
Continue by taking the example in above-mentioned S202 as an example, the first webpage (webpage that client is obtained from page access path D the access address of the first upstream source web page) be webpage C access address, client from local IP access record in obtain with The adjacent source web page of first webpage (webpage D) is webpage B.Accordingly, client may determine that the adjacent source web page of the first webpage Not identical as the address of the first upstream source web page of the first webpage, then client determines that website to be analyzed exists and is redirected net Page, and determine that webpage C is to be redirected webpage.
S305, the page data for being redirected webpage is sent to the acquisition server.
Specifically, the page data for being redirected webpage includes being redirected the access address of webpage and being redirected webpage The access moment.Optionally, S305 specifically can be:Client was determined and is redirected according to the access moment of the first webpage The access moment of webpage, and the access moment for being redirected webpage and the access address for being redirected webpage are sent to acquisition clothes Business device.
Wherein, the access address of webpage is redirected as the access address of the first upstream source web page of the first webpage.It is optional , client can determine the access moment for being redirected webpage according to the access moment of the first webpage.For example, client can To obtain the access moment of the first webpage in recording from local IP access, then according to the access moment of the first webpage got and Difference between time needed for the page is redirected process is determined as being redirected the access moment of webpage.
The sending method of data provided in this embodiment, client obtain first in the second upstream source web page with the first webpage Then adjacent source web page judges whether the adjacent source web page of the first webpage is identical as the address of the first upstream source web page, if sentencing The adjacent source web page of disconnected first webpage is not identical as the address of the first upstream source web page, then client determines that website to be analyzed exists It is redirected webpage, and is determined as the first upstream source web page to be redirected webpage, further determination is redirected webpage The page data for being redirected webpage is finally sent to acquisition server by page data.Due to detect user access to When the first webpage of analyzing web site, client, which can not only determine to whether there is in website to be analyzed, is redirected webpage, and In the presence of when being redirected webpage in determining website to be analyzed, the page data for being redirected webpage supplement can be sent to and be adopted Collect server.This method effectively prevents the case where page data loss for being redirected webpage, to improve client The integrality of the data of acquisition, and then improve the accuracy of the result of acquisition server statistical analysis.Meanwhile it being weighed in determination During orienting webpage, since client can will local IP access record and the first webpage for obtaining from page access path The first upstream source web page combine and analyzed, and the access moment for being redirected webpage is recorded according to local IP access What the access moment of the first webpage of middle storage was determined, therefore, client supplement is sent to being redirected for acquisition server The page data accuracy of webpage is higher, further improves the accuracy of the result of acquisition server statistical analysis.
On the basis of the above embodiments, optionally, it can be not present on above-mentioned second webpage and link first webpage Linking sources address.Optionally, it is also possible on above-mentioned second webpage with the linking sources address for linking first webpage.Under It states for both of these case, is carried out further to how not sent user interactive data is sent to acquisition server by client Introduction.Specifically, following Fig. 5 a are directed on the second webpage there is no the scene of the linking sources address of the first webpage of link, Fig. 5 b is directed to the scene that there is the linking sources address of the first webpage of link on the second webpage.
For on the second webpage, there is no the scenes of the linking sources address of the first webpage of link, specifically, as shown in Figure 5 a, This method may include:
If S401, detecting the operation for accessing the first webpage of website to be analyzed, it is determined that preset user interactive data Collection whether there is not sent user interactive data.
It should be noted that how the present embodiment detects first webpage that user accesses website to be analyzed about client How the detailed process and client of operation determine preset user interactive data collection with the presence or absence of not sent user's interaction The detailed process of data is referred in above-described embodiment the description in S101, and details are not described herein for the present embodiment.
S402, if so, the acquisition script using first webpage sends the not sent user interactive data To acquisition server.
Specifically, due to the linking sources address that the first webpage of link is not present on the second webpage, it is detected in client It is not sent on all second webpages of access before client can will be located at the first webpage when accessing the first webpage to user Data acquisition server is sent to by the acquisition script of the first webpage.Illustratively, in one possible implementation, Not sent data on all second webpages are stored in user interactive data and concentrated by user, close it in all second webpages Afterwards, if client detects that user reopens first webpage, client can pass through the acquisition script of the first webpage Data supplement not sent on all second webpages accessed before is sent to acquisition server.For example, the first webpage be to The webpage G of analyzing web site, the second webpage are on the webpage A of website to be analyzed and the webpage B of website to be analyzed, webpage A and webpage B The linking sources address of linked web pages G is not present, and has not sent user interactive data on webpage A and webpage B, meanwhile, net Not sent user interactive data is concentrated by real-time storage in preset user interactive data on page A and webpage B.In this way, in net After page A and webpage B is closed, when client detects that user accesses webpage G, client can be by preset user interaction Not sent data are sent to acquisition service by the acquisition script supplement of webpage G in data centrally stored webpage A and webpage B Device avoids the user interactive data of webpage A and webpage B from losing with the closing of webpage A and webpage B.
In alternatively possible implementation, the not sent data on all second webpages are stored in user by user Interaction data is concentrated, and all second webpages are not turned off, if client detects that user reopens first webpage, client Data supplement not sent on all second webpages accessed before can also be sent to by the acquisition script of the first webpage Acquisition server causes the user interactive data of webpage A and webpage B to go out asking for active if webpage A and webpage B is avoided to close Topic.
The sending method of data provided in this embodiment, on the second webpage there is no the linking sources of the first webpage of link When location, if client detects that user accesses the first webpage, and there are not sent determining preset user interactive data concentration User interactive data when, user interactive data not sent on the second webpage is passed through the acquisition script of the first webpage by client It is sent to acquisition server.Since when detecting that user accesses the first webpage, client can pass through the acquisition of the first webpage Not sent user interactive data supplement on all second webpages is sent to acquisition server by script, effectively prevents the The event of data loss of two webpages to improve the integrality of client acquisition data, and then improves acquisition server system Count precision of analysis.
For the scene for the linking sources address that there is the first webpage of link on the second webpage, specifically, as shown in Figure 5 b, it should Method may include:
If S501, detecting the operation for accessing the first webpage of website to be analyzed, it is determined that preset user interactive data Collection whether there is not sent user interactive data.
S502, if so, the acquisition script using second webpage sends the not sent user interactive data To the acquisition server.
Specifically, due to the linking sources address that there is the first webpage of link on the second webpage, it is detected in client When user accesses the first webpage by the linking sources address on the second webpage, the source of the first webpage of link can be will be present in client Not sent user interactive data is sent to acquisition service by the acquisition script of the second webpage on second webpage of chained address Device.For example, the first webpage is the webpage G of website to be analyzed, the second webpage is the webpage A of website to be analyzed, and there are chains on webpage A The linking sources address for meeting webpage G, before client detects that user accesses webpage G by the linking sources address on webpage A, net There is not sent user interactive data on page A, and user interactive data not sent on webpage A is stored in preset user's interaction In data set.In this way, when client detects that user accesses webpage G by the linking sources address on webpage A, client With by user interactive data not sent on the centrally stored webpage A of preset user interactive data and this click hyperlink The user interactive data of ground connection location is sent to acquisition server by the acquisition script of webpage A.
The sending method of data provided in this embodiment has the linking sources address of the first webpage of link on the second webpage When, if client detects that user accesses the first webpage, and there are not sent determining preset user interactive data concentration When user interactive data, client sends out user interactive data not sent on the second webpage by the acquisition script of the second webpage Give acquisition server.Due to the acquisition script successfully load completion of the second webpage, detect that user passes through in client When linking sources address on second webpage accesses the first webpage, client sends the second webpage using the acquisition script of the second webpage Upper not sent user interactive data, enables to acquisition server to get the data of website to be analyzed earlier, further Improve the accuracy of the result of acquisition server statistical analysis.
Fig. 6 is the flow diagram of the sending method for the data that another embodiment provides.What is involved is clients for the present embodiment How end constructs the process of user interactive data collection.Optionally, on the basis of the above embodiments, as shown in fig. 6, S101 it Before, this method further includes:
S601, when detecting the operation for accessing second webpage, second webpage is obtained from acquisition server Corresponding acquisition script.
Specifically, needing each net for including in website to be analyzed in advance to acquire the operation data of website to be analyzed Page is embedded in acquisition code, when client detects that user accesses the second webpage of website to be analyzed, due in the second webpage It is embedded in acquisition code, therefore, client can obtain the second webpage by acquiring the instruction of code from acquisition server Corresponding acquisition script.In general, browsing the second webpage in order to not influence user, client obtains the by way of Asynchronous Request The corresponding acquisition script of two webpages.
S602, the user interactive data on second webpage is acquired in real time according to the acquisition script, and by described User interactive data real-time storage on two webpages is to the user interactive data collection.
Wherein, the user interactive data of second webpage includes:The access address of second webpage, second net User's interaction cumulative frequency, the user's operation position on second webpage and the use on the user's operation position on page Family interacts cumulative frequency, the user's operation position with the presence or absence of at least one of hyperlink address.
Specifically, client can pass through the acquisition foot after client gets the acquisition script of the second webpage This acquires the user interactive data on the second webpage in real time.Also, client is by collected user interactive data real-time storage It is concentrated in user interactive data.User interactive data concentration may include the access address of multiple second webpages, and each User interactive data in second webpage.For example, if client the 1st time detects that user has carried out user on the second webpage A Interactive operation, and the position of this user interactive operation is a, then client is just by the access address of the second webpage A, position a Position coordinates, user's interaction cumulative number (1 time) of position a, position a are with the presence or absence of on hyperlink address and the second webpage A User's interaction at least one of cumulative number (1 time) store to user interactive data and concentrate.Later, if client detects User has carried out user interactive operation again on the second webpage A, and the position of this user interactive operation is b, then client is just By the user of the position coordinates of position b, position b interaction cumulative number (1 time), position b with the presence or absence of hyperlink address and the At least one of user's interaction cumulative number (2 times) on two webpage A is stored to user interactive data and is concentrated.Later, if it is objective Family end detects user on the second webpage A and has carried out user interactive operation, and the position of this user interactive operation is a, Then client updates the user in user's interaction cumulative number (2 times) and the second webpage A of user interactive data concentrated position a and hands over Mutual cumulative number (3 times).
It should be noted that client, when detecting that user accesses the second webpage B, the user on the second webpage B hands over The storage mode of mutual data is referred to the storage mode of the user interactive data on the second webpage A, and the present embodiment is herein not It repeats again.
Optionally, when client detects that user interactive data concentrates user's interaction cumulative frequency on all second webpages The sum of when reaching preset times threshold value, this method further includes S603:
If S603, detecting that the user interactive data concentrates the sum of user's interaction cumulative frequency on all second webpages Reach preset times threshold value, then the user interactive data of all second webpages is sent to the acquisition server.
Specifically, continuing by taking the example in S602 as an example, if client detects that user interactive data concentrates the second webpage A On user's interaction cumulative number and the second webpage B on user's interaction the sum of cumulative number meet preset times threshold value, then it is objective The user interactive data of the second webpage A and the second webpage B that user interactive data is concentrated are sent to acquisition server by family end.It can Choosing, in response to this, client can be by the acquisition script of the webpage where user's last time interactive operation to The user interactive data of acquisition server transmission the second webpage A and the second webpage B.
The sending method of data provided in this embodiment, when client detects that user accesses the second webpage, client The corresponding acquisition script of the second webpage is obtained from acquisition server, and the use on the second webpage is acquired according to acquisition script in real time Family interaction data, and collected user interactive data real-time storage is concentrated in user interactive data, on the second webpage When the sum of user's interaction cumulative number reaches preset times threshold value, the user interactive data of the second webpage is sent to acquisition service Device.Since client can be by the user interactive data real-time storage on collected second webpage in user interactive data collection In, therefore, if the second webpage is closed, client can be concentrated user interactive data when user accesses the first webpage The second webpage on not sent user interactive data supplement be sent to acquisition server, to improve acquisition server acquisition The integrality of data, and then improve the accuracy of acquisition server statistic analysis result.Also, client is detecting user It, just can be by the second webpage when interaction data concentrates the sum of user's interaction cumulative number on the second webpage to reach preset times threshold value On user interactive data be sent to acquisition server, thus reduce client send request concurrency, must drop as far as possible The influence for browsing the second webpage in low data acquisition to user guarantees that user can normally access website.
Fig. 7 is the method flow schematic diagram for the data that another embodiment provides.The present embodiment what is involved is client how Acquire the process of the data on the first webpage.Optionally, on the basis of the above embodiments, as shown in fig. 7, this method is also wrapped It includes:
S701, by the non-user interaction data of first webpage obtained after the acquisition script for executing first webpage It is sent to the acquisition server, and the user on first webpage is acquired according to the acquisition script of first webpage in real time Interaction data.
Specifically, the non-user interaction data of the first webpage includes the basic data and the of the first webpage of client acquisition The partial data of one webpage.After the acquisition script load of the first webpage is completed, client acquires the base of the first webpage immediately Plinth data, and collected basic data is sent to acquisition server, so that acquisition server must can obtain first as early as possible The related data of webpage.Wherein, the basic data of the first webpage mainly includes:The information for the browser installed in client, visitor The device type at family end, the resolution ratio of client, the flash version installed in client and user access the type etc. of webpage Data.
After the page load of the first webpage is completed, client can acquire the partial data of the first webpage, and will acquisition To partial data be sent to acquisition server, so that acquisition server can obtain the dependency number of more complete first webpage According to improve the accuracy of acquisition server statistic analysis result.Wherein, the partial data of the first webpage includes the first webpage Basic data, when further including white screen load time, the first webpage head screen load time, the first Webpage load of the first webpage Between, the number such as response time of the network-induced delay of the first webpage render time, Website server 11 and Website server 11 According to.
It should be noted that client acquires the interaction of the user on the first webpage according to the acquisition script of the first webpage in real time The process of data is referred to the user that above-mentioned client is acquired according to the acquisition script of the second webpage in real time on the second webpage and hands over The process of mutual data, details are not described herein for the present embodiment.
S702, by the user interactive data real-time storage on first webpage to the user interactive data collection.
The sending method of data provided in this embodiment, relatively for user interactive data, the number of non-user interaction data Measure less, in the non-user interaction data for collecting negligible amounts, client founds the non-user interaction data of negligible amounts It is sent to acquisition server, so that acquisition server must can get the related data of the first webpage early.For quantity More user interactive data, after collecting a fairly large number of user interactive data, client is interactive by collected user Data real-time storage is concentrated in user interactive data, just can be by this portion after user interactive data reaches preset times threshold value The user interactive data for reaching preset times threshold value is divided to be sent to acquisition server, to reduce the request of client transmission simultaneously The influence that hair amount, as far as possible reduction data acquisition browse the first webpage to user.Also, user interactive data is concentrated The user interactive data of preset times threshold value is not reached, client is detecting that user accesses another net of website to be analyzed When page, the user interactive data supplement that this part can not reached preset times threshold value by client is sent to acquisition service Device to improve the integrality of client acquisition data, and then improves the accuracy of acquisition server statistic analysis result. For different types of data, client uses the sending method of different data, and acquisition server can either be made to obtain early The related data of the first webpage is got, and can reduce the request Concurrency amount of client transmission, is reduced in data acquisition The influence of the first webpage is browsed to user, and can be improved the integrality of client acquisition data, and then improves acquisition service The accuracy of device statistic analysis result.
Fig. 8 is the flow diagram of the sending method for the data that another embodiment provides.For the ease of those skilled in the art The understanding of member introduces the detailed process that client sends data by taking following examples as an example.For example, it is assumed that accessing webpage G in user Before (webpage G is the first webpage), the operation that user accesses website to be analyzed is:User has accessed webpage A by client, so Webpage B is had accessed again afterwards, and the linking sources address of webpage G is not present on webpage A and webpage B, meanwhile, user is on webpage A 3 interactive operations have been carried out, 2 interactive operations have been carried out on webpage B.Later, user has accessed webpage further through client Then C clicks the access address of webpage D on the page of webpage C, click webpage E's on the page of open webpage D Access address should respond to open be webpage E originally, but webpage E is but redirected to webpage G.The above webpage A, webpage B, webpage C, webpage D, webpage E and webpage G are the webpage in website to be analyzed.Specifically, as shown in figure 8, this method packet It includes:
S801, when client detects access webpage G, the corresponding acquisition script of webpage G is obtained from acquisition server.
S802, client determine that preset user interactive data is concentrated with the presence or absence of not sent user interactive data.If It is then to execute S803, if it is not, then executing S804.
Specifically, the user interactive data on webpage A and webpage B can be acquired in real time due to client, and will collect User interactive data real-time storage concentrated in user interactive data, therefore, after webpage A and webpage B are closed, on webpage A Not sent user interactive data is stored in user interactive data concentration on not sent user interactive data and webpage B.By It is not sent out in 2 times on the centrally stored 3 not sent user interactive datas and webpage B having on webpage A of user interactive data The user interactive data sent, therefore, client executing S803.
User interactive data is concentrated not sent user interactive data to be sent to acquisition server by S803, client.It Afterwards, S804 is executed.
Specifically, user's interaction number that client is not sent by 3 times on the centrally stored webpage A of user interactive data According to and webpage B on 2 not sent user interactive datas, acquisition service is sent to by the acquisition script of webpage G supplement Device.After above-mentioned not sent user interactive data supplement is sent, optionally, the number that client sends this part supplement It is deleted according to being concentrated from user interactive data.
S804, client are recorded according to local IP access and the access address of the first upstream source web page of webpage G, determines wait divide Analysis website, which whether there is, is redirected webpage.If so, S805 is executed, if it is not, then executing S806.Specifically, local IP access is remembered The relative recording that user accesses webpage G is stored according to the sequencing at web page access moment in record, i.e., in local IP access record What is stored is access address, the access moment of webpage C, the access address of webpage D, the access moment of webpage D, webpage G of webpage C Access address and webpage G the access moment.Accordingly, it is adjacent can to obtain G webpage from local IP access record for client Source web page is webpage D.Meanwhile client can (optional, which can be client by page access path Hold send referer) obtain webpage G the first upstream source web page access address be webpage E access address.Due to from originally The address of the adjacent source web page of G webpage is obtained in ground access record and from the first of the webpage G obtained in page access path The address for swimming source web page is different, and therefore, client determines that website to be analyzed exists and is redirected webpage, and this is redirected webpage For webpage E.
The page data for being redirected webpage is sent to acquisition server by S805, client.Later, S806 is executed.
Specifically, client can the time according to needed for the access time of G webpage and redirection process, determination reset To the access moment of webpage (E webpage), and the access moment of the access address of E webpage and the E webpage determined is sent to and is adopted Collect server.
The basic data of S806, client acquisition G webpage, and the basic data of G webpage is sent to acquisition server.
S807, after the page load for detecting G webpage is completed, client acquires the partial data of G webpage, and by G The partial data of webpage is sent to acquisition server.
Specifically, acquired in period of the basic data of G webpage to the partial data of acquisition G webpage in client, if Client detects that user carries out user interactive operation on G webpage, then client can be by this certain customers' interactive operation data It is stored in user interactive data concentration, after the page for detecting G webpage, which loads, to be completed, client also can be by this certain customers Interaction data is sent to acquisition server at the page load completion moment.
S808, client acquire the user interactive data of G webpage according to the acquisition script of G webpage in real time, and will be on G webpage User interactive data real-time storage user interactive data concentrate.
The method of data provided in this embodiment, when client detects that user accesses the operation of the first webpage, first Client determines that preset user interactive data is concentrated with the presence or absence of not sent user interactive data, and is determining user's interaction There are when not sent user interactive data in data set, user interactive data is concentrated not by the acquisition script of the first webpage The user interactive data supplement of transmission is sent to acquisition server;Secondly, client determines in website to be analyzed with the presence or absence of quilt Webpage is redirected, and after determination is redirected webpage, the page of webpage will be redirected by the acquisition script of the first webpage Face data supplement is sent to acquisition server.By this supplement transmission process twice, so that the data of client acquisition is complete Whole property is higher, to improve the accuracy of acquisition server statistic analysis result.Further, client acquires first in real time Non-user interaction data and user interactive data on webpage, and different types of data are directed to, using different sending methods, The request Concurrency amount of client transmission is not only reduced, the influence that data acquisition browses the first webpage to user is reduced, and And effective the case where reducing loss of data, the integrality of client acquisition data is improved, to improve acquisition service The even accuracy of device statistical analysis.
Fig. 9 is the structural schematic diagram of the square law device for the data that an embodiment provides.As shown in figure 9, the device can wrap It includes:First determining module 20 and sending module 21.
Specifically, the first determining module 20, for when detecting the operation for accessing the first webpage of website to be analyzed, really Fixed preset user interactive data collection whether there is not sent user interactive data;Wherein, not sent user's interaction Data are the not sent data on all second webpages accessed before first webpage.
Sending module 21, for determining that the preset user interactive data collection exists not in first determining module 20 When the user interactive data of transmission, the not sent user interactive data is sent to acquisition server.
The sending device of data provided in this embodiment can execute above method embodiment, realization principle and technology Effect is similar, and details are not described herein.
Figure 10 is the structural schematic diagram of the square law device for the data that another embodiment provides.Optionally, above-mentioned such as Fig. 9 institute On the basis of the embodiment shown, as shown in Figure 10, which can also include:First obtains module 22, the second determining module 23.
Specifically, first obtains module 22, for sending out the not sent user interactive data in the sending module 21 After giving acquisition server, the access of the first upstream source web page of first webpage is obtained from page access path Location;Wherein, the access address of the upstream source web page of the webpage of current accessed is stored in the page access path.
Second determining module 23, for the access address according to local IP access record and first upstream source web page, really The fixed website to be analyzed, which whether there is, is redirected webpage;
The sending module 21 is also used to when second determining module 23 determines and is redirected webpage described in presence, The page data for being redirected webpage is sent to the acquisition server.
Wherein, include in local IP access record first webpage access address, first webpage access In moment, second webpage on the access address and described second of the second upstream source web page relevant to first webpage It swims the access moment of source web page, the access address in the local IP access record is according to the sequence of access moment;It is described to be redirected The page data of webpage includes the access address for being redirected webpage and the access moment for being redirected webpage.
The sending device of data provided in this embodiment can execute above method embodiment, realization principle and technology Effect is similar, and details are not described herein.
Figure 11 is the structural schematic diagram of the square law device for the data that another embodiment provides.Optionally, above-mentioned such as Figure 10 Shown on the basis of embodiment, as shown in figure 11, above-mentioned second determining module 23 may include:Acquiring unit 231, judgement are single Member 232 and determination unit 233.
Specifically, acquiring unit 231, for obtaining source adjacent with first webpage in the source web page of second upstream Webpage.
Judging unit 232, for judging the ground of first webpage adjacent source web page and first upstream source web page Whether location is identical.
Determination unit 233, for judging the adjacent source web page of first webpage and described the in the judging unit 232 When the address of one upstream source web page is not identical, determine that webpage is redirected described in existing in the website to be analyzed.
Optionally, determination unit 233, specifically in the adjacent source web page of first webpage and first upstream source When the address difference of webpage, determine that first upstream source web page is redirected webpage described in being.
Optionally, the sending module 21 determines described weighed specifically for the access moment according to first webpage Orient the access moment of webpage;And by the access moment for being redirected webpage and the access address for being redirected webpage It is sent to the acquisition server.
Optionally, there is no the linking sources addresses for linking first webpage on second webpage;Alternatively, described second There is the linking sources address for linking first webpage on webpage.
Optionally, if there is no the linking sources address for linking first webpage, the transmissions on second webpage Module 21, specifically for the not sent user interactive data is sent to acquisition using the acquisition script of first webpage Server.
Optionally, if having the linking sources address for linking first webpage, the transmission mould on second webpage The not sent user interactive data is sent to acquisition clothes specifically for the acquisition script using first webpage by block 21 Business device.
The sending device of data provided in this embodiment can execute above method embodiment, realization principle and technology Effect is similar, and details are not described herein.
Figure 12 is the structural schematic diagram of the square law device for the data that another embodiment provides.Optionally, in above-described embodiment On the basis of, as shown in figure 12, which can also include:Second obtains module 24, acquisition memory module 25.
Specifically, second obtains module 24, for being serviced from acquisition when detecting the operation for accessing second webpage The corresponding acquisition script of second webpage is obtained on device.
Memory module 25 is acquired, for acquiring the interaction number of the user on second webpage in real time according to the acquisition script According to, and by the user interactive data real-time storage on second webpage to the user interactive data collection;Wherein, described second The user interactive data of webpage includes:User's interaction accumulation time on the access address of second webpage, second webpage User's interaction cumulative frequency, described on user's operation position and the user's operation position on several, described second webpage User's operation position is with the presence or absence of at least one of hyperlink address.
Optionally, the sending module 21 is also used to detecting all second webpages of the user interactive data concentration On user's interaction the sum of cumulative frequency when reaching preset times threshold value, the user interactive data of all second webpages is sent to The acquisition server.
Optionally, the sending module 21, be also used to the page data for being redirected webpage is sent to it is described After acquisition server, by the non-user interaction number of first webpage obtained after the acquisition script for executing first webpage According to being sent to the acquisition server;The acquisition memory module 25 is also used to real according to the acquisition script of first webpage When acquire user interactive data on first webpage, and extremely by the user interactive data real-time storage on first webpage The user interactive data collection.
The sending device of data provided in this embodiment can execute above method embodiment, realization principle and technology Effect is similar, and details are not described herein.
The specific of sending device about data limits the restriction that may refer to the sending method above for data, This is repeated no more.Modules in the sending device of above-mentioned data can come fully or partially through software, hardware and combinations thereof It realizes.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with software Form is stored in the memory in computer equipment, executes the corresponding operation of the above modules in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be client, internal junction Composition can be as shown in figure 13.The computer equipment include by system bus connect processor, memory, network interface, Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment Memory include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and calculating Machine program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.It should The network interface of computer equipment is used to communicate with external terminal by network connection.The computer program is executed by processor When to realize the sending methods of data a kind of.The display screen of the computer equipment can be liquid crystal display or electric ink is aobvious Display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment shell Key, trace ball or the Trackpad of upper setting can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 13, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor realize following steps when executing computer program:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that whether preset user interactive data collection There are not sent user interactive datas;Wherein, the not sent user interactive data is before first webpage Not sent data on all second webpages of access;
If so, the not sent user interactive data is sent to acquisition server.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes following steps when being executed by processor:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that whether preset user interactive data collection There are not sent user interactive datas;Wherein, the not sent user interactive data is before first webpage Not sent data on all second webpages of access;
If so, the not sent user interactive data is sent to acquisition server.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (14)

1. a kind of sending method of data, which is characterized in that including:
If detecting the operation for accessing the first webpage of website to be analyzed, it is determined that preset user interactive data collection whether there is Not sent user interactive data;Wherein, the not sent user interactive data is to access before first webpage All second webpages on not sent data;
If so, the not sent user interactive data is sent to acquisition server.
2. the method according to claim 1, wherein described be sent to the not sent user interactive data is adopted After collecting server, the method also includes:
The access address of the first upstream source web page of first webpage is obtained from page access path;Wherein, the page The access address of the upstream source web page of the webpage of current accessed is stored in access path;
According to the access address of local IP access record and first upstream source web page, determine that the website to be analyzed whether there is Be redirected webpage, and determine exist described in be redirected webpage when, the page data for being redirected webpage is sent To the acquisition server;
Wherein, include in the local IP access record access address of first webpage, first webpage the access moment, The access address of the second upstream source web page relevant to first webpage and second upstream source in second webpage At the access moment of webpage, the access address in local IP access record is according to the sequence of access moment;It is described to be redirected webpage Page data include the access address for being redirected webpage and the access moment for being redirected webpage.
3. according to the method described in claim 2, it is characterized in that, described according to local IP access record and first upstream source The access address of webpage, determine the website to be analyzed with the presence or absence of being redirected webpage, including:
Obtain source web page adjacent with first webpage in the source web page of second upstream;
Judge whether the adjacent source web page of first webpage is identical as the address of first upstream source web page;
If not, it is determined that be redirected webpage described in the website presence to be analyzed.
4. according to the method described in claim 3, it is characterized in that, the determination website to be analyzed is reset there are described To webpage, including:
If the adjacent source web page of first webpage is different from the address of first upstream source web page, it is determined that on described first Trip source web page is redirected webpage described in being.
5. according to the described in any item methods of claim 2-4, which is characterized in that described by the page for being redirected webpage Data are sent to the acquisition server, including:
According to the access moment of first webpage, the access moment of webpage is redirected described in determination;
The access moment for being redirected webpage and the access address for being redirected webpage are sent to the acquisition clothes Business device.
6. the method according to claim 1, wherein there is no link first webpage on second webpage Linking sources address;
Alternatively,
There is the linking sources address for linking first webpage on second webpage.
7. according to the method described in claim 6, it is characterized in that, if there is no link first net on second webpage The linking sources address of page, then it is described not sent user interactive data is sent to acquisition server to include:
The not sent user interactive data is sent to by acquisition server using the acquisition script of first webpage.
8. according to the method described in claim 6, it is characterized in that, linking first webpage if having on second webpage Linking sources address, it is described not sent user interactive data is sent to acquisition server to include:
The not sent user interactive data is sent to by the acquisition server using the acquisition script of second webpage.
9. the method according to claim 1, wherein the method also includes:
When detecting the operation for accessing second webpage, the corresponding acquisition of second webpage is obtained from acquisition server Script;
The user interactive data on second webpage is acquired in real time according to the acquisition script, and will be on second webpage User interactive data real-time storage is to the user interactive data collection;
Wherein, the user interactive data of second webpage includes:On the access address of second webpage, second webpage User's interaction cumulative frequency, the user's operation position on second webpage and the user on the user's operation position hand over Mutual cumulative frequency, the user's operation position are with the presence or absence of at least one of hyperlink address.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
If detecting, the user interactive data concentrates the sum of user's interaction cumulative frequency on all second webpages to reach default The user interactive data of all second webpages is then sent to the acquisition server by frequency threshold value.
11. according to the method described in claim 2, it is characterized in that, described send out the page data for being redirected webpage After giving the acquisition server, the method also includes:
The non-user interaction data of first webpage obtained after the acquisition script for executing first webpage is sent to institute Acquisition server is stated, and the interaction number of the user on first webpage is acquired according to the acquisition script of first webpage in real time According to;
By the user interactive data real-time storage on first webpage to the user interactive data collection.
12. a kind of sending device of data, which is characterized in that including:
First determining module, for determining preset user when detecting the operation for accessing the first webpage of website to be analyzed Interaction data collection whether there is not sent user interactive data;Wherein, the not sent user interactive data is positioned at institute State the not sent data on all second webpages accessed before the first webpage;
Sending module, for determining the preset user interactive data collection in first determining module, there are not sent use When the interaction data of family, the not sent user interactive data is sent to acquisition server.
13. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 11 the method when executing the computer program.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 11 is realized when being executed by processor.
CN201810277668.9A 2018-03-30 2018-03-30 Data transmission method and device, computer equipment and storage medium Active CN108900563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810277668.9A CN108900563B (en) 2018-03-30 2018-03-30 Data transmission method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810277668.9A CN108900563B (en) 2018-03-30 2018-03-30 Data transmission method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108900563A true CN108900563A (en) 2018-11-27
CN108900563B CN108900563B (en) 2021-05-18

Family

ID=64342203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810277668.9A Active CN108900563B (en) 2018-03-30 2018-03-30 Data transmission method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108900563B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382380A (en) * 2018-12-27 2020-07-07 北京奇虎科技有限公司 Statistical method and device for page access duration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946319A (en) * 2012-09-29 2013-02-27 焦点科技股份有限公司 System and method for analyzing network user behavior information
US8402133B1 (en) * 2007-03-07 2013-03-19 conScore, Inc. Detecting content and user response to content
CN104714948A (en) * 2013-12-11 2015-06-17 部落邦(北京)科技有限责任公司 Method, system and thermodynamic diagram display device for replaying user web page operation behavior
CN106484703A (en) * 2015-08-25 2017-03-08 北京国双科技有限公司 The sending method of web data and device
CN106657228A (en) * 2016-09-27 2017-05-10 山东浪潮云服务信息科技有限公司 Crawler realizing method using cloud terminal for concurrent acquisition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8402133B1 (en) * 2007-03-07 2013-03-19 conScore, Inc. Detecting content and user response to content
CN102946319A (en) * 2012-09-29 2013-02-27 焦点科技股份有限公司 System and method for analyzing network user behavior information
CN104714948A (en) * 2013-12-11 2015-06-17 部落邦(北京)科技有限责任公司 Method, system and thermodynamic diagram display device for replaying user web page operation behavior
CN106484703A (en) * 2015-08-25 2017-03-08 北京国双科技有限公司 The sending method of web data and device
CN106657228A (en) * 2016-09-27 2017-05-10 山东浪潮云服务信息科技有限公司 Crawler realizing method using cloud terminal for concurrent acquisition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382380A (en) * 2018-12-27 2020-07-07 北京奇虎科技有限公司 Statistical method and device for page access duration

Also Published As

Publication number Publication date
CN108900563B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US11570273B2 (en) System for prefetching digital tags
US20210337037A1 (en) Method and system for monitoring and tracking browsing activity on handled devices
US8930818B2 (en) Visualization of website analytics
CN102932206B (en) The method and system of monitoring website access information
US20080046562A1 (en) Visual web page analytics
US9606712B1 (en) Placement of user interface elements in a browser based on navigation input
CN106528659B (en) Control method and device for browser to jump to application program
CN106528657A (en) Control method and device for browser skipping to application program
CN104820804A (en) Online privacy management
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN109960633A (en) A kind of data visualization buries point methods, storage medium and intelligent terminal
US20120331128A1 (en) Method and a system for analysing impact of changes to content of a website
CN109753421B (en) Service system optimization method and device, computer equipment and storage medium
Lamberti et al. Supporting web analytics by aggregating user interaction data from heterogeneous devices using viewport-DOM-based heat maps
CN104166741A (en) Webpage browsing analysis and processing method and device
CN104468459A (en) Vulnerability detection method and apparatus
CN110929129B (en) Information detection method, equipment and machine-readable storage medium
CN110781427A (en) Method, device, equipment and storage medium for calculating first screen time
CN110633412A (en) Page stay intention analysis method and device, computer equipment and storage medium
CN108900563A (en) Sending method, device, computer equipment and the storage medium of data
CA2906517A1 (en) Online privacy management
Kelton et al. Modeling user-centered page load time for smartphones
CN113467867B (en) Information processing method, information processing device, electronic equipment and storage medium
CN109492890A (en) Measurement method, device, the computer equipment of user experience quantitative evaluation value
US9092539B2 (en) Method and a system for analysing traffic on a website including redirection of traffic

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
TR01 Transfer of patent right

Effective date of registration: 20231023

Address after: Room 1423, No. 1256 and 1258, Wanrong Road, Jing'an District, Shanghai 200040

Patentee after: Tianyi Digital Life Technology Co.,Ltd.

Address before: 1 / F and 2 / F, East Garden, Huatian International Plaza, 211 Longkou Middle Road, Tianhe District, Guangzhou, Guangdong 510630

Patentee before: Century Dragon Information Network Co.,Ltd.

TR01 Transfer of patent right