[go: up one dir, main page]

CN116303612A - Buried point information query method, device, medium and electronic equipment - Google Patents

Buried point information query method, device, medium and electronic equipment Download PDF

Info

Publication number
CN116303612A
CN116303612A CN202310289497.2A CN202310289497A CN116303612A CN 116303612 A CN116303612 A CN 116303612A CN 202310289497 A CN202310289497 A CN 202310289497A CN 116303612 A CN116303612 A CN 116303612A
Authority
CN
China
Prior art keywords
buried point
target
information
query
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310289497.2A
Other languages
Chinese (zh)
Inventor
杨爽
郑志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202310289497.2A priority Critical patent/CN116303612A/en
Publication of CN116303612A publication Critical patent/CN116303612A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a buried point information query method, a buried point information query device, a buried point information query medium and electronic equipment. The method comprises the following steps: in response to receiving an operation instruction aiming at a target embedded point element in a target page, determining an embedded point query condition according to the operation instruction; sending a first query request to a buried point platform, wherein the first query request comprises a buried point query condition; and responding to the received first response message of the buried point platform aiming at the first query request, and displaying the buried point information of the target buried point element according to the first response message. Therefore, the embedded point information can be obtained by performing visual operation on the embedded point elements, the method for obtaining the embedded point information is more convenient and visual, and the embedded point information query efficiency is improved. In addition, even non-technical personnel can easily query the embedded point information without memorizing embedded point parameters or page element identifications of the page elements or establishing a corresponding relation table between the page element identifications and query conditions in advance, so that maintenance work of the corresponding relation table is avoided.

Description

埋点信息查询方法、装置、介质及电子设备Buried point information query method, device, medium and electronic equipment

技术领域technical field

本公开涉及计算机技术领域,具体地,涉及一种埋点信息查询方法、装置、介质及电子设备。The present disclosure relates to the field of computer technology, and in particular, to a buried point information query method, device, medium and electronic equipment.

背景技术Background technique

随着计算机网络技术的发展,在很多情况下都需要在网页或者应用中设置埋点,以在网页或者应用中收集一些信息,用来跟踪应用使用或者网页的状况,以进一步优化产品,收集的信息例如可以包括访问数、访客数以及停留时长等。With the development of computer network technology, in many cases, it is necessary to set up buried points in web pages or applications to collect some information in web pages or applications to track the use of applications or the status of web pages to further optimize products. The information may include, for example, the number of visits, the number of visitors, and the length of stay.

现阶段,当需要查询埋点信息时,通常需要查询者预先知道所查询的元素对应埋点的参数。例如,想查看A页面B模块某“确定”按钮的点击次数,需要在埋点平台将过滤条件设置为:“页面=A,模块=B,元素名字=确定,元素类型=按钮”等精确的条件。或者预先建立有各页面元素标识与查询条件(即埋点参数)之间的对应关系表,通过查询该对应关系表来获取查询条件,但需要查询者预先知道所查询元素的标识,并且,对应关系表的维护成本高。At this stage, when it is necessary to query buried point information, the queryer usually needs to know in advance the parameters of the buried point corresponding to the element being queried. For example, if you want to view the number of clicks on a certain "OK" button in module B on page A, you need to set the filter conditions on the embedding platform as: "page=A, module=B, element name=OK, element type=button" and other precise condition. Alternatively, a correspondence table between the element identifiers of each page and the query conditions (i.e. buried point parameters) is pre-established, and the query conditions are obtained by querying the correspondence table, but the queryer needs to know the identifiers of the elements to be queried in advance, and the corresponding Relational tables are expensive to maintain.

发明内容Contents of the invention

提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce a simplified form of concepts that are described in detail later in the Detailed Description. This summary of the invention is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.

第一方面,本公开提供一种埋点信息查询方法,包括:In the first aspect, the present disclosure provides a buried point information query method, including:

响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;In response to receiving an operation instruction for the target buried point element in the target page, determine the buried point query condition according to the operation instruction;

向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;Sending a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition;

响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。Responsive to receiving the first response message of the buried point platform for the first query request, according to the first response message, display the buried point information of the target buried point element, wherein the first response message Including the buried point information or the identification information of the buried point information.

第二方面,本公开提供一种埋点信息查询装置,包括:In the second aspect, the present disclosure provides a buried point information query device, including:

第一确定模块,用于响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;The first determination module is configured to determine the buried point query condition according to the operation instruction in response to receiving an operation instruction for the target buried point element in the target page;

发送模块,用于向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;A sending module, configured to send a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition;

展示模块,用于响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。A display module, configured to display the buried point information of the target buried point element according to the first response message in response to receiving the first response message of the buried point platform for the first query request, wherein the The first response message includes the buried point information or the identification information of the buried point information.

第三方面,本公开提供一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现本公开第一方面提供的所述埋点信息查询方法的步骤。In a third aspect, the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the buried point information query method provided in the first aspect of the present disclosure are implemented.

第四方面,本公开提供一种电子设备,包括:In a fourth aspect, the present disclosure provides an electronic device, including:

存储装置,其上存储有计算机程序;a storage device on which a computer program is stored;

处理装置,用于执行所述存储装置中的所述计算机程序,以实现本公开第一方面提供的所述埋点信息查询方法的步骤。A processing device configured to execute the computer program in the storage device to implement the steps of the buried point information query method provided in the first aspect of the present disclosure.

在上述技术方案中,用户通过对目标页面中的目标埋点元素进行操作,即可自动获取埋点查询条件,并基于该埋点条件从埋点平台获取目标元素的埋点信息,并将埋点信息进行可视化展现。这样,当用户需要查询目标页面中任一埋点元素的埋点信息时,通过对相应埋点元素进行可视化操作即可获取到埋点信息,获取埋点信息的方式更加便捷、直观,提高了埋点信息的查询效率。另外,通过本公开提供的埋点信息查询方法,即使是非技术人员也能够轻松地进行埋点信息查询,而无需记忆页面元素的埋点参数或页面元素标识,也无需预先建立页面元素标识与查询条件(即埋点参数)之间的对应关系表,避免了对应关系表的维护工作。In the above technical solution, the user can automatically obtain the buried point query condition by operating the target buried point element on the target page, and obtain the buried point information of the target element from the buried point platform based on the buried point condition, and send the buried point Point information for visual display. In this way, when the user needs to query the buried point information of any buried point element in the target page, the buried point information can be obtained by visualizing the corresponding buried point element. The way to obtain the buried point information is more convenient and intuitive, which improves the The query efficiency of buried point information. In addition, through the buried point information query method provided by the present disclosure, even non-technical personnel can easily query the buried point information without memorizing the buried point parameters or page element identifiers of page elements, and without pre-establishing page element identifiers and query The corresponding relationship table between the conditions (that is, buried point parameters) avoids the maintenance work of the corresponding relationship table.

本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.

附图说明Description of drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。在附图中:The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale. In the attached picture:

图1是根据一示例性实施例示出的一种埋点信息查询方法的流程图。Fig. 1 is a flowchart showing a method for querying buried point information according to an exemplary embodiment.

图2是根据另一示例性实施例示出的一种埋点信息查询方法的流程图。Fig. 2 is a flow chart of a method for querying buried point information according to another exemplary embodiment.

图3是根据一示例性实施例示出的一种浮层的示意图。Fig. 3 is a schematic diagram of a floating layer according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种展示埋点信息的页面示意图。Fig. 4 is a schematic diagram of a page showing buried point information according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种添加多个目标埋点事件类型的示意图。Fig. 5 is a schematic diagram showing an event type of adding multiple target buried points according to an exemplary embodiment.

图6是根据另一示例性实施例示出的一种展示埋点信息的页面示意图。Fig. 6 is a schematic diagram of a page showing buried point information according to another exemplary embodiment.

图7是根据一示例性实施例示出的一种目标页面的工具条的示意图。Fig. 7 is a schematic diagram showing a tool bar of a target page according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种埋点信息查询装置的框图。Fig. 8 is a block diagram of a device for querying buried point information according to an exemplary embodiment.

图9是根据一示例性实施例示出的一种电子设备的结构示意图。Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and/or executed in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.

