[go: up one dir, main page]

CN105450460B - Network operation recording method and system - Google Patents

Network operation recording method and system Download PDF

Info

Publication number
CN105450460B
CN105450460B CN201410242710.5A CN201410242710A CN105450460B CN 105450460 B CN105450460 B CN 105450460B CN 201410242710 A CN201410242710 A CN 201410242710A CN 105450460 B CN105450460 B CN 105450460B
Authority
CN
China
Prior art keywords
platform
information
data object
traffic
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410242710.5A
Other languages
Chinese (zh)
Other versions
CN105450460A (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.)
360 Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410242710.5A priority Critical patent/CN105450460B/en
Publication of CN105450460A publication Critical patent/CN105450460A/en
Application granted granted Critical
Publication of CN105450460B publication Critical patent/CN105450460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网络操作记录方法及系统。其中,该方法包括:基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包;对数据包进行解析,将获得的信息以全局变量记录,以用于基于所记录的各个全局变量进行处理。本发明采用诸如cookies数据包与脚本js全局变量(即cookies+js全局变量)结合的基于网络操作的信息(包括参数)的记录存储、识别、传递的方式,有效克服了传统技术中复杂、操作难度大的URL解析和识别等处理缺陷,简化了参数等信息传递方式,提高了诸如网络流量跟踪监控等处理的效率。进一步,直接读取js全局变量能兼容各类脚本代码如js统计代码,进而,从整体上,提高了诸如网络访问流量跟踪监控等处理的效率,简化了处理过程。

The invention discloses a network operation recording method and system. Wherein, the method includes: based on the obtained operation on the data object, writing information related to the data object into a data packet; parsing the data packet, and recording the obtained information in a global variable for use based on the recorded data Each global variable is processed. The present invention adopts the method of record storage, identification and transmission of information (including parameters) based on network operations such as the combination of cookies data packets and script js global variables (ie cookies+js global variables), which effectively overcomes the complexity and operation of traditional technologies. The difficult processing defects such as URL parsing and identification simplifies the transmission of parameters and other information, and improves the efficiency of processing such as network traffic tracking and monitoring. Further, directly reading js global variables can be compatible with various script codes such as js statistics codes, and further, on the whole, the processing efficiency such as network access traffic tracking and monitoring is improved, and the processing process is simplified.

Description

网络操作记录方法及系统Network operation recording method and system

技术领域technical field

本发明涉及网络处理技术领域,具体涉及一种网络操作记录方法及系统。The invention relates to the technical field of network processing, in particular to a network operation recording method and system.

背景技术Background technique

互联网上,网站的处理,尤其是网站访问流量跟踪、监控,一般都需要在网站的相关网页上添加脚本代码(javascript,简称js),利用js代码对访问流量进行识别(即对体现流量的参数进行识别)后,将识别获得的结果数据提交给后台进行分析和储存。以在搜索平台上的流量跟踪监控为例,除了对一般搜索结果的自然流量进行跟踪监控外,还会对搜索返回的与查询对应或相关的推广信息的推广流量进行跟踪监控。On the Internet, the processing of websites, especially the tracking and monitoring of website access traffic, generally requires adding script code (javascript, js for short) on the relevant web pages of the website, and using js code to identify the access traffic (that is, to reflect the parameters of the traffic flow. After identification), the result data obtained from the identification is submitted to the background for analysis and storage. Taking the traffic tracking and monitoring on the search platform as an example, in addition to tracking and monitoring the natural traffic of general search results, it also tracks and monitors the promotional traffic of the promotional information corresponding to or related to the query returned by the search.

其中,自然流量:可以是搜索引擎返回的自然排序结果的链接,为结果所有者网站带来的访问流量。比如,搜索用户在搜索平台输入查询信息,由搜索引擎搜索到结果并以一定的排名展示给搜索用户,搜索用户点击某一结果查看其详情,则发生根据该结果对应的链接向结果所有者网站跳转,该链接即自然排序的该结果的链接,其为该结果的所有者网站带来了流量,即自然流量。Among them, the organic traffic: it can be the link of the natural ranking results returned by the search engine, and the traffic brought to the result owner's website. For example, a search user enters query information on the search platform, and the search engine finds the results and displays them to the search user with a certain ranking. The search user clicks a result to view its details, and the result owner's website will be sent to the result owner's website according to the link corresponding to the result. Jump, the link is the link of the result in natural order, which brings traffic to the website of the owner of the result, that is, the organic traffic.

其中,推广流量:可以是搜索引擎返回的推广信息展示(投放)里的链接,为推广信息的所有者网站带来的访问流量。比如,搜索用户在搜索平台输入查询信息,搜索引擎会返回对应该查询或与该查询相关的推广信息(也可以作为另一类搜索结果),搜索用户操作某一展示的推广信息(如点击某一推广信息),则发生该推广信息对应的链接向信息所有者网站跳转,该链接即推广信息投放里的链接,其为该推广信息的所有者网站带来了流量,即推广流量。Among them, the promotion traffic: it can be the link in the promotion information display (delivery) returned by the search engine, and the traffic brought to the website of the owner of the promotion information. For example, when a search user enters query information on the search platform, the search engine will return the promotion information corresponding to the query or related to the query (it can also be used as another type of search result), and the search user operates the promotion information displayed on a certain display (such as clicking on a certain display). promotion information), the link corresponding to the promotion information jumps to the information owner website, and the link is the link in the promotion information delivery, which brings traffic to the website of the owner of the promotion information, that is, promotion traffic.

具体地,以SEM(搜索引擎营销Search Engine Marketing)的网站访问流量跟踪监控为例,通常SEM平台为一种搜索引擎推广平台(例:google等),如果要识别SEM的推广流量的具体信息,在SEM投放推广信息(如广告)的网站需要将该推广信息的具体信息写入链接如URL的参数中,然后,该网站利用js统计代码解析URL中的参数,由此识别其中的参数及参数值,从而实现了对推广流量的跟踪/监控。例如:WZ网站(广告主)在SEM平台上推广广告。当终端用户通过浏览器在该SEM平台搜索“图书”,出现WZ网站投放的广告G1,点击该广告G1,进入WZ网站的网页,可以看到打开的URL中有一部分参数为:tag=xxxxhydrcn-23&bbbbid=12345678901(即一部分推广流量的具体信息),从这部分参数可以看出,这次的访问流量是从该xxxx.cn(即SEM平台)的编号为1234567的广告带来的。从而,WZ网站能够通过js统计代码解析该URL,确认该终端用户点击广告G1访问WZ网站所产生的流量来自xxxx.cn编号为1234567的广告。Specifically, taking the website access traffic tracking monitoring of SEM (Search Engine Marketing) as an example, usually the SEM platform is a search engine promotion platform (eg: google, etc.), if you want to identify the specific information of the SEM promotion traffic, The website where the promotion information (such as advertisement) is placed in the SEM needs to write the specific information of the promotion information into the parameters of the link, such as the URL, and then the website uses the js statistical code to parse the parameters in the URL, thereby identifying the parameters and parameters. value, so as to realize the tracking/monitoring of promotion traffic. For example: WZ website (advertiser) promotes advertisements on the SEM platform. When the end user searches for "books" on the SEM platform through the browser, the advertisement G1 placed on the WZ website appears, clicks on the advertisement G1, and enters the webpage of the WZ website. It can be seen that some of the parameters in the opened URL are: tag=xxxxhydrcn- 23&bbbbid=12345678901 (that is, the specific information of a part of the promotion traffic). From this part of the parameters, it can be seen that this visit traffic is brought from the advertisement numbered 1234567 of the xxxx.cn (ie the SEM platform). Therefore, the WZ website can parse the URL through the js statistical code, and confirm that the traffic generated by the end user clicking on the advertisement G1 to access the WZ website comes from the advertisement numbered 1234567 on xxxx.cn.

通常,广告主为了评估和优化SEM平台上广告的投放效果,需要对来自SEM的推广流量进行详细跟踪监控进而完成统计。而现有的该平台为了满足广告主的这一需求,允许广告主在推广物料的链接URL中写入参数,以便标记当前推广的来源、触发条件等信息。其中,推广物料,是广告主在搜索引擎推广平台里的广告素材(比如:广告创意、广告文本、广告图片、点击广告后打开哪个网页、关键词/广告触发条件等)。推广物料可以由推广信息来标识,比如物料在哪个平台投放、物料的编号为多少等等。例如:Usually, in order to evaluate and optimize the delivery effect of advertisements on the SEM platform, advertisers need to track and monitor the promotion traffic from SEM in detail and then complete the statistics. In order to meet this requirement of advertisers, the existing platform allows advertisers to write parameters in the link URL of promotional materials, so as to mark information such as the source and triggering conditions of the current promotion. Among them, the promotion material is the advertisement material of the advertiser in the search engine promotion platform (such as: advertisement creative, advertisement text, advertisement picture, which webpage to open after clicking the advertisement, keywords/ad trigger conditions, etc.). Promotional materials can be identified by promotion information, such as which platform the material is placed on, the number of the material, and so on. E.g:

http://www.abc.com/index.htm?from=google&account_id=123&ad_id=456http://www.abc.com/index.htm? from=google&account_id=123&ad_id=456

