WO2018121501A1 - 网站访客行为监测方法及装置 - Google Patents

网站访客行为监测方法及装置 Download PDF

Info

Publication number
WO2018121501A1
WO2018121501A1 PCT/CN2017/118505 CN2017118505W WO2018121501A1 WO 2018121501 A1 WO2018121501 A1 WO 2018121501A1 CN 2017118505 W CN2017118505 W CN 2017118505W WO 2018121501 A1 WO2018121501 A1 WO 2018121501A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration file
attribute information
page element
monitoring
information
Prior art date
Application number
PCT/CN2017/118505
Other languages
English (en)
French (fr)
Inventor
包佳杰
Original Assignee
北京国双科技有限公司
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 北京国双科技有限公司 filed Critical 北京国双科技有限公司
Publication of WO2018121501A1 publication Critical patent/WO2018121501A1/zh

Links

Images

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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and an apparatus for monitoring website visitor behavior.
  • Website monitoring is mainly to monitor user access to the default website.
  • the current mainstream website data analysis tools are based on JavaScript.
  • Early web site data analysis only collected one type of user behavior, that is, the opening of the page, and then the user's behavior in the page could not be collected.
  • This collection strategy can satisfy common analytical perspectives such as basic traffic analysis, source analysis, content analysis, and visitor attributes, but with the widespread use of AJAX (Asynchronous JavaScript And XML, asynchronous JavaScript and XML) technology and e-commerce sites for electronics
  • AJAX Asynchronous JavaScript And XML, asynchronous JavaScript and XML
  • the present invention has been made in order to provide a method and apparatus for monitoring website visitor behavior that overcomes the above problems or at least partially solves the above problems.
  • the technical solution is as follows:
  • the application provides a website visitor behavior monitoring method, which is applied to a target webpage, and includes:
  • the target function is executed by using the operated page element as a parameter to obtain visitor behavior data.
  • acquiring attribute information of the operated page element includes:
  • the first attribute information and the second attribute information are expanded to obtain integrated attribute information, and each piece of the integrated attribute information includes only one attribute item attribute, a matching value, and a page element.
  • searching for an objective function that matches the attribute information of the operated page element from the configuration file includes:
  • the obtaining, by the monitoring server, a configuration file corresponding to the monitoring code including:
  • the configuration file is read by the monitoring server from the configuration file library according to the configuration file loading request.
  • the configuration file includes: a matching attribute name, a matching type, a matching value, and a function.
  • the application provides a website visitor behavior monitoring device, which is applied to a target webpage, and includes:
  • a first obtaining module configured to acquire, from the monitoring server, a configuration file corresponding to the monitoring code, where the configuration file includes a mapping relationship between attribute information of a page element in the target webpage and a corresponding function;
  • a second acquiring module configured to acquire attribute information of the operated page element after monitoring an operation event of the page element in the target webpage
  • a finding module configured to search, from the configuration file, an objective function that matches attribute information of the operated page element
  • an execution module configured to execute the target function by using the operated page element as a parameter to obtain visitor behavior data.
  • the second obtaining module includes:
  • a first obtaining submodule configured to acquire first attribute information of the operated page element
  • a second obtaining submodule configured to acquire second attribute information of all the ancestor elements corresponding to the operated page element
  • An integration submodule configured to expand the first attribute information and the second attribute information to obtain integrated attribute information, where each piece of the integrated attribute information includes only one attribute item attribute, a matching value, and a page element.
  • the searching module includes:
  • a comparison submodule configured to compare each piece of information in the integrated attribute information with information in the configuration file one by one;
  • a determining submodule configured to determine, when the information file in the configuration file is the same as the attribute and the matching value in the integrated attribute information, that the function in the information item is the target function.
  • the first acquiring module includes:
  • a sending submodule configured to send a configuration file loading request to the monitoring server, where the configuration file loading request includes information of a configuration file requested to be loaded;
  • a receiving submodule configured to receive a configuration file returned by the monitoring server; the configuration file is read by the monitoring server from the configuration file library according to the configuration file loading request.
  • the configuration file includes: a matching attribute name, a matching type, a matching value, and a function.
  • the website visitor behavior monitoring method stores a configuration file in the monitoring server, where the configuration file includes the attribute information of the page element and the mapping relationship between the corresponding functions; the monitoring code in the webpage is monitored. After the operation event of the page element is operated, the attribute information of the operated page element is obtained, and then the target function matching the attribute information is found from the configuration file, and the operated page element is used as a parameter to execute the target function to obtain the visitor. Behavioral data.
  • the method stores the correspondence between the operation event of the page element and the function as a configuration file in the monitoring server.
  • the configuration file is obtained from the monitoring server, so the page does not need to be embedded in the webpage. Buried points, which greatly reduce the labor costs of deployment.
  • FIG. 1 is a flowchart of a method for monitoring visitor behavior of a website according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a process of monitoring a code loading configuration file according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for monitoring website visitor behavior according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of a website visitor behavior monitoring apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram of a first acquiring module according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of a second obtaining module according to an embodiment of the present invention.
  • FIG. 7 shows a block diagram of a lookup module in accordance with an embodiment of the present invention.
  • FIG. 1 a flowchart of a method for monitoring a visitor behavior of a website according to an embodiment of the present invention is shown, which is applied to a web client. As shown in FIG. 1, the method may include the following steps:
  • the invention stores the configuration file in the monitoring server, and when the monitoring code in the web client is initialized, the corresponding configuration file is remotely loaded from the monitoring server.
  • the monitoring code in the present invention refers to a conventional monitoring tool that can only collect one kind of user behavior, and is not the above-mentioned page burying point.
  • the monitoring server is a server deployed by the developer of the monitoring code to analyze the website monitoring data, and the monitoring server is a general term for all servers deployed by the developer of the monitoring code.
  • the configuration file includes a mapping relationship between attribute information of page elements in the target webpage and corresponding functions.
  • the process of monitoring a code loading configuration file includes:
  • a configuration file load request is sent to the monitoring server.
  • the configuration file loading request includes information of the configuration file that is requested to be loaded.
  • the configuration file loading request includes identification information of the monitoring code, and the monitoring server finds the configuration file corresponding to the monitoring code by using the identification information.
  • the monitoring server After receiving the configuration file loading request, the monitoring server obtains the information of the configuration file requested by the webpage client from the configuration file loading request, and then searches for the configuration file corresponding to the information, and returns the information to the webpage client.
  • the monitoring code in the target webpage monitors the attribute information of the operated page element after monitoring the operation event of the page element being operated.
  • the attribute information of the page element includes filed (ie, matching attribute name), for example, id, name, class, tag.
  • a large control box also includes small controls.
  • the attribute information of the operated page element and the attribute information of all ancestor page elements of the operated page element are included in the attribute information of the operated page element.
  • the target function is executed by the operated page element as a parameter, the visitor behavior data is obtained, and the visitor behavior data is sent to the monitoring server, so that the monitoring server analyzes the visitor behavior data.
  • the embodiment provides a website visitor behavior monitoring method, and stores a configuration file in the monitoring server, where the configuration file includes attribute information of the page element and a mapping relationship between the corresponding functions; the monitoring code in the webpage monitors the operation of the page element being operated. After the event, the attribute information of the operated page element is obtained, and then the target function is matched from the configuration file or the attribute information is matched, and the operated page element is used as a parameter to execute the objective function to obtain the visitor behavior data.
  • the method stores the correspondence between the operation event of the page element and the function as a configuration file in the monitoring server.
  • the configuration file is obtained from the monitoring server, so the page does not need to be embedded in the webpage. Buried points, which greatly reduce the labor costs of deployment.
  • FIG. 3 a flow chart of another method for monitoring website visitor behavior according to an embodiment of the present invention is shown.
  • the method may include the following steps:
  • the web client remotely loads the configuration file from the monitoring server.
  • the configuration file represents a JavaScript array with each array element having a field (matching the property name, for example, id, name, class, tag), type (matching type, eg, equals, contains, beginwith, endwith, regex), value (match value), callback (function call) four attributes.
  • Table 1 shows an example of the content of a specific configuration file according to an embodiment of the present invention:
  • the web client After monitoring the operation event of the page element, the web client acquires the first attribute information of the operated page element and the second attribute information of the ancestor element of the operated page element.
  • the first attribute information and the second attribute are only used to distinguish the attribute information corresponding to the different page elements, and the attribute information corresponding to the operated page element is recorded as the first attribute information, and the attribute information corresponding to the ancestor element of the operated page element is recorded as Second attribute information.
  • the first attribute information and the second attribute information are both "field" attributes, namely id, name, class, and tag.
  • the operated page element is "img1"
  • the ancestor elements of the operated page element are "a1" and "div1".
  • Each piece of information in the integrated attribute information contains only one attribute item, one matching value, and one page element.
  • step S220 The data obtained in step S220 is organized into a field-value-element format, and finally the table 3 is obtained:
  • the information in Table 3 is compared with the information in Table 1 one by one. When both fields and values are the same in both tables, the matching is successful.
  • the website visitor behavior monitoring method stores a configuration file in the monitoring server, where the configuration file includes attribute information of the page element and a mapping relationship between the corresponding functions; the monitoring code in the webpage monitors that the page element is operated. After the operation event, the attribute information of the operated page element is obtained, and then the target function is matched from the configuration file or the attribute information is matched, and the operated page element is used as a parameter to execute the target function to obtain the visitor behavior data.
  • the method stores the correspondence between the operation event of the page element and the function as a configuration file in the monitoring server.
  • the configuration file is obtained from the monitoring server, so the page does not need to be embedded in the webpage. Buried points, which greatly reduce the labor costs of deployment.
  • the present invention also provides an embodiment of a website visitor behavior monitoring apparatus.
  • FIG. 4 a block diagram of a website visitor behavior monitoring apparatus is shown in the embodiment of the present invention.
  • the apparatus is applied to a target webpage.
  • the apparatus includes: a first obtaining module 410 and a second acquiring module. 420.
  • the first obtaining module 410 is configured to obtain, from the monitoring server, a configuration file corresponding to the monitoring code.
  • the monitoring code in the present invention refers to a conventional monitoring tool that can only collect one kind of user behavior, and is not the above-mentioned page burying point.
  • the monitoring server is a server deployed by the developer of the monitoring code to analyze the website monitoring data, and the monitoring server is a general term for all servers deployed by the developer of the monitoring code.
  • the configuration file includes a mapping relationship between attribute information of page elements in the target webpage and corresponding functions.
  • the first obtaining module 410 includes: a sending submodule 411 and a receiving submodule 412.
  • the sending submodule 411 is configured to send a configuration file loading request to the monitoring server.
  • the configuration file load request contains information about the configuration file that is requested to be loaded.
  • the receiving submodule 412 is configured to receive a configuration file returned by the monitoring server.
  • the configuration file is read by the monitoring server from the configuration file library according to the configuration file loading request.
  • the monitoring server After receiving the configuration file loading request, the monitoring server obtains the information of the configuration file requested by the webpage client from the configuration file loading request, and then searches for the configuration file corresponding to the information, and returns the information to the webpage client.
  • the second obtaining module 420 is configured to acquire attribute information of the operated page element after monitoring an operation event of the page element in the target webpage.
  • the second obtaining module 420 includes a first obtaining submodule 421, a second obtaining submodule 422, and an integration submodule 423.
  • the first obtaining submodule 421 is configured to acquire first attribute information of the operated page element.
  • the second obtaining sub-module 422 is configured to acquire second attribute information of all ancestor elements corresponding to the operated page element.
  • the first attribute information and the second attribute are only used to distinguish attribute information corresponding to different page elements, and the attribute information corresponding to the operated page element is recorded as the first attribute information, and the attribute information corresponding to the ancestor element of the operated page element is recorded as the second attribute information. Attribute information.
  • the first attribute information and the second attribute information are both "field" attributes, namely id, name, class, and tag.
  • the integration sub-module 423 is configured to expand the first attribute information and the second attribute information to obtain integrated attribute information
  • Each piece of information in the integrated attribute information contains only one attribute of the attribute item, a matching value, and a page element.
  • the first attribute information and the second attribute information are organized into a format of a field-value-element.
  • the searching module 430 is configured to search, from the configuration file, an objective function that matches attribute information of the operated page element.
  • the lookup module 430 includes a comparison submodule 431 and a determination submodule 432.
  • the comparison sub-module 431 is configured to compare each piece of information in the integrated attribute information with the information in the configuration file one by one.
  • the determining sub-module 432 is configured to determine, when the information file in the configuration file is the same as the attribute and the matching value in the integrated attribute information, that the function in the information item is the target function.
  • the execution module 440 is configured to execute the target function by using the operated page element as a parameter to obtain visitor behavior data.
  • the target function is executed by the operated page element as a parameter, the visitor behavior data is obtained, and the visitor behavior data is sent to the monitoring server, so that the monitoring server analyzes the visitor behavior data.
  • the embodiment provides a website visitor behavior monitoring device, and stores a configuration file in the monitoring server, where the configuration file includes attribute information of the page element and a mapping relationship between the corresponding functions; the first obtaining module loads the corresponding configuration file from the monitoring server. After the monitoring code in the webpage monitors the operation event that the page element is operated, the second obtaining module acquires the attribute information of the operated page element; and then, the searching module finds an objective function matching the attribute information from the configuration file; Finally, the execution module executes the target function by using the operated page element as a parameter to obtain visitor behavior data.
  • the device stores the correspondence between the operation event of the page element and the function as a configuration file in the monitoring server, and when the monitoring code of the webpage runs, the configuration file is obtained from the monitoring server, so the page does not need to be embedded in the webpage. Buried points, which greatly reduce the labor costs of deployment.
  • the website visitor behavior monitoring apparatus includes a processor and a memory, and the first obtaining module 410, the second obtaining module 420, the searching module 430, and the executing module 440 are all stored as a program unit in a memory, and are executed by the processor and stored in the memory.
  • the above program unit is used to implement the corresponding function.
  • the processor contains a kernel, and the kernel removes the corresponding program unit from the memory.
  • the kernel can be set to one or more, reducing deployment labor costs by adjusting kernel parameters.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one Memory chip.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • the embodiment provides a website visitor behavior monitoring device, and stores a configuration file in the monitoring server, where the configuration file includes attribute information of the page element and a mapping relationship between the corresponding functions; the first obtaining module loads the corresponding configuration file from the monitoring server. After the monitoring code in the webpage monitors the operation event that the page element is operated, the second obtaining module acquires the attribute information of the operated page element; and then, the searching module finds an objective function matching the attribute information from the configuration file; Finally, the execution module executes the target function by using the operated page element as a parameter to obtain visitor behavior data.
  • the device stores the correspondence between the operation event of the page element and the function as a configuration file in the monitoring server, and when the monitoring code of the webpage runs, the configuration file is obtained from the monitoring server, so the page does not need to be embedded in the webpage. Buried points, which greatly reduce the labor costs of deployment.
  • the embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by the processor, the website visitor behavior monitoring method provided by the foregoing method embodiment is implemented.
  • An embodiment of the present invention provides a processor, where the processor is configured to run a program, where the program is executed to execute the website visitor behavior monitoring method provided by the foregoing method embodiment.
  • the embodiment of the present invention provides a device, which may be a server, a PC, a PAD, a mobile phone, etc., the device includes a processor, a memory, and a program stored on the memory and executable on the processor, and the processor executes the program. The following steps are implemented:
  • the target function is executed by using the operated page element as a parameter to obtain visitor behavior data.
  • acquiring attribute information of the operated page element includes:
  • the first attribute information and the second attribute information are expanded to obtain integrated attribute information, and each piece of the integrated attribute information includes only one attribute item attribute, a matching value, and a page element.
  • searching for an objective function matching the attribute information of the operated page element from the configuration file includes:
  • the acquiring, by the monitoring server, the configuration file corresponding to the monitoring code includes:
  • the configuration file is read by the monitoring server from the configuration file library according to the configuration file loading request.
  • the configuration file includes: a matching attribute name, a matching type, a matching value, and a function.
  • the application also provides a computer program product, when executed on a data processing device, adapted to perform initialization of program code having the following method steps:
  • the target function is executed by using the operated page element as a parameter to obtain visitor behavior data.
  • acquiring attribute information of the operated page element includes:
  • the first attribute information and the second attribute information are expanded to obtain integrated attribute information, and each piece of the integrated attribute information includes only one attribute item attribute, a matching value, and a page element.
  • searching for an objective function matching the attribute information of the operated page element from the configuration file includes:
  • the acquiring, by the monitoring server, the configuration file corresponding to the monitoring code includes:
  • the configuration file is read by the monitoring server from the configuration file library according to the configuration file loading request.
  • the configuration file includes: a matching attribute name, a matching type, a matching value, and a function.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网站访客行为监测方法,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;网页中的监测代码监测到页面元素被操作的操作事件后,获取被操作页面元素的属性信息,然后,从配置文件或找到与该属性信息相匹配的目标函数,并将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该方法将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。