可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed of the type, scope of use, and use scenarios of the personal information involved in the present disclosure in an appropriate manner in accordance with relevant laws and regulations, and the authorization of the user should be obtained. .

例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。For example, in response to receiving the user's active request, send prompt information to the user to clearly remind the user that the requested operation will require the acquisition and use of the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as electronic devices, application programs, servers, or storage media that perform the operations of the technical solution of the present disclosure according to the prompt information.

作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。As an optional but non-limiting implementation, in response to receiving the active request of the user, the way of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。It can be understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

同时,可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。At the same time, it can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of data) should comply with the requirements of corresponding laws and regulations and relevant regulations.

图1是根据一示例性实施例示出的一种埋点信息查询方法的流程图。其中,该埋点信息查询方法可以应用于个人计算机、笔记本电脑、平板电脑等客户端。如图1所示,上述埋点信息查询方法可以包括以下S101~S103。Fig. 1 is a flowchart showing a method for querying buried point information according to an exemplary embodiment. Wherein, the buried point information query method can be applied to clients such as personal computers, notebook computers, and tablet computers. As shown in FIG. 1 , the above method for querying buried point information may include the following S101-S103.

在S101中,响应于接收到针对目标页面中目标埋点元素的操作指令,根据操作指令,确定埋点查询条件。In S101, in response to receiving an operation instruction for a target buried point element in the target page, according to the operation instruction, determine a buried point query condition.

在本公开中,目标页面可能包括一个或者多个埋点元素,其中,埋点元素为页面中、添加声明式标记的元素,即埋点元素为声明式埋点。埋点元素可以例如是按钮、文本框、复选框、滑块等组件。In the present disclosure, the target page may include one or more buried point elements, wherein the buried point element is an element on the page to which a declarative mark is added, that is, the buried point element is a declarative buried point. Buried elements can be, for example, components such as buttons, text boxes, check boxes, and sliders.

目标埋点元素为目标页面中的任一埋点元素。The target buried point element is any buried point element in the target page.

在S102中,向埋点平台发送用于获取目标埋点元素的埋点信息的第一查询请求,第一查询请求包括埋点查询条件。In S102, a first query request for acquiring the buried point information of the target buried point element is sent to the buried point platform, where the first query request includes a buried point query condition.

在本公开中,页面通过埋点元素获取用户的行为和操作,并将获取到的数据上传至埋点平台,这样,后续可以根据埋点查询条件,在埋点平台上进行埋点信息查询。In this disclosure, the page acquires the user's behavior and operation through the tracking element, and uploads the obtained data to the tracking platform, so that the tracking information can be queried on the tracking platform according to the tracking query conditions.

埋点平台在接收到客户端发送的第一查询请求后,根据埋点查询条件,查询目标埋点元素的埋点信息。After receiving the first query request sent by the client, the burying platform queries the burying point information of the target burying point element according to the burying point query conditions.

在S103中,响应于接收到埋点平台针对第一查询请求的第一响应消息,根据第一响应消息,展示目标埋点元素的埋点信息。In S103, in response to receiving the first response message of the point-burying platform for the first query request, according to the first response message, display the point-burying information of the target point-burying element.

在本公开中,第一响应消息可以包括埋点信息或埋点信息的标识信息(例如,ID)。In the present disclosure, the first response message may include buried point information or identification information (for example, ID) of the buried point information.

在上述技术方案中,用户通过对目标页面中的目标埋点元素进行操作,即可自动获取埋点查询条件,并基于该埋点条件从埋点平台获取目标元素的埋点信息,并将埋点信息进行可视化展现。这样,当用户需要查询目标页面中任一埋点元素的埋点信息时,通过对相应埋点元素进行可视化操作即可获取到埋点信息,获取埋点信息的方式更加便捷、直观,提高了埋点信息的查询效率。另外,通过本公开提供的埋点信息查询方法,即使是非技术人员也能够轻松地进行埋点信息查询,而无需记忆页面元素的埋点参数或页面元素标识,也无需预先建立页面元素标识与查询条件(即埋点参数)之间的对应关系表,避免了对应关系表的维护工作。In the above technical solution, the user can automatically obtain the buried point query condition by operating the target buried point element on the target page, and obtain the buried point information of the target element from the buried point platform based on the buried point condition, and send the buried point Point information for visual display. In this way, when the user needs to query the buried point information of any buried point element in the target page, the buried point information can be obtained by visualizing the corresponding buried point element. The way to obtain the buried point information is more convenient and intuitive, which improves the The query efficiency of buried point information. In addition, through the buried point information query method provided by the present disclosure, even non-technical personnel can easily query the buried point information without memorizing the buried point parameters or page element identifiers of page elements, and without pre-establishing page element identifiers and query The corresponding relationship table between the conditions (that is, buried point parameters) avoids the maintenance work of the corresponding relationship table.

另外,用户在对目标页面中的埋点元素进行操作之前,需要先知道目标页面中的哪些元素为埋点元素。具体来说,在一种实施方式中,可以预先存储有目标页面中埋点元素的信息(例如,以表格的形式进行存储),这样,用户可以根据该存储的信息,获悉目标页面中的哪些元素为埋点元素。In addition, the user needs to know which elements in the target page are buried elements before operating on the buried elements in the target page. Specifically, in one embodiment, the information of embedded elements in the target page may be pre-stored (for example, stored in the form of a table), so that the user can learn which elements in the target page are based on the stored information. The element is a buried point element.

在另一种实施方式中,为了便于用户快速直观地获悉目标页面中的哪些元素为埋点元素,可以对目标页面中的埋点元素进行突出显示。具体来说,如图2所示,上述方法还可以包括以下S104。In another implementation manner, in order to facilitate the user to quickly and intuitively know which elements in the target page are buried point elements, the buried point elements in the target page may be highlighted. Specifically, as shown in FIG. 2 , the above method may further include the following S104.

在S104中,在目标页面加载完成时,突出显示目标页面中的埋点元素。In S104, when the loading of the target page is completed, highlight the embedded elements in the target page.

具体来说,可以通过以下步骤(1)和步骤(2)来突出显示目标页面中的埋点元素:Specifically, the buried elements in the target page can be highlighted through the following steps (1) and (2):

步骤(1):确定目标页面中的埋点元素。Step (1): Determine the buried point elements in the target page.

在一种实施方式中,在设计页面埋点时,可以对添加声明式标记的页面元素的属性进行标记,例如,可以对添加声明式标记的页面元素的属性添加标记信息(例如,添加前缀、后缀等);这样,可以根据目标页面中各元素的属性的标记信息,来确定目标页面中的埋点元素。In one embodiment, when designing a page embedding point, the attribute of the page element to which the declarative mark is added may be marked, for example, mark information may be added to the attribute of the page element to which the declarative mark is added (for example, adding a prefix, suffix, etc.); in this way, the buried element in the target page can be determined according to the tag information of the attributes of each element in the target page.

示例地,在设计页面埋点时,对添加声明式标记的页面元素的属性添加前缀“data-log”,这样,可以将目标页面中、元素属性带有前缀“data-log”的元素确定为埋点元素。For example, when designing the page embedding point, add the prefix "data-log" to the attribute of the page element to which the declarative mark is added, so that the element attribute with the prefix "data-log" in the target page can be determined as Buried elements.

在另一种实施方式中,在设计页面埋点时,可以对添加声明式标记的页面元素的信息进行存储,即预先存储有目标页面中埋点元素的信息,这样,可以根据该信息确定目标页面中的埋点元素。In another embodiment, when designing the page embedding point, the information of the page element to which the declarative mark is added can be stored, that is, the information of the embedding point element on the target page is pre-stored, so that the target can be determined according to this information Buried elements in the page.

步骤(2):针对每一埋点元素,修改该埋点元素的边框样式,以突出显示该埋点元素。Step (2): For each buried point element, modify the border style of the buried point element to highlight the buried point element.

在一种实施方式中,可以通过修改目标页面中各埋点元素的边框的颜色,以突出显示目标页面中的埋点元素。In an implementation manner, the buried point elements in the target page can be highlighted by modifying the color of the frame of each buried point element in the target page.

在另一种实施方式中,可以通过修改目标页面中各埋点元素的边框的线形(例如,加粗),以突出显示目标页面中的埋点元素,如图3中所示“确认”按钮。In another embodiment, the line shape (for example, thickening) of the frame of each buried point element in the target page can be modified to highlight the buried point element in the target page, as shown in FIG. 3 "Confirm" button .