这样一个URL中,粗体字标记的“from=google&account_id=123&ad_id=456”存在的参数值,就是常见的传参(即URL参数传递)方式。广告主网站的脚本js统计代码(如Javascript里用“window.location.href”)能获取当前完整的URL,并识别这些参数(如:从首个“?”处截断,后面的数据即需要的数据,格式为:参数名1=参数值1&参数名2=参数值2……,每个参数之间采用“&”分开):来源from参数的参数值google、广告账户标识account_id参数的参数值123、广告标识号ad_id参数的参数值456等,就知道了这个流量是由在该google平台做推广的第123个广告账户下的第456号广告带来的。In such a URL, the parameter value of "from=google&account_id=123&ad_id=456" marked in bold is a common way of passing parameters (ie, URL parameter passing). The script js statistical code of the advertiser's website (such as "window.location.href" in Javascript) can obtain the current complete URL and identify these parameters (such as: truncate from the first "?", the following data is needed Data, the format is: parameter name 1 = parameter value 1 & parameter name 2 = parameter value 2..., each parameter is separated by "&"): the parameter value of the source from parameter google, the parameter value of the account_id parameter of the advertising account identifier 123. The parameter value of the ad_id parameter of the advertisement identification number is 456, etc., it is known that this traffic is brought by the No. 456 advertisement under the 123rd advertisement account promoted on the google platform.

但是,现有推广流量的跟踪监控技术主要存在两点缺陷:However, the existing tracking and monitoring technology for promoting traffic mainly has two defects:

(1)提供推广信息(比如广告)的所有者(比如广告主)需要对所有推广信息对应的推广物料(比如广告中的广告创意、关键词)的URL进行特殊处理(如前述例子中的写入参数),导致操作难度较大。以SEM为例,通常SEM推广账户中购买的关键词数量都是上万甚至几十万,如果需要跟踪每个关键词带来的流量分别有多少,那就需要把这几十万的关键词对应的URL都修改一遍,没有专门的工具和技巧是无法完成的。而且,如果广告主中途要更换不同的统计代码,则所有URL可能需要再改一遍。(1) Owners (such as advertisers) who provide promotional information (such as advertisements) need to perform special processing on the URLs of promotional materials (such as advertising ideas and keywords in advertisements) corresponding to all promotion information (such as writing in the preceding example). input parameters), which makes the operation more difficult. Taking SEM as an example, usually the number of keywords purchased in the SEM promotion account is tens of thousands or even hundreds of thousands. If you need to track the amount of traffic brought by each keyword, you need to put these hundreds of thousands of keywords. The corresponding URLs are all modified again, which cannot be done without special tools and techniques. Also, all URLs may need to be changed again if the advertiser wants to change to a different statistical code in the middle.

(2)无法兼容多个分析代码(例如:脚本js分析代码、或者脚本js统计代码)。以SEM为例,出于对公用开放式的统计代码的准确性持怀疑态度,经常会有广告主在自己网站上设置多套不同的js统计代码,以便对统计结果进行参照对比。每个广告的URL只能是一个,而不同的js统计代码对URL的识别规则是不同的,从而导致这种方式无法兼容多种统计代码。例如:(2) Incompatible with multiple analysis codes (for example: script js analysis code, or script js statistics code). Taking SEM as an example, out of skepticism about the accuracy of public and open statistical codes, advertisers often set up multiple sets of different js statistical codes on their websites to compare statistical results. The URL of each advertisement can only be one, and different js statistical codes have different identification rules for URLs, which makes this method incompatible with multiple statistical codes. E.g:

A统计代码要求的URL格式是:The URL format required by A statistical code is:

http://www.abc.com/index.htm?from=google&account_id=123&ad_id=456http://www.abc.com/index.htm? from=google&account_id=123&ad_id=456

B统计代码要求的URL格式是:The URL format required by the B statistic code is:

http://www.abc.com/index.htm?parameter=google.123.456http://www.abc.com/index.htm? parameter=google.123.456

这样如果广告主网站使用B统计代码,其无法识别A这样的格式的URL中的参数。In this way, if the advertiser's website uses the B statistical code, it cannot recognize the parameters in the URL in the format of A.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供一种克服现有技术缺陷,解决上述问题或者至少部分地解决上述问题的网络操作记录方法及相应的系统。In view of the above problems, the present invention is proposed in order to provide a network operation recording method and corresponding system that overcomes the defects of the prior art, solves the above problems, or at least partially solves the above problems.

依据本发明的一个方面,提供了一种网络操作记录方法,其包括:基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包;对数据包进行解析,将获得的信息以全局变量记录,以用于基于所记录的各个全局变量进行处理。According to one aspect of the present invention, a network operation recording method is provided, which includes: based on the obtained operation on the data object, writing information related to the data object into a data packet; The information is recorded in global variables for processing based on the individual global variables recorded.

其中,所述基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包,包括:服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件。Wherein, writing the information related to the data object into the data packet based on the obtained operation on the data object includes: the server, based on the obtained operation on the data object, writes the parameters related to the data object and the data object. Its parameter value is written to the client's cookies file in the form of cookies.

其中,所述对数据包进行的解析,将获得的信息以全局变量记录,包括:通过脚本代码js获取并解析所述数据包,将获得的信息返回,并将返回的所述信息以js全局变量进行记录。Wherein, in the analysis of the data packet, the obtained information is recorded as a global variable, including: obtaining and parsing the data packet through script code js, returning the obtained information, and using the js global variable for the returned information variable to record.

其中,所述基于所记录的各个全局变量进行处理,包括:通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,并对所述信息进行统计分析而完成对流量跟踪监控的处理。The processing based on the recorded global variables includes: reading the recorded global variables through the script statistics code js, identifying the information corresponding to each global variable, and performing statistical analysis on the information The processing of the traffic tracking monitoring is completed.

其中,所述信息包括以下至少一项:平台标识、账户标识、分类标识、内容标识;和/或,所述处理包括:将参数与对应的流量指标的字段进行关联,以确定该参数及其参数值所对应的流量来源和/或对来自不同流量来源的流量进行统计。Wherein, the information includes at least one of the following: platform identification, account identification, classification identification, and content identification; and/or the processing includes: associating a parameter with a field of a corresponding traffic indicator to determine the parameter and its Traffic sources corresponding to parameter values and/or statistics on traffic from different traffic sources.

依据本发明的另一个方面,提供了一种网络操作记录系统,其包括:操作记录装置,基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包;解析记录装置,对数据包进行解析,将获得的信息以全局变量记录,以用于基于所记录的各个全局变量进行处理。According to another aspect of the present invention, a network operation recording system is provided, which includes: an operation recording device, based on the acquired operation on a data object, writes information related to the data object into a data packet; parsing and recording device , parse the data packet, and record the obtained information in global variables for processing based on the recorded global variables.

其中,操作记录装置还包括:服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件。Wherein, the operation recording device further includes: based on the obtained operation on the data object, the server writes parameters related to the data object and their parameter values to the cookies file of the client in the form of cookies.

其中,解析记录装置还包括:通过脚本代码js获取并解析所述数据包,将获得的信息返回,并将返回的所述信息以js全局变量进行记录。Wherein, the parsing and recording device further includes: acquiring and parsing the data packet through script code js, returning the acquired information, and recording the returned information as a js global variable.

其中,所述基于所记录的各个全局变量进行处理,包括:通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,并对所述信息进行统计分析而完成对流量跟踪监控的处理。The processing based on the recorded global variables includes: reading the recorded global variables through the script statistics code js, identifying the information corresponding to each global variable, and performing statistical analysis on the information The processing of the traffic tracking monitoring is completed.

其中,所述信息包括以下至少一项:平台标识、账户标识、分类标识、内容标识;和/或,所述处理包括:将参数与对应的流量指标的字段进行关联,以确定该参数及其参数值所对应的流量来源和/或对来自不同流量来源的流量进行统计。Wherein, the information includes at least one of the following: platform identification, account identification, classification identification, and content identification; and/or the processing includes: associating a parameter with a field of a corresponding traffic indicator to determine the parameter and its Traffic sources corresponding to parameter values and/or statistics on traffic from different traffic sources.

与现有技术相比本发明的方法及系统,采用数据包(如:cookies)与脚本js全局变量(即cookies+js全局变量)结合的基于网络操作的信息(如:参数)的记录存储、识别、传递的方式,替代现有技术中传统的URL参数传递方式,有效克服了传统技术中复杂、操作难度大的URL解析和识别等处理缺陷,简化了参数传递方式,提高了诸如网络流量跟踪监控等处理的效率。进一步,采用直接读取js全局变量的方式,能兼容各类脚本代码如js统计代码。进一步,也从整体上,提高了诸如网络访问流量跟踪监控等处理的效率,并且,简化了处理过程。Compared with the prior art, the method and system of the present invention adopt the record storage of network operation-based information (eg: parameters) combined with data packets (eg: cookies) and script js global variables (ie cookies+js global variables), The method of identification and transmission replaces the traditional URL parameter transmission method in the prior art, effectively overcomes the processing defects such as URL parsing and identification that are complex and difficult to operate in the traditional technology, simplifies the parameter transmission method, and improves such as network traffic tracking. Efficiency of processing such as monitoring. Further, by directly reading js global variables, it can be compatible with various script codes such as js statistical codes. Further, as a whole, the efficiency of processing such as network access traffic tracking and monitoring is improved, and the processing process is simplified.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了根据本发明的方法的一个实施例总流程图;Fig. 1 shows the general flow chart of one embodiment of the method according to the present invention;

图2示出了根据本发明的方法的一个实施例的详细流程图;Figure 2 shows a detailed flow chart of an embodiment of the method according to the present invention;

图3示出了根据本发明的方法的解析数据包并记录全局变量的一实施例的流程图;3 shows a flow chart of an embodiment of parsing data packets and recording global variables according to the method of the present invention;