Description

网站访客行为监测方法及装置
本申请要求于2016年12月29日提交中国专利局、申请号为201611250185.7、发明名称为“网站访客行为监测方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网技术领域,尤其涉及一种网站访客行为监测方法及装置。
背景技术
网站监测主要是监测用户访问预设网站的访问行为。目前主流的网站数据分析工具都是基于JavaScript的。早期的网站数据分析只收集一种用户行为,即,页面的打开,而后用户在页面中的行为均无法收集。这种收集策略能满足基本的流量分析、来源分析、内容分析及访客属性等常用分析视角,但是,随着AJAX(Asynchronous JavaScript And XML,异步JavaScript和XML)技术的广泛使用及电子商务网站对于电子商务目标的统计分析的需求越来越强烈,这种传统的收集策略已经显得力不能及。
如果收集用户浏览目标网站的行为(例如,打开网页、点击某按钮、将商品加入购物车等)及行为附加数据(例如,下单行为产生的订单金额等),则需要在网页中嵌入页面埋点(即,埋点代码),利用埋点代码对网页上页面元素的操作事件与基础脚本中的相应函数绑定,这样,监测到某页面元素的操作事件后,执行绑定的函数,从而收集到访客行为数据。此种方式需要在网页客户端中嵌入页面埋点,这样增加了部署人工成本。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的网站访客行为监测方法及装置,其技术方案如下:
第一方面,本申请提供一种网站访客行为监测方法,应用于目标网页中,包括:
从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
可选地,所述当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息,包括:
获取所述被操作页面元素的第一属性信息;
获取所述被操作页面元素对应所有祖先元素的第二属性信息;
将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
可选地,从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数,包括:
将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
可选地,所述从监测服务器中获取与所述监测代码对应的配置文件,包括:
向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
接收所述监测服务器返回的配置文件;所述配置文件由所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
可选地,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
第二方面,本申请提供一种网站访客行为监测装置,应用于目标网页中,包括:
第一获取模块,用于从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
第二获取模块,用于当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
查找模块,用于从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
执行模块,用于将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
可选地,所述第二获取模块,包括:
第一获取子模块,用于获取所述被操作页面元素的第一属性信息;
第二获取子模块,用于获取所述被操作页面元素对应所有祖先元素的第二属性信息;
整合子模块,用于将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
可选地,所述查找模块,包括:
比较子模块,用于将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
确定子模块,用于当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
可选地,所述第一获取模块,包括:
发送子模块,用于向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
接收子模块,用于接收所述监测服务器返回的配置文件;所述配置文件由所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
可选地,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
借由上述技术方案,本发明提供的网站访客行为监测方法,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;网页中的监测代码监测到页面元素被操作的操作事件后,获取被操作页面元素的属性信息,然后,从配置文件或找到与该属性信息相匹配的目标函 数,并将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该方法将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本发明实施例一种网站访客行为监测方法的流程图;
图2示出了本发明实施例一种监测代码加载配置文件过程的流程图;
图3示出了本发明实施例另一种网站访客行为监测方法的流程图;
图4示出了本发明实施例一种网站访客行为监测装置的框图;
图5示出了本发明实施例一种第一获取模块的框图;
图6示出了本发明实施例一种第二获取模块的框图;
图7示出了本发明实施例一种查找模块的框图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
请参见图1,示出了本发明实施例一种网站访客行为监测方法的流程图,该方法应用于网页客户端中。如图1所示,该方法可以包括以下步骤:
S110,从监测服务器中获取与该监测代码对应的配置文件。
本发明在监测服务器中存储配置文件,当网页客户端中的监测代码初始化 时,从监测服务器中远程加载对应的配置文件。
本发明中的监测代码是指传统的只能收集一种用户行为的监测工具,并不是上述的页面埋点。监测服务器是监测代码的开发方部署的用于分析网站监测数据的服务器,监测服务器是监测代码的开发方部署的所有服务器的统称。
该配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系。
在本发明一种可能的实现方式中,如图2所示,监测代码加载配置文件的过程包括:
S111,向监测服务器发送配置文件加载请求。
监测代码运行时,向监测服务器发送配置文件加载请求。
该配置文件加载请求中包含请求加载的配置文件的信息,例如,该配置文件加载请求中包含监测代码的标识信息,监测服务器通过该标识信息找到与该监测代码对应的配置文件。
S112,接收监测服务器返回的配置文件。
监测服务器接收到配置文件加载请求后,从该配置文件加载请求中获取网页客户端请求加载的配置文件的信息,然后,根据查找与该信息相对应的配置文件,并返回给网页客户端。
S120,当监测到目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息。
目标网页中的监测代码监测到页面元素被操作的操作事件后,获取被操作页面元素的属性信息。
页面元素的属性信息包括filed(即,匹配属性名),例如,id、name、class、tag。
在网页页面中,一些页面元素还嵌套有其它页面元素,例如,一个大的控件框中还包括小的控件。在获取被操作页面元素的属性信息中包括被操作页面元素的属性信息及被操作页面元素的全部祖先页面元素的属性信息。
S130,从配置文件中查找与被操作页面元素的属性信息匹配的目标函数。
将获得的被操作页面元素及其祖先页面元素的属性信息逐条与配置文件中包含的属性信息进行比较,从配置文件中查找到与被操作页面元素的属性信 息匹配成功信息项中的函数为目标函数。
S140,将被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
将被操作页面元素作为参数执行该目标函数,得到访客行为数据,并将该访客行为数据发送给监测服务器,以便监测服务器分析访客行为数据。
本实施例提供网站访客行为监测方法,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;网页中的监测代码监测到页面元素被操作的操作事件后,获取被操作页面元素的属性信息,然后,从配置文件或找到与该属性信息相匹配的目标函数,并将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该方法将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。
请参见图3,示出了本发明实施例另一种网站访客行为监测方法的流程图,该方法可以包括以下步骤:
S210,网页客户端从监测服务器中远程加载配置文件。
配置文件代表一个JavaScript数组,其中的每个数组元素具有field(匹配属性名,例如,id、name、class、tag)、type(匹配类型,例如,equals、contains、beginwith、endwith、regex)、value(匹配值)、callback(函数调用)四个属性。
如表1所示为本发明实施例一个具体的配置文件的内容示例:
表1
field type value callback
id contains value1 callback1
name beginwith value2 callback2
class regex value3 callback3
tag endwith v callback4
S220,网页客户端监测到页面元素的操作事件后,获取被操作页面元素的第一属性信息,及被操作页面元素的祖先元素的第二属性信息。
其中,第一属性信息和第二属性仅仅用于区分不同页面元素对应的属性信息,被操作页面元素对应的属性信息记为第一属性信息,被操作页面元素的祖 先元素对应的属性信息记为第二属性信息。第一属性信息和第二属性信息均为“field”属性,即id、name、class、tag。
假设网页内容如下:
<body>
<div_id="x">
<a_name="y">
<img_class="z"/>
</a>
</div>
</body>
例如,用户点击了网页上的img标签,获取到如表2所示的数据:
表2
Figure PCTCN2017118505-appb-000001
表2所示示例中,被操作页面元素是“img1”,该被操作页面元素的祖先元素是“a1”和“div1”。
S230,将第一属性信息及第二属性信息展开得到整合属性信息。
整合属性信息中的每一条信息只包含一个属性项、一个匹配值和一个页面元素。
将步骤S220中获得的数据,组织成field-value-element的格式,最终得到表3:
表3
field value element
class z img1
tag img img1
name y a1
tag a a1
id x div1
tag div div1
S240,将整合属性信息中每一条信息与配置文件中的信息逐条进行比较。
将表3中的信息逐条与表1中的信息进行比较,两个表中field和value均相同时,表示匹配成功。
S250,当配置文件中存在与整合属性信息中的属性及匹配值都相同的信息项时,确定信息项中的函数为所述目标函数。
例如,表3中的
tag div div1
与表1中的
tag endwith v callback4
表3中,元素“div1”的tag是div,以“v”结尾,因此与表1中tag endwith v(tag以v结尾)匹配成功,因此,callback4是目标函数。
本实施例提供的网站访客行为监测方法,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;网页中的监测代码监测到页面元素被操作的操作事件后,获取被操作页面元素的属性信息,然后,从配置文件或找到与该属性信息相匹配的目标函数,并将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该方法将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。
相应于上述的网站访客行为监测方法实施例,本发明还提供了网站访客行为监测装置实施例。
请参见图4,示出了本发明实施例一种网站访客行为监测装置的框图,该装置应用于目标网页中,如图4所示,该装置包括:第一获取模块410、第二获取模块420、查找模块430和执行模块440。
该第一获取模块410,用于从监测服务器中获取与监测代码对应的配置文件。
本发明中的监测代码是指传统的只能收集一种用户行为的监测工具,并不是上述的页面埋点。监测服务器是监测代码的开发方部署的用于分析网站监测数据的服务器,监测服务器是监测代码的开发方部署的所有服务器的统称。
该配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系。
如图5所示,第一获取模块410包括:发送子模块411和接收子模块412。
发送子模块411,用于向监测服务器发送配置文件加载请求。
配置文件加载请求中包含请求加载的配置文件的信息。
接收子模块412,用于接收所述监测服务器返回的配置文件。
配置文件由监测服务器根据配置文件加载请求从配置文件库中读取得到。
监测服务器接收到配置文件加载请求后,从该配置文件加载请求中获取网页客户端请求加载的配置文件的信息,然后,根据查找与该信息相对应的配置文件,并返回给网页客户端。
该第二获取模块420,用于当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息。
在本发明一种可能的实现方式中,如图6所示,该第二获取模块420包括第一获取子模块421、第二获取子模块422和整合子模块423。
该第一获取子模块421,用于获取被操作页面元素的第一属性信息。
该第二获取子模块422,用于获取被操作页面元素对应所有祖先元素的第二属性信息。
第一属性信息和第二属性仅仅用于区分不同页面元素对应的属性信息,被操作页面元素对应的属性信息记为第一属性信息,被操作页面元素的祖先元素对应的属性信息记为第二属性信息。第一属性信息和第二属性信息均为“field”属性,即id、name、class、tag。
该整合子模块423,用于将第一属性信息及第二属性信息展开得到整合属性信息;
该整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。将第一属性信息和第二属性信息组织成field-value-element的格式。
该查找模块430,用于从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数。
在本发明一种可能的实现方式中,如图7所示,查找模块430包括:比较子模块431和确定子模块432。
比较子模块431,用于将整合属性信息中每一条信息与所述配置文件中信息逐条进行比较。
确定子模块432,用于当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
该执行模块440,用于将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
将被操作页面元素作为参数执行该目标函数,得到访客行为数据,并将该访客行为数据发送给监测服务器,以便监测服务器分析访客行为数据。
本实施例提供网站访客行为监测装置,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;第一获取模块从监测服务器中加载对应的配置文件;当网页中的监测代码监测到页面元素被操作的操作事件后,第二获取模块获取被操作页面元素的属性信息;然后,查找模块从配置文件或找到与该属性信息相匹配的目标函数;最后,执行模块将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该装置将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。
所述网站访客行为监测装置包括处理器和存储器,第一获取模块410、第二获取模块420、查找模块430和执行模块440等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来降低部署人工成本。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。
本实施例提供网站访客行为监测装置,在监测服务器中存储配置文件,该配置文件中包含页面元素的属性信息及对应函数之间的映射关系;第一获取模块从监测服务器中加载对应的配置文件;当网页中的监测代码监测到页面元素被操作的操作事件后,第二获取模块获取被操作页面元素的属性信息;然后,查找模块从配置文件或找到与该属性信息相匹配的目标函数;最后,执行模块将该被操作页面元素作为参数执行目标函数,获得访客行为数据。该装置将页面元素的操作事件与函数之间的对应关系作为配置文件存储在监测服务器中,当网页的监测代码运行时,从监测服务器中获取该配置文件,因此,不需要在网页中嵌入页面埋点,从而大大降低了部署人工成本。
本发明实施例提供了一种存储介质,其上存储有程序,该程序被处理器执行时实现上述方法实施例提供的所述网站访客行为监测方法。
本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述方法实施例提供的所述网站访客行为监测方法。
本发明实施例提供了一种设备,该设备可以是服务器、PC机、PAD、手机等,该设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:
从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
在本申请的一个实施例中,所述当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息,包括:
获取所述被操作页面元素的第一属性信息;
获取所述被操作页面元素对应所有祖先元素的第二属性信息;
将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整 合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
在本申请的一个实施例中,从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数,包括:
将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
在本申请的一个实施例中,所述从监测服务器中获取与所述监测代码对应的配置文件,包括:
向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
接收所述监测服务器返回的配置文件;所述配置文件由所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
在本申请的一个实施例中,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序代码:
从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
在本申请的一个实施例中,所述当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息,包括:
获取所述被操作页面元素的第一属性信息;
获取所述被操作页面元素对应所有祖先元素的第二属性信息;
将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
在本申请的一个实施例中,从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数,包括:
将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
在本申请的一个实施例中,所述从监测服务器中获取与所述监测代码对应的配置文件,包括:
向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
接收所述监测服务器返回的配置文件;所述配置文件由所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
在本申请的一个实施例中,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (12)

  1. 一种网站访客行为监测方法,应用于目标网页中,其特征在于,包括:
    从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
    当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
    从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
    将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
  2. 根据权利要求1所述的方法,其特征在于,所述当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息,包括:
    获取所述被操作页面元素的第一属性信息;
    获取所述被操作页面元素对应所有祖先元素的第二属性信息;
    将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
  3. 根据权利要求2所述的方法,其特征在于,从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数,包括:
    将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
    当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
  4. 根据权利要求1所述的方法,其特征在于,所述从监测服务器中获取与所述监测代码对应的配置文件,包括:
    向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
    接收所述监测服务器返回的配置文件;所述配置文件由所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
  6. 一种网站访客行为监测装置,应用于目标网页中,其特征在于,包括:
    第一获取模块,用于从监测服务器中获取与所述监测代码对应的配置文件,所述配置文件包括目标网页中页面元素的属性信息与相应函数之间的映射关系;
    第二获取模块,用于当监测到所述目标网页中页面元素的操作事件后,获取被操作页面元素的属性信息;
    查找模块,用于从所述配置文件中查找与所述被操作页面元素的属性信息匹配的目标函数;
    执行模块,用于将所述被操作页面元素作为参数执行所述目标函数,获得访客行为数据。
  7. 根据权利要求6所述的装置,其特征在于,所述第二获取模块,包括:
    第一获取子模块,用于获取所述被操作页面元素的第一属性信息;
    第二获取子模块,用于获取所述被操作页面元素对应所有祖先元素的第二属性信息;
    整合子模块,用于将所述第一属性信息及所述第二属性信息展开得到整合属性信息,所述整合属性信息中的每一条信息只包含一个属性项的属性、一个匹配值和一个页面元素。
  8. 根据权利要求7所述的装置,其特征在于,所述查找模块,包括:
    比较子模块,用于将所述整合属性信息中每一条信息与所述配置文件中信息逐条进行比较;
    确定子模块,用于当所述配置文件中存在与所述整合属性信息中的属性及匹配值都相同的信息项时,确定所述信息项中的函数为所述目标函数。
  9. 根据权利要求6所述的装置,其特征在于,所述第一获取模块,包括:
    发送子模块,用于向所述监测服务器发送配置文件加载请求,所述配置文件加载请求中包含请求加载的配置文件的信息;
    接收子模块,用于接收所述监测服务器返回的配置文件;所述配置文件由 所述监测服务器根据所述配置文件加载请求从配置文件库中读取得到。
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述配置文件包括:匹配属性名称、匹配类型、匹配值和函数。
  11. 一种存储介质,其上存储有程序,其特征在于,所述程序被处理器执行时实现权利要求1至5任一项所述的网站访客行为监测方法。
  12. 一种处理器,所述处理器用于运行程序,其特征在于,所述程序运行时执行权利要求1至5任一项所述的网站访客行为监测方法。
