CN106775226B - Data acquisition system - Google Patents

Data acquisition system Download PDF

Info

Publication number
CN106775226B
CN106775226B CN201611102874.3A CN201611102874A CN106775226B CN 106775226 B CN106775226 B CN 106775226B CN 201611102874 A CN201611102874 A CN 201611102874A CN 106775226 B CN106775226 B CN 106775226B
Authority
CN
China
Prior art keywords
data
event
user
widget
event listener
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
CN201611102874.3A
Other languages
Chinese (zh)
Other versions
CN106775226A (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 ZHONGJIAO TRAFFIC GUIDE INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING ZHONGJIAO TRAFFIC GUIDE INFORMATION 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 ZHONGJIAO TRAFFIC GUIDE INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING ZHONGJIAO TRAFFIC GUIDE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201611102874.3A priority Critical patent/CN106775226B/en
Publication of CN106775226A publication Critical patent/CN106775226A/en
Application granted granted Critical
Publication of CN106775226B publication Critical patent/CN106775226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/302Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information gathering intelligence information for situation awareness or reconnaissance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Evolutionary Computation (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a system for collecting data, which comprises an Application view widget, an Event Listener AOP and a Remote API; the Application view widget is used for presenting a visual interface for a user; the Event Listener AOP is used for acquiring the action of clicking and double-clicking by the user and the related object data, and extracting, analyzing and processing the related object data; and the Remote API is used for providing an Http mode-based behavior data reporting interface which is opened for the server. Therefore, the frame is introduced to have no invasion to the Application program, basically no coupling exists, the realization mechanism is to automatically sense the operation behavior of the user, the acquisition range and flexibility are stronger, and the advance customization is not needed; batch and triggered behavior data reporting can reduce consumption of electric quantity, network and flow to the utmost extent.

Description

Data acquisition system
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data acquisition system.
Background
With the development of mobile internet, a great number of applications (applications) emerge, and a good operation strategy is the most important aspect of mobile Application marketing promotion. Data operations have long played an important role as the basis for mobile Application marketing operations. The collection, storage and application of user behavior data are basic support of data operation, and the accuracy, completeness and timeliness of the user behavior data collection directly determine the quality of data operation.
The existing user behavior data acquisition scheme has two problems: firstly, the program is invasive, the coupling degree with a service system is high, and the complexity of the system is increased; and secondly, real-time data uploading has higher requirements on the bandwidth and the flow of the program.
Disclosure of Invention
The embodiment of the invention aims to provide a data acquisition system, and aims to solve the problem of how to improve the accuracy, completeness and timeliness of behavior data acquisition.
To achieve the purpose, the embodiment of the invention adopts the following technical scheme:
a system for collecting data comprises an Application view widget, an Event Listener AOP and a Remote API;
the Application view widget is used for presenting a visual interface for a user;
the Event Listener AOP is used for intercepting a section of the Event Listener, acquiring the single-click and double-click actions of a user and related object data, and extracting, analyzing and processing the related object data;
and the Remote API is used for providing an Http mode-based behavior data reporting interface which is opened for the server.
Preferably, the Application view widget comprises a control or means for Application visualization.
Preferably, the controls or devices of the Application visualization include Button, Item, and Div.
Preferably, the Application view widget includes a widget that needs to record user operation.
Preferably, the fields after the widget extension include a control identification id, a control name nam, and an operating system user operation.
Preferably, the Event Listener AOP comprises an Event Listener, an Event Source and an Event;
the Event Listener registers an Event Listener to an Event Source;
the Event Source receives a trigger Event Source sent by a user;
the Event Source generates specific interactive events and objects;
the Event triggers the Event Listener to manage a specific Listener;
and the Event Listener calls a corresponding Handler to process, simultaneously performs AOP interception, and calls a remote interface to realize data reporting.
Preferably, the Remote API is further configured to: and asynchronously reporting data for the mobile terminal in an AJAX mode, and making a relevant strategy for data reporting.
Preferably, the Remote API is further configured to: and (4) reporting the user behavior data in batches, and controlling the frequency by adopting two dimensions of time and quantity.
Preferably, the maximum interval time is 60 seconds, and the maximum data limit is 5 pieces.
Preferably, the Remote API is further configured to: monitoring events of starting and switching into a background by the user, and judging whether behavior data to be reported exist or not; and if the behavior data to be reported exist, immediately reporting the behavior log data.
The system for acquiring data provided by the embodiment of the invention comprises an Application view widget, an Event Listener AOP and a Remote API; the Application view widget is used for presenting a visual interface for a user; the Event Listener AOP is used for intercepting a section of the Event Listener, acquiring the single-click and double-click actions of a user and related object data, and extracting, analyzing and processing the related object data; and the Remote API is used for providing an Http mode-based behavior data reporting interface which is opened for the server. Therefore, the frame is introduced to have no invasion to the Application program, basically no coupling exists, the realization mechanism is to automatically sense, automatically process and automatically report the operation behavior of the user, the acquisition range is more flexible, and the customization in advance is not needed; and the finger amount and the triggered behavior data are reported, so that the consumption of electric quantity, network and flow can be reduced to the maximum extent.
Drawings
Fig. 1 is a schematic structural diagram of a system for collecting data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another data acquisition system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of data collection according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a system for acquiring data according to an embodiment of the present invention.
As shown in fig. 1, the system for acquiring data comprises:
an Application view widget 101, an Event Listener Aspect Programming (AOP) 102, and a Remote Application Programming Interface (API) 103;
the Application view widget 101 is used for presenting a visual interface for a user;
the Event Listener is used for programming an Event Listener AOP (automatic object processing) 102 facing to a section, intercepting the section of the Event Listener, acquiring actions of clicking and double-clicking of a user and related object data, and extracting, analyzing and processing the related object data;
the Remote application program interface Remote API 103 is configured to provide an Http-based behavior data reporting interface that is open for a server.
Preferably, the Application view widget 101 comprises a control or means for Application visualization.
Preferably, the controls or devices of the Application visualization include Button, Item, and Div.
Preferably, the Application view widget 101 includes a widget that needs to record user operation.
Preferably, the fields after the widget extension include a control identification id, a control name nam, and an operating system user operation.
Preferably, the Event Listener AOP 102 comprises an Event Listener, an Event Source and an Event;
the Event Listener registers an Event Listener to an Event Source;
the Event Source receives a trigger Event Source sent by a user;
the Event Source generates specific interactive events and objects;
the Event triggers the Event Listener to manage a specific Listener;
and the Event Listener calls a corresponding Handler to process, simultaneously performs AOP interception, and calls a remote interface to realize data reporting.
Preferably, the Remote API 103 is further configured to: and asynchronously reporting data for the mobile terminal in an AJAX mode, and making a relevant strategy for data reporting.
Preferably, the Remote API 103 is further configured to: and (4) reporting the user behavior data in batches, and controlling the frequency by adopting two dimensions of time and quantity.
Preferably, the maximum interval time is 60 seconds, and the maximum data limit is 5 pieces.
Preferably, the Remote API 103 is further configured to: monitoring events of starting and switching into a background by the user, and judging whether behavior data to be reported exist or not; and if the behavior data to be reported exist, immediately reporting the behavior log data.
Specifically, as shown in fig. 2, the frame is composed of three parts: and the Application view widget, the Event Listener AOP and the Remote API respectively play different roles and cooperate to finish behavior data collection. The process mainly comprises the steps of perception, processing and reporting of user operation, and comprises the following steps:
1. application view widget, which is a control or device for mobile Application visualization, for example: button, Item, Div, etc., which are presented to the user for visual interface and also used as the user interaction entrance to sense the user's interaction operation. For the widget needing to record user operation, the framework requires the widget to establish a system unified identifier, so that the attribute of the widget needs to be expanded, and the requirements of necessary fields include:
1) id, control identification, which is only required;
2) nm, name, corresponding to id, preferably unique;
3) and uo, user operation, only two options of yes and no are provided, and no value is considered as the no value by default and not filled.
By the method, the record of the user operation is customized according to the requirement;
2. event Lister is the core driven by mobile Application Event, AOP is short for Aspect organized Programming, this part is through intercepting the tangent plane of Event Lister, obtain user's click, the action of the double and relevant object data, extract, analyze and process the data, the complete flow is as shown in figure 3, divide into six steps altogether:
1) registering an Event Listener to an Event Source by the Event Listener;
2) the user interactively triggers the Event Source of the registered monitor;
3) generating specific interactive events and objects by the Event Source;
4) event triggers the specific Listener managed by Event Listener;
5) the Event Listener calls a corresponding Handler to process;
6) and simultaneously carrying out AOP interception and calling a remote interface to realize data reporting.
3. The Remote API is a behavior data reporting interface which is opened at the server side and is based on an Http mode, the mobile side asynchronously reports data in an AJAX mode, and a related strategy is formulated for data reporting:
1) the framework reports the user behavior data in batches, frequency control is carried out by adopting two dimensions of time and quantity, the longest interval time is 60 seconds, and the maximum data limit is 5;
2) monitoring events of user starting and background switching-in, judging whether behavior data to be reported exist or not, and reporting the behavior log data immediately if the behavior log data exists.
The system for acquiring data provided by the embodiment of the invention comprises an Application view widget, an Event Listener AOP and a Remote API; the Application view widget is used for presenting a visual interface for a user; the Event Listener AOP is used for intercepting a section of the Event Listener, acquiring the single-click and double-click actions of a user and related object data, and extracting, analyzing and processing the related object data; and the Remote API is used for providing an Http mode-based behavior data reporting interface which is opened for the server. Therefore, the frame is introduced to have no invasion to the Application program, basically no coupling exists, the realization mechanism is to automatically sense, automatically process and automatically report the operation behavior of the user, the acquisition range is more flexible, and the customization in advance is not needed; and the finger amount and the triggered behavior data are reported, so that the consumption of electric quantity, network and flow can be reduced to the maximum extent.
The technical principle of the embodiment of the present invention is described above in conjunction with the specific embodiments. The description is only intended to explain the principles of embodiments of the invention and should not be taken in any way as limiting the scope of the embodiments of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive step, and these embodiments will fall within the scope of the present invention.

