WO2019196498A1 - 页面数据采集的方法、装置、服务器、电子设备及计算机可读介质 - Google Patents
页面数据采集的方法、装置、服务器、电子设备及计算机可读介质 Download PDFInfo
- Publication number
- WO2019196498A1 WO2019196498A1 PCT/CN2018/122297 CN2018122297W WO2019196498A1 WO 2019196498 A1 WO2019196498 A1 WO 2019196498A1 CN 2018122297 W CN2018122297 W CN 2018122297W WO 2019196498 A1 WO2019196498 A1 WO 2019196498A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- control
- current
- listener
- current page
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3438—Recording 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/535—Tracking the activity of the user
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/86—Event-based monitoring
Definitions
- the present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a server, an electronic device, and a computer readable medium for page data collection.
- APP Application, APP
- App developers or companies often want to collect and analyze the data used by the developed APP users, so that they can better understand the users. Behavior and feedback on the product, in order to further optimize and upgrade the APP and subsequent business, or give users better recommendations.
- a method for page data collection comprising: communicating with a server to obtain configuration information from a server.
- the configuration information includes control information; traversing all the controls in the current page, and determining, for each of the controls, whether the control is a control indicated by the control information in the configuration information; a control indicated by the control information in the configuration information, and a listener is set for the control; and the behavior data is collected by the listener by using the listener.
- the method further includes: searching for whether the control is recording.
- the method further comprises: responsive to determining that there is no record of the control: recording the control, determining whether the control has a listener, and in response to determining that the control has a listener, Replacing the existing listener with a new listener, wherein the new listener adds a behavioral data collection function corresponding to the type of the control on the existing listener, in response to determining The control has no listeners and sets the listener for the control.
- the method further comprises: responsive to determining that the control has a record: renewing the original listener.
- the configuration information further includes page information; the method further includes: obtaining a duration from the entry to the exit of the current page and a page name.
- obtaining the duration and the page name from entering to exiting the current page including: obtaining the time to enter the current page and the page name; wherein, obtaining the time and page name of entering the current page, specifically: responding to entering The current page records the time of entering the current page, identifies the status of the current page as visible, and stores the page name including the current page and the page information of the page object; when storing the page information, determining whether the current storage directory is visible or not The main window page of the state; in response to the main window page having the visible state, the current page is used as the child window page of the visible state main window page; in response to the main window page having no visible state, the current page is used as the main window page .
- the method further includes: determining whether the current page is a child window when the current page exits; The current page is a child window page, the current time is subtracted from the time of entering the current page as the duration from entering to exiting the current page; and the status of the current page is identified as invisible; in response to the current page being not a child window page, The current page and the child window page attached to the current page and identified as visible state adopt the current time minus the time of each entry as the duration of the respective page from entry to exit; and the current page and the current page are attached to the current page. The status of the child window page that is identified as a visible state is not visible.
- a listener is set for the control using reflection and dynamic proxying.
- the method further comprises: parsing and storing the configuration information locally.
- control information includes a control ID, an associated control ID.
- the method further comprises uploading at least the collected behavior data to the server.
- a second aspect provides a page data collection apparatus, including: a communicator configured to communicate with a server to obtain configuration information from a server; the configuration information includes control information; and a control event monitor configured to traverse the current page All controls, for each of the controls, determining whether the control is a control indicated by the control information in the configuration information; and in response to the control being a control indicated by the control information in the configuration information, And setting a listener for the control; and performing behavior data collection on the control by using the listener.
- control event monitor is configured to: after determining that the control is a control indicated by the control information in the configuration information, before setting a listener for the control, The record of the control.
- control event monitor is further configured to: responsive to determining that there is no record of the control: recording the control, determining whether the control has a listener, in response to determining that the control has There is a listener that replaces the existing listener with a new listener, wherein the new listener adds behavior data collection function corresponding to the type of the control on the existing listener, and responds To determine that the control has no listeners, set a listener for the control.
- control event monitor is further configured to: responsive to determining that there is a record of the control: renewing the original listener.
- the configuration information further includes page information; based on the page data collection device, the page data collection device further includes a page statistic configured to acquire a duration from the entry to the exit of the current page and a page name.
- the page statistic obtains the duration from the entry to the exit of the current page and the name of the page, including: the time when the page statisticter obtains the current page and the name of the page; wherein the page statistic obtains the current page Time and page name, including: in response to entering the current page, recording the time of entering the current page, identifying the status of the current page as visible, and storing the page name including the current page and the page information of the page object; storing the page Information, determining whether there is a visible state main window page in the current storage directory; in response to the main window page having the visible state, the current page is used as the child window page of the visible state main window page; in response to the absence of the visible state The main window page, the current page as the main window page.
- the page statistic obtains the time and page name of entering the current page, it also obtains the duration from the entry to the exit of the current page; wherein the page statistic obtains the duration from the entry to the exit of the current page. , including: determining whether the current page is a child window page when the current page exits; in response to the current page being a child window page, subtracting the current time from the current time into the current page as the duration from entering to exiting the current page; The status of the current page is not visible; in response to the current page being not a child window, the current page and the child window page attached to the current page and identified as visible are all subtracted from the current time. As the duration of the respective page from entry to exit; the status of the current page and the child window page attached to the current page and identified as visible is identified as invisible.
- the page data collection device further includes a parser configured to parse the configuration information acquired from the server and store it locally.
- the communicator is further configured to upload at least the collected behavior data to the server.
- a server including: a configuration memory configured to store configuration information; the configuration information includes control information; and a request receiver, when receiving a request for acquiring the configuration information sent by the page data collection device, The configuration information is sent to the page data collection device.
- the server further includes a collector configured to store and analyze behavior data uploaded by the page data collection device.
- the configuration information further includes page information; the collector is further configured to store and analyze the duration of the page data collection device uploaded from the entry to the exit current page and the page name.
- a fourth aspect provides an electronic device, including: a processor, a memory; the memory is configured to store one or more programs; and when the one or more programs are executed by the processor, implementing the first aspect Said method.
- a computer readable medium having stored thereon a computer program, which when executed, implements the method of the first aspect.
- FIG. 1 is a schematic flowchart 1 of a page data collection method provided by the present disclosure.
- FIG. 2 is a schematic flowchart 2 of a page data collection method provided by the present disclosure.
- FIG. 3 is a schematic flowchart 3 of a page data collection method provided by the present disclosure.
- FIG. 4 is a schematic flowchart diagram 4 of a page data collection method provided by the present disclosure.
- FIG. 5 is a schematic flowchart 5 of a page data collection method provided by the present disclosure.
- FIG. 6 is a schematic flowchart of a method for obtaining a time and a page name entering a current page according to the present disclosure.
- FIG. 7 is a schematic flowchart diagram of a method for obtaining a duration from entering to exiting a current page according to the present disclosure.
- FIG. 8 is a schematic flowchart 6 of a page data collection method provided by the present disclosure.
- FIG. 9 is a schematic structural diagram 1 of a page data collection device provided by the present disclosure.
- FIG. 10 is a schematic structural diagram 2 of a page data collection apparatus provided by the present disclosure.
- FIG. 11 is a schematic structural diagram 3 of a page data collection apparatus provided by the present disclosure.
- FIG. 12 is a schematic structural diagram 1 of a server provided by the present disclosure.
- FIG. 13 is a schematic structural diagram 2 of a server provided by the present disclosure.
- the embodiment of the present disclosure provides a method for collecting page data, as shown in FIG. 1 , including:
- the page data collection method is performed by the terminal device.
- Various applications can be installed on the terminal device, such as a shopping application, a web browser application, a search application, an instant communication tool, a mailbox client, and the like.
- Terminal devices include, but are not limited to, mobile phones, tablets, portable computers, desktop computers, and the like.
- the terminal device can communicate with the server via a wired or wireless network.
- control has a text control, a picture control, a button control, a selection box control, an input box control, a progress bar control, and the like.
- control information included in the configuration information in the server should be the information of the control that needs to perform behavior data collection.
- a control is a control indicated by the control information in the configuration information
- a listener is set for the control, essentially creating a new listener to replace the original listener, and the new listener is added to the
- This function code will be preset into the program.
- the new listener responds to the event data, and also calls the event listener function of the original listener to complete the original function logic of the control.
- the behavior data collection function should be based on the type of control. For example, for the button control, the collected behavior data is clicked; for the selection box control, the selected behavior data can be collected, and the click behavior data can also be collected.
- the control can collect multiple behavior data, it is necessary to determine which behavior data to collect when developing the program, so that the preset code knows what type of listener to use to replace the original listener (ie, which behavior is added) Data collection function). Once the collected behavior is defined, the function of the acquisition is determined when the behavior occurs.
- the present disclosure is the behavior data collection without the burying method. It should also be noted here that the present disclosure only needs to add code when the page is displayed and disappears when developing the APP. Specifically, using the non-buried point method to collect behavior data requires calling the interface, and the place where the interface is called is where the page is displayed and disappears.
- the embodiment of the present disclosure provides a method for collecting page data, by storing configuration information including control information in a server, and the control indicated by the control information is a control that needs to collect behavior data, and the configuration information may be acquired at the terminal device.
- the listener is set only for the control indicated in the configuration information, and the behavior data is collected.
- the behavior data collection function is preset to the program in advance, when the listener is set for the control, it is added, and thus, the buried point method used in the reference technology (that is, written in the event processing function) Code)
- this disclosure does not need to add code when each control event is processed, which can reduce the complexity of the development process.
- you need to update the listener for control events you don't need to rewrite the code and update the software, the operation is simple.
- the method further includes:
- the configuration information is analyzed and stored in the terminal device.
- control information includes a control ID, and further may include an associated control ID.
- the configuration information includes the control ID
- the control is the control indicated by the control information in the configuration information.
- the terminal dynamically monitors the control event by sending configuration information by the server.
- the control information in the configuration information delivered by the server includes the associated control ID, the event can be carried to carry other behavior data information.
- the method further includes: S15: upload the collected behavior data to the server.
- the terminal device After the terminal device uploads the collected behavior data to the server and stores the data, the terminal device can perform subsequent analysis and processing.
- the configuration information further includes page information; based on this, as shown in FIG. 4, the method further includes: S16: acquiring a duration from the entry to the exit of the current page and a page name. In order to provide a more in-depth analysis of user behavior.
- the method further includes: S17, uploading the duration from the entry to the exit current page and the page name to the server.
- the duration from the entry to the exit of the current page and the name of the page are obtained, including: obtaining the time to enter the current page and the name of the page.
- the time and page name of the current page are obtained, as shown in FIG. 6, including:
- the page information can exist in a directory (List).
- the page is divided into a main window page and a sub-window page attached to the main window.
- a directory For example, under an Activity (active page), there may be multiple Fragments (part of the page), Activity is the main window, and Fragment is the child window.
- the class name of the Activity or Fragment can be stored as the page name, and the current time is recorded.
- the statistics of the Activity and Fragment are implemented by using the class name of the Activity or Fragment as the page name.
- the current page is used as the main window page.
- the method further includes: S18, searching whether There is a record of the control.
- setting a listener for the control includes: if there is no record of the control, recording the control, and setting a listener for the control, wherein if the control has a listener, Then, a new listener is used to replace the existing listener, and the new listener adds a behavior data collection function corresponding to the type of the control on the existing listener, if the control does not monitor Set the listener for it, obviously, the listener has a behavior data collection function corresponding to the type of the control; if the record of the control is found, no processing is performed, that is, the original is continued Listener.
- the Android system When traversing all the controls of the page, if the ID of a certain control is the same as the control ID included in the configuration information, the control is a control that needs to collect data;
- the record of the control if there is no record of the control, the control is recorded, for example, can be recorded in a HashMap, the key can be an ID, the Value is the control itself, and Add a data collection function to the listener corresponding to the control. If the record of the control is found, no processing is performed, that is, the original listener is continued. Among them, if the control is recorded in the HashMap, it should also be searched in the HashMap when searching.
- a listener is set for the control using reflection and dynamic proxying.
- a dynamic listener is used to create a new listener, but this new listener requires a parameter when it is created, which is the original listener.
- the original listener needs to be retrieved using the reflection mechanism.
- the embodiment of the present disclosure further provides a page data collection device, as shown in FIG. 9, comprising: a communicator 10 and a control event monitor 20.
- the communicator 10 is configured to communicate with a server to obtain configuration information from the server; the configuration information includes control information.
- the control information may include a control ID and an associated control ID.
- the control event monitor 20 is configured to traverse all the controls in the current page, and for each control, determine whether the control is a control indicated by the control information in the configuration information; if yes, set a new listener for the control The new listener adds behavior data collection function corresponding to the type of the control based on the original listener.
- control information included in the configuration information in the server should be the information of the control that needs to perform behavior data collection.
- a control is a control indicated by the control information in the configuration information
- a listener is set for the control, essentially creating a new listener to replace the original listener, and the new listener is added to the
- This function code will be preset into the program.
- the new listener responds to the event data, and also calls the event listener function of the original listener to complete the original function logic of the control.
- the listener can be set for the control by means of reflection and dynamic proxy.
- a dynamic listener is used to create a new listener, but this new listener requires a parameter when it is created, which is the original listener.
- the original listener needs to be retrieved using the reflection mechanism.
- Behavior data collection should be based on the type of control. For example, for the button control, the collected behavior data is clicked; for the selection box control, the selected behavior data can be collected, and the click behavior data can also be collected.
- the control can collect multiple behavior data, it is necessary to determine which behavior data to collect when developing the program, so that the preset code knows what type of listener to use to replace the original listener (ie, which behavior is added) Data collection function). Once the collected behavior is defined, the function of the acquisition is determined when the behavior occurs.
- the embodiment of the present disclosure provides a page data collection device, by storing configuration information including control information in a server, and the control indicated by the control information is a control that needs to collect behavior data, and can be acquired by the terminal device through the communicator 10
- the control event monitor 20 when the user browses the current page, the control event monitor 20 only sets a listener for the control indicated in the configuration information, and the new listener adds on the basis of the original listener.
- the behavior data collection function corresponding to the type of the control realizes collection of behavior data.
- the behavior data collection function is preset to the program in advance, when the listener is set for the control, it is added, and thus, the buried point method used in the reference technology (that is, written in the event processing function) Code), this disclosure does not need to add code when each control event is processed, which can reduce the complexity of the development process.
- the configuration information further includes page information; based on this, as shown in FIG. 10, the page data collection device further includes a page statistic 30 configured to acquire a duration from the entry to the exit of the current page.
- the page name In order to provide a more in-depth analysis of user behavior.
- the page statistic 30 acquires the duration from the entry to the exit of the current page and the page name, including: the page statistic 30 obtains the time to enter the current page and the page name.
- the page statistic 30 obtains the time and page name of entering the current page, including: in response to entering the current page, recording the time of entering the current page, identifying the status of the current page as visible, and storing the page name and page including the current page.
- the page information of the object when storing the page information, determining whether there is a visible window of the main window in the current storage directory; if present, using the current page as the child window page of the visible state main window page; otherwise, the current The page serves as the main window page.
- the page information can exist in a List.
- the page is divided into a main window page and a sub-window page attached to the main window.
- there may be multiple Fragments in an Activity the Activity is the main window, and the Fragment is a child window.
- the class name of the Activity or Fragment can be stored as the page name, and the current time is recorded.
- the statistics of the Activity and Fragment are implemented by using the class name of the Activity or Fragment as the page name.
- the page statistic 30 obtains the time and page name of entering the current page, it also acquires the duration from the entry to the exit of the current page.
- the page statistic obtains the duration from the entry to the exit of the current page, including: determining whether the current page is a child window when the current page exits; if yes, subtracting the current time from entering the current page as the entry to exit The duration of the current page; and the status of the current page is marked as invisible; if not, the current page and the child window pages attached to the current page and identified as visible are subtracted from each other by the current time. Time, as the duration of the respective page from entry to exit; and identifies the current page and the status of the child window page attached to the current page and identified as visible as invisible.
- control event monitor 20 is configured to: after determining that the control is a control indicated by the control information in the configuration information, before setting a listener for the control, a record of the control; wherein, if there is no record of the control, the control is recorded, and a listener is set for the control, wherein if the control has a listener, the new listener is replaced An existing listener, the new listener adds a behavior data collection function corresponding to the type of the control on the existing listener, and if the control does not have a listener, set a listener for the control.
- the listener has a behavior data collection function corresponding to the type of the control; if the record of the control is found, no processing is performed, that is, the original listener is continued.
- the Android system When traversing all the controls of the page, if the ID of a certain control is the same as the control ID included in the configuration information, the control is a control that needs to collect data;
- the record of the control if there is no record of the control, the control is recorded, for example, can be recorded in a HashMap, the key can be an ID, the Value is the control itself, and the data is added in the listener corresponding to the control. Acquisition function. If the record of the control is found, no processing is performed, that is, the original listener is continued. Among them, if the control is recorded in the HashMap, it should also be searched in the HashMap when searching.
- the page data collection device further includes a parser 40 configured to parse the configuration information acquired from the server and store it locally. That is, the configuration information is analyzed and stored in the terminal device.
- the communicator 10 is further configured to upload at least the collected behavior data to the server.
- the collected behavior data is uploaded to the server through the communicator 10, and after the server stores the data, the subsequent analysis processing can be performed.
- the communicator 10 may also upload the duration from the entry to the exit current page and the page name to the server.
- the embodiment of the present disclosure further provides a server, as shown in FIG. 12, including: a configuration memory 50 and a request receiver 60.
- the configuration memory 50 is configured to store configuration information; the configuration information includes control information.
- the configuration information is stored, for example, in the form of an xml file or json format data.
- the control information includes a control ID, and further may include an associated control ID.
- the configuration information includes the control ID
- the control is the control indicated by the control information in the configuration information.
- the terminal dynamically monitors the control event by sending configuration information by the server.
- the control information in the configuration information delivered by the server includes the associated control ID, the event can be carried to carry other behavior data information.
- the request receiver 60 when receiving the request for acquiring the configuration information sent by the page data collection device, sends the configuration information to the page data collection device.
- the terminal device obtains the configuration information
- the new listener is based on the original listener.
- the behavior data collection function corresponding to the type of the control is added to realize the collection of behavior data. Since the behavior data collection function is preset into the program in advance, when the listener is set for the control, it is added, and thus, compared with the buried point method used in the reference technology (that is, the code is written in the event processing function), The present disclosure does not require adding code at the time of each control event processing, which reduces the complexity of the development process.
- the server further includes a collector 70 configured to store and analyze behavior data uploaded by the page data collection device. After the collected behavior data is uploaded to the server and stored by the server, subsequent analysis and processing can be performed.
- the collector 70 is further configured to store and analyze the duration of the page data collection device uploaded from the entry to the exit current page and the page name. In order to provide a more in-depth analysis of user behavior.
- An embodiment of the present disclosure further provides an electronic device, including: a processor, a memory; the memory is configured to store one or more programs; and when the one or more programs are executed by the processor, implementing the foregoing page Data collection method.
- the embodiment of the present disclosure further provides a computer readable medium having stored thereon a computer program, and when the computer program is executed, implementing the page data collection method described above.
- the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
- the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Abstract
Description
Claims (25)
- 一种页面数据采集的方法,包括:与服务器进行通信,从服务器获取配置信息,所述配置信息包括控件信息;遍历当前页面中的所有控件,针对每个所述控件,判断所述控件是否为所述配置信息中所述控件信息所指示的控件;响应于所述控件是所述配置信息中所述控件信息所指示的控件,为所述控件设置监听器;通过所述监听器,对所述控件进行行为数据采集。
- 根据权利要求1所述的方法,其中,在判断所述控件为所述配置信息中所述控件信息所指示的控件之后,在为所述控件设置监听器之前,所述方法还包括:查找是否有所述控件的记录。
- 根据权利要求2所述的方法,进一步包括:响应于确定没有所述控件的记录:对所述控件进行记录;确定所述控件是否已有监听器;响应于确定所述控件已有监听器,将已有的监听器替换为新的监听器,其中所述新的监听器是在所述已有的监听器上增加与所述控件的类型相对应的行为数据采集功能;响应于确定所述控件没有监听器,为所述控件设置监听器,所述监听器具有与所述控件的类型相对应的行为数据采集功能。
- 根据权利要求3所述的方法,进一步包括:响应于确定有所述控件的记录:则续用原有的监听器。
- 根据权利要求1所述的方法,其中,利用反射和动态代理的方式,为所述控件设置监听器。
- 根据权利要求1-5任一项所述的方法,其中,在从服务器获取所述配置信息之后,遍历当前页面中的所有控件之前,所述方法还包括:将所述配置信息进行解析并存储于本地。
- 根据权利要求1所述的方法,其特征在于,所述配置信息还包括页面信息;所述方法还包括:获取从进入到退出当前页面的持续时长和页面 名称。
- 根据权利要求7所述的方法,其中,获取从进入到退出当前页面的持续时长和页面名称,包括:获取进入当前页面的时间和页面名称;获取进入当前页面的时间和页面名称,具体包括:响应于进入当前页面,记录进入当前页面的时间,将当前页面的状态标识为可见,并存储包括当前页面的页面名称和页面对象的页面信息;在存储所述页面信息时,判断当前存储目录中是否存在可见状态的主窗口页面;响应于存在可见状态的主窗口页面,则把当前页面作为该可见状态主窗口页面的子窗口页面;否则,把当前页面作为主窗口页面。
- 根据权利要求8所述的方法,其中,获取进入当前页面的时间和页面名称之后,所述方法进一步包括:响应于退出当前页面,判断当前页面是否为子窗口页面;响应于当前页面是子窗口页面,将当前时间减去进入当前页面的时间作为从进入到退出当前页面的持续时长;并将当前页面的状态标识为不可见;响应于当前页面不是子窗口页面,将该当前页面及附属于该当前页面且标识为可见状态的子窗口页面,都采用当前时间减去各自进入的时间,作为各自页面从进入到退出的持续时长;并将当前页面及附属于该当前页面且标识为可见状态的子窗口页面的状态标识为不可见。
- 根据权利要求1-5、7-9任一项所述的方法,其中,所述控件信息包括控件ID、关联控件ID。
- 根据权利要求1-5、7-9任一项所述的方法,其中,所述方法还包括:至少将采集到的行为数据上传至服务器。
- 一种页面数据采集装置,包括:通信器,配置为与服务器进行通信,从服务器获取配置信息,所述配置信息包括控件信息;控件事件监控器,配置为遍历当前页面中的所有控件,针对每个所述控件,判断所述控件是否为所述配置信息中所述控件信息所指示 的控件;响应于所述控件是所述配置信息中所述控件信息所指示的控件,为所述控件设置监听器;通过所述监听器,对所述控件进行行为数据采集。
- 根据权利要求10所述的页面数据采集装置,其中,所述控件事件监控器进一步配置为,在判断所述控件为所述配置信息中所述控件信息所指示的控件之后,在为所述控件设置监听器之前,还查找是否有所述控件的记录。
- 根据权利要求13所述的页面数据采集装置,其中,所述控件事件监控器进一步配置为:响应于确定没有所述控件的记录:对所述控件进行记录;确定所述控件是否已有监听器;响应于确定所述控件已有监听器,将已有的监听器替换为新的监听器,其中所述新的监听器是在所述已有的监听器上增加与所述控件的类型相对应的行为数据采集功能;响应于确定所述控件没有监听器,为所述控件设置监听器,所述监听器具有与所述控件的类型相对应的行为数据采集功能。
- 根据权利要求14所述的页面数据采集装置,其中,所述控件事件监控器进一步配置为:响应于确定有所述控件的记录:续用原有的监听器。
- 根据权利要求12-15任一项所述的页面数据采集装置,其中,还包括解析器,配置为将从服务器获取的所述配置信息进行解析,并存储于本地。
- 根据权利要求12所述的页面数据采集装置,其中,所述配置信息还包括页面信息;所述页面数据采集装置还包括页面统计器,配置为获取从进入到退出当前页面的持续时长和页面名称。
- 根据权利要求17所述的页面数据采集装置,其中,所述页面统计器获取从进入到退出当前页面的持续时长和页面名称,包括:所述页面统计器获取进入当前页面的时间和页面名称;其中,所述页面统计器获取进入当前页面的时间和页面名称,包括:响应于进入当前页面,记录进入当前页面的时间,将当前页面的状态标识为可见,并存储包括当前页面的页面名称和页面对象的页面信息;在存储所述页面信息时,判断当前存储目录中是否存在可见状态的主窗口页面;响应于存在可见状态的主窗口页面,则把当前页面作为该可见状态主窗口页面的子窗口页面;响应于不存在可见状态的主窗口页面,把当前页面作为主窗口页面。
- 根据权利要求18所述的页面数据采集装置,其中,所述页面统计器配置为获取进入当前页面的时间和页面名称后,还获取从进入到退出当前页面的持续时长;其中,所述页面统计器获取从进入到退出当前页面的持续时长,包括:在当前页面退出时,判断当前页面是否为子窗口页面;响应于当前页面是子窗口页面,将当前时间减去进入当前页面的时间作为从进入到退出当前页面的持续时长;并将当前页面的状态标识为不可见;响应于当前页面不是子窗口页面,将该当前页面及附属于该当前页面且标识为可见状态的子窗口页面,都采用当前时间减去各自进入的时间,作为各自页面从进入到退出的持续时长;并将当前页面及附属于该当前页面且标识为可见状态的子窗口页面的状态标识为不可见。
- 根据权利要求12-15、17-19任一项所述的页面数据采集装置,其中,所述通信器,还配置为至少将采集到的行为数据上传至服务器。
- 一种服务器,包括:配置存储器,配置为存储配置信息;所述配置信息包括控件信息;请求接收器,配置为当接收到页面数据采集装置发送的获取所述配置信息的请求时,将所述配置信息发送至所述页面数据采集装置。
- 根据权利要求21所述的服务器,其中,还包括收集器,配置为将页面数据采集装置上传的行为数据存储、并分析。
- 根据权利要求22所述的服务器,其中,所述配置信息还包括页面信息;所述收集器还被配置为将页面数据采集装置上传的从进入到退出 当前页面的持续时长和页面名称存储、并分析。
- 一种电子设备,包括:处理器、存储器;所述存储器用于存储一个或多个程序;当所述一个或多个程序被所述处理器执行时,实现如权利要求1-11任一项所述的方法。
- 一种计算机可读介质,其上存储有计算机程序,所述计算机程序被执行时,实现如权利要求1-11任一项所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/474,478 US11538046B2 (en) | 2018-04-12 | 2018-12-20 | Page data acquisition method, apparatus, server, electronic device and computer readable medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810328622.5 | 2018-04-12 | ||
CN201810328622.5A CN109739717B (zh) | 2018-04-12 | 2018-04-12 | 一种页面数据采集的方法及装置、服务器 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019196498A1 true WO2019196498A1 (zh) | 2019-10-17 |
Family
ID=66354398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/122297 WO2019196498A1 (zh) | 2018-04-12 | 2018-12-20 | 页面数据采集的方法、装置、服务器、电子设备及计算机可读介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11538046B2 (zh) |
CN (1) | CN109739717B (zh) |
WO (1) | WO2019196498A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114374663A (zh) * | 2022-01-10 | 2022-04-19 | 维沃移动通信有限公司 | 消息处理方法和消息处理装置 |
CN114816204A (zh) * | 2021-01-27 | 2022-07-29 | 北京猎户星空科技有限公司 | 智能机器人的控制方法、控制装置、控制设备及存储介质 |
CN116089256A (zh) * | 2022-05-13 | 2023-05-09 | 荣耀终端有限公司 | 终端测试方法、装置及存储介质 |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245046B (zh) * | 2019-05-29 | 2023-05-02 | 吉旗(成都)科技有限公司 | 一种针对Android App无埋点的数据统计方法及装置 |
CN110515679B (zh) * | 2019-08-28 | 2023-09-19 | 北京思维造物信息科技股份有限公司 | 数据采集方法、装置、设备及存储介质 |
CN113127851A (zh) * | 2020-01-16 | 2021-07-16 | 北京沃东天骏信息技术有限公司 | 数据收集方法和装置 |
CN111523074A (zh) * | 2020-04-26 | 2020-08-11 | 成都思维世纪科技有限责任公司 | 一种前端渲染网站的动态页面敏感数据的采集系统 |
CN112102008A (zh) * | 2020-09-25 | 2020-12-18 | 中国建设银行股份有限公司 | 一种可配置化的用户行为采集方法及装置 |
CN112463519A (zh) * | 2020-11-05 | 2021-03-09 | 广州博恒信息科技有限责任公司 | 基于Flutter的页面使用行为数据无埋点统计方法、设备及存储介质 |
CN112560090B (zh) * | 2020-12-15 | 2023-01-24 | 建信金融科技有限责任公司 | 一种数据检测方法和装置 |
CN112787892B (zh) * | 2021-02-03 | 2022-03-25 | 上海哔哩哔哩科技有限公司 | 流量数据的统计方法及装置 |
CN113626111A (zh) * | 2021-07-16 | 2021-11-09 | 北京澎思科技有限公司 | 信息获取方法、装置、电子设备及存储介质 |
CN113742190A (zh) * | 2021-09-06 | 2021-12-03 | 联想(北京)有限公司 | 控制方法及电子设备 |
CN114489830A (zh) * | 2021-12-23 | 2022-05-13 | 阿里巴巴(中国)有限公司 | 配置页面操作方法、处理方法和计算设备 |
CN114489620A (zh) * | 2022-01-27 | 2022-05-13 | 京东方科技集团股份有限公司 | 页面配置方法、页面配置系统、电子设备和可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100125657A1 (en) * | 2008-11-14 | 2010-05-20 | Interpret, Llc | System for Collecting Computer Application Usage Data from a Plurality of Client Devices |
CN104346276A (zh) * | 2013-08-08 | 2015-02-11 | 腾讯科技(深圳)有限公司 | 软件测试的方法及装置 |
CN106598868A (zh) * | 2016-12-24 | 2017-04-26 | 上海亿账通互联网科技有限公司 | 对客户端的应用程序动态埋点的方法及系统 |
CN106933472A (zh) * | 2017-05-20 | 2017-07-07 | 南京西桥科技有限公司 | 一种基于手机app的用户行为数据采集系统及其控制方法 |
CN107864065A (zh) * | 2017-08-16 | 2018-03-30 | 上海壹账通金融科技有限公司 | 无埋点数据采集方法、系统及计算机可读存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060184410A1 (en) * | 2003-12-30 | 2006-08-17 | Shankar Ramamurthy | System and method for capture of user actions and use of capture data in business processes |
US7577955B2 (en) * | 2004-11-04 | 2009-08-18 | Pixar | Renderfarm monitoring system |
US10637724B2 (en) * | 2006-09-25 | 2020-04-28 | Remot3.It, Inc. | Managing network connected devices |
WO2009043033A2 (en) * | 2007-09-28 | 2009-04-02 | Xcerion Aktiebolag | Network operating system |
CN104408204A (zh) * | 2014-12-18 | 2015-03-11 | 北京国双科技有限公司 | 网页页面链接地址的获取方法和装置 |
US10234953B1 (en) * | 2015-09-25 | 2019-03-19 | Google Llc | Cross-device interaction through user-demonstrated gestures |
US10512053B2 (en) * | 2016-05-10 | 2019-12-17 | Servicenow, Inc. | System and method for selectively hibernating and restarting a node of an application instance |
CN106100908B (zh) * | 2016-08-16 | 2024-02-20 | 南京航空航天大学 | 一种稳定的通用型数据状态采集兼远程监控多功能系统 |
CN106776247B (zh) * | 2016-11-23 | 2020-07-14 | 腾云天宇科技(北京)有限公司 | 一种监控应用中控件的方法、服务器及系统 |
CN107800757B (zh) * | 2017-03-28 | 2020-10-27 | 平安壹钱包电子商务有限公司 | 用户行为记录方法及装置 |
CN107491488B (zh) * | 2017-07-18 | 2020-05-01 | 北京京东尚科信息技术有限公司 | 页面数据采集的方法和装置 |
-
2018
- 2018-04-12 CN CN201810328622.5A patent/CN109739717B/zh active Active
- 2018-12-20 WO PCT/CN2018/122297 patent/WO2019196498A1/zh active Application Filing
- 2018-12-20 US US16/474,478 patent/US11538046B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100125657A1 (en) * | 2008-11-14 | 2010-05-20 | Interpret, Llc | System for Collecting Computer Application Usage Data from a Plurality of Client Devices |
CN104346276A (zh) * | 2013-08-08 | 2015-02-11 | 腾讯科技(深圳)有限公司 | 软件测试的方法及装置 |
CN106598868A (zh) * | 2016-12-24 | 2017-04-26 | 上海亿账通互联网科技有限公司 | 对客户端的应用程序动态埋点的方法及系统 |
CN106933472A (zh) * | 2017-05-20 | 2017-07-07 | 南京西桥科技有限公司 | 一种基于手机app的用户行为数据采集系统及其控制方法 |
CN107864065A (zh) * | 2017-08-16 | 2018-03-30 | 上海壹账通金融科技有限公司 | 无埋点数据采集方法、系统及计算机可读存储介质 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114816204A (zh) * | 2021-01-27 | 2022-07-29 | 北京猎户星空科技有限公司 | 智能机器人的控制方法、控制装置、控制设备及存储介质 |
CN114816204B (zh) * | 2021-01-27 | 2024-01-26 | 北京猎户星空科技有限公司 | 智能机器人的控制方法、控制装置、控制设备及存储介质 |
CN114374663A (zh) * | 2022-01-10 | 2022-04-19 | 维沃移动通信有限公司 | 消息处理方法和消息处理装置 |
CN114374663B (zh) * | 2022-01-10 | 2024-04-12 | 维沃移动通信有限公司 | 消息处理方法和消息处理装置 |
CN116089256A (zh) * | 2022-05-13 | 2023-05-09 | 荣耀终端有限公司 | 终端测试方法、装置及存储介质 |
CN116089256B (zh) * | 2022-05-13 | 2024-03-12 | 荣耀终端有限公司 | 终端测试方法、装置及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US20200357007A1 (en) | 2020-11-12 |
CN109739717A (zh) | 2019-05-10 |
US11538046B2 (en) | 2022-12-27 |
CN109739717B (zh) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019196498A1 (zh) | 页面数据采集的方法、装置、服务器、电子设备及计算机可读介质 | |
CN110971655B (zh) | 离线客户端重放和同步 | |
US20140137006A1 (en) | Graphical Overlay Related To Data Mining And Analytics | |
CN110309005B (zh) | 一种功能调用方法、装置、终端设备及存储介质 | |
WO2021031688A1 (zh) | 业务参数采集方法、装置、计算机设备和存储介质 | |
US20150227566A1 (en) | Content Display Device, Content Display System, Data Structure, Content Display Method, and Content Display Program | |
US20150180911A1 (en) | Feedback channel for feedback from software | |
CN110874307A (zh) | 事件埋点的收集上报方法和装置 | |
JPWO2013175560A1 (ja) | 情報通信システム及び情報変換方法 | |
US20140006000A1 (en) | Built-in response time analytics for business applications | |
US20120311538A1 (en) | Capturing Rich Actionable Feedback on Working Software | |
CN110188308B (zh) | 客户端自动打点上报方法、存储介质、设备及系统 | |
CN112817817B (zh) | 埋点信息查询方法、装置、计算机设备和存储介质 | |
US11693909B2 (en) | Data sharing tool for facilitating real-time access to current or updated datasets | |
CN114443905A (zh) | 接口文档更新方法、装置、电子设备及可读存储介质 | |
KR101865343B1 (ko) | 웹 서비스 애플리케이션 개발을 위한 서버측 프레임워크 장치, 이에 의해 개발된 웹 서비스 애플리케이션의 실행 방법 및 이를 위한 컴퓨터 프로그램 | |
JP5393242B2 (ja) | データ提供方法および中間サーバ装置 | |
CN113515715B (zh) | 埋点事件编码的生成方法、处理方法及相关设备 | |
CN111435326A (zh) | 一种分析崩溃日志的方法和装置 | |
CN114185795A (zh) | 埋点配置方法、装置、电子设备及存储介质 | |
KR101950074B1 (ko) | 복수의 오픈 api로부터 통합적인 데이터 수집방법 | |
CN114185845A (zh) | 一种文件管理方法、装置、计算机设备及存储介质 | |
JP5835447B2 (ja) | 情報処理装置、情報処理システム、制御方法、およびプログラム | |
CN112306324B (zh) | 信息处理方法、装置、设备和介质 | |
TWI576710B (zh) | 預載關注網頁的啓動方法以及系統 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18914038 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18914038 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.01.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18914038 Country of ref document: EP Kind code of ref document: A1 |