PCT/CN2017/118505 2016-12-29 2017-12-26 网站访客行为监测方法及装置 WO2018121501A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611250185.7A CN108270629B (zh) 2016-12-29 2016-12-29 网站访客行为监测方法及装置
CN201611250185.7 2016-12-29

Publications (1)

Publication Number Publication Date
WO2018121501A1 true WO2018121501A1 (zh) 2018-07-05

Family

ID=62710079

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118505 WO2018121501A1 (zh) 2016-12-29 2017-12-26 网站访客行为监测方法及装置

Country Status (2)

Country Link
CN (1) CN108270629B (zh)
WO (1) WO2018121501A1 (zh)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966041A (zh) * 2018-07-18 2018-12-07 阿里巴巴集团控股有限公司 一种音视频播放埋点方法和装置
CN110059282A (zh) * 2019-04-23 2019-07-26 北京奇艺世纪科技有限公司 一种交互类数据的获取方法及系统
CN110069391A (zh) * 2019-04-09 2019-07-30 北京迈格威科技有限公司 前端数据标注处理方法、基于埋点的标注计时方法及装置
CN110109801A (zh) * 2019-04-12 2019-08-09 平安普惠企业管理有限公司 一种基于数据处理的页面元素管理方法及相关设备
CN110659435A (zh) * 2019-08-14 2020-01-07 平安普惠企业管理有限公司 页面数据采集处理方法、装置、计算机设备和存储介质
CN110825594A (zh) * 2018-08-07 2020-02-21 北京优酷科技有限公司 数据的上报、下发方法、客户端及服务器
CN110879775A (zh) * 2018-09-06 2020-03-13 山东华软金盾软件股份有限公司 一种基于Windows10系统下的截获用户文件打开的系统及方法
CN111695064A (zh) * 2020-04-29 2020-09-22 北京城市网邻信息技术有限公司 一种埋点加载方法及装置
CN111737100A (zh) * 2020-06-09 2020-10-02 北京三快在线科技有限公司 数据获取方法、装置、设备及存储介质
CN111767111A (zh) * 2020-07-06 2020-10-13 网易(杭州)网络有限公司 页面数据处理方法及装置、电子设备和存储介质
CN112379915A (zh) * 2020-11-06 2021-02-19 中国人寿保险股份有限公司 一种源代码处理方法及装置
CN112650656A (zh) * 2019-10-09 2021-04-13 北京京东尚科信息技术有限公司 性能监控方法、装置、设备、服务器及存储介质
CN112926004A (zh) * 2021-03-29 2021-06-08 建信金融科技有限责任公司 配置文件生成方法、装置、设备和存储介质
CN113111291A (zh) * 2021-05-12 2021-07-13 杭州网易再顾科技有限公司 一种页面加载方法、装置、介质和计算设备
CN113448832A (zh) * 2020-06-18 2021-09-28 北京新氧科技有限公司 一种控件曝光检测方法及应用程序运行监测系统
CN113742161A (zh) * 2020-09-07 2021-12-03 北京沃东天骏信息技术有限公司 一种埋点上报方法和装置
CN114721915A (zh) * 2021-01-04 2022-07-08 腾讯科技(深圳)有限公司 埋点方法和装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874302A (zh) * 2018-08-31 2020-03-10 北京京东尚科信息技术有限公司 一种埋点配置信息的确定方法和装置
CN110968822B (zh) * 2018-09-30 2023-04-18 阿里巴巴集团控股有限公司 页面检测方法、装置、电子设备和存储介质
CN110532155B (zh) * 2019-07-30 2023-08-15 中至数据集团股份有限公司 一种行为数据获取方法、系统、可读存储介质及终端
CN110598148A (zh) * 2019-08-14 2019-12-20 平安普惠企业管理有限公司 基于h5的页面操作行为统一方法及相关设备
CN110888643A (zh) * 2019-11-29 2020-03-17 北京奇艺世纪科技有限公司 页面处理方法及装置
CN111859235A (zh) * 2020-06-08 2020-10-30 瑞数信息技术(上海)有限公司 一种网页数据采集方法、装置、设备和计算机存储介质
CN111722904B (zh) * 2020-06-22 2024-07-12 深圳前海微众银行股份有限公司 页面告警脚本的生成方法、装置、设备及可读存储介质
CN112346988B (zh) * 2020-11-26 2024-07-05 恩亿科(北京)数据科技有限公司 一种数据测试方法、系统及数据筛选器
CN113590996A (zh) * 2021-08-12 2021-11-02 杭州粉象家科技有限公司 一种埋点数据生成方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013044564A1 (zh) * 2011-09-29 2013-04-04 北京亿赞普网络技术有限公司 一种用户网络行为分析方法、装置和系统
CN103034655A (zh) * 2011-10-09 2013-04-10 中国移动通信集团公司 一种用户行为信息的收集方法、系统及相关设备
CN103309884A (zh) * 2012-03-13 2013-09-18 阿里巴巴集团控股有限公司 用户行为数据采集方法及系统
CN103309887A (zh) * 2012-03-13 2013-09-18 阿里巴巴集团控股有限公司 用户行为采集的验证方法及验证装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246661B (zh) * 2012-02-07 2016-08-10 阿里巴巴集团控股有限公司 可视化用户行为收集系统及其方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013044564A1 (zh) * 2011-09-29 2013-04-04 北京亿赞普网络技术有限公司 一种用户网络行为分析方法、装置和系统
CN103034655A (zh) * 2011-10-09 2013-04-10 中国移动通信集团公司 一种用户行为信息的收集方法、系统及相关设备
CN103309884A (zh) * 2012-03-13 2013-09-18 阿里巴巴集团控股有限公司 用户行为数据采集方法及系统
CN103309887A (zh) * 2012-03-13 2013-09-18 阿里巴巴集团控股有限公司 用户行为采集的验证方法及验证装置

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966041B (zh) * 2018-07-18 2020-10-20 创新先进技术有限公司 一种音视频播放埋点方法、装置、设备、计算机可读存储介质
CN108966041A (zh) * 2018-07-18 2018-12-07 阿里巴巴集团控股有限公司 一种音视频播放埋点方法和装置
CN110825594A (zh) * 2018-08-07 2020-02-21 北京优酷科技有限公司 数据的上报、下发方法、客户端及服务器
CN110879775A (zh) * 2018-09-06 2020-03-13 山东华软金盾软件股份有限公司 一种基于Windows10系统下的截获用户文件打开的系统及方法
CN110069391A (zh) * 2019-04-09 2019-07-30 北京迈格威科技有限公司 前端数据标注处理方法、基于埋点的标注计时方法及装置
CN110069391B (zh) * 2019-04-09 2023-09-08 北京迈格威科技有限公司 前端数据标注处理方法、基于埋点的标注计时方法及装置
CN110109801A (zh) * 2019-04-12 2019-08-09 平安普惠企业管理有限公司 一种基于数据处理的页面元素管理方法及相关设备
CN110109801B (zh) * 2019-04-12 2023-04-28 平安普惠企业管理有限公司 一种基于数据处理的页面元素管理方法及相关设备
CN110059282A (zh) * 2019-04-23 2019-07-26 北京奇艺世纪科技有限公司 一种交互类数据的获取方法及系统
CN110659435A (zh) * 2019-08-14 2020-01-07 平安普惠企业管理有限公司 页面数据采集处理方法、装置、计算机设备和存储介质
CN112650656A (zh) * 2019-10-09 2021-04-13 北京京东尚科信息技术有限公司 性能监控方法、装置、设备、服务器及存储介质
CN111695064A (zh) * 2020-04-29 2020-09-22 北京城市网邻信息技术有限公司 一种埋点加载方法及装置
CN111695064B (zh) * 2020-04-29 2023-08-18 北京城市网邻信息技术有限公司 一种埋点加载方法及装置
CN111737100A (zh) * 2020-06-09 2020-10-02 北京三快在线科技有限公司 数据获取方法、装置、设备及存储介质
CN113448832B (zh) * 2020-06-18 2024-03-12 北京新氧科技有限公司 一种控件曝光检测方法及应用程序运行监测系统
CN113448832A (zh) * 2020-06-18 2021-09-28 北京新氧科技有限公司 一种控件曝光检测方法及应用程序运行监测系统
CN111767111B (zh) * 2020-07-06 2023-05-12 网易(杭州)网络有限公司 页面数据处理方法及装置、电子设备和存储介质
CN111767111A (zh) * 2020-07-06 2020-10-13 网易(杭州)网络有限公司 页面数据处理方法及装置、电子设备和存储介质
CN113742161A (zh) * 2020-09-07 2021-12-03 北京沃东天骏信息技术有限公司 一种埋点上报方法和装置
CN112379915A (zh) * 2020-11-06 2021-02-19 中国人寿保险股份有限公司 一种源代码处理方法及装置
CN114721915A (zh) * 2021-01-04 2022-07-08 腾讯科技(深圳)有限公司 埋点方法和装置
CN114721915B (zh) * 2021-01-04 2024-06-04 腾讯科技(深圳)有限公司 埋点方法和装置
CN112926004A (zh) * 2021-03-29 2021-06-08 建信金融科技有限责任公司 配置文件生成方法、装置、设备和存储介质
CN113111291B (zh) * 2021-05-12 2023-03-31 杭州网易再顾科技有限公司 一种页面加载方法、装置、介质和计算设备
CN113111291A (zh) * 2021-05-12 2021-07-13 杭州网易再顾科技有限公司 一种页面加载方法、装置、介质和计算设备