下面针对上述S101中的响应于接收到针对目标页面中目标埋点元素的操作指令,根据操作指令,确定埋点查询条件的具体实施方式进行详细说明。具体来说,可以通过以下步骤[1]和步骤[2]来实现:The specific implementation manner of determining the query condition of the buried point according to the operation instruction in response to receiving the operation instruction for the target buried point element in the target page in the above S101 will be described in detail below. Specifically, it can be achieved through the following steps [1] and [2]:

步骤[1]:响应于检测到光标悬停在目标埋点元素上,展示与目标埋点元素对应的浮层。Step [1]: In response to detecting that the cursor is hovering over the target buried point element, display a floating layer corresponding to the target buried point element.

在本公开中,当用户需要查询目标页面中一埋点元素的埋点信息时,可以将鼠标悬停在该埋点元素上;客户端检测到光标悬停在目标埋点元素上时,可以在该目标埋点元素附近展示其对应的浮层,其中,浮层包括埋点事件类型选项,光标在埋点元素上的停留时长超过预设时长,认为是悬停操作。In this disclosure, when the user needs to query the buried point information of a buried point element in the target page, the user can hover the mouse over the buried point element; when the client detects that the cursor hovers over the target buried point element, it can The corresponding floating layer is displayed near the target buried point element, wherein the floating layer includes the buried point event type option, and the cursor stays on the buried point element for longer than the preset duration, which is considered as a hovering operation.

示例地,如图3所示,目标埋点元素为“确认”按钮,其对应的浮层包括点击事件、悬停事件以及展现事件这三个埋点事件类型选项。For example, as shown in FIG. 3 , the target buried point element is a "Confirm" button, and its corresponding floating layer includes three buried point event type options: click event, hover event, and presentation event.

步骤[2]:响应于接收到针对埋点事件类型选项的第一选择操作,根据第一选择操作所选择的目标埋点事件类型,确定埋点查询条件。Step [2]: In response to receiving the first selection operation for the option of the buried point event type, determine the buried point query condition according to the target buried point event type selected by the first selection operation.

在本公开中,用户可以根据查询需求,对浮层中的埋点事件类型选项进行选择,以选择一个或者多个埋点事件类型,即目标埋点事件类型。可见,目标埋点事件类型可以包括埋点事件类型选项所涉及的埋点事件类型中的一者或者多者。In the present disclosure, the user may select one or more buried event types, that is, the target buried event type, by selecting the buried point event type option in the floating layer according to the query requirement. It can be seen that the target buried point event type may include one or more of the buried point event types involved in the buried point event type option.

示例地,用户可以通过点击图3中的埋点事件类型选项“点击”中的

Figure BDA0004149569270000081
来选择点击事件。For example, the user can click on the event type option "click" in Figure 3
Figure BDA0004149569270000081
to select the click event.

又示例地,用户可以通过点击图3中的埋点事件类型选项“点击”右侧的“+”按钮来同时选择多个埋点事件。这样,用户可以根据查询需求,同时查询多个埋点事件指标,便于进行对比分析。As another example, the user can simultaneously select multiple buried point events by clicking the "+" button on the right side of the buried point event type option "click" in FIG. 3 . In this way, users can query multiple embedded event indicators at the same time according to query requirements, which is convenient for comparative analysis.

下面针对上述步骤[2]中的根据第一选择操作所选择的目标埋点事件类型,确定埋点查询条件的具体实施方式进行详细说明。具体来说,可以通过以下步骤[21]~步骤[23]来实现:The specific implementation of determining the query condition of the buried point based on the target buried point event type selected by the first selection operation in the above step [2] will be described in detail below. Specifically, it can be realized through the following steps [21] to [23]:

步骤[21]:根据第一选择操作所选择的目标埋点事件类型,确定目标埋点元素的查询指标。Step [21]: According to the event type of the target buried point selected by the first selection operation, determine the query index of the target buried point element.

具体来说,可以将第一选择操作所选择的每一目标埋点事件类型对应的查询指标,确定为目标埋点元素的查询指标。Specifically, the query index corresponding to each type of target buried point event selected by the first selection operation may be determined as the query index of the target buried point element.

示例地,目标埋点事件类型包括点击事件,则目标埋点元素的查询指标为点击次数。For example, if the target buried point event type includes a click event, the query index of the target buried point element is the number of clicks.

又示例地,目标埋点事件类型包括悬停事件,则目标埋点元素的查询指标为悬停次数。For another example, if the event type of the target buried point includes a hovering event, the query index of the target buried point element is the number of times of hovering.

又示例地,目标埋点事件类型包括展现事件,则目标埋点元素的查询指标为展现次数(即目标埋点元素在页面中展现的次数,其中,有时目标页面只能展现整个页面的部分内容,目标埋点元素并不总是出现在目标页面中)。As another example, if the event type of the target buried point includes a display event, the query index of the target buried point element is the number of impressions (that is, the number of times the target buried point element is displayed on the page, and sometimes the target page can only display part of the entire page , the target burying element does not always appear in the target page).

又示例地,目标埋点事件类型包括点击事件、悬停事件以及展现事件,则目标埋点元素的查询指标包括点击次数、悬停次数以及展现次数。As another example, the event types of the target buried point include click event, hover event, and display event, and the query indicators of the target buried point element include the number of clicks, the number of hovering times, and the number of impressions.

步骤[22]:获取目标埋点元素的属性信息。Step [22]: Obtain the attribute information of the target buried point element.

其中,目标埋点元素的属性信息可以包括目标埋点元素的名字(name)、目标埋点元素所在的模块(module)等信息。Wherein, the attribute information of the target buried point element may include the name (name) of the target buried point element, the module (module) where the target buried point element is located, and other information.

示例地,如图4所示,目标埋点元素“确认”按钮的属性信息如下:For example, as shown in Figure 4, the attribute information of the "Confirm" button of the target embedded point element is as follows:

name=自定义列表弹窗-确认name=custom list pop-up window-confirm

module=检索管理列表module=retrieve management list

步骤[23]:将查询指标和属性信息确定为埋点查询条件。Step [23]: Determine the query index and attribute information as the buried point query condition.

示例地,目标埋点元素为“确认”按钮,目标埋点事件类型包括点击事件,则目标埋点元素“确认”按钮的埋点查询条件如图4中的两条横线之间的内容,相应的埋点查询结果如图4中所示的折线图。For example, if the target buried point element is the "Confirm" button, and the target buried point event type includes a click event, then the buried point query condition of the target buried point element "Confirm" button is as shown in Figure 4 between the two horizontal lines, The corresponding buried point query results are shown in the line chart in Figure 4.

又示例地,目标埋点元素为“确认”按钮,目标埋点事件类型包括点击事件、悬停事件以及展现事件,则目标埋点元素“确认”按钮的埋点查询条件如图5所示,或如图6中的两条横线之间的内容,相应的埋点查询结果如图6中所示的折线图。As another example, the target buried point element is the "confirm" button, and the target buried point event types include click event, hover event, and display event, then the buried point query condition of the target buried point element "confirm" button is shown in Figure 5. Or the content between the two horizontal lines in Figure 6, the corresponding buried point query results are shown in Figure 6 as a line chart.

下面针对上述S103中的根据第一响应消息,展示目标埋点元素的埋点信息的具体实施方式进行详细说明。The specific implementation manner of displaying the burying point information of the target burying point element according to the first response message in S103 will be described in detail below.

在一种实施方式中,第一响应消息可以包括埋点信息,此时,客户端接收到第一响应消息后,通过对第一响应消息进行解析即可得到目标埋点元素的埋点信息,之后,可以通过目标页面直接展示该埋点信息,或者通过另一页面展示该埋点信息。In one embodiment, the first response message may include buried point information. At this time, after receiving the first response message, the client can obtain the buried point information of the target buried point element by parsing the first response message. Afterwards, the buried point information can be displayed directly through the target page, or displayed through another page.