Claims (9)

1. A system for collecting data is characterized in that the system comprises an Application view widget, an Event Listener AOP and a Remote API;
the Application view widget is used for presenting a visual interface for a user;
the Event Listener AOP is used for intercepting a section of the Event Listener, acquiring the single-click and double-click actions of a user and related object data, and extracting, analyzing and processing the related object data;
the Remote API is used for providing an Http mode-based behavior data reporting interface for a server and performing batch reporting on user behavior data, and frequency control is performed by adopting two dimensions of time and quantity, wherein the time dimension is the longest interval time, and the quantity dimension is the maximum data quota.
2. The system of claim 1, wherein the Application view widget comprises a control or device for Application visualization.
3. The system of claim 2, wherein the controls or devices of the Application visualization include Button, Item, and Div.
4. The system of claim 1, wherein the Application view widget comprises a widget that requires user actions to be recorded.
5. The system of claim 4, wherein the widget extended fields include a widget identification id, a widget name nam, and an operating system user operation.
6. The system of claim 1, wherein the Event Listener AOP comprises an Event Listener, an Event Source, and an Event;
the Event Listener registers an Event Listener to an Event Source;
the Event Source receives a trigger Event Source sent by a user;
the Event Source generates specific interactive events and objects;
the Event triggers the Event Listener to manage a specific Listener;
and the Event Listener calls a corresponding Handler to process, simultaneously performs AOP interception, and calls a remote interface to realize data reporting.
7. The system of claim 1, wherein the Remote API is further configured to: and asynchronously reporting data for the mobile terminal in an AJAX mode, and making a relevant strategy for data reporting.
8. The system of claim 1, wherein the maximum interval time is 60 seconds and the maximum data limit is 5 pieces.
9. The system of claim 1, wherein the Remote API is further configured to: monitoring events of starting and switching into a background by the user, and judging whether behavior data to be reported exist or not; and if the behavior data to be reported exist, immediately reporting the behavior log data.
CN201611102874.3A 2016-12-05 2016-12-05 Data acquisition system Active CN106775226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611102874.3A CN106775226B (en) 2016-12-05 2016-12-05 Data acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611102874.3A CN106775226B (en) 2016-12-05 2016-12-05 Data acquisition system