图4示出了根据本发明的系统的一个实施例的结构框图;以及Figure 4 shows a structural block diagram of an embodiment of the system according to the present invention; and

图5示出了根据本发明的方法及系统的一个应用场景的示意图。FIG. 5 shows a schematic diagram of an application scenario of the method and system according to the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

本发明的技术方案可以应用于网站对其在互联网平台上的流量的跟踪监控等处理,以及互联网平台自身的推广流量的跟踪监控,进一步,也可以应用于网站对其在互联网推广平台上的推广流量的跟踪监控以及互联网推广平台自身的推广流量的跟踪监控。The technical solution of the present invention can be applied to processing such as the tracking and monitoring of the website's traffic on the Internet platform, as well as the tracking and monitoring of the promotion traffic of the Internet platform itself, and further, can also be applied to the website's promotion on the Internet promotion platform. The tracking and monitoring of traffic and the tracking and monitoring of the promotion traffic of the Internet promotion platform itself.

如图1所示,图1是根据本发明的方法的一个实施例的总流程图。As shown in Figure 1, which is a general flow diagram of one embodiment of a method according to the present invention.

该网络操作记录方法,包括:基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包(步骤S110);对数据包进行解析,将获得的信息以全局变量记录,以用于基于所记录的各个全局变量进行处理(步骤S120)。The network operation recording method includes: based on the obtained operation on the data object, writing information related to the data object into a data packet (step S110); analyzing the data packet, and recording the obtained information in a global variable, for processing based on the recorded global variables (step S120).

其中,与所述数据对象相关的信息,包括但不限于:相应于数据对象的详细信息。数据包,包括但不限于:cookies文件等加密数据包。该处理,包括但不限于流量监控、流量跟踪等。The information related to the data object includes, but is not limited to, detailed information corresponding to the data object. Data packets, including but not limited to: encrypted data packets such as cookies files. This processing includes, but is not limited to, traffic monitoring, traffic tracking, and the like.

具体地,可以对展示的数据对象进行操作,获取该操作,将相应于所述数据对象的详细信息写入数据包。由此,当获取该数据包后,可以对其进行解析而得到详细信息,将获得的详细信息以全局变量记录,以用于基于所记录的各个全局变量进行处理。Specifically, an operation can be performed on the displayed data object, the operation can be obtained, and the detailed information corresponding to the data object can be written into the data packet. Therefore, after the data packet is acquired, it can be parsed to obtain detailed information, and the obtained detailed information is recorded in global variables for processing based on the recorded global variables.

进一步,详细信息,包括但不限于各个与数据对象相关的参数及其参数值,等等。写入数据包,包括写入加密数据包,等等。比如:基于获取的对展示的数据对象的操作,将与数据对象相关的信息写入加密数据包;对获取的加密数据包进行解析,将解析获得的参数及其参数值以全局变量记录,以用于基于对记录的各个全局变量的读取,识别各个全局变量所对应的参数及其参数值,进而,根据识别出的每个参数及其参数值进行流量的监控,等等。Further, detailed information includes, but is not limited to, various parameters related to the data object and their parameter values, and so on. Writing packets, including writing encrypted packets, etc. For example: based on the obtained operation on the displayed data object, write the information related to the data object into the encrypted data packet; parse the obtained encrypted data packet, and record the parameters and parameter values obtained by the analysis as global variables, so as to It is used to identify the parameters corresponding to each global variable and its parameter value based on the reading of each recorded global variable, and then monitor the flow according to each identified parameter and its parameter value, and so on.

具体以进行流量监控(流量跟踪)的处理为例:终端用户可以通过终端设备上的浏览器(客户端)访问互联网平台或互联网推广平台,并对互联网平台或互联网推广平台加载到浏览器上的属于各个网站的信息进行操作(比如:点击、选中等)。其中,属于各个网站的信息是指与各个网站相关或各个网站直接提供的、处于平台的展示/显示位置上的各种信息(如推广信息、搜索结果信息等)。进而,由于该终端用户的操作触发平台获取展示位置上相应于属于各个网站的信息的详细信息,这些详细信息中的参数及其参数值被平台服务器端提供以写入到终端设备的加密数据包中,如以cookies方式写入到cookies中。其中,识别出每个参数(包括识别出该参数的值即参数值),也就获得了包含参数及其参数值的相应于属于各个网站的信息的详细信息。进而,互联网平台或互联网推广平台或各个信息的所有者网站,可以根据这些参数及其参数值来确定网站的访问流量,如利用对各个参数及其参数值的统计分析等确定访问流量,等等。Specifically, take the processing of traffic monitoring (traffic tracking) as an example: end users can access the Internet platform or Internet promotion platform through the browser (client) on the terminal device, and load the Internet platform or Internet promotion platform on the browser. The information belonging to each website is operated (for example, clicked, selected, etc.). Among them, the information belonging to each website refers to various information (such as promotion information, search result information, etc.) related to each website or directly provided by each website and located on the display/display position of the platform. Furthermore, since the operation of the terminal user triggers the platform to obtain the detailed information on the display position corresponding to the information belonging to each website, the parameters in the detailed information and their parameter values are provided by the platform server to be written into the encrypted data packet of the terminal device. , such as writing to cookies in the form of cookies. Wherein, identifying each parameter (including identifying the value of the parameter, that is, the parameter value), also obtains detailed information corresponding to the information belonging to each website including the parameter and its parameter value. Furthermore, the Internet platform or Internet promotion platform or the website of the owner of each information can determine the access traffic of the website according to these parameters and their parameter values. .

如图2所示根据本发明的方法的一个实施例的详细流程图。A detailed flow chart of one embodiment of the method according to the present invention is shown in FIG. 2 .

在步骤S210处,服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件。At step S210, based on the obtained operation on the data object, the server writes parameters related to the data object and their parameter values to the cookies file of the client in the form of cookies.

具体地,对展示的数据对象进行操作,服务器端基于获取的该操作而得到相应于所述数据对象的详细信息中的参数及其参数值,并将这些与数据对象相关的参数及参数值以cookies的方式写入到客户端的cookies文件中去。Specifically, the displayed data object is operated, and the server side obtains the parameters and parameter values in the detailed information corresponding to the data object based on the obtained operation, and converts the parameters and parameter values related to the data object to The way of cookies is written to the cookies file of the client.

其中,在互联网平台或互联网推广平台,例如:搜索平台、搜索引擎平台、咨讯推广平台、广告平台,等等,可以提供展示位置来展示/展现各种信息(下称数据对象),这些展示或展现的信息如:搜索结果(包括特定内容),等等。这些信息一般属于或者说来自于各个网站。以搜索平台为例:终端用户通过浏览器连接到一个搜索平台,搜索平台所属服务器端会加载其网页页面到该浏览器,终端用户输入查询信息(如:查询词Query等),搜索平台的搜索引擎依据该查询信息进行搜索,获得对应的数据对象作为搜索结果输出并在展示位置展现,并且,由于该搜索平台提供了推广信息展示位置,可以在搜索平台加载网页页面到浏览器的时候或搜索结果输出的时候,在推广信息展示位置展现作为特定内容的数据对象。这里,搜索平台等互联网平台或互联网推广平台可以作为各种数据对象的展示平台。Among them, on the Internet platform or Internet promotion platform, such as: search platform, search engine platform, information promotion platform, advertising platform, etc., can provide placement to display/display various information (hereinafter referred to as data objects), these display or Displayed information such as: search results (including specific content), and so on. This information generally belongs to or comes from various websites. Take a search platform as an example: an end user connects to a search platform through a browser, the server to which the search platform belongs will load its web page to the browser, and the end user enters query information (such as the query word Query, etc.), and the search platform searches The engine searches according to the query information, obtains the corresponding data object as the search result output and displays it in the display position, and because the search platform provides the promotion information display position, it can be used when the search platform loads the web page to the browser or searches for it. When the result is output, the data object as the specific content is displayed in the promotion information display position. Here, an Internet platform such as a search platform or an Internet promotion platform can be used as a display platform for various data objects.

其中,数据对象可以为包含各种描述内容的数据,数据对象可以代表属于各个网站的、在展示平台上展现或展示的各种信息。其中,描述内容包括但不限于诸如:图形、图像、图表、图标、文本/文字、音/视频、链接、数字、网址URL等等。每个数据对象在展示位置上都包含有关于该数据对象的详细信息的参数及参数值。参数及参数值能指示或者表示该数据对象的详细信息。参数及其参数值不限于添加在网址URL中,可以附带在数据对象的描述内容所在展示位置或描述内容中,等等。The data object may be data containing various description contents, and the data object may represent various information belonging to each website and displayed or displayed on the display platform. The description content includes, but is not limited to, graphics, images, charts, icons, text/text, audio/video, links, numbers, website URLs, and the like. Each data object contains parameters and parameter values on the placement with detailed information about that data object. Parameters and parameter values can indicate or represent detailed information about the data object. Parameters and their parameter values are not limited to being added to the URL, but can be attached to the placement or description content of the data object's description content, and so on.

在一个实施例中,可以由搜索平台在数据对象的描述内容中、甚至数据对象所处展示位置等,添加这些参数及参数值。In one embodiment, these parameters and parameter values may be added by the search platform in the description content of the data object, or even the display position of the data object.