具体来说,埋点平台在接收到客户端发送的第一查询请求后,根据埋点查询条件,查询目标埋点元素的埋点信息,之后,向客户端发送包含目标埋点元素的埋点信息的第一响应消息;客户端接收到该第一响应消息后,对第一响应消息进行解析,得到目标埋点元素的埋点信息,并展示该目标埋点元素的埋点信息。Specifically, after receiving the first query request sent by the client, the burying platform queries the burying point information of the target burying point element according to the burying point query conditions, and then sends the burying point containing the target burying point element to the client The first response message of the information; after receiving the first response message, the client parses the first response message, obtains the tracking information of the target tracking element, and displays the tracking information of the target tracking element.

在另一种实施方式中,第一响应消息可以包括:包含目标埋点元素的埋点信息的页面的第一地址信息,例如,统一资源定位器(Uniform Resource Locator,URL)。此时,客户端接收到第一响应消息后,通过对第一响应消息进行解析即可得到上述第一地址信息,之后,客户端可以跳转至第一地址信息对应的页面,以展示目标埋点元素的埋点信息。In another implementation manner, the first response message may include: first address information of a page including the buried point information of the target buried point element, for example, a Uniform Resource Locator (Uniform Resource Locator, URL). At this time, after receiving the first response message, the client can obtain the first address information by parsing the first response message, and then, the client can jump to the page corresponding to the first address information to display the target address information. Buried point information of the point element.

具体来说,埋点平台在接收到客户端发送的第一查询请求后,根据埋点查询条件,查询目标埋点元素的埋点信息,并通过网页展示目标埋点元素的埋点信息,并获取该网页的第一地址信息,之后,向客户端发送包含该第一地址信息的第一响应消息;客户端接收到该第一响应消息后,对第一响应消息进行解析,得到上述第一地址信息,之后,跳转至该第一地址信息对应的页面,以展示目标埋点元素的埋点信息。Specifically, after receiving the first query request sent by the client, the burying platform queries the burying point information of the target burying point element according to the burying point query conditions, and displays the burying point information of the target burying point element through the webpage, and Obtain the first address information of the web page, and then send a first response message containing the first address information to the client; after receiving the first response message, the client parses the first response message to obtain the above first address information, and then jump to the page corresponding to the first address information to display the buried point information of the target buried point element.

在又一种实施方式中,第一响应消息可以包括目标埋点元素的埋点信息的标识信息。此时,客户端接收到第一响应消息后,通过对第一响应消息进行解析即可得到目标埋点元素的埋点信息的标识信息,之后,客户端可以先根据目标埋点元素的埋点信息的标识信息,确定包含目标埋点元素的埋点信息的页面的第一地址信息;然后,跳转至第一地址信息对应的页面,以展示目标埋点元素的埋点信息。In yet another implementation manner, the first response message may include identification information of buried point information of the target buried point element. At this point, after the client receives the first response message, it can obtain the identification information of the buried point information of the target buried point element by parsing the first response message. The identification information of the information determines the first address information of the page containing the buried point information of the target buried point element; then, jumps to the page corresponding to the first address information to display the buried point information of the target buried point element.

具体来说,埋点平台在接收到客户端发送的第一查询请求后,根据埋点查询条件,查询目标埋点元素的埋点信息,并确定该埋点信息的标识信息,之后,通过网页展示目标埋点元素的埋点信息,其中,该网页的第一地址信息由埋点平台的域名和目标埋点元素的埋点信息的标识信息组成,接下来,向客户端发送包含上述埋点信息的标识信息的第一响应消息;客户端接收到该第一响应消息后,对第一响应消息进行解析,得到目标埋点元素的埋点信息的标识信息,之后,将埋点平台的域名与该标识信息进行拼接,即可得到包含目标埋点元素的埋点信息的页面的第一地址信息;最后,跳转至第一地址信息对应的页面,以展示目标埋点元素的埋点信息。Specifically, after receiving the first query request sent by the client, the burying platform queries the burying point information of the target burying point element according to the burying point query conditions, and determines the identification information of the burying point information, and then, through the web page Display the buried point information of the target buried point element, wherein the first address information of the web page is composed of the domain name of the buried point platform and the identification information of the buried point information of the target buried point element, and then send the above buried point to the client The first response message of the identification information of the information; after receiving the first response message, the client parses the first response message to obtain the identification information of the buried point information of the target buried point element, and then, the domain name of the buried point platform By splicing with the identification information, the first address information of the page containing the buried point information of the target buried point element can be obtained; finally, jump to the page corresponding to the first address information to display the buried point information of the target buried point element .

另外,为了提升埋点信息的安全性,埋点平台在向客户端反馈上述第一响应消息之前,需要对第一查询请求的发起者(即查询者)的身份进行认证,并在确认第一查询请求的发起者通过身份认证的情况下,才向客户端反馈第一响应消息。In addition, in order to improve the security of buried point information, the buried point platform needs to authenticate the identity of the originator of the first query request (that is, the queryer) before feeding back the above-mentioned first response message to the client, and confirm the first The first response message is fed back to the client only when the initiator of the query request passes the identity authentication.

具体来说,上述第一查询请求还可以包括埋点平台的鉴权信息session和跨站点伪造请求-令牌(cross-site request forgery-token,csrf_token),其中,第一响应消息是埋点平台根据session和csrf_token,确认第一查询请求的发起者通过身份认证的情况下发送的。Specifically, the above-mentioned first query request may also include the authentication information session of the buried point platform and a cross-site forgery request-token (cross-site request forgery-token, csrf_token), wherein the first response message is the buried point platform According to the session and csrf_token, it is confirmed that the originator of the first query request is authenticated.

其中,csrf_token是一种防止用户在当前已登录的Web应用程序上执行非本意的操作的防御方式。埋点平台根据第一查询请求中的session和csrf_token,对第一查询请求的发起者进行身份认证。其中,根据session和csrf_token进行身份认证的具体方式属于本领域技术人员公知的,本公开不再赘述。Among them, csrf_token is a defense method to prevent users from performing unintended operations on the currently logged-in web application. The buried point platform authenticates the initiator of the first query request according to the session and csrf_token in the first query request. Wherein, the specific manner of performing identity authentication according to session and csrf_token is well known to those skilled in the art, and will not be repeated in this disclosure.

另外,上述session和csrf_token通过多种方式来获取,在一种实施方式中,在第一查询请求的发起者获得读取目标页面所在浏览器的cookie信息授权的情况下,可以通过查询目标页面所在浏览器的cookie信息,获取session和csrf_token。其中,第一查询请求的发起者通过目标页面所在浏览器登陆过埋点平台,上述cookie信息包含埋点平台的session和csrf_token。In addition, the above-mentioned session and csrf_token are acquired in various ways. In one embodiment, when the initiator of the first query request obtains the authorization to read the cookie information of the browser where the target page is located, it can query the Browser cookie information, get session and csrf_token. Among them, the initiator of the first query request has logged in the buried platform through the browser where the target page is located, and the above cookie information includes the session and csrf_token of the buried platform.

在另一种实施方式中,可以通过目标页面的HTML标签iframe获取session和csrf_token。In another implementation manner, the session and csrf_token can be acquired through the HTML tag iframe of the target page.

其中,iframe是HTML标签,作用是文档中的文档,或者浮动的框架(FRAME)。iframe元素会创建包含另外一个文档的内联框架(即行内框架),一个内联框架被用来在当前HTML文档中嵌入另一个文档。在本公开中,iframe与埋点平台的域名相同,即,iframe与埋点平台同源。这样,客户端可以通过iframe与埋点平台进行通信,以获得上述session和csrf_token。Wherein, the iframe is an HTML tag, and acts as a document in a document, or a floating frame (FRAME). The iframe element creates an inline frame (ie, inline frame) that contains another document. An inline frame is used to embed another document in the current HTML document. In this disclosure, the domain name of the iframe and the tracking platform are the same, that is, the iframe and the tracking platform have the same origin. In this way, the client can communicate with the buried point platform through the iframe to obtain the above session and csrf_token.

另外,上述目标页面还包括工具条(例如,可缩放工具条),其中,工具条包括页面指标选项,这样,用户通过工具条能够一键查询常用的页面指标,方便快捷。In addition, the above-mentioned target page also includes a tool bar (for example, a zoomable tool bar), wherein the tool bar includes page index options, so that the user can query commonly used page indicators with one click through the tool bar, which is convenient and quick.