Publications (2)

Publication Number Publication Date
CN106775226A CN106775226A (en) 2017-05-31
CN106775226B true CN106775226B (en) 2020-01-03

Family

ID=58883277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611102874.3A Active CN106775226B (en) 2016-12-05 2016-12-05 Data acquisition system

Country Status (1)

Country Link
CN (1) CN106775226B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662493A (en) * 2008-08-25 2010-03-03 阿里巴巴集团控股有限公司 Data acquiring method, system and server of user access path
CN101685451A (en) * 2008-09-27 2010-03-31 国际商业机器公司 Method for monitoring events in browser, event monitoring device and browser equipment
CN102739461A (en) * 2011-04-08 2012-10-17 深圳市金蝶中间件有限公司 Method for acquiring background data based on FLEX
CN103166827A (en) * 2011-12-09 2013-06-19 北京神州泰岳软件股份有限公司 Method and system for user behavior data reporting
CN104598226A (en) * 2014-12-31 2015-05-06 天津南大通用数据技术股份有限公司 Chart interaction design method based on Flex

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662493A (en) * 2008-08-25 2010-03-03 阿里巴巴集团控股有限公司 Data acquiring method, system and server of user access path
CN101685451A (en) * 2008-09-27 2010-03-31 国际商业机器公司 Method for monitoring events in browser, event monitoring device and browser equipment
CN102739461A (en) * 2011-04-08 2012-10-17 深圳市金蝶中间件有限公司 Method for acquiring background data based on FLEX
CN103166827A (en) * 2011-12-09 2013-06-19 北京神州泰岳软件股份有限公司 Method and system for user behavior data reporting
CN104598226A (en) * 2014-12-31 2015-05-06 天津南大通用数据技术股份有限公司 Chart interaction design method based on Flex