其中,作为特定内容的数据对象,是指该数据对象的描述内容中包含了推广物料等、并且该数据对象的所有者将该数据对象作为推广信息提供给搜索平台展现以便实现推广。进一步,相应于数据对象的详细信息包括诸如推广信息的详细信息,这些详细信息由各种参数(例:推广信息对应的各推广物料的来源from参数、账户标识account_id参数、推广信息标识号ad_id等,参见前述传统URL中的参数)所代表。例如:推广信息对应的推广物料为一广告创意,其包含一文本“买手机就上手机网”,其可以在展示位置上附带该广告的投放位置、广告来源网站URL、广告编号、以及所属推广账户等。Among them, the data object as specific content means that the description content of the data object includes promotion materials, etc., and the owner of the data object provides the data object as promotion information to the search platform for display to realize promotion. Further, the detailed information corresponding to the data object includes detailed information such as promotion information, and these detailed information are determined by various parameters (for example: the source from parameter of each promotion material corresponding to the promotion information, the account identifier account_id parameter, the promotion information identification number ad_id, etc. , see the parameters in the aforementioned traditional URL) represented. For example: the promotion material corresponding to the promotion information is an advertisement creative, which contains a text "buy a mobile phone and go online on the mobile phone", which can be accompanied by the placement position of the advertisement, the URL of the advertisement source website, the advertisement number, and the promotion to which it belongs. account, etc.

其中,对展示的数据对象的操作,包括比如:终端用户对数据对象的各种操作(例:点击、选择、浏览、鼠标滚动等等),或者展示平台上各种展现操作(例:动态播放、加载等等)。Among them, the operations on the displayed data objects include, for example: various operations of the end user on the data objects (for example: clicking, selecting, browsing, mouse scrolling, etc.), or various display operations on the display platform (for example: dynamic playback) , loading, etc.).