如图7所示,目标页面中的工具条包括PV和UV两个页面指标选项。其中,“/pc/home”为目标网页的地址,PV(Page View)是指用户查看网页,即目标页面的浏览量,可以反映目标页面的流量;UV(Unique Visitor)是指一段时间内不重复的访客的量,即独立的访客数量,可以反映目标网页的热度。As shown in Figure 7, the toolbar on the target page includes two page indicator options, PV and UV. Among them, "/pc/home" is the address of the target web page; PV (Page View) refers to the number of views of the target page that users view the web page, which can reflect the traffic of the target page; The number of repeat visitors, that is, the number of unique visitors, can reflect the popularity of the landing page.

此时,上述方法还可以包括以下三个步骤:At this point, the above method may also include the following three steps:

响应于接收到针对页面指标选项的第二选择操作,根据第二选择操作所选择的目标页面指标,确定指标查询条件;In response to receiving the second selection operation for the page index option, determine the index query condition according to the target page index selected by the second selection operation;

向埋点平台发送用于获取目标页面指标的指标信息的第二查询请求,其中,第二查询请求包括指标查询条件;Sending a second query request for acquiring target page target index information to the point-burying platform, wherein the second query request includes index query conditions;

响应于接收到埋点平台针对第二查询请求的第二响应消息,根据第二响应消息,展示指标信息。In response to receiving a second response message from the tracking platform for the second query request, the index information is displayed according to the second response message.

在本公开中,用户可以根据查询需求,对工具条中的页面指标选项进行选择,以选择一个或者多个页面指标,即目标页面指标。可见,目标页面指标可以包括页面指标选项所涉及的页面指标中的一者或者多者。In the present disclosure, the user can select the page index option in the tool bar according to the query requirement, so as to select one or more page indexes, that is, target page indexes. It can be seen that the target page index may include one or more of the page index involved in the page index option.

示例地,用户可以通过点击图7中的页面指标选项“PV”中的

Figure BDA0004149569270000121
来选择PV页面指标。For example, the user can click on the page index option "PV" in Figure 7
Figure BDA0004149569270000121
to select the PV page index.

又示例地,用户可以通过点击图7中的页面指标选项“PV”右侧的“+”按钮来同时选择多个页面指标。这样,用户可以根据查询需求,同时查询多个页面指标,便于进行对比分析。As another example, the user can simultaneously select multiple page indicators by clicking the "+" button on the right side of the page indicator option "PV" in FIG. 7 . In this way, users can query multiple page indicators at the same time according to query requirements, which is convenient for comparative analysis.

第二响应消息包括指标信息或指标信息的标识信息。在本公开中,可以采用与上述S103根据第一响应消息,展示目标埋点元素的埋点信息类似的方式,来根据第二响应消息,展示指标信息,本公开不再赘述。The second response message includes indicator information or identification information of the indicator information. In this disclosure, the indicator information can be displayed according to the second response message in a manner similar to that of displaying the burying point information of the target burying point element according to the first response message in S103 described above, which will not be repeated in this disclosure.

下面针对上述根据第二选择操作所选择的目标页面指标,确定指标查询条件的具体实施方式进行详细说明。具体来说,可以通过以下步骤①和步骤②来实现:The specific implementation manner of determining the index query condition for the target page index selected according to the second selection operation will be described in detail below. Specifically, it can be achieved through the following steps ① and ②:

步骤①:获取第二选择操作所选择的目标页面的第二地址信息。Step ①: Obtain the second address information of the target page selected by the second selection operation.

步骤②:将第二地址信息和目标页面指标确定为指标查询条件。Step ②: Determine the second address information and the target page index as index query conditions.

此外,为了进一步提升埋点信息的安全性,埋点平台在向客户端反馈上述第二响应消息之前,需要对第二查询请求的发起者的身份进行认证,并在确认第二查询请求的发起者通过身份认证的情况下,才向客户端反馈第二响应消息。In addition, in order to further improve the security of the buried point information, the buried point platform needs to authenticate the identity of the initiator of the second query request before feeding back the above-mentioned second response message to the client, and confirm the initiation of the second query request Only when the user passes the identity authentication, the second response message is fed back to the client.

具体来说,上述第二查询请求还可以包括埋点平台的鉴权信息session和跨站点伪造请求-令牌(cross-site request forgery-token,csrf_token),其中,第二响应消息是埋点平台根据session和csrf_token,确认第二查询请求的发起者通过身份认证的情况下发送的。Specifically, the above-mentioned second query request may also include the authentication information session of the buried point platform and a cross-site forgery request-token (cross-site request forgery-token, csrf_token), wherein the second response message is the buried point platform According to the session and csrf_token, it is confirmed that the initiator of the second query request has passed the identity authentication.

图8是根据一示例性实施例示出的一种埋点信息查询装置的框图。如图8所示,该装置800包括:Fig. 8 is a block diagram of a device for querying buried point information according to an exemplary embodiment. As shown in Figure 8, the device 800 includes:

第一确定模块801,用于响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;The first determining module 801 is configured to, in response to receiving an operation instruction for the target buried point element in the target page, determine the buried point query condition according to the operation instruction;

发送模块802,用于向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;The sending module 802 is configured to send a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition;

展示模块803,用于响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。The presentation module 803 is configured to display the buried point information of the target buried point element according to the first response message in response to receiving the first response message of the buried point platform for the first query request, wherein, The first response message includes the buried point information or identification information of the buried point information.

在上述技术方案中,用户通过对目标页面中的目标埋点元素进行操作,即可自动获取埋点查询条件,并基于该埋点条件从埋点平台获取目标元素的埋点信息,并将埋点信息进行可视化展现。这样,当用户需要查询目标页面中任一埋点元素的埋点信息时,通过对相应埋点元素进行可视化操作即可获取到埋点信息,获取埋点信息的方式更加便捷、直观,提高了埋点信息的查询效率。另外,通过本公开提供的埋点信息查询方法,即使是非技术人员也能够轻松地进行埋点信息查询,而无需记忆页面元素的埋点参数或页面元素标识,也无需预先建立页面元素标识与查询条件(即埋点参数)之间的对应关系表,避免了对应关系表的维护工作。In the above technical solution, the user can automatically obtain the buried point query condition by operating the target buried point element on the target page, and obtain the buried point information of the target element from the buried point platform based on the buried point condition, and send the buried point Point information for visual display. In this way, when the user needs to query the buried point information of any buried point element in the target page, the buried point information can be obtained by visualizing the corresponding buried point element. The way to obtain the buried point information is more convenient and intuitive, which improves the The query efficiency of buried point information. In addition, through the buried point information query method provided by the present disclosure, even non-technical personnel can easily query the buried point information without memorizing the buried point parameters or page element identifiers of page elements, and without pre-establishing page element identifiers and query The corresponding relationship table between the conditions (that is, buried point parameters) avoids the maintenance work of the corresponding relationship table.

可选地,所述装置800还包括:Optionally, the device 800 also includes:

突出显示模块,用于在所述目标页面加载完成时,突出显示所述目标页面中的埋点元素,其中,所述目标埋点元素为所述目标页面中的任一所述埋点元素;A highlighting module, configured to highlight the buried point element in the target page when the target page is loaded, wherein the target buried point element is any one of the buried point elements in the target page;

所述第一确定模块801包括:The first determining module 801 includes:

展示子模块,用于响应于检测到光标悬停在所述目标埋点元素上,展示与所述目标埋点元素对应的浮层,其中,所述浮层包括埋点事件类型选项;The display submodule is configured to display a floating layer corresponding to the target buried point element in response to detecting that the cursor hovers over the target buried point element, wherein the floating layer includes buried point event type options;

第一确定子模块,用于响应于接收到针对所述埋点事件类型选项的第一选择操作,根据所述第一选择操作所选择的目标埋点事件类型,确定埋点查询条件,其中,所述目标埋点事件类型包括所述埋点事件类型选项所涉及的埋点事件类型中的一者或者多者。The first determination sub-module is configured to determine the buried point query condition according to the target buried point event type selected by the first selection operation in response to receiving the first selection operation for the buried point event type option, wherein, The target buried point event type includes one or more of the buried point event types involved in the buried point event type option.

