CN110532159B - Data monitoring method, device, equipment and computer readable storage medium - Google Patents

Data monitoring method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110532159B
CN110532159B CN201910828154.2A CN201910828154A CN110532159B CN 110532159 B CN110532159 B CN 110532159B CN 201910828154 A CN201910828154 A CN 201910828154A CN 110532159 B CN110532159 B CN 110532159B
Authority
CN
China
Prior art keywords
event
attribute
user
data
custom
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910828154.2A
Other languages
Chinese (zh)
Other versions
CN110532159A (en
Inventor
吕翩翩
梁殊疑
叶峻
吴明丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910828154.2A priority Critical patent/CN110532159B/en
Publication of CN110532159A publication Critical patent/CN110532159A/en
Application granted granted Critical
Publication of CN110532159B publication Critical patent/CN110532159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data monitoring method, a data monitoring device, data monitoring equipment and a computer readable storage medium, and relates to the technical field of Internet. The specific implementation scheme is as follows: creating a custom event by responding to an event creating operation on an event element on a target page; responding to attribute association operation of the custom event, and binding the associated attribute of the custom event; the user-defined event is monitored, the associated attribute data of the user-defined event is obtained, the user-defined event which the user wants to monitor can be created according to the operation of the user on the visual operation interface, the associated attribute is bound for the user-defined event, the desired monitored data can be obtained in a targeted mode by monitoring the user-defined event, the flexibility of data monitoring is improved, unnecessary resources occupied by the monitored data are reduced, the association among the data is increased, and the usability of the monitored data is improved.

Description

Data monitoring method, device, equipment and computer readable storage medium
Technical Field
The application relates to the technical field of computers, in particular to an internet technology.
Background
An event is a type of record used to express a user's behavior. Such as: the user logs in, browses pages, joins a shopping cart, plays videos, and the like. The website owner captures various user behaviors by means of embedding monitoring codes in the website and the like. And forming an event record by combining various attributes (such as time, place, people, price, amount and the like) related to the monitored behaviors, and using the event record to analyze the user behaviors and assist in decision making.
The traditional event monitoring mode needs a website owner to have development capability, and code embedding is carried out on each event element to be monitored, so that the technical threshold is high, the operation is complex, and the efficiency is low. The full-embedding point technology realizes the work of embedding points of each event element one by recording the relative position of each event element in the current page, and the embedding of points at places is directly realized through the technology.
However, the full-buried-point technology collects event data of each element in a page, one page may have hundreds of events, one common site may have tens of thousands of events, huge data amount occupies resources, and the association relationship between data is weak, which is not beneficial to data analysis and has poor data availability.
Disclosure of Invention
The application provides a data monitoring method, a data monitoring device, data monitoring equipment and a computer readable storage medium, which are used for solving the problems of high technical threshold, complex operation, low efficiency, weak association relation among data and poor data availability of the existing data monitoring method.
One embodiment of the present application provides a data monitoring method, including:
responding to an event creating operation of an event element on a target page, and creating a self-defined event; responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event; and monitoring the user-defined event to obtain the associated attribute data of the user-defined event.
Optionally, the creating a custom event in response to an event creating operation of the user on an event element on the target page includes: receiving an event name and belonging page information of an event element input by a user in response to an event creating operation on the event element on a target page; extracting path information of the event element from the target page; creating a custom event corresponding to the event element according to the event name, the page information and the path information of the event element; so as to create the custom event which the user wants to listen to through the visual interface.
Optionally, the generating the associated attribute of the custom event in response to the attribute association operation on the custom event includes: responding to the selection operation of the attribute elements on the target page, and acquiring the attribute names and the data types of the attribute elements; extracting path information of the attribute elements from the target page; generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements; associating the associated attribute information with the custom event; the method and the device realize that the user binds the associated attribute to be monitored through the self-defined event of the visual interface, improve the flexibility of data monitoring and increase the association between data.
Optionally, before creating the custom event in response to the event creating operation on the event element on the target page, the method further includes: receiving a page address of the target page input by a user; acquiring page data of the target page according to the page address, and displaying the target page; and enabling the user to enter a target page where the event element which the user wants to monitor is located, and providing an entrance for creating a custom event through a visual interface subsequently.
Optionally, the monitoring the user-defined event and obtaining the associated attribute data of the user-defined event includes: when the self-defining event is monitored to be triggered, acquiring the associated attribute information of the self-defining event; acquiring attribute data associated with the custom event according to the associated attribute information of the custom event; the method and the device have the advantages that only the attribute data of the associated attribute bound for the user-defined event is monitored, the attribute data which is not concerned by other users is not collected, the flexibility of data monitoring is improved, unnecessary monitoring data occupies resources, and the relevance among data is increased.
Optionally, the monitoring the user-defined event and acquiring the associated attribute data of the user-defined event includes: and monitoring the user-defined event based on a full-buried point technology to obtain associated attribute data of the user-defined event, and reducing the complexity of code buried points and improving the monitoring efficiency by the full-buried point technology.
Optionally, the page information of the event element includes: the path information of at least one page in which the custom event corresponding to the event element takes effect can improve the flexibility of the custom event and avoid unnecessary repeated operation.
Another embodiment of the present application provides a data listening device, including:
the user-defined event creating module is used for responding to the event creating operation of the event elements on the target page and creating user-defined events;
the associated attribute binding module is used for responding to attribute associated operation of the user-defined event and binding the associated attribute of the user-defined event;
and the monitoring module is used for monitoring the custom event and acquiring the associated attribute data of the custom event.
Another embodiment of the present application provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data snooping method.
Another embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the data listening method described above.
Another embodiment of the present application provides a data listening method, including:
acquiring a custom event and the associated attribute of the custom event;
and monitoring the user-defined event to obtain the associated attribute data of the user-defined event.
One embodiment in the above application has the following advantages or benefits:
creating a custom event by responding to an event creating operation on an event element on a target page; responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event; the user-defined event is monitored, the associated attribute data of the user-defined event is obtained, the user-defined event which the user wants to monitor can be created according to the operation of the user on the visual operation interface, the associated attribute is bound for the user-defined event, the desired monitored data can be obtained in a targeted mode by monitoring the user-defined event, the flexibility of data monitoring is improved, unnecessary resources occupied by the monitored data are reduced, the association among the data is increased, and the usability of the monitored data is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow chart of a data snooping method according to a first embodiment of the present application;
FIG. 2 is a flow chart of a data listening method according to a second embodiment of the present application;
FIG. 3 is a schematic illustration of a visual interface for creating custom events according to a second embodiment of the present application;
FIG. 4 is a diagram illustrating an interface for binding associated properties according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of a data monitoring apparatus according to a third embodiment of the present application;
fig. 6 is a block diagram of an electronic device for implementing a data listening method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terms "first", "second", and the like, as referred to in this application, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. In the description of the following examples, "plurality" means two or more unless specifically limited otherwise.
The application has the specific application scenarios that: when monitoring event elements in a certain website page, one way is to manually perform code point burying on each event element to be monitored by technicians, but the event monitoring way has high technical threshold, complex operation and low efficiency; the other mode is that each event element is embedded one by one through a full embedding point technology, key events cannot be monitored in a targeted mode, and the monitored data are weak in association relation and poor in usability. The application provides a data monitoring method, which can customize an event according to the interactive operation of a user and can flexibly associate some attributes concerned by the user for the customized event. When the event monitoring is carried out, the associated attribute data of the user-defined event can be monitored by monitoring all the user-defined events, so that the events and data which the user wants to monitor can be monitored in a targeted manner, the event monitoring efficiency is improved, and the usability of the monitored data is improved.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The first embodiment of the application provides a data monitoring method. The method in the embodiment is applied to the electronic equipment for data monitoring. Fig. 1 is a flowchart of a data listening method according to a first embodiment of the present application, and as shown in fig. 1, the method includes the following specific steps:
and step S101, responding to the event creating operation of the event elements on the target page, and creating the custom event.
The target page refers to a page where an event element that the user wants to monitor is located.
The embodiment provides a visual operation interface of the user-defined event for the user. And after entering a target page where the event element needing monitoring is located, the user customizes the event in a visual mode.
If a plurality of event elements which the user wants to monitor are arranged on the target page, the user can perform event creation operation on the event elements which the user wants to monitor one by one, and when the electronic equipment for data monitoring detects the event creation operation on the event elements on the target page, the electronic equipment acquires information such as event names, page information and path information of the event elements and creates custom events corresponding to the event elements.
The event creating operation for the event element may be a click operation for the event element, an operation for circling the event element by using a rectangular frame or the like, or other operations capable of selecting the event element and triggering the event creating, and the event creating operation for the event element may be set by a technician according to actual needs and experience, which is not specifically limited in this embodiment.
Specifically, when a custom event is created, custom event information is generated according to information such as an event name, belonging page information and path information of an event element, and the custom event information is stored in a specified database to complete creation of the custom event.
The database for storing the custom event information may be specified by a technician according to actual needs, and this embodiment is not specifically limited herein.
And S102, responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event.
In this embodiment, a visual operation interface for adding the associated attribute to be monitored to the custom event is provided for the user. After the custom event is created, the user can also bind the associated attribute for the custom event through a visual operation interface according to the self requirement.
The associated attribute of the custom event refers to attribute information of the custom event which needs to be monitored when the custom event is monitored. Generally, the associated attribute of the custom event has a corresponding attribute element on the target page where the event element of the custom event is located. By binding the associated attributes for the custom event, the data of which attribute element needs to be collected when the custom event is monitored can be specified.
After creating the custom event, the user may select one or more attribute elements that are to be bound as the associated attributes of the custom event in the current target page, and perform an attribute association operation to bind the selected one or more attribute elements as the associated attributes of the custom event.
For example, if a user wants to bind a plurality of associated attributes for a custom event, the user may perform attribute association operations on attribute elements that are to be bound on a target page one by one, and when detecting the attribute association operations on the attribute elements on the target page, the electronic device for data monitoring obtains information such as attribute names, data types, and path information of the attribute elements, and associates the attribute elements with the custom event.
The attribute association operation on the attribute element may be a click operation on the attribute element, an operation of circling an event element by using a rectangular box or the like, or other operations capable of selecting the attribute element and triggering binding of an associated attribute, and the attribute association operation on the attribute element may be set by a technician according to actual needs and experience, which is not specifically limited in this embodiment.
Specifically, when the associated attribute of the custom event is bound, the associated attribute information of the attribute element is generated according to the attribute name, the data type, the path information and other information of the attribute element, and the associated attribute information of the attribute element and the associated custom event are correspondingly stored in the database, so that the binding of the associated attribute of the custom event is completed.
Step S103, monitoring the custom event and acquiring the associated attribute data of the custom event.
After the creation of the custom event is completed and the associated property is bound for the custom event, the custom event may be monitored to obtain data of the associated property bound for the custom event.
The embodiment creates a custom event by responding to the event creating operation of the event element on the target page; responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event; the method monitors the custom event to obtain the associated attribute data of the custom event, can realize the creation of the custom event which the user wants to monitor according to the operation of the user on the visual operation interface, and binds the associated attribute for the custom event, can pointedly obtain the desired monitored data by monitoring the custom event, improves the flexibility of data monitoring, reduces the resource occupation of unnecessary monitored data, increases the association between data and improves the usability of the monitored data.
Fig. 2 is a flowchart of a data listening method according to a second embodiment of the present application. On the basis of the first embodiment of the present application, in the second embodiment of the present application, before creating a custom event in response to an event creation operation on an event element on a target page, the method further includes: receiving a page address of a target page input by a user; and acquiring page data of the target page according to the page address, and displaying the target page. Monitoring the custom event to obtain the associated attribute data of the custom event, including: and monitoring the user-defined event based on a full-buried point technology to obtain associated attribute data of the user-defined event. As shown in fig. 2, the method comprises the following specific steps:
step S201, receiving a page address of a target page input by a user.
The target page refers to a page where an event element that the user wants to monitor is located.
In this embodiment, before customizing an event, a user needs to enter a target page where an event element that the user wants to monitor is located.
Specifically, the electronic device for data monitoring may provide an address input box for inputting a target page address; the user can input the page address of the target page to be entered in the address input box and submit the page address to the electronic equipment. The electronic device may receive a page address entered and submitted by a user through an address entry box.
Step S202, acquiring page data of the target page according to the page address, and displaying the target page.
After the page address of the target page is obtained, the page data of the target page can be obtained according to the page address, and the target page is displayed, so that a visual operation interface for creating a custom event in the target page is provided for a user.
Step S203, responding to the event creating operation of the event element on the target page, and creating a custom event.
After entering a target page where event elements needing to be monitored are located, a user enters a visual operation interface (shown in fig. 3) for creating a custom event for the target page, and the event is customized in a visual mode.
If a plurality of event elements which the user wants to monitor are arranged on the target page, the user can perform event creation operation on the event elements which the user wants to monitor one by one, and when the electronic equipment for data monitoring detects the event creation operation on the event elements on the target page, the electronic equipment acquires information such as event names, page information and path information of the event elements and creates custom events corresponding to the event elements.
The page information of the event element comprises: and the path information of at least one page in which the custom event corresponding to the event element takes effect. If the custom event corresponding to an event element can take effect in multiple pages, the page information to which the custom event belongs should simultaneously include the path information of the multiple pages that take effect.
Optionally, the page information may include wildcards. If the custom event corresponding to an event element can take effect in a plurality of pages, the page information to which the custom event belongs can express the variable part in the page information in a wildcard way.
In this embodiment, creating a custom event in response to an event creating operation on an event element on a target page may specifically be implemented in the following manner:
responding to an event creating operation of an event element on a target page, and receiving an event name and belonging page information of the event element input by a user; extracting path information of the event element from the target page; and creating a custom event corresponding to the event element according to the event name, the page information and the path information of the event element.
Specifically, in response to an event creating operation on an event element on a target page, a visual editing interface of a custom event can be provided, wherein the visual editing interface at least comprises a first input box for inputting an event name and a second input box for inputting affiliated page information, so that a user can input the event name and the affiliated page information of the custom event; and the electronic equipment can automatically extract the path information of the currently selected event element from the target page and display the path information in the visual editing interface. The user can input the event name and the belonging page information in the visual editing interface and submit the event name and the belonging page information to the electronic equipment.
The event creating operation for the event element may be a click operation for the event element, an operation for circling the event element by using a rectangular frame or the like, or other operations capable of selecting the event element and triggering the event creating, and the event creating operation for the event element may be set by a technician according to actual needs and experience, which is not specifically limited in this embodiment.
Optionally, when an event element that is to create a custom event is selected, the currently selected event element may be highlighted to facilitate the user to confirm the event element that is to create the custom event. For example, event elements may be circled with a rectangular frame, and the rectangular frame surrounding the selected event elements may be displayed with a high brightness or in a specified color.
For example, as shown in fig. 3, a visual operation interface for creating a custom event by circling an event element is exemplarily illustrated by taking an example that an event creating operation on the event element may be a circling operation on the event element. As shown in fig. 3, the currently selected event element is a "join shopping cart" operation button, the user can select the "join shopping cart" operation button through a rectangular frame circle, the electronic device uses a green rectangular frame circle to select the "join shopping cart" operation button in the target page to indicate that the currently selected "join shopping cart" operation button is used as an event element of the custom event, and then a visual editing interface for the custom event is displayed above the event element (or elsewhere not shown in the figure) for the user to input an event name and belonging page information. As shown in FIG. 3, the visual editing interface may also provide a "Save" button, by which the user submits information in the visual editing interface to the electronic device.
Specifically, when the custom event is created, custom event information is generated according to information such as an event name, page information and path information of the event element, and the custom event information is stored in a specified database, so that creation of the custom event is completed.
The database for storing the custom event information may be specified by a technician according to actual needs, and this embodiment is not specifically limited herein.
Optionally, the information of the created custom event may be displayed in an event list area on the visual operation interface for creating the custom event, so that the user can view the created custom event conveniently. As shown in fig. 3, the event list area is exemplarily illustrated in fig. 3 by taking 3 custom events including "join shopping cart", "focus", "contrast" in the event list as an example.
Optionally, in response to the deletion of the created custom event, the created custom event may also be deleted. In addition, when a custom event is deleted, the associated attribute of the custom event is deleted at the same time.
Optionally, in response to the operation of modifying the created custom event, the information of the custom event to be modified may be displayed on the visual operation interface for creating the custom event, and an editing interface for the custom event is provided, so that the user can re-edit the information of the custom event through the editing interface for the custom event.
Optionally, when the created custom event is displayed, the path information of the event element of the custom event is verified, and if the event element cannot be found on the target page according to the path information of the event element, it is described that the path information of the event element changes, the custom event fails, and corresponding prompt information (as shown in fig. 3) may be displayed on the display interface to prompt the user that the target path of the event element is not found, please confirm with a technician of your website whether the path of the element has changed, and whether the custom event can be used continuously; if the event element path is determined to have changed, the custom event cannot be used continuously, and is recommended to be added again after deletion.
In addition, a button (such as a "next step" button shown in fig. 3) for entering the attribute association operation interface may be further provided in the visual operation interface for creating the custom event, and after the custom event is created, the user enters the interface (such as shown in fig. 4) for associating the attribute with the custom event by clicking the button for entering the attribute association operation interface.
And S204, responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event.
In this embodiment, a visual operation interface for adding the associated attribute to be monitored to the custom event is provided for the user. After the custom event is created, the user can also bind the associated attribute for the custom event through a visual operation interface according to the self requirement.
The associated attribute of the custom event refers to attribute information of the custom event which needs to be monitored when the custom event is monitored. Generally, the associated attribute of the custom event has a corresponding attribute element on the target page where the event element of the custom event is located. By binding the associated attributes for the custom event, the data of which attribute element needs to be collected when the custom event is monitored can be specified.
For example, a button for entering the property association operation interface (such as a "next" button shown in fig. 3) may also be provided in the visual operation interface for creating the custom event, and after the user has created the custom event, the user enters the interface for binding the associated property for the custom event (such as shown in fig. 4) by clicking the button for entering the property association operation interface.
The user can select one or more attribute elements which are bound to the associated attribute of the custom event from the interface for binding the associated attribute of the custom event, and perform attribute association operation to bind the selected one or more attribute elements to the associated attribute of the custom event.
For example, if a user wants to bind a plurality of associated attributes for a custom event, the user may perform attribute association operations on attribute elements that are to be bound on a target page one by one, and when detecting the attribute association operations on the attribute elements on the target page, the electronic device for data monitoring obtains information such as attribute names, data types, and path information of the attribute elements, and associates the attribute elements with the custom event.
The data type of the attribute element may include a numerical value type, a text type, a time and other data types, may also be a data type of any attribute element included in a page, and may be selected or input when the attribute is defined by a user.
In this embodiment, in response to the attribute association operation on the custom event, the associated attribute of the custom event is bound, which may specifically be implemented in the following manner:
responding to the selection operation of the attribute elements on the target page, and acquiring the attribute names and the data types of the attribute elements; extracting path information of attribute elements from a target page; generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements; and associating the associated attribute information with the custom event.
Specifically, in response to a selection operation on a property element on the target page, a visual associated property binding interface may be provided, where the associated property binding interface includes at least a third input box for inputting a property name, so that a user inputs the property name; and the electronic equipment can automatically extract the data type and the path information of the currently selected attribute element from the target page and display the data type and the path information in the associated attribute binding interface. The user may enter an event name in the associated property binding interface and submit to the electronic device.
The attribute association operation on the attribute element may be a click operation on the attribute element, an operation of circling an event element by using a rectangular box or the like, or other operations capable of selecting the attribute element and triggering binding of an associated attribute, and the attribute association operation on the attribute element may be set by a technician according to actual needs and experience, which is not specifically limited in this embodiment.
Optionally, when the attribute element to be bound for the custom event is selected, the currently selected attribute element may be highlighted to facilitate the user to confirm the attribute element to be bound for the custom event. For example, the attribute elements may be circled with a rectangular frame, and the rectangular frame surrounding the selected attribute elements may be displayed with high brightness or in a specified color.
For example, as shown in fig. 4, taking as an example that the attribute association operation on the attribute element may be a circle selection operation on the attribute element, an associated attribute binding interface for binding the associated attribute for the custom event by the circle selection of the attribute element is exemplarily illustrated. As shown in fig. 4, when the currently selected attribute element is "price" information displayed in the target page, the user may select price information "@ 168.80" by a rectangular frame circle, the electronic device may select the price information "@ 168.80" by a green rectangular frame circle in the target page to indicate that the currently selected price information is taken as an attribute element to be bound to the custom event, and then an editing interface for the attribute element is displayed below the attribute element (or elsewhere not shown in the figure) for the user to input an attribute name. As shown in fig. 4, the editing interface of the attribute element may further provide a "save" button, and the user submits the information in the editing interface of the attribute element to the electronic device by clicking the "save" button.
Specifically, when the associated attribute of the custom event is bound, the associated attribute information of the attribute element is generated according to the attribute name, the data type, the path information and other information of the attribute element, and the associated attribute information of the attribute element and the associated custom event are correspondingly stored in the database, so that the binding of the associated attribute of the custom event is completed.
Optionally, the information of the associated property bound for the custom event may be displayed in an associated property list area (such as the property list shown in fig. 3) on the associated property binding interface, so that the user can view the associated property bound for the custom event. As shown in fig. 3, the associated attribute list area is exemplarily illustrated in fig. 3 by taking 3 associated attributes including "second kill price", "weight", and "name of goods" in the attribute list as an example.
Optionally, in response to deleting the associated attribute, the associated attribute bound for the custom event may also be deleted.
Optionally, in response to the operation of modifying the associated property, the information of the associated property to be modified may be displayed on the associated property binding interface, and an editing interface for the associated property is provided, so that the user may edit the information of the associated property again through the editing interface for the associated property.
And S205, monitoring the custom event based on the full-buried point technology, and acquiring the associated attribute data of the custom event.
In this embodiment, code embedding can be performed once in each target page based on a full embedding technology according to a created custom event, so that monitoring of a plurality of custom events in the target page is realized according to event element path information of the custom event, and the complexity of code embedding can be reduced and the monitoring efficiency can be improved by the full embedding technology.
In the step, when a user-defined event is monitored to be triggered, acquiring the associated attribute information of the user-defined event; and acquiring attribute data associated with the custom event according to the associated attribute information of the custom event. In this way, the associated attribute can be bound for the user-defined event, only the attribute data of the associated attribute concerned by the user can be monitored, the flexibility of data monitoring is improved, unnecessary resources occupied by monitored data are reduced, the association between data is increased, and the usability of the monitored data is improved.
The method comprises the steps of receiving an event name and belonging page information of an event element input by a user through responding to an event creating operation of the event element on a target page; extracting path information of the event element from the target page; according to the event name, the page information and the path information of the event element, a user-defined event corresponding to the event element is created, and the user can automatically create the user-defined event through a visual interface according to the needs of the user; acquiring the attribute name and the data type of the attribute element by responding to the selection operation of the attribute element on the target page; extracting path information of attribute elements from a target page; generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements; the associated attribute information is associated with the custom event, and the user can self-act the custom event to bind the associated attribute through a visual interface according to the requirement of the user; and then monitoring the custom event based on a full-buried point technology to obtain the associated attribute data of the custom event, wherein only the attribute data of the associated attribute concerned by the user can be monitored, so that the flexibility of data monitoring is improved, unnecessary resource occupation of monitored data is reduced, the association among data is increased, and the usability of the monitored data is improved.
A third embodiment of the present application provides a data listening device. Fig. 5 is a schematic structural diagram of a data snooping device according to a third embodiment of the present application. As shown in fig. 5, the data listening device 30 includes: a custom event creating module 301, an associated property binding module 302 and a listening module 303.
Specifically, the custom event creating module 301 is configured to create a custom event in response to an event creating operation on an event element on the target page.
The associated property binding module 302 is configured to bind the associated property of the custom event in response to a property association operation on the custom event.
The monitoring module 303 is configured to monitor the user-defined event and obtain associated attribute data of the user-defined event.
The apparatus provided in this embodiment of the present application may be specifically configured to execute the method embodiment provided in the first embodiment, and specific functions are not described herein again.
The embodiment creates a custom event by responding to the event creating operation of the event element on the target page; responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event; the method monitors the custom event to obtain the associated attribute data of the custom event, can realize the creation of the custom event which the user wants to monitor according to the operation of the user on the visual operation interface, and binds the associated attribute for the custom event, can pointedly obtain the desired monitored data by monitoring the custom event, improves the flexibility of data monitoring, reduces the resource occupation of unnecessary monitored data, increases the association between data and improves the usability of the monitored data.
A fourth embodiment of the present application provides a data listening device. On the basis of the third embodiment, in this embodiment, the custom event creating module is further configured to:
responding to an event creating operation of an event element on a target page, and receiving an event name and belonging page information of the event element input by a user; extracting path information of the event element from the target page; and creating a custom event corresponding to the event element according to the event name, the page information and the path information of the event element.
Optionally, the associated property binding module is further configured to:
responding to the selection operation of the attribute elements on the target page, and acquiring the attribute names and the data types of the attribute elements; extracting path information of the attribute elements from the target page; generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements; and associating the associated attribute information with the custom event.
Optionally, the custom event creating module is further configured to:
receiving a page address of a target page input by a user; and acquiring page data of the target page according to the page address, and displaying the target page.
Optionally, the monitoring module is further configured to:
when the fact that the user-defined event is triggered is monitored, acquiring associated attribute information of the user-defined event; and acquiring attribute data associated with the custom event according to the associated attribute information of the custom event.
Optionally, the monitoring module is further configured to:
and monitoring the user-defined event based on a full-buried point technology to obtain associated attribute data of the user-defined event.
Optionally, the page information of the event element includes: and the path information of at least one page in which the custom event corresponding to the event element takes effect.
The apparatus provided in this embodiment of the present application may be specifically configured to execute the method embodiment provided in the second embodiment, and specific functions are not described herein again.
The method comprises the steps of receiving an event name and belonging page information of an event element input by a user by responding to an event creating operation of the event element on a target page; extracting path information of the event element from the target page; according to the event name, the page information and the path information of the event element, a user-defined event corresponding to the event element is created, and the user can automatically create the user-defined event through a visual interface according to the needs of the user; the method comprises the steps of responding to selection operation of attribute elements on a target page, and obtaining attribute names and data types of the attribute elements; extracting path information of the attribute elements from the target page; generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements; the associated attribute information is associated with the custom event, and the user can self-act the custom event to bind the associated attribute through a visual interface according to the requirement of the user; and then monitoring the custom event based on a full-buried point technology to obtain the associated attribute data of the custom event, wherein only the attribute data of the associated attribute concerned by the user can be monitored, so that the flexibility of data monitoring is improved, unnecessary resource occupation of monitored data is reduced, the association among data is increased, and the usability of the monitored data is improved.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors Y01, a memory Y02, and interfaces for connecting the components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor Y01 is taken as an example.
The memory Y02 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the data snooping method provided by the application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the data listening method provided herein.
The memory Y02 serves as a non-transitory computer readable storage medium, and can be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the data interception method in the embodiment of the present application (for example, the custom event creation module 301, the associated property binding module 302, and the interception module 303 shown in fig. 5). The processor Y01 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory Y02, that is, implements the data interception method in the above method embodiment.
The memory Y02 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device of the data listening method, and the like. Further, the memory Y02 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory Y02 may optionally include a memory remotely disposed from the processor Y01, and these remote memories may be connected to the electronic device of the data listening method through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the data listening method may further include: an input device Y03 and an output device Y04. The processor Y01, the memory Y02, the input device Y03, and the output device Y04 may be connected by a bus or other means, and are exemplified by being connected by a bus in fig. 6.
The input device Y03 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device for data listening, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, and the like. The output device Y04 may include a display apparatus, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the user-defined event is created by responding to the event creating operation of the event element on the target page; responding to the attribute association operation of the custom event, and binding the associated attribute of the custom event; the user-defined event is monitored, the associated attribute data of the user-defined event is obtained, the user-defined event which the user wants to monitor can be created according to the operation of the user on the visual operation interface, the associated attribute is bound for the user-defined event, the desired monitored data can be obtained in a targeted mode by monitoring the user-defined event, the flexibility of data monitoring is improved, unnecessary resources occupied by the monitored data are reduced, the association among the data is increased, and the usability of the monitored data is improved.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for data snooping, comprising:
responding to an event creating operation of a user on an event element on a target page, and creating a self-defined event;
responding to the selection operation of a user on the attribute elements on the target page, and acquiring the attribute names and the data types of the attribute elements; extracting path information of the attribute elements from the target page;
generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements, and associating the associated attribute information with the custom events;
and monitoring the user-defined event to obtain the associated attribute data of the user-defined event.
2. The method according to claim 1, wherein the creating a custom event in response to a user's event creating operation on an event element on a target page comprises:
receiving an event name and belonging page information of an event element input by a user in response to an event creating operation on the event element on a target page;
extracting path information of the event element from the target page;
and creating a custom event corresponding to the event element according to the event name, the page information and the path information of the event element.
3. The method according to claim 1 or 2, wherein before creating the custom event in response to the event creating operation for the event element on the target page, the method further comprises:
receiving a page address of the target page input by a user;
and acquiring page data of the target page according to the page address, and displaying the target page.
4. The method of claim 1, wherein the monitoring the custom event and obtaining associated attribute data of the custom event comprises:
when the self-defining event is monitored to be triggered, acquiring the associated attribute information of the self-defining event;
and acquiring attribute data associated with the custom event according to the associated attribute information of the custom event.
5. The method according to claim 1 or 4, wherein the monitoring the custom event and obtaining the associated attribute data of the custom event comprises:
monitoring the user-defined event based on a full-buried point technology, and acquiring associated attribute data of the user-defined event.
6. The method of claim 2, wherein:
the page information of the event element comprises: and the path information of at least one page in which the custom event corresponding to the event element takes effect.
7. A data listening device, comprising:
the user-defined event creating module is used for responding to the event creating operation of the event elements on the target page and creating user-defined events;
the associated attribute binding module is used for responding to the selection operation of the user on the attribute elements on the target page and acquiring the attribute names and the data types of the attribute elements; extracting path information of the attribute elements from the target page;
generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements, and associating the associated attribute information with the custom events;
and the monitoring module is used for monitoring the custom event and acquiring the associated attribute data of the custom event.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
9. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
10. A method for data snooping, comprising:
obtaining a user-defined event and the associated attribute of the user-defined event; the custom event is created in response to an event creating operation of a user on an event element on a target page;
monitoring the user-defined event to obtain the associated attribute data of the user-defined event;
the obtaining of the associated attribute of the custom event includes: responding to the selection operation of a user on the attribute elements on the target page, and acquiring the attribute names and the data types of the attribute elements; extracting path information of the attribute elements from the target page;
and generating associated attribute information corresponding to the attribute elements according to the attribute names, the data types and the path information of the attribute elements, and associating the associated attribute information with the custom events.
CN201910828154.2A 2019-09-03 2019-09-03 Data monitoring method, device, equipment and computer readable storage medium Active CN110532159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910828154.2A CN110532159B (en) 2019-09-03 2019-09-03 Data monitoring method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910828154.2A CN110532159B (en) 2019-09-03 2019-09-03 Data monitoring method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110532159A CN110532159A (en) 2019-12-03
CN110532159B true CN110532159B (en) 2023-04-18

Family

ID=68666564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910828154.2A Active CN110532159B (en) 2019-09-03 2019-09-03 Data monitoring method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110532159B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309558B (en) * 2020-02-19 2021-06-15 望海康信(北京)科技股份公司 Method, device, equipment and storage medium for collecting vue event data in frame
CN112068847B (en) * 2020-09-07 2022-05-13 海南大学 Computing environment deployment method and device based on kubernets platform
CN112052418B (en) * 2020-09-08 2024-03-05 新奥数能科技有限公司 Data configuration method and device
CN115695635B (en) * 2021-07-29 2024-04-05 上海博泰悦臻网络技术服务有限公司 Operation prompting method, storage medium and electronic equipment
CN114371889B (en) * 2022-01-19 2023-10-13 苏州峰之鼎信息科技有限公司 Event configuration method, device, electronic equipment and storage medium
CN114500029A (en) * 2022-01-21 2022-05-13 高途教育科技集团有限公司 Data access method and device, electronic equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143458A1 (en) * 2002-11-04 2004-07-22 Instrumentarium Corporation Method and system for integrated processing of automatically collected interaction data
US7552445B2 (en) * 2002-12-13 2009-06-23 Savvis Communications Corporation Systems and methods for monitoring events from multiple brokers
CN101950337A (en) * 2010-09-08 2011-01-19 乔永清 System and method for monitoring website truthful data
CN106383765B (en) * 2016-08-31 2019-04-26 北京百分点信息科技有限公司 A kind of data monitoring method and device
CN108536451B (en) * 2016-12-05 2021-06-15 腾讯科技(深圳)有限公司 Method and device for embedding embedded point of application program
CN107704605B (en) * 2017-10-13 2021-04-09 北京中教在线科技有限公司 User behavior recording method based on local storage
CN108415804B (en) * 2018-01-23 2021-06-04 平安普惠企业管理有限公司 Method for acquiring information, terminal device and computer readable storage medium
CN108847977B (en) * 2018-06-14 2021-06-25 平安科技(深圳)有限公司 Service data monitoring method, storage medium and server
CN109213952A (en) * 2018-08-02 2019-01-15 平安科技(深圳)有限公司 Page access processing method, device, computer equipment and storage medium
CN109710354A (en) * 2018-12-13 2019-05-03 平安普惠企业管理有限公司 Page monitor method, page restoring method, device, equipment and medium
CN109960633A (en) * 2019-03-28 2019-07-02 深圳市跃动运营科技有限公司 A kind of data visualization buries point methods, storage medium and intelligent terminal

Also Published As

Publication number Publication date
CN110532159A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110532159B (en) Data monitoring method, device, equipment and computer readable storage medium
CN111460285B (en) Information processing method, apparatus, electronic device and storage medium
JP7317879B2 (en) METHOD AND DEVICE, ELECTRONIC DEVICE, STORAGE MEDIUM AND COMPUTER PROGRAM FOR RECOGNIZING VIDEO
CN110619002A (en) Data processing method, device and storage medium
CN111813623B (en) Page monitoring method and device, electronic equipment and storage medium
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN102467365A (en) Method and device for providing help information
CN113934913A (en) Data capture method and device, storage medium and electronic equipment
CN112561332A (en) Model management method, model management apparatus, electronic device, storage medium, and program product
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
CN111881339A (en) Resource information pushing and informing method and device, electronic equipment and storage medium
CN111610972A (en) Page generation method, device, equipment and storage medium
CN112667795B (en) Dialogue tree construction method and device, dialogue tree operation method, device and system
CN111310044A (en) Method, device, equipment and storage medium for extracting page element information
CN112528608B (en) Page editing method, page editing device, electronic equipment and storage medium
CN112383825B (en) Video recommendation method and device, electronic equipment and medium
CN112558968A (en) Resource tree view generation method, device, equipment and storage medium
CN111581518A (en) Information pushing method and device
CN112699314A (en) Hot event determination method and device, electronic equipment and storage medium
CN113778542B (en) Service configuration table generation method and device
CN114661274A (en) Method and device for generating intelligent contract
CN112148279B (en) Log information processing method, device, electronic equipment and storage medium
CN112446728B (en) Advertisement recall method, device, equipment and storage medium
CN111651229A (en) Font changing method, device and equipment
CN111177558A (en) Channel service construction method and device

Legal Events

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