Also Published As

Publication number Publication date
CN106775226A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106294091B (en) It is a kind of to intercept method for analyzing performance and system without intrusive log
CN104199879B (en) A kind of data processing method and data processing equipment
CN107870933A (en) Count the method, apparatus and system of Android five application page navigation patterns
CN105376335B (en) Collected data uploading method and device
US20160182415A1 (en) Scalable systems for change detection of statistic data feeds across multiple servers using shared memory with configurable messaging triggers
CN108874268B (en) User behavior data acquisition method and device
CN104462167B (en) Data analysis accessory system
CN106502902A (en) Web page operational efficiency monitoring method and device
CN102307315B (en) User behavior analysis device in Internet protocol television (IPTV) system, and system for realizing analysis application
CN111294217A (en) Alarm analysis method, device, system and storage medium
CN107071579A (en) Multimedia resource processing method and device
CN109960621A (en) A kind of data pick-up method based on big data visual control platform
CN105553770B (en) Data acquisition control method and device
CN113014637B (en) Information display method and information push method
CN110798694A (en) Live broadcast room data processing method and device, electronic equipment and storage medium
US10346281B2 (en) Obtaining and analyzing a reduced metric data set
CN110300002A (en) A kind of visual distributed O&M method and device
CN111581067A (en) Data acquisition method and device
CN106775226B (en) Data acquisition system
CN111581518A (en) Information pushing method and device
CN107391354B (en) Method and system for automatically monitoring terminal performance and storage device
CN110856208B (en) Network type resource environment data acquisition communication platform
CN109660877A (en) Direct broadcasting room promotion method, storage medium, electronic equipment and system
CN106991518A (en) Funds transaction analysis method and system based on mobile terminal
CN108073638A (en) Data diagnosis 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