可选地,所述第一确定子模块包括:Optionally, the first determining submodule includes:

第二确定子模块,用于根据所述第一选择操作所选择的目标埋点事件类型,确定所述目标埋点元素的查询指标;The second determining submodule is configured to determine the query index of the target buried point element according to the target buried point event type selected by the first selection operation;

第一获取子模块,用于获取所述目标埋点元素的属性信息;The first obtaining submodule is used to obtain the attribute information of the target buried point element;

第三确定子模块,用于将所述查询指标和所述属性信息确定为所述埋点查询条件。The third determining submodule is configured to determine the query index and the attribute information as the buried point query conditions.

可选地,所述突出显示模块包括:Optionally, the highlighting module includes:

第四确定子模块,用于确定所述目标页面中的埋点元素;The fourth determining submodule is used to determine the buried element in the target page;

修改子模块,用于针对每一所述埋点元素,修改该埋点元素的边框样式,以突出显示该埋点元素。The modifying submodule is used for modifying the frame style of the buried point element for each buried point element, so as to highlight the buried point element.

可选地,所述第一响应消息包括所述埋点信息的标识信息;Optionally, the first response message includes identification information of the buried point information;

所述展示模块803包括:The display module 803 includes:

第五确定子模块,用于根据所述埋点信息的标识信息,确定包含所述目标埋点元素的埋点信息的页面的第一地址信息;The fifth determining submodule is configured to determine the first address information of the page containing the buried point information of the target buried point element according to the identification information of the buried point information;

跳转子模块,用于跳转至所述第一地址信息对应的页面,以展示所述埋点信息。The jump submodule is configured to jump to the page corresponding to the first address information to display the buried point information.

可选地,所述第一查询请求还包括所述埋点平台的鉴权信息session和跨站点伪造请求-令牌csrf_token,其中,所述第一响应消息是所述埋点平台根据所述session和所述csrf_token,确认所述第一查询请求的发起者通过身份认证的情况下发送的。Optionally, the first query request also includes the authentication information session of the buried point platform and the cross-site forgery request-token csrf_token, wherein the first response message is the buried point platform according to the session and the csrf_token are sent when confirming that the initiator of the first query request has passed identity authentication.

可选地,所述装置800还包括:Optionally, the device 800 also includes:

第一获取模块,用于通过查询所述目标页面所在浏览器的cookie信息,获取所述session和所述csrf_token,其中,所述第一查询请求的发起者通过所述浏览器登陆过所述埋点平台;或者The first acquisition module is configured to acquire the session and the csrf_token by querying the cookie information of the browser where the target page is located, wherein the initiator of the first query request has logged in the buried point platform; or

第二获取模块,用于通过所述目标页面的HTML标签iframe获取所述session和所述csrf_token,其中,所述iframe与所述埋点平台的域名相同。The second obtaining module is used to obtain the session and the csrf_token through the HTML tag iframe of the target page, wherein the iframe is the same as the domain name of the embedding platform.

可选地,所述目标页面还包括工具条,其中,所述工具条包括页面指标选项;Optionally, the target page further includes a tool bar, wherein the tool bar includes page index options;

所述装置800还包括:The device 800 also includes:

第二确定模块,用于响应于接收到针对所述页面指标选项的第二选择操作,根据所述第二选择操作所选择的目标页面指标,确定指标查询条件,其中,所述目标页面指标包括所述页面指标选项所涉及的页面指标中的一者或者多者;The second determining module is configured to, in response to receiving a second selection operation on the page index option, determine index query conditions according to the target page index selected by the second selection operation, wherein the target page index includes One or more of the page indicators involved in the page indicator option;

第三获取模块,用于向所述埋点平台发送用于获取所述目标页面指标的指标信息的第二查询请求,其中,所述第二查询请求包括所述指标查询条件;A third obtaining module, configured to send a second query request for obtaining index information of the target page index to the buried point platform, wherein the second query request includes the index query condition;

所述展示模块803,还用于响应于接收到所述埋点平台针对所述第二查询请求的第二响应消息,根据所述第二响应消息,展示所述指标信息,其中,所述第二响应消息包括所述指标信息或所述指标信息的标识信息。The presentation module 803 is further configured to display the index information according to the second response message in response to receiving the second response message of the buried point platform for the second query request, wherein the first The second response message includes the indicator information or the identification information of the indicator information.

可选地,所述第二确定模块包括:Optionally, the second determination module includes:

第二获取子模块,用于获取所述目标页面的第二地址信息;The second obtaining submodule is used to obtain the second address information of the target page;

第六确定子模块,用于将所述第二地址信息和所述目标页面指标确定为所述指标查询条件。A sixth determining submodule, configured to determine the second address information and the target page index as the index query condition.

下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 9 , it shows a schematic structural diagram of an electronic device (such as a terminal device) 600 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 9 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.

如图9所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 9, an electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may be randomly accessed according to a program stored in a read-only memory (ROM) 602 or loaded from a storage device 608. Various appropriate actions and processes are executed by programs in the memory (RAM) 603 . In the RAM 603, various programs and data necessary for the operation of the electronic device 600 are also stored. The processing device 601 , ROM 602 and RAM 603 are connected to each other through a bus 604 . An input/output (I/O) interface 605 is also connected to the bus 604 .

通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 607 such as a computer; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 9 shows electronic device 600 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609 , or from storage means 608 , or from ROM 602 . When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client can communicate with any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium ( For example, communication networks) interconnect. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to receiving an operation instruction for the target embedded point element in the target page, according to the The above operation instructions determine the buried point query conditions; send a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query conditions; Responsive to receiving the first response message of the buried point platform for the first query request, according to the first response message, display the buried point information of the target buried point element, wherein the first response message Including the buried point information or the identification information of the buried point information.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to connected via the Internet).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,发送模块还可以被描述为“向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求的模块”。The modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation on the module itself under certain circumstances. For example, the sending module can also be described as "sending the first burying point information used to obtain the burying point element of the target burying point element to the burying point platform." A query request module".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

根据本公开的一个或多个实施例,示例1提供了一种埋点信息查询方法,包括:According to one or more embodiments of the present disclosure, Example 1 provides a buried point information query method, including:

响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;In response to receiving an operation instruction for the target buried point element in the target page, determine the buried point query condition according to the operation instruction;

向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;Sending a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition;

响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。Responsive to receiving the first response message of the buried point platform for the first query request, according to the first response message, display the buried point information of the target buried point element, wherein the first response message Including the buried point information or the identification information of the buried point information.

根据本公开的一个或多个实施例,示例2提供了示例1的方法,所述方法还包括:在所述目标页面加载完成时,突出显示所述目标页面中的埋点元素,其中,所述目标埋点元素为所述目标页面中的任一所述埋点元素;所述响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件,包括:响应于检测到光标悬停在所述目标埋点元素上,展示与所述目标埋点元素对应的浮层,其中,所述浮层包括埋点事件类型选项;响应于接收到针对所述埋点事件类型选项的第一选择操作,根据所述第一选择操作所选择的目标埋点事件类型,确定埋点查询条件,其中,所述目标埋点事件类型包括所述埋点事件类型选项所涉及的埋点事件类型中的一者或者多者。According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, and the method further includes: when the loading of the target page is completed, highlighting the embedded element in the target page, wherein the The target buried point element is any one of the buried point elements in the target page; in response to receiving an operation instruction for the target buried point element in the target page, according to the operation instruction, determine the buried point query condition, Including: in response to detecting that the cursor hovers over the target embedded point element, displaying a floating layer corresponding to the target buried point element, wherein the floating layer includes a buried point event type option; in response to receiving the The first selection operation of the buried point event type option, and determine the buried point query condition according to the target buried point event type selected by the first selection operation, wherein the target buried point event type includes the buried point event type One or more of the buried point event types involved in the options.

根据本公开的一个或多个实施例,示例3提供了示例2的方法,所述根据所述第一选择操作所选择的目标埋点事件类型,确定埋点查询条件,包括:根据所述第一选择操作所选择的目标埋点事件类型,确定所述目标埋点元素的查询指标;获取所述目标埋点元素的属性信息;将所述查询指标和所述属性信息确定为所述埋点查询条件。According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2. The determining the query condition of the buried point according to the type of the target buried point event selected by the first selection operation includes: according to the first selection operation A selection operation selects the event type of the target buried point, determines the query index of the target buried point element; obtains the attribute information of the target buried point element; determines the query index and the attribute information as the buried point Query conditions.