Also Published As

Publication number Publication date
CN108270629A (zh) 2018-07-10
CN108270629B (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2018121501A1 (zh) 网站访客行为监测方法及装置
US8682883B2 (en) Systems and methods for identifying sets of similar products
JP7544791B2 (ja) ネットワーク化環境における不正コンテンツに関連するデータを収集するためのシステムおよび方法
JP6404351B2 (ja) 商品情報を通信および提示するための方法、装置、および、システム
CN110019823B (zh) 更新知识图谱的方法及装置
US10831818B2 (en) Digital image search training using aggregated digital images
TWI683225B (zh) 腳本生成方法與裝置
WO2016078530A1 (zh) 一种身份信息的验证方法和装置
CN110704418A (zh) 区块链信息查询方法、装置和设备
US20170322955A1 (en) Conservative Garbage Collecting and Tagged Integers For Memory Management
US20160171104A1 (en) Detecting multistep operations when interacting with web applications
US20130268314A1 (en) Brand analysis using interactions with search result items
CN111914098A (zh) 一种知识图谱构建方法、装置、电子设备和可读存储介质
CN110619103A (zh) 网页图文检测方法、装置及存储介质
CN110008393B (zh) 一种用于获取网站信息的方法及设备
US9442959B2 (en) Image search refinement using facets
CN110826057A (zh) 数据处理路径的分析方法、计算机设备、存储介质
WO2019047677A1 (zh) 一种应用下载来源的监测方法及装置
CN113742551A (zh) 一种基于scrapy和puppeteer的动态数据抓取方法
CN110706035B (zh) 一种更新效果的评价方法、装置、存储介质及电子设备
CN111125087B (zh) 数据的存储方法及装置
CN112579947A (zh) 网页元素图的截取方法、装置及电子设备
Shen et al. System design and implementation of digital-image processing using computational grids
CN113094250B (zh) 日志预警方法、装置、电子设备及存储介质
CN110889051A (zh) 一种页面超链接检测方法、装置及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17886937

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 30.09.19.

122 Ep: pct application non-entry in european phase

Ref document number: 17886937

Country of ref document: EP

Kind code of ref document: A1