在一个实施方式中,基于对数据对象的操作,展示平台所属服务器将获得相应于该数据对象的详细信息的参数及其参数值(例如:附加在数据对象展示位置上的或者添加在数据对象的所有者/提供者网站的其他描述内容中的),并由平台服务端程序控制参数及其参数值以cookies方式写入浏览器端的cookies文件中,如:传递参数及其参数值给浏览器并写入cookies文件,等等。以搜索平台为例,对展现在展示位置上的数据对象的操作,至少可以包括:终端用户在浏览搜索平台上展示的各种数据对象时,可以对数据对象进行浏览操作、点击操作、选中操作、滚动鼠标操作、输入并确认等各种操作中的一种或多种,或者,该平台向浏览器加载网页进行的各种数据对象展现等各种操作中的一种或多种。这些操作会触发展示平台(服务器端)对数据对象详细信息的提取(参数及其参数值的获得),例如:平台服务器端响应终端用户的操作,向数据对象的网址链接URL指示的数据对象所有者网站上的详情页的跳转,同时,获得添加在展示位置中的与该数据对象相关的各参数及参数值,传递参数及参数值给浏览器一侧记录,等等。In one embodiment, based on the operation on the data object, the server to which the presentation platform belongs will obtain parameters corresponding to the detailed information of the data object and their parameter values (for example: attached to the display position of the data object or added to the data object's Other descriptions of the owner/provider website), and the platform server program control parameters and their parameter values are written into the cookies file on the browser side in the form of cookies, such as: passing parameters and their parameter values to the browser and write cookies file, etc. Taking the search platform as an example, the operations on the data objects displayed on the display position may at least include: when the end user browses various data objects displayed on the search platform, the data objects can be browsed, clicked, and selected. , one or more of various operations such as scrolling mouse operation, input and confirmation, or one or more of various operations such as the display of various data objects performed by the platform loading web pages to the browser. These operations will trigger the display platform (server side) to extract the detailed information of the data object (obtaining parameters and their parameter values). At the same time, obtain the parameters and parameter values related to the data object added in the display position, pass the parameters and parameter values to the browser side record, and so on.

在一个实施方式中,平台服务端程序可以将得到的代表详细信息的各个参数以及其参数值,都以cookies方式写入访问该平台的、进行操作的浏览器端,形成记录了cookies值的cookies文件(加密数据包),并存储于进行操作的终端用户的浏览器所在终端设备。其中,这里的每个cookies值包括相应的参数及其参数值。另外,基于终端用户的操作还可以访问该数据对象所属网站。例如:终端用户通过浏览器访问一互联网平台或互联网推广平台,并对平台上展现的数据对象产生点击操作时,由平台获得其对应的详细信息的参数和参数值,平台的服务器会利用http协议,将参数及其参数值提供给浏览器并以cookies方式写入,该写入包括将相应于数据对象的详细信息中的各个参数及其参数值,作为cookies值写入到cookies中,并存储于终端用户所在终端设备上(即存储于客户端)。cookies是一种互联网技术中采用的加密数据包。进而,该点击操作还可以使得平台依据该数据对象的所属网站的链接URL,发生向该网站的跳转以访问对应该数据对象的详情页。In one embodiment, the platform server program can write the obtained parameters representing detailed information and their parameter values in the form of cookies into the browser that accesses the platform and operates to form cookies that record the value of cookies file (encrypted data package) and stored in the terminal device where the browser of the end user is operating. Among them, each cookie value here includes the corresponding parameter and its parameter value. In addition, based on the operation of the end user, the website to which the data object belongs can also be accessed. For example, when an end user accesses an Internet platform or Internet promotion platform through a browser, and clicks on the data objects displayed on the platform, the platform obtains the parameters and parameter values of the corresponding detailed information, and the platform server will use the http protocol. , provide the parameters and their parameter values to the browser and write them in the form of cookies, the writing includes writing each parameter and its parameter values in the detailed information corresponding to the data object into cookies as the cookie value, and storing On the terminal device where the end user is located (that is, stored on the client). Cookies are encrypted data packets used in Internet technology. Furthermore, the click operation can also cause the platform to jump to the website according to the link URL of the website to which the data object belongs, so as to access the details page corresponding to the data object.

以SEM搜索推广平台为例,广告在SEM平台展现的同时,这些展现的广告或者说该广告所处的广告位或该广告的所有者网站的链接URL等,包括了广告详细信息,这些详细信息由各种参数所代表,并对应有相应的参数值(如传统参数传递方式中URL里的from、account_id、ad_id等)。当加载展现广告或者说终端用户点击已经展示的广告或该广告所处的广告位时,将触发该平台获得代表这些广告详细信息的各种参数及参数值,并且,以cookies方式写入,形成记录了cookies值的cookies数据包。Taking the SEM search promotion platform as an example, while the advertisements are displayed on the SEM platform, the displayed advertisements or the advertisement space where the advertisement is located or the link URL of the website of the owner of the advertisement, etc., include the detailed information of the advertisement. It is represented by various parameters and corresponds to corresponding parameter values (such as from, account_id, ad_id, etc. in the URL in the traditional parameter transmission method). When the display advertisement is loaded or the end user clicks the displayed advertisement or the advertisement space where the advertisement is located, the platform will be triggered to obtain various parameters and parameter values representing the detailed information of these advertisements, and write them in the form of cookies to form The cookies packet that records the cookie value.

假设终端用户对在搜索平台上展示的该广告的文字部分进行点击,由于搜索平台上执行过搜索操作,其能够获得相应于该广告的详细信息:通道代码channelcode参数及其参数值book、平台本身的平台标签tag参数及其参数值googhydrcn、该广告本身的广告标识号hvadid参数及其参数值37483559676,等等,依次表示:网站“www.amazon.cn”推广广告的SEM平台google.cn,根据搜索词为图书book的搜索展现的第3748355号广告。并且,由SEM平台的服务器利用http协议(javascript),将这些参数及其参数值传递到浏览器,以cookies方式写入到cookies中,作为加密数据包留存在终端用户所在终端设备上。接着,还可以按照该广告的描述中URL“http:www.amazon.cn”发生向该网站的跳转,访问该广告的详情页即该广告所有者/提供者的网站。进一步地,对于广告这类推广信息,包括在平台上进行展现的推广信息所对应的推广物料包含(例:附带或添加)的各种参数。表示详细信息的参数例如:投放广告的平台(展现数据对象的平台)标识、广告主(账户)标识、广告分类、广告内容标识等等。这些参数以及其对应的参数值,如平台为xxxx.cn、账户为123、分类为A07电器类、广告为第456号,等等,都可以被平台获取后以cookies方式写入,即这些参数及参数值作为cookies值记录在cookies中。Assuming that the end user clicks on the text part of the advertisement displayed on the search platform, since the search operation has been performed on the search platform, he can obtain the detailed information corresponding to the advertisement: the channel code channelcode parameter and its parameter value book, the platform itself The platform tag tag parameter and its parameter value googhydrcn, the advertisement identification number hvadid parameter of the advertisement itself and its parameter value 37483559676, etc., in turn indicate: the website "www.amazon.cn" promotes the advertisement's SEM platform google.cn, according to The search term is the advertisement No. 3748355 displayed by the search for books. In addition, the server of the SEM platform transmits these parameters and their parameter values to the browser by using the http protocol (javascript), writes them into the cookies in the form of cookies, and saves them on the terminal device where the end user is located as an encrypted data packet. Next, a jump to the website can also occur according to the URL "http: www.amazon.cn " in the description of the advertisement, and the details page of the advertisement, that is, the website of the owner/provider of the advertisement can be accessed. Further, for promotion information such as advertisements, the promotion materials corresponding to the promotion information displayed on the platform include (for example: attached or added) various parameters. The parameters representing the detailed information are, for example, the identifier of the platform on which the advertisement is placed (the platform on which the data object is displayed), the identifier of the advertiser (account), the classification of the advertisement, the identifier of the advertisement content, and so on. These parameters and their corresponding parameter values, such as the platform is xxxx.cn, the account is 123, the category is A07 electrical appliances, the advertisement is No. 456, etc., can be obtained by the platform and written in cookies, that is, these parameters and parameter values are recorded in cookies as cookie values.

在步骤S220处,通过脚本代码js获取并解析所述数据包,将获得的信息返回,并将返回的所述信息以js全局变量进行记录。At step S220, the data packet is obtained and parsed by the script code js, the obtained information is returned, and the returned information is recorded in the js global variable.

具体如,平台在终端用户对数据对象进行操作,平台服务器端即刻获得数据对象的详细信息的参数和参数值并写入浏览器端数据包,之后,平台还向数据对象的详情页网站URL跳转。该跳转动作的过程包括平台URL关闭至网站URL的开启,在此平台URL刚关闭而网站URL即将开启的一刻(即所有者网站的网页正在加载),所有者网站或者平台本身,都可以调用平台的专有脚本代码js,从浏览器获取按照平台服务端程序要求写入该浏览器的数据包、并通过平台专有脚本代码js解析该数据包。进一步,平台调用或当网站向浏览器加载网页时网站调用平台专有js将解析后得到的参数及其参数值以js全局变量的方式在浏览器端写入,并记录。Specifically, when the platform operates the data object on the end user, the platform server immediately obtains the parameters and parameter values of the detailed information of the data object and writes it into the browser-side data package. After that, the platform also jumps to the website URL of the details page of the data object. change. The process of the jump action includes the closing of the platform URL to the opening of the website URL. At the moment when the platform URL is just closed and the website URL is about to be opened (that is, the webpage of the owner's website is being loaded), the owner's website or the platform itself can call The platform's proprietary script code js obtains the data packet written into the browser according to the requirements of the platform server program from the browser, and parses the data packet through the platform's proprietary script code js. Further, when the platform calls or when the website loads the webpage to the browser, the website calls the platform-specific js to write the parsed parameters and their parameter values on the browser side in the form of js global variables, and record them.

具体参见图3所示,根据本发明的方法的解析数据包并记录全局变量的一实施例的流程图。Specifically, referring to FIG. 3 , a flow chart of an embodiment of parsing data packets and recording global variables according to the method of the present invention.

在步骤S310处,对获取的数据包进行解密。At step S310, the obtained data packet is decrypted.

其中,提供数据对象到互联网平台或互联网推广平台做展现的网站,甚至平台本身,需要进行访问流量监控。网站或平台本身都可以通过调用平台的专有脚本代码js(专有js),从按照平台服务器的要求而写入了数据包的浏览器端,(如:访问这些平台的终端用户所在的终端设备上),获取存储的数据包。这些数据包是由该平台服务端程序写入到终端设备的浏览器端的。进而,对该数据包进行解密,得到解密数据包。Among them, websites that provide data objects to the Internet platform or Internet promotion platform for display, and even the platform itself, need to monitor the access traffic. The website or the platform itself can call the platform's proprietary script code js (proprietary js), from the browser side that writes the data package according to the requirements of the platform server, (for example: the terminal where the end user who accesses these platforms is located. device) to get the stored packets. These data packets are written to the browser of the terminal device by the platform server program. Further, the data packet is decrypted to obtain a decrypted data packet.

其中,平台在终端用户对数据对象进行操作,参数和参数值写入浏览器端数据包,而由此操作,进一步,平台还向数据对象的详情页网站URL跳转,在此平台URL刚关闭而网站URL刚开启的一刻,网站(甚至该平台)调用专有js从浏览器端获取该数据包。Among them, the platform operates the data object at the end user, and the parameters and parameter values are written into the browser-side data package, and through this operation, the platform also jumps to the website URL of the details page of the data object, where the platform URL has just been closed The moment the website URL is just opened, the website (or even the platform) calls the proprietary js to obtain the data packet from the browser.

在一个实施方式中,需要进行访问流量监控的各类展示平台可以通过访问该平台的终端用户的浏览器获取cookies文档/文件这种加密的数据包。具体地,由于cookies需要从请求过展示平台搜索或加载的终端用户浏览器获得,则只有该平台才能获得cookies文件,并利用该平台所专有的脚本代码js文件(专有js)才能负责解密,由此得到解密数据包,即cookies解密包。该浏览器即步骤S210中基于操作将平台获取的参数及其参数值根据平台服务器端的服务端程序要求以cookies写入的浏览器。In one embodiment, various display platforms that need to monitor access traffic can obtain encrypted data packets such as cookies documents/files through the browsers of end users accessing the platforms. Specifically, since cookies need to be obtained from the browser of the end user who has requested to search or load the display platform, only the platform can obtain the cookie file and use the platform's proprietary script code js file (proprietary js) to be responsible for decryption , and thus obtain the decrypted data packet, that is, the cookies decrypted packet. The browser is the browser that writes the parameters obtained by the platform and their parameter values based on the operation in step S210 with cookies according to the server program requirements of the platform server.

其中,cookies具有跨领域无法读取的属性,因而由平台所在域写入的cookies,也就只有相同域下的脚本代码js才能够读取,因而,也只有该平台才能获取其写入浏览器端的cookies,并且该平台服务端才能进行解密。例如:abc.com写的cookies,只能abc.com/sample.js才能取到,efg.com/other.js是没法取到的。并且,出于信息安全的考虑,对cookies的信息本身也做了加密,比如原始的信息是id=123,但写cookies时是通过该平台所处域下专有脚本代码js执行加密算法(例如md5)计算后的信息id=202cb962ac59075b964b07152d234b70,其他程序代码是无法将202cb962ac59075b964b07152d234b70还原成123的,也只有该平台的专有js能实现对应的解密。Among them, cookies have properties that cannot be read across domains. Therefore, cookies written by the domain where the platform is located can only be read by script code js under the same domain. Therefore, only the platform can obtain the cookies written to the browser. cookies on the client side, and only the platform server can decrypt them. For example, cookies written by abc.com can only be obtained from abc.com/sample.js, but cannot be obtained from efg.com/other.js. In addition, for the sake of information security, the information of cookies is also encrypted. For example, the original information is id=123, but when writing cookies, the encryption algorithm is executed through the proprietary script code js under the domain where the platform is located (for example, md5) Calculated information id=202cb962ac59075b964b07152d234b70, other program codes cannot restore 202cb962ac59075b964b07152d234b70 to 123, and only the platform's proprietary js can achieve the corresponding decryption.

在一个实施方式中,根据对数据对象的操作向浏览器写入cookies生成cookies文件时,平台还执行向数据对象的链接指示的详情页所在的数据对象所有者网站URL跳转,跳转过程中,网站或平台自身调用平台专有js从浏览器端获得已经将参数及其参数值以cookies写入的该cookies文件,并利用该专有js,对该cookies文件进行解密,例如:调用平台的专有js将获得cookies文件中的cookies值读取并由该平台服务端进行解密。In one embodiment, when a cookie file is generated by writing cookies to the browser according to the operation on the data object, the platform also performs a jump to the URL of the website of the owner of the data object where the details page indicated by the link of the data object is located. During the jump process , the website or the platform itself calls the platform's proprietary js to obtain the cookies file that has written the parameters and their parameter values as cookies from the browser, and uses the proprietary js to decrypt the cookies file, for example: calling the platform's Proprietary js will read the cookie value in the cookie file and decrypt it by the platform server.

在步骤S320处,从分解的解密后的数据包中读取出每个参数及其参数值。At step S320, each parameter and its parameter value are read out from the decomposed and decrypted data packet.

具体例如:对解密后的数据包进行分解,以便由网站调用平台专有js将数据包中的参数和参数值逐一提取或者说读出。Specifically, for example, the decrypted data packet is decomposed, so that the website calls the platform-specific js to extract or read out the parameters and parameter values in the data packet one by one.

在一个实施方式中,平台专有脚本js在解密cookies后,继续对cookies中的内容进行分解。这些内容中包含的部分cookies的值(即cookies值),对应参数及其参数值(即步骤S210写入cookies中的参数及参数值)。将内容中的cookies值读出,即读出参数及其参数值。进一步,对cookies文件解密得到的解密的cookies值,还可以返回浏览器端。In one embodiment, the platform-specific script js continues to decompose the content in the cookies after decrypting the cookies. The values of some cookies included in these contents (ie, the cookie values) correspond to the parameters and their parameter values (ie, the parameters and parameter values written into the cookies in step S210). Read out the cookies value in the content, that is, read out the parameter and its parameter value. Further, the decrypted cookies value obtained by decrypting the cookies file can also be returned to the browser.

在步骤S330处,将每个参数及其参数值分别以全局变量进行记录。At step S330, each parameter and its parameter value are recorded as global variables respectively.

具体如:网站在向浏览器加载网页时,网站调用专有脚本代码js,将返回到浏览器端的解密的cookies值所对应的每个参数(包括其参数值),分别以脚本js全局变量记录。Specifically, when the website loads the webpage to the browser, the website calls the proprietary script code js, and records each parameter (including its parameter value) corresponding to the decrypted cookie value returned to the browser as the script js global variable. .

例如:网站调用专有js,读取返回到浏览器端的已经解密并分解后的cookies值,即参数(包括其参数值),并在浏览器端完成将参数(包括其参数值)写成js全局变量的处理并记录js全局变量。即基于对在浏览器端完成的js全局变量的写入,记录各个全局变量,并且,由网站或平台在被通过浏览器访问时进行js全局变量的读取,得到全局变量即能识别出该全局变量指示的参数(包括其参数值)。For example: the website calls proprietary js, reads the decrypted and decomposed cookies value returned to the browser, that is, the parameter (including its parameter value), and completes the writing of the parameter (including its parameter value) as a js global on the browser side Handling of variables and recording js global variables. That is, based on the writing of the js global variables completed on the browser side, each global variable is recorded, and the website or platform reads the js global variable when it is accessed through the browser, and the global variable can be identified. The parameter indicated by the global variable (including its parameter value).

在步骤S230处,通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,对所述信息进行统计分析而完成处理。At step S230, the recorded global variables are read through the script statistics code js, the information corresponding to each global variable is identified, and the information is statistically analyzed to complete the processing.

其中,对所述信息进行统计分析而完成处理包括但不限于:对所述信息进行统计分析而完成对流量的跟踪监控。具体地,基于所记录的各个全局变量进行处理,包括:基于对记录的各个全局变量的读取,识别出各个全局变量所对应的参数,以根据该参数进行流量跟踪监控等处理。Wherein, performing statistical analysis on the information to complete the processing includes but not limited to: performing statistical analysis on the information to complete the tracking and monitoring of traffic. Specifically, the processing based on the recorded global variables includes: based on the reading of the recorded global variables, identifying the parameters corresponding to the global variables, so as to perform processing such as traffic tracking and monitoring according to the parameters.

由于当前平台获取并解析了数据包(cookies)得到其中的参数及其参数值,进而,还以js全局变量对其中的参数及参数值进行记录,则任意的脚本js代码都能对所述脚本js全局变量进行读取,而读出每个全局变量就能识别对应的参数(及其参数值),进而获得包含识别出的参数的相应于所述数据对象的详情信息。比如,所有者网站的任意的流量统计代码都能实现对该全局变量读取以实现流量追踪。例如:平台需要对自身的访问流量进行监控、跟踪等分析,平台的监控跟踪程序/软件/设备等,可以采用任意脚本js(如js统计代码、分析代码等)完成js全局变量的读取,类似的,各个被浏览器端访问的网站(例如:数据对象所有者的网站)或平台也可以获取这些js全局变量,其监控跟踪程序/软件/设备等也可以采用任意脚本js就读取该js全局变量,识别对应的参数(及其参数值)。Since the current platform obtains and parses the data packets (cookies) to obtain the parameters and their parameter values, and further records the parameters and parameter values with js global variables, any script js code can js global variables, and reading each global variable can identify the corresponding parameter (and its parameter value), and then obtain detailed information corresponding to the data object including the identified parameter. For example, any traffic statistics code of the owner's website can read this global variable to implement traffic tracking. For example, the platform needs to monitor and track its own access traffic and analyze the monitoring and tracking programs/software/equipment of the platform. Any script js (such as js statistical code, analysis code, etc.) can be used to complete the reading of js global variables. Similarly, each website accessed by the browser (for example, the website of the owner of the data object) or platform can also obtain these js global variables, and its monitoring and tracking programs/software/equipment can also use any script js to read the js global variable, identifying the corresponding parameter (and its parameter value).

进一步地,由于利用平台的专有js文件能够解析该包含cookies值的cookies文件,因而也能将每个cookies值读出,每个cookies值表示相应的参数(包括其参数值),这些参数结合起来能指示对应的数据对象的详细信息。一旦将这些cookies值用js全局变量进行记录,则任何js代码(如js统计代码、统计工具等流量跟踪分析代码),都能够直接读取该js全局变量,读取到js全局变量值,也就得到了相应的参数(包括参数值)。即参数被找到或者说识别出来,并由js统计代码进行统计,就能得到参数代表的详细信息。Further, since the cookie file containing the cookie value can be parsed by using the proprietary js file of the platform, each cookie value can also be read out, and each cookie value represents the corresponding parameter (including its parameter value). It can indicate the details of the corresponding data object. Once these cookie values are recorded with js global variables, any js code (such as js statistical code, statistical tools and other traffic tracking analysis codes) can directly read the js global variable, read the js global variable value, and also The corresponding parameters (including parameter values) are obtained. That is, the parameters are found or identified and counted by the js statistical code, and the detailed information represented by the parameters can be obtained.

其中,对于网站的流量,通常可以采用几个指标,而PV(Page View,页面浏览量)、UV(Unique Visitor,独立访客数)是流量监控中最常见的两个指标,UV是用来衡量潜在用户量的,PV在用户量的基础上,还可以衡量访客在网站流转的质量,同样是一个访客(UV=1),在A网站只打开了一个网页就离开了,PV=1,而在B网站打开一个网页后又继续浏览了网站的其他的9个网页,PV=10,通常情况下,我们可以认为B网站的质量较高。Among them, for the traffic of the website, several indicators can usually be used, and PV (Page View, page views) and UV (Unique Visitor, the number of unique visitors) are the two most common indicators in traffic monitoring, and UV is used to measure In terms of the number of potential users, PV can also measure the quality of the visitor's circulation on the website on the basis of the number of users. It is also a visitor (UV=1), who only opens one page on the A website and leaves, PV=1, and After the website B opens a webpage, it continues to browse the other 9 webpages of the website, PV=10, under normal circumstances, we can consider that the quality of website B is relatively high.

流量监控程序会对每一个访客(UV)的每一次浏览(PV)记录一条明细,明细可以包括:访问时间、访客ip、访问了哪个页面、平台标识/平台id(如:推广平台id)、账户id(如:推广账户id)、分类id(如:推广分类id)、内容id(如:推广内容id)、访客设备、访客屏幕分辨率等字段。对所有明细进行统计分析即可以知道不同的来源分别带来了多少次UV和PV。The traffic monitoring program will record a detail for each visit (PV) of each visitor (UV). Account id (eg: promotion account id), category id (eg: promotion category id), content id (eg: promotion content id), visitor device, visitor screen resolution and other fields. Statistical analysis of all the details can know how many times UV and PV are brought by different sources.

流量指标PV、UV的明细中的字段,可以与各项前述参数相对应,这样,当识别出参数及其参数值,可以通过js统计代码将参数及其参数值传递到对应的流量指标明细的字段中,完成统计分析或者说运算,而得到相应的流量指标数据。如:将参数与对应的流量指标的明细中的字段进行关联,以确定并统计参数及其参数值所带来的流量来源。例:哪个广告带来的流量、哪个平台展示该广告带来的流量,等等。The fields in the details of the flow indicators PV and UV can correspond to the aforementioned parameters. In this way, when the parameters and their parameter values are identified, the parameters and their parameter values can be passed to the corresponding flow indicator details through the js statistical code. In the field, statistical analysis or operation is completed to obtain the corresponding traffic indicator data. For example, associating the parameters with the fields in the details of the corresponding traffic indicators to determine and count the traffic sources brought by the parameters and their parameter values. For example: which ad brought traffic, which platform displayed the traffic brought by the ad, and so on.

本发明用js全局变量替代了URL参数进行信息传递,无需对海量数据对象的URL做特殊处理(比如无需预写参数及其参数值到URL链接中),无需专门针对某URL的格式而预设读取用的js代码或工具等,任意的js工具都能使用,简单便捷,获取参数的效率得到提高,简化了跟踪监控流量的操作难度。同时,减少了修改相对于数据对象的详细信息的URL,使得展示平台的服务器来说也减轻了负荷。The present invention replaces URL parameters with js global variables for information transmission, and does not need to do special processing on the URLs of massive data objects (for example, no need to pre-write parameters and their parameter values into URL links), and no need to preset a URL format specially The js code or tools used for reading can be used by any js tool, which is simple and convenient, the efficiency of obtaining parameters is improved, and the operation difficulty of tracking and monitoring traffic is simplified. At the same time, the URL for modifying the details relative to the data object is reduced, which also reduces the load on the server of the presentation platform.

以SEM平台为例,当某广告被点击,其cookies形成,进而,由该平台得到cookies文件,平台专有js文件负责将该cookies文件解析后,能够把cookies值读取出来,并采用js全局变量方式记录这些cookies值。这样,广告主用A形式的js统计代码或者B形式的js统计代码,都能够读取js全局变量从而获得cookies值即能获得对应数据对象详细信息的参数,这些参数代表的详细信息也就自然被获取。因而,用js全局变量替代了URL参数进行信息传递,广告主不用再对海量的推广URL做特殊处理,同时如果想要添加多个或替换新的js统计代码也变得非常便捷,直接添加或替换即可,能够实现简单高效率地完成参数识别即访问流量的监控(如统计等),大幅降低了SEM广告主对于推广流量详细跟踪的操作难度,另外,由于广告主无需修改大量的推广物料URL,对广告投放平台的服务器来说也减轻了负载。Taking the SEM platform as an example, when an advertisement is clicked, its cookies are formed, and then, the platform obtains the cookies file, and the platform-specific js file is responsible for parsing the cookies file, then the cookies value can be read out, and the js global Variables record these cookie values. In this way, the advertiser can use the js statistical code in form A or the js statistical code in form B to read the js global variable to obtain the cookie value, that is, to obtain the parameters corresponding to the detailed information of the data object, and the detailed information represented by these parameters is also natural. been acquired. Therefore, using js global variables to replace URL parameters for information transmission, advertisers no longer need to do special processing for massive promotion URLs, and if they want to add multiple or replace new js statistical codes, it is also very convenient to directly add or It can be replaced, which can realize the simple and efficient completion of parameter identification, that is, the monitoring of access traffic (such as statistics, etc.), which greatly reduces the difficulty of SEM advertisers for detailed tracking of promotional traffic. In addition, because advertisers do not need to modify a large number of promotional materials URL, also reduces the load on the server of the ad serving platform.

下面以本发明的方法应用于SEM搜索引擎推广平台(简称SEM推广平台)的一个实例,来做进一步的详细说明,如图5所示:Below is an example in which the method of the present invention is applied to the SEM search engine promotion platform (abbreviated as the SEM promotion platform), and further detailed description is performed, as shown in Figure 5:

首先,广告主会在SEM推广平台提交要投放的广告(广告物料包括但不限于:文本、图片、链接URL、关键词、出价),假设这里提交的广告文本是“买手机就上手机网”,链接URL为http://shouji.com,关键词为“三星手机”。First of all, the advertiser will submit the advertisement to be placed on the SEM promotion platform (advertising materials include but not limited to: text, pictures, link URLs, keywords, bids), assuming that the advertisement text submitted here is "buy a mobile phone and go to the mobile phone network" , the link URL is http://shouji.com , and the keyword is "Samsung mobile phone".

然后,如步骤S510,当用户通过浏览器加载SEM推广平台页面,当前用户可以在SEM推广平台通过搜索引擎搜索“三星手机”,而搜索结果在该推广平台的展示位置上展现,该搜索结果里包括这一条广告“买手机就上手机网”,并会展示这一条广告。Then, in step S510, when the user loads the SEM promotion platform page through the browser, the current user can search for "Samsung mobile phone" through the search engine on the SEM promotion platform, and the search result is displayed on the display position of the promotion platform. Including this advertisement "Buy a mobile phone and go to the mobile Internet", and this advertisement will be displayed.

接着,如步骤S520,当用户点击这条广告的时候,该推广平台服务器端根据服务端程序,就会获取并把这条广告相应的信息(投放位置、广告编号、所属推广账户等)传到浏览器侧并写入到当前该用户浏览器的cookies里。这些信息是以参数及其相应的参数值方式来表示的,比如各种标识等,参数及其参数值可以作为cookies文件的cookies值。Then, as in step S520, when the user clicks on the advertisement, the server of the promotion platform will acquire and transmit the corresponding information (placement, advertisement number, promotion account, etc.) of the advertisement to the browser side and write it into the cookies of the current user's browser. These information are represented by parameters and their corresponding parameter values, such as various identifiers, etc. The parameters and their parameter values can be used as the cookies value of the cookies file.

之后,如步骤S530,在用户点击广告时,获得广告对应的URL即第一步广告主设置的http://shouji.comURL,用户的浏览器会根据这条URL跳转到广告所属网站的详情页。此时(具体如:从平台的URL关闭、广告主网站的URL即将打开这一刻),该推广平台上专有的js会读取上一步的cookies文件中解析后的值(cookies值即参数和参数值),并写入js全局变量。这里,广告主网站的网页在加载过程中,广告主网站的一个进程可以调用平台专有js获得该cookies文件并解析,将参数返回到浏览器端并写入js全局变量。广告主网站的网页上具有对自身网站的流量监控的代码。并且,该跳转动作稍晚于平台获取参数及参数值的动作,能确保数据更准确,例如,点击广告时不小心双击,而实际仅需要发生一次跳转,以及可以广告主网站调用平台专有js获取并解析浏览器端上一步写入的cookies文件,并写入js全局变量。Then, as in step S530, when the user clicks on the advertisement, the URL corresponding to the advertisement is obtained, that is, the http://shouji.comURL set by the advertiser in the first step, and the user's browser will jump to the details of the website to which the advertisement belongs according to this URL. Page. At this point (specifically: the moment when the URL of the slave platform is closed and the URL of the advertiser's website is about to be opened), the proprietary js on the promotion platform will read the parsed value in the cookies file in the previous step (cookies value is the parameter and parameter value), and write to js global variable. Here, during the loading process of the webpage of the advertiser's website, a process of the advertiser's website can call the platform-specific js to obtain and parse the cookies file, return the parameters to the browser and write the js global variable. The webpage of the advertiser's website has the code for monitoring the traffic of its own website. In addition, the jump action is slightly later than the platform’s action of obtaining parameters and parameter values, which can ensure more accurate data. For example, if you accidentally double-click on an advertisement, only one jump actually needs to occur, and the advertiser’s website can call the platform’s special function. There is js to obtain and parse the cookies file written in the previous step on the browser side, and write to the js global variable.

最后,如步骤S540,平台或网站的流量监控或跟踪程序或设备,比如前述广告主网站还具有另一个进程,可以通过的自身设置的脚本统计代码(js代码)或者来自第三方的js代码,来读取上一步所写的js全局变量,从而获得流量来源等详细信息并进行统计汇总和加工分析。比如,javascript通用变相读取方式,即能读取js全局变量,例:var id=global_id。Finally, as in step S540, the traffic monitoring or tracking program or device of the platform or website, such as the aforementioned advertiser website also has another process, which can pass the script statistics code (js code) set by itself or the js code from a third party, to read the js global variables written in the previous step, so as to obtain detailed information such as traffic sources and perform statistical summary and processing analysis. For example, the javascript general disguised reading method can read js global variables, for example: var id=global_id.

如步骤S550,识别出与流量相关的js全局变量对应的参数及参数值,获得统计分析结果,以推广流量跟踪(监控)为例,推广流量跟踪涉及以下参数:In step S550, parameters and parameter values corresponding to js global variables related to traffic are identified, and statistical analysis results are obtained. Taking promotion traffic tracking (monitoring) as an example, the promotion traffic tracking involves the following parameters:

推广平台(平台id):来自哪个平台,比如有的广告主在google、facebook、yahoo等多个平台都有投放广告,需要对不同平台带来的流量予以识别。Promotion platform (platform id): from which platform, for example, some advertisers have placed advertisements on multiple platforms such as google, facebook, yahoo, etc., and it is necessary to identify the traffic brought by different platforms.

推广账户标识(账户id):一些大的广告主会在同一个推广平台开通多个推广账户,以满足类似不同的部们各自负责自己产品推广的需求,例如宝洁,可能会有一个账户专门推广洗发水,一个账户专门推广化妆品,这时候就需要对不同账号带来的流量予以识别。Promotion account identification (account id): Some large advertisers will open multiple promotion accounts on the same promotion platform to meet the needs of similar departments responsible for their own product promotion. For example, Procter & Gamble may have an account dedicated to promotion Shampoo, an account specializes in promoting cosmetics, at this time, it is necessary to identify the traffic brought by different accounts.

推广分类标识(分类id):同一个账号在同一个平台,可能有多种推广形式,例如有视频广告、图片广告、文字广告等多种类型,这时候就需要对不同类型广告带来的流量予以识别。Promotion classification identification (classification id): The same account is on the same platform, and there may be multiple promotion forms, such as video ads, image ads, text ads and other types. be identified.

广告内容标识(内容id):同一个平台同一个账号的同一种广告类型,可能会存在多条广告,例如,宝洁负责推广洗发水的账号下,同样是视频广告,可能会有一个是推广飘柔的,一个是推广潘婷的,这时候需要对每一条广告带来的流量予以识别。Advertising content identifier (content id): There may be multiple advertisements for the same type of advertisement on the same account on the same platform. For example, under the account of P&G responsible for promoting shampoo, it is also a video advertisement, and there may be one advertisement that promotes floating. Soft, one is to promote Pantene. At this time, it is necessary to identify the traffic brought by each advertisement.

上述参数及其对应的参数值,由于在本发明中都记录为js全局变量,因而,当网站或平台对流量监控时,只需要任意的统计用的脚本js就能将js全局变量获得,即得到相应的参数及其参数值,从而简单高效地将这些参数及其参数值获取并放入流量监控程序的算法(如统计算法)中进行计算,如:测量广告的PV、UV等流量指标,并将该流量指标中的明细的字段与广告的各项参数相联系,从而得到对应流量来自哪个广告、从哪个推广平台来,等等。The above-mentioned parameters and their corresponding parameter values are all recorded as js global variables in the present invention. Therefore, when a website or platform monitors traffic, the js global variables can be obtained only by any script js used for statistics, that is, Obtain the corresponding parameters and their parameter values, so as to simply and efficiently obtain these parameters and their parameter values and put them into the algorithm (such as statistical algorithm) of the traffic monitoring program for calculation, such as: measuring the PV, UV and other traffic indicators of advertisements, And link the detailed fields in the traffic indicator with various parameters of the advertisement, so as to obtain which advertisement the corresponding traffic comes from, which promotion platform it comes from, and so on.

本发明还提供了一种网络操作记录系统。如图4所示的根据本发明一实施例的系统的结构框图。该系统400包括:操作记录装置410,用于基于获取的对数据对象的操作,将与所述数据对象相关的信息写入数据包,具体功能及其处理参见步骤S110;解析记录装置420,用于对数据包进行解析,将获得的信息以全局变量记录,以用于基于所记录的各个全局变量进行处理,具体功能及其处理参见步骤S120。The invention also provides a network operation recording system. As shown in FIG. 4, a structural block diagram of a system according to an embodiment of the present invention is shown. The system 400 includes: an operation recording device 410 for writing information related to the data object into a data packet based on the acquired operation on the data object. For specific functions and processing, refer to step S110; the parsing and recording device 420 uses For parsing the data packet, the obtained information is recorded in global variables for processing based on the recorded global variables. For specific functions and processing, refer to step S120.

其中,操作记录装置410还包括:服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件,具体功能及其处理参见步骤S210。解析记录装置420还包括:通过脚本代码js获取并解析所述数据包,将获得的信息返回,并将返回的所述信息以js全局变量进行记录,具体功能及其处理参见步骤S220,进一步,通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,对所述信息进行统计分析而完成对流量的跟踪监控,具体功能及其处理参见步骤S230。Wherein, the operation recording device 410 further includes: based on the obtained operation on the data object, the server writes the parameters related to the data object and their parameter values to the cookies file of the client in the form of cookies. For specific functions and processing, please refer to Step S210. The parsing and recording device 420 further includes: acquiring and parsing the data packet through the script code js, returning the obtained information, and recording the returned information as a js global variable. For specific functions and processing, refer to step S220, and further, Through the script statistics code js, the recorded global variables are read, the information corresponding to each global variable is identified, and the information is statistically analyzed to complete the tracking and monitoring of the traffic. For specific functions and processing, see step S230.

由于本实施例的系统所实现的功能基本相应于前述图1至图3所示的方法实施例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。Since the functions implemented by the system in this embodiment basically correspond to the method embodiments shown in the foregoing FIG. 1 to FIG. 3 , for the details not described in this embodiment, reference may be made to the relevant descriptions in the foregoing embodiments, here I won't go into details.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的备份日志的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components of the log backup apparatus according to the embodiment of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (8)

1.一种网络操作记录方法,其包括:1. A network operation recording method, comprising: 平台服务端基于获取的对数据对象的操作,将与所述数据对象相关的信息写入客户端的数据包;The platform server writes the information related to the data object into the data packet of the client based on the obtained operation on the data object; 调用平台的专有脚本代码js从客户端获取数据包,通过所述平台的专有脚本代码js对数据包进行解析,将获得的信息以全局变量记录在客户端,以用于基于所记录的各个全局变量进行处理;The proprietary script code js of the platform is called to obtain the data packet from the client, the data packet is parsed by the proprietary script code js of the platform, and the obtained information is recorded in the client as a global variable for use based on the recorded data. Each global variable is processed; 其中,所述数据对象具体为在平台提供的展示位置展现的各种信息。Wherein, the data object is specifically various information displayed in the display position provided by the platform. 2.根据权利要求1所述的方法,其中,所述平台服务端基于获取的对数据对象的操作,将与所述数据对象相关的信息写入客户端的数据包,包括:2. The method according to claim 1, wherein, based on the obtained operation on the data object, the platform server writes information related to the data object into the data packet of the client, comprising: 平台服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件。Based on the obtained operation on the data object, the platform server writes the parameters related to the data object and their parameter values to the cookies file of the client in the form of cookies. 3.根据权利要求1或2所述的方法,其中,所述基于所记录的各个全局变量进行处理,包括:3. The method according to claim 1 or 2, wherein the processing based on each recorded global variable comprises: 通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,并对所述信息进行统计分析而完成对流量跟踪监控的处理。Through the script statistics code js, the recorded global variables are read, the information corresponding to each global variable is identified, and the information is statistically analyzed to complete the processing of traffic tracking and monitoring. 4.根据权利要求1或2所述的方法,其中,所述信息包括以下至少一项:平台标识、账户标识、分类标识、内容标识;和/或,所述处理包括:将参数与对应的流量指标的字段进行关联,以确定该参数及其参数值所对应的流量来源和/或对来自不同流量来源的流量进行统计。4. The method according to claim 1 or 2, wherein the information includes at least one of the following: a platform identification, an account identification, a classification identification, and a content identification; and/or, the processing includes: comparing the parameters with the corresponding The fields of the traffic indicators are correlated to determine the traffic source corresponding to the parameter and its parameter value and/or to collect statistics on the traffic from different traffic sources. 5.一种网络操作记录系统,其包括:5. A network operation recording system, comprising: 操作记录装置,用于由平台服务端基于获取的对数据对象的操作,将与所述数据对象相关的信息写入客户端的数据包;an operation recording device, which is used by the platform server to write information related to the data object into the data packet of the client based on the obtained operation on the data object; 解析记录装置,用于调用平台的专有脚本代码js从客户端获取数据包,通过所述平台的专有脚本代码js对数据包进行解析,将获得的信息以全局变量记录在客户端,以用于基于所记录的各个全局变量进行处理;The parsing and recording device is used for invoking the proprietary script code js of the platform to obtain the data packet from the client, parses the data packet through the proprietary script code js of the platform, and records the obtained information on the client as a global variable, to For processing based on the recorded global variables; 其中,所述数据对象具体为在平台提供的展示位置展现的各种信息。Wherein, the data object is specifically various information displayed in the display position provided by the platform. 6.根据权利要求5所述的系统,其中,操作记录装置进一步用于:6. The system of claim 5, wherein the operation recording device is further configured to: 由平台服务器端基于获取的对数据对象的操作,将与所述数据对象相关的参数及其参数值以cookies方式写入到客户端的cookies文件。Based on the obtained operation on the data object, the platform server writes the parameters related to the data object and their parameter values to the cookies file of the client in the form of cookies. 7.根据权利要求5或6所述的系统,其中,所述基于所记录的各个全局变量进行处理,包括:7. The system according to claim 5 or 6, wherein the processing based on each recorded global variable comprises: 通过脚本统计代码js,读取记录的所述全局变量,识别出每个全局变量所对应的信息,并对所述信息进行统计分析而完成对流量跟踪监控的处理。Through the script statistics code js, the recorded global variables are read, the information corresponding to each global variable is identified, and the information is statistically analyzed to complete the processing of traffic tracking and monitoring. 8.根据权利要求5或6所述的系统,其中,所述信息包括以下至少一项:平台标识、账户标识、分类标识、内容标识;和/或,所述处理包括:将参数与对应的流量指标的字段进行关联,以确定该参数及其参数值所对应的流量来源和/或对来自不同流量来源的流量进行统计。8. The system according to claim 5 or 6, wherein the information includes at least one of the following: platform identification, account identification, classification identification, and content identification; and/or, the processing includes: associating parameters with corresponding The fields of the traffic indicators are correlated to determine the traffic source corresponding to the parameter and its parameter value and/or to collect statistics on the traffic from different traffic sources.
CN201410242710.5A 2014-06-03 2014-06-03 Network operation recording method and system Active CN105450460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410242710.5A CN105450460B (en) 2014-06-03 2014-06-03 Network operation recording method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410242710.5A CN105450460B (en) 2014-06-03 2014-06-03 Network operation recording method and system

Publications (2)

Publication Number Publication Date
CN105450460A CN105450460A (en) 2016-03-30
CN105450460B true CN105450460B (en) 2019-12-27

Family

ID=55560265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410242710.5A Active CN105450460B (en) 2014-06-03 2014-06-03 Network operation recording method and system

Country Status (1)

Country Link
CN (1) CN105450460B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649470A (en) * 2016-09-28 2017-05-10 郑州云海信息技术有限公司 Table search state storage method
CN107835132B (en) * 2017-10-17 2020-07-03 贝壳找房(北京)科技有限公司 Method and device for tracking flow source
CN110020364B (en) * 2017-11-27 2021-11-30 北京京东尚科信息技术有限公司 Method and device for determining flow source of page access
CN109614566A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Traffic source analysis method, system and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299832A (en) * 2011-09-30 2011-12-28 互动在线(北京)科技有限公司 General network flow counting method
CN103606094A (en) * 2013-11-06 2014-02-26 北京掌阔移动传媒科技有限公司 Mobile Internet advertisement monitoring method and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254529A1 (en) * 2008-04-04 2009-10-08 Lev Goldentouch Systems, methods and computer program products for content management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299832A (en) * 2011-09-30 2011-12-28 互动在线(北京)科技有限公司 General network flow counting method
CN103606094A (en) * 2013-11-06 2014-02-26 北京掌阔移动传媒科技有限公司 Mobile Internet advertisement monitoring method and system thereof

Also Published As

Publication number Publication date
CN105450460A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
Fleerackers et al. Communicating scientific uncertainty in an age of COVID-19: An investigation into the use of preprints by digital media outlets
US20250238817A1 (en) Obtaining data from incomplete electronic forms
US20210083954A1 (en) Systems and methods for configuring a resource for network traffic analysis
EP2433258B1 (en) Protected serving of electronic content
US20190347287A1 (en) Method for screening and injection of media content based on user preferences
US8843619B2 (en) System and method for monitoring visits to a target site
US20140229271A1 (en) System and method to analyze and rate online advertisement placement quality and potential value
CN103618774B (en) A kind of resource recommendation method based on network behavior and device, system
US20180174187A1 (en) Providing a modified content item to a user
CN110929183B (en) Data processing method, device and machine-readable medium
CN105450460B (en) Network operation recording method and system
CN105723398B (en) Method and system for tracking user engagement on multiple third-party sites
Kiesel et al. WASP: web archiving and search personalized
Mazilu Web scraping and ethics in automated data collection
JP5439678B1 (en) Personality analyzer and personality analysis program
US11256853B2 (en) Parameterizing network communication paths
US20140188582A1 (en) System and method for logging website interactions
CA2824977C (en) Online content collection
Expósito-Ventura et al. Measuring online advertising viewability and analyzing its variability across different dimensions
WO2016023512A1 (en) Search method for customized result provided for content provider, client and system
Sidhoum Measurement and analysis of web tracking on the Internet
Raju Online Visitor Classification and Unified Creation With Clickstream Data
CN113901325A (en) User behavior analysis device and method
WO2021127568A1 (en) Systems and methods of tracking entity program participant activity on social media
Khoiriyah Perception Analysis of Desktop and Mobile Service Website

Legal Events

Date Code Title Description
C06 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: 20220829

Address after: No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science and Technology Park, High-tech Zone, Binhai New District, Tianjin 300000

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right