根据本公开的一个或多个实施例,示例4提供了示例2的方法,所述突出显示所述目标页面中的埋点元素,包括:确定所述目标页面中的埋点元素;针对每一所述埋点元素,修改该埋点元素的边框样式,以突出显示该埋点元素。According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 2, the highlighting the buried point elements in the target page includes: determining the buried point elements in the target page; for each For the buried point element, modify the border style of the buried point element to highlight the buried point element.

根据本公开的一个或多个实施例,示例5提供了示例1的方法,所述第一响应消息包括所述埋点信息的标识信息;所述根据所述第一响应消息,展示所述目标埋点元素的埋点信息,包括:根据所述埋点信息的标识信息,确定包含所述目标埋点元素的埋点信息的页面的第一地址信息;跳转至所述第一地址信息对应的页面,以展示所述埋点信息。According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 1, wherein the first response message includes the identification information of the buried point information; and according to the first response message, displaying the target The buried point information of the buried point element, including: according to the identification information of the buried point information, determine the first address information of the page containing the buried point information of the target buried point element; jump to the first address information corresponding to page to display the buried point information.

根据本公开的一个或多个实施例,示例6提供了示例1的方法,所述第一查询请求还包括所述埋点平台的鉴权信息session和跨站点伪造请求-令牌csrf_token,其中,所述第一响应消息是所述埋点平台根据所述session和所述csrf_token,确认所述第一查询请求的发起者通过身份认证的情况下发送的。According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 1, the first query request further includes the authentication information session of the buried point platform and the cross-site forgery request-token csrf_token, wherein, The first response message is sent by the buried point platform after confirming that the originator of the first query request has passed identity authentication according to the session and the csrf_token.

根据本公开的一个或多个实施例,示例7提供了示例6的方法,所述session和所述csrf_token通过以下方式获取:通过查询所述目标页面所在浏览器的cookie信息,获取所述session和所述csrf_token,其中,所述第一查询请求的发起者通过所述浏览器登陆过所述埋点平台;或者通过所述目标页面的HTML标签iframe获取所述session和所述csrf_token,其中,所述iframe与所述埋点平台的域名相同。According to one or more embodiments of the present disclosure, Example 7 provides the method of Example 6, the session and the csrf_token are acquired in the following manner: by querying the cookie information of the browser where the target page is located, the session and the The csrf_token, wherein, the initiator of the first query request has logged in the buried point platform through the browser; or obtain the session and the csrf_token through the HTML tag iframe of the target page, wherein, the The iframe is the same as the domain name of the embedding platform.

根据本公开的一个或多个实施例,示例8提供了示例1-7中任一项的方法,所述目标页面还包括工具条,其中,所述工具条包括页面指标选项;所述方法还包括:响应于接收到针对所述页面指标选项的第二选择操作,根据所述第二选择操作所选择的目标页面指标,确定指标查询条件,其中,所述目标页面指标包括所述页面指标选项所涉及的页面指标中的一者或者多者;向所述埋点平台发送用于获取所述目标页面指标的指标信息的第二查询请求,其中,所述第二查询请求包括所述指标查询条件;响应于接收到所述埋点平台针对所述第二查询请求的第二响应消息,根据所述第二响应消息,展示所述指标信息,其中,所述第二响应消息包括所述指标信息或所述指标信息的标识信息。According to one or more embodiments of the present disclosure, Example 8 provides the method of any one of Examples 1-7, the target page further includes a tool bar, wherein the tool bar includes page index options; the method further includes The method includes: in response to receiving a second selection operation for the page index option, determining an index query condition according to the target page index selected by the second selection operation, wherein the target page index includes the page index option One or more of the involved page indicators; sending a second query request for obtaining the indicator information of the target page indicator to the buried point platform, wherein the second query request includes the indicator query Condition: in response to receiving a second response message from the buried point platform for the second query request, displaying the indicator information according to the second response message, wherein the second response message includes the indicator Information or identification information of the indicator information.

根据本公开的一个或多个实施例,示例9提供了示例8的方法,所述根据所述第二选择操作所选择的目标页面指标,确定指标查询条件,包括:获取所述目标页面的第二地址信息;将所述第二地址信息和所述目标页面指标确定为所述指标查询条件。According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 8. The determining the index query condition according to the target page index selected by the second selection operation includes: obtaining the first index of the target page Two address information: determining the second address information and the target page index as the index query condition.

根据本公开的一个或多个实施例,示例10提供了一种埋点信息查询装置,包括:第一确定模块,用于响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;发送模块,用于向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;展示模块,用于响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。According to one or more embodiments of the present disclosure, Example 10 provides a buried point information query device, including: a first determination module, configured to respond to receiving an operation instruction for a target buried point element in a target page, according to the The above operation instruction is used to determine the query condition of the buried point; the sending module is used to send the first query request for obtaining the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the A buried point query condition; a display module, configured to display the buried point of the target buried point element according to the first response message in response to receiving the first response message of the buried point platform for the first query request information, wherein the first response message includes the buried point information or the identification information of the buried point information.

根据本公开的一个或多个实施例,示例11提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现示例1-9中任一项所述方法的步骤。According to one or more embodiments of the present disclosure, Example 11 provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of any one of the methods described in Examples 1-9 are implemented .

根据本公开的一个或多个实施例,示例12提供了一种电子设备,包括:存储装置,其上存储有计算机程序;处理装置,用于执行所述存储装置中的所述计算机程序,以实现示例1-9中任一项所述方法的步骤。According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, including: a storage device, on which a computer program is stored; a processing device, configured to execute the computer program in the storage device, to Implement the steps of any one of the methods described in Examples 1-9.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principles. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

Claims (12)

1.一种埋点信息查询方法,其特征在于,包括:1. A buried point information query method, characterized in that, comprising: 响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;In response to receiving an operation instruction for the target buried point element in the target page, determine the buried point query condition according to the operation instruction; 向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;Sending a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition; 响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。Responsive to receiving the first response message of the buried point platform for the first query request, according to the first response message, display the buried point information of the target buried point element, wherein the first response message Including the buried point information or the identification information of the buried point information. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 在所述目标页面加载完成时,突出显示所述目标页面中的埋点元素,其中,所述目标埋点元素为所述目标页面中的任一所述埋点元素;When the loading of the target page is completed, highlight the buried point element in the target page, wherein the target buried point element is any one of the buried point elements in the target page; 所述响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件,包括:In response to receiving the operation instruction for the target buried point element in the target page, according to the operation instruction, determine the buried point query condition, including: 响应于检测到光标悬停在所述目标埋点元素上,展示与所述目标埋点元素对应的浮层,其中,所述浮层包括埋点事件类型选项;In response to detecting that the cursor hovers over the target buried point element, display a floating layer corresponding to the target buried point element, wherein the floating layer includes a buried point event type option; 响应于接收到针对所述埋点事件类型选项的第一选择操作,根据所述第一选择操作所选择的目标埋点事件类型,确定埋点查询条件,其中,所述目标埋点事件类型包括所述埋点事件类型选项所涉及的埋点事件类型中的一者或者多者。In response to receiving the first selection operation for the buried point event type option, determine the buried point query condition according to the target buried point event type selected by the first selection operation, wherein the target buried point event type includes One or more of the buried point event types involved in the buried point event type option. 3.根据权利要求2所述的方法,其特征在于,所述根据所述第一选择操作所选择的目标埋点事件类型,确定埋点查询条件,包括:3. The method according to claim 2, wherein, according to the target buried point event type selected by the first selection operation, determining the buried point query condition includes: 根据所述第一选择操作所选择的目标埋点事件类型,确定所述目标埋点元素的查询指标;Determine the query index of the target buried point element according to the target buried point event type selected by the first selection operation; 获取所述目标埋点元素的属性信息;Obtain attribute information of the target embedded point element; 将所述查询指标和所述属性信息确定为所述埋点查询条件。The query index and the attribute information are determined as the buried point query conditions. 4.根据权利要求2所述的方法,其特征在于,所述突出显示所述目标页面中的埋点元素,包括:4. The method according to claim 2, wherein the highlighting the embedded element in the target page comprises: 确定所述目标页面中的埋点元素;Determine the buried element in the target page; 针对每一所述埋点元素,修改该埋点元素的边框样式,以突出显示该埋点元素。For each buried point element, modify the border style of the buried point element to highlight the buried point element. 5.根据权利要求1所述的方法,其特征在于,所述第一响应消息包括所述埋点信息的标识信息;5. The method according to claim 1, wherein the first response message includes identification information of the buried point information; 所述根据所述第一响应消息,展示所述目标埋点元素的埋点信息,包括:The displaying the buried point information of the target buried point element according to the first response message includes: 根据所述埋点信息的标识信息,确定包含所述目标埋点元素的埋点信息的页面的第一地址信息;According to the identification information of the buried point information, determine the first address information of the page containing the buried point information of the target buried point element; 跳转至所述第一地址信息对应的页面,以展示所述埋点信息。Jump to the page corresponding to the first address information to display the buried point information. 6.根据权利要求1所述的方法,其特征在于,所述第一查询请求还包括所述埋点平台的鉴权信息session和跨站点伪造请求-令牌csrf_token,其中,所述第一响应消息是所述埋点平台根据所述session和所述csrf_token,确认所述第一查询请求的发起者通过身份认证的情况下发送的。6. The method according to claim 1, wherein the first query request further includes the authentication information session of the buried point platform and a cross-site forgery request-token csrf_token, wherein the first response The message is sent when the buried point platform confirms that the originator of the first query request has passed identity authentication according to the session and the csrf_token. 7.根据权利要求6所述的方法,其特征在于,所述session和所述csrf_token通过以下方式获取:7. The method according to claim 6, wherein the session and the csrf_token are acquired in the following manner: 通过查询所述目标页面所在浏览器的cookie信息,获取所述session和所述csrf_token,其中,所述第一查询请求的发起者通过所述浏览器登陆过所述埋点平台;或者By querying the cookie information of the browser where the target page is located, the session and the csrf_token are obtained, wherein the initiator of the first query request has logged in to the buried point platform through the browser; or 通过所述目标页面的HTML标签iframe获取所述session和所述csrf_token,其中,所述iframe与所述埋点平台的域名相同。Obtain the session and the csrf_token through the HTML tag iframe of the target page, wherein the iframe is the same as the domain name of the embedding platform. 8.根据权利要求1-7中任一项所述的方法,其特征在于,所述目标页面还包括工具条,其中,所述工具条包括页面指标选项;8. The method according to any one of claims 1-7, wherein the target page further includes a tool bar, wherein the tool bar includes page index options; 所述方法还包括:The method also includes: 响应于接收到针对所述页面指标选项的第二选择操作,根据所述第二选择操作所选择的目标页面指标,确定指标查询条件,其中,所述目标页面指标包括所述页面指标选项所涉及的页面指标中的一者或者多者;In response to receiving a second selection operation for the page index option, determine an index query condition according to the target page index selected by the second selection operation, wherein the target page index includes the page index option involved One or more of the page indicators of ; 向所述埋点平台发送用于获取所述目标页面指标的指标信息的第二查询请求,其中,所述第二查询请求包括所述指标查询条件;Sending a second query request for acquiring index information of the target page index to the buried point platform, wherein the second query request includes the index query condition; 响应于接收到所述埋点平台针对所述第二查询请求的第二响应消息,根据所述第二响应消息,展示所述指标信息,其中,所述第二响应消息包括所述指标信息或所述指标信息的标识信息。In response to receiving a second response message from the buried point platform for the second query request, displaying the indicator information according to the second response message, wherein the second response message includes the indicator information or Identification information of the indicator information. 9.根据权利要求8所述的方法,其特征在于,所述根据所述第二选择操作所选择的目标页面指标,确定指标查询条件,包括:9. The method according to claim 8, characterized in that, determining the index query condition according to the target page index selected by the second selection operation comprises: 获取所述目标页面的第二地址信息;Obtaining the second address information of the target page; 将所述第二地址信息和所述目标页面指标确定为所述指标查询条件。The second address information and the target page index are determined as the index query condition. 10.一种埋点信息查询装置,其特征在于,包括:10. A buried point information query device, characterized in that it comprises: 第一确定模块,用于响应于接收到针对目标页面中目标埋点元素的操作指令,根据所述操作指令,确定埋点查询条件;The first determination module is configured to determine the buried point query condition according to the operation instruction in response to receiving an operation instruction for the target buried point element in the target page; 发送模块,用于向埋点平台发送用于获取所述目标埋点元素的埋点信息的第一查询请求,其中,所述第一查询请求包括所述埋点查询条件;A sending module, configured to send a first query request for acquiring the buried point information of the target buried point element to the buried point platform, wherein the first query request includes the buried point query condition; 展示模块,用于响应于接收到所述埋点平台针对所述第一查询请求的第一响应消息,根据所述第一响应消息,展示所述目标埋点元素的埋点信息,其中,所述第一响应消息包括所述埋点信息或所述埋点信息的标识信息。A display module, configured to display the buried point information of the target buried point element according to the first response message in response to receiving the first response message of the buried point platform for the first query request, wherein the The first response message includes the buried point information or the identification information of the buried point information. 11.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理装置执行时实现权利要求1-9中任一项所述方法的步骤。11. A computer-readable medium, on which a computer program is stored, characterized in that, when the program is executed by a processing device, the steps of the method according to any one of claims 1-9 are realized. 12.一种电子设备,其特征在于,包括:12. An electronic device, characterized in that it comprises: 存储装置,其上存储有计算机程序;a storage device on which a computer program is stored; 处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-9中任一项所述方法的步骤。A processing device configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1-9.
CN202310289497.2A 2023-03-22 2023-03-22 Buried point information query method, device, medium and electronic equipment Pending CN116303612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310289497.2A CN116303612A (en) 2023-03-22 2023-03-22 Buried point information query method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310289497.2A CN116303612A (en) 2023-03-22 2023-03-22 Buried point information query method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116303612A true CN116303612A (en) 2023-06-23

Family

ID=86783186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310289497.2A Pending CN116303612A (en) 2023-03-22 2023-03-22 Buried point information query method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116303612A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118300966A (en) * 2024-04-01 2024-07-05 云袭网络技术河北有限公司 A network event processing method and device for tracking points

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118300966A (en) * 2024-04-01 2024-07-05 云袭网络技术河北有限公司 A network event processing method and device for tracking points

Similar Documents

Publication Publication Date Title
US12474923B2 (en) Model construction method and apparatus, and medium and electronic device
US9230036B2 (en) Enhanced browser cookie management
US9231935B1 (en) Background auto-submit of login credentials
EP3092577B1 (en) Offline content sharing
US12067136B2 (en) Display method, display device, and electronic device
US20150106723A1 (en) Tools for locating, curating, editing, and using content of an online library
KR20160049060A (en) Techniques to automatically syndicate content over a network
US20160248756A1 (en) Aggregator technology without usernames and passwords
WO2011119676A1 (en) Cloud-based web content filtering
US20220374538A1 (en) Permission control method and device and electronic equipment
WO2020199749A1 (en) Feedback-based information pushing method and apparatus, and electronic device
KR20100027200A (en) Program and method for present page auto log in
US20220035499A1 (en) Direct linking within applications
CN116303612A (en) Buried point information query method, device, medium and electronic equipment
JP2025516237A (en) Collection management method, device, equipment and media
CN113329028B (en) Cross-domain access method and device
WO2023011523A1 (en) Session information display method and apparatus, and electronic device
US9177071B2 (en) Dynamically loadable contact center bookmarks in co-browsing environments
WO2022206287A1 (en) Business service interaction method and apparatus, device, and storage medium
CN109543398B (en) Application program account migration method and device and electronic equipment
US9948693B2 (en) Generic cloud service for publishing data to be consumed by RSS readers
CN103023974B (en) Website message informing method and device
CN116208822B (en) Method, device, medium and equipment for determining shelf display page in live broadcast
CN103023908B (en) A kind of website information acquisition, equipment and system
US20150242376A1 (en) Publishing Information Technology Data As A Newsfeed

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination