CN109582526A - A kind of data capture method and device - Google Patents
A kind of data capture method and device Download PDFInfo
- Publication number
- CN109582526A CN109582526A CN201710898301.4A CN201710898301A CN109582526A CN 109582526 A CN109582526 A CN 109582526A CN 201710898301 A CN201710898301 A CN 201710898301A CN 109582526 A CN109582526 A CN 109582526A
- Authority
- CN
- China
- Prior art keywords
- function
- monitored
- event
- replacement
- replacement function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the present application discloses a kind of data capture method and device, this method, comprising: system function corresponding with preset monitored event is searched from monitored system;Obtain pre-set replacement function, the replacement function is also used to realize the function of the system function for obtaining preset data corresponding with the monitored event;The system function in the monitored system is replaced with into the replacement function, so that the monitored event runs the replacement function when being triggered.Without disposing the API of event-monitoring in monitored system one by one, the workload of artificial deployment code is greatly reduced, the automatic deployment of API is realized, reduces the probability of code exception, improves the maintainability of integritied monitoring and controling system and the accuracy of data acquisition.
Description
Technical field
This application involves field of computer technology more particularly to a kind of data capture methods and device.
Background technique
The acquisition of monitoring data needs to call Software Development Kit (Software Development Kit, SDK) real
It is existing.Embedding data acquires class to developer in the application (Application, APP) of client or on the website of network side
SDK, and dispose the corresponding application programming interface of the SDK (Application Programming Interface, API)
To complete expected monitoring requirements.For example, if one click button of monitoring, deployment one monitor the monitoring thing of the click button
The API of part, triggering SDK execute corresponding data acquisition operations;If detecting the browsing of a page, need to dispose a page
API of browsing, etc..When monitoring requirements are more, need largely to dispose the API in data acquisition SDK, be easy to cause
API disposes mistake, the occurrence of so as to cause data exception.
Summary of the invention
In view of the above problems, it proposes on the application overcomes the above problem or at least be partially solved in order to provide one kind
State a kind of data capture method and device of problem.
A kind of data capture method provided by the embodiments of the present application, comprising:
System function corresponding with preset monitored event is searched from monitored system;
Pre-set replacement function is obtained, the replacement function is corresponding with the monitored event default for obtaining
Data are also used to realize the function of the system function;
The system function in the monitored system is replaced with into the replacement function, so that the monitored event
The replacement function is run when being triggered.
Optionally, the replacement function includes at least the logic of the system function, and described monitored for monitoring
The application programming interface of event.
Optionally, the system function by the monitored system replaces with the replacement function, specific to wrap
It includes:
It is exchanged using method, the system function in the monitored system is handed over the replacement function got
It changes.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, it
Before further include:
In response to the triggering of the monitored system, executes described search from monitored system and supervised with preset
The corresponding system function of control event.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, have
Body includes:
According to the method for the class of the monitored event and the monitored event, institute is searched from the monitored system
State system function;
It is described to obtain pre-set replacement function, it specifically includes:
According to the method for the class of the monitored event and the monitored event, concentrated from pre-set replacement function
Obtain the replacement function.
A kind of data acquisition facility provided by the embodiments of the present application, comprising: first acquisition unit, second acquisition unit and replace
Change unit;
The first acquisition unit, for searching system corresponding with preset monitored event from monitored system
System function;
The second acquisition unit, for obtaining pre-set replacement function, the replacement function is for acquisition and institute
The corresponding preset data of monitored event is stated, is also used to realize the function of the system function;
The replacement unit, for the system function in the monitored system to be replaced with the replacement function,
So that the monitored event runs the replacement function when being triggered.
Optionally, the replacement function includes at least the logic of the system function, and described monitored for monitoring
The application programming interface of event.
Optionally, the replacement unit, is specifically used for:
It is exchanged using method, the system function in the monitored system is handed over the replacement function got
It changes.
Optionally, described device, further includes: receiving unit;
The receiving unit triggers the first acquisition unit from quilt for the triggering in response to the monitored system
System function corresponding with preset monitored event is searched in monitoring system.
Optionally, the first acquisition unit, specifically for the class and the monitored thing according to the monitored event
The method of part searches the system function from the monitored system;
The second acquisition unit, specifically for according to the class of the monitored event and the side of the monitored event
Method is concentrated from pre-set replacement function and obtains the replacement function.
The embodiment of the present application also provides a kind of storage mediums, are stored thereon with program, when which is executed by processor
Realize above-mentioned data capture method.
The embodiment of the present application also provides a kind of processor, the processor is for running program, wherein described program fortune
Above-mentioned data capture method is executed when row.
By above-mentioned technical proposal, a kind of data capture method and device provided by the embodiments of the present application, by monitored system
The corresponding system function of preset monitored event, replaces with pre-set replacement function, so that monitored thing in system
When part is set out, the system that is monitored runs replaced replacement function, and replacement function not only remains the function of system function, also
It is available to arrive monitored time corresponding preset data, to realize on the basis of retaining system code logic to quilt
The acquisition of the monitoring data of monitor event greatly reduces people without disposing the API of event-monitoring in monitored system one by one
The Ministry of worker affixes one's name to the workload of code, realizes the automatic deployment of API, reduces the probability of code exception, improves integral monitoring system
The maintainability of system and the accuracy of data acquisition.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can
It is clearer and more comprehensible, below the special specific embodiment for lifting the application.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of data capture method provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of another data capture method provided by the embodiments of the present application;
Fig. 3 shows a kind of structural schematic diagram of data acquisition facility provided by the embodiments of the present application.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Data capture method and device provided by the present application can be applied in client application or network-side webpage trigger
Data acquisition, the acquisition of page life cycle and acquisition of gesture operation identification data of event etc., are handled and big for follow-up data
The operations such as data analysis provide data and support.
Referring to Fig. 1, which is a kind of flow diagram of data capture method provided by the embodiments of the present application.
A kind of data capture method provided by the embodiments of the present application, includes the following steps S101-S103.
S101: system function corresponding with preset monitored event is searched from monitored system.
It should be noted that in the embodiment of the present application, monitored system can be the application program run in client,
Such as instant messaging class application program provides online or offline functionality application program with other, can also be the webpage of network side
Deng.These application programs and webpage pass through the operation realization of code, including each realization different function, multiple types and method
Function.Monitored event is then the trigger action of different function in the application program or webpage, for example, button is clicked, the page into
Enter, the page exits, list rolling and gesture touch-control etc..System function is corresponding with monitored event, real in monitored system
The now function of the class of the specific function and method.
In practical applications, the one of monitoring data can be obtained to expectation in monitored system in advance according to actual needs
A or multiple monitored events are set.
For example, in a shopping website, the system that is monitored is the page of the shopping website, be can according to need pre-
It first sets and the trigger event of " purchase " key in webpage is monitored, then the event that is monitored then is the click of " purchase " key
Triggering, corresponding system function are to realize the web page code for being somebody's turn to do " purchase button " function.When can also set the browsing to webpage
Between be monitored, then the event that is monitored then is the entry event of the webpage and exits event, and corresponding system function is to realize net
Page enters and the web page code of exit function.
S102: pre-set replacement function is obtained;Replacement function is for obtaining present count corresponding with monitored event
According to being also used to realize the function of system function.
In the embodiment of the present application, replacement function is inherited in system function, is not only including what is found out in step S101
The logic of system function, further includes event-monitoring API.In this way, former system not only may be implemented when replacement function is triggered and runs
The function of system function, can also obtain preset data corresponding with monitored event.It is understood, therefore, that each difference
The corresponding replacement function of the function of method is different.
As an example, it is assumed that the corresponding system function of event that is monitored in monitored system is as follows:
What needs to be explained here is that in practical applications, the monitored event that expectation can be obtained according to actual needs
Corresponding preset data is set, and can specifically be set by the monitor code executed in the example to above-mentioned replacement function
It is fixed to realize.For example, when monitored event is the clicking trigger of " purchase " key in above-mentioned example, corresponding preset data
It can be the context (interfacial structure, specifying information and event title including key etc.) of the key, relevant merchandise news
With commodity evaluation one or more of.For another example, when monitored event is page life cycle, corresponding preset data
It can be page entry time and page exit time etc..
S103: replacing with replacement function for the system function in monitored system, the luck so that monitored event is triggered
Row replacement function.
After system function in monitored system is replaced with the replacement function got in above-mentioned steps, in monitored system
When system operates normally, when above-mentioned monitored event triggers, the function (system call back function) of respective response is then monitored system
In replaced replacement function, not only remain original logic of system, realize the former function of monitored event, also trigger pair
The acquisition of the monitored corresponding preset data of event.The injection to event-monitoring API is realized by the replacement of function, is not necessarily to
Artificial deployment API.
In the embodiment of the present application, it by the corresponding system function of monitored event preset in monitored system, replaces
It is changed to pre-set replacement function, when so that monitored event being triggered, the system that is monitored runs replaced replacement function,
Replacement function not only remains the function of system function, can also get corresponding preset data of monitored time, thus
On the basis of retaining system code logic, the acquisition of the monitoring data to monitored event is realized, without one by one monitored
The API that event-monitoring is disposed in system greatly reduces the workload of artificial deployment code, realizes the automatic deployment of API, drop
The low probability of code exception improves the maintainability of integritied monitoring and controling system and the accuracy of data acquisition.
Referring to fig. 2, which is the flow diagram of another data capture method provided by the embodiments of the present application, compared to
Fig. 1 provides a kind of more specifical implementation.
In data capture method provided by the embodiments of the present application, above-mentioned steps S103 can specifically include following steps
S201。
S201: it is exchanged using method, the system function in monitored system is exchanged with the replacement function got.
Method exchange, i.e., swap the function to realize replacement method for replacement method new in system and original method
Energy.
In iOS system, its included method_exchangeImplementations method realization side can be passed through
Method exchange, specific code are exemplified below:
In the possible implementation of the embodiment of the present application, above method exchange can pass through monitored program triggering.Tool
Body, S202 can also be included the following steps before step S101.
S202: in response to the triggering for the system that is monitored, above-mentioned steps S101 is executed.
It is correct for ensuring method exchange, need ensuring method exchange to only carry out one in monitored system operation
It is secondary.Therefore, in practical applications, above method exchange process can be and only be monitored in system initialization process, will
Calling when the monitored corresponding class of event is loaded into memory.When the corresponding class of monitored event is loaded by monitored system
When memory, above-mentioned steps S101-S103 is triggered.
Below with reference to specific iOS application scenarios, illustrate specifically how to search the system function in monitored system, and determine
Corresponding replacement function.
In the embodiment of the present application, system function and replacement function can be determined by the class and method of function.
Specifically, above-mentioned steps S101 may include: according to the method for the class and monitored event of the event of being monitored, from quilt
System function is searched in monitoring system.Above-mentioned steps S102 may include: the class and monitored event according to the event of being monitored
Method is concentrated from pre-set replacement function and obtains replacement function.
In practical applications, the monitored event being monitored in system may include one or more of following four,
The class and method of corresponding system function to be replaced are as follows:
First, when monitored event is that page life cycle acquires, replace in UIViewController class
ViewWillAppear and viewDidDisappear method;
Second, when monitored event is that UIControl trigger event acquires, replacement UIControl class
SendAction:to:forEvent: method;
Third, when monitored event is that UITableView and UICollectionView trigger event acquires, i.e. list
Rolling event, first replacement setDelegate method, secondly replace the tableView in delegate class:
DidSelectRowAtIndexPath: the collectionView of method and UICollectionView class:
DidSelectItemAtIndexPath: method;
4th, when monitored event is the acquisition of UIGestureRecognizer, i.e. gesture identification event, replacement
The addGestureRecognizer method of UIView class.
The data capture method provided based on the above embodiment, the embodiment of the present application also provides a kind of data acquisition dresses
It sets.
Referring to Fig. 3, which is a kind of structural schematic diagram of data acquisition facility provided by the embodiments of the present application.
Data acquisition facility provided by the embodiments of the present application, comprising: first acquisition unit 100,200 and of second acquisition unit
Replacement unit 300.
First acquisition unit 100, for searching system corresponding with preset monitored event from monitored system
System function.
Second acquisition unit 200, for obtaining pre-set replacement function, replacement function is for obtaining and monitored thing
The corresponding preset data of part, is also used to realize the function of system function.
As an example, which includes at least the logic of system function, and for monitoring monitored event
Application programming interface.
Optionally, first acquisition unit 100, specifically for according to be monitored event class and monitored event method,
System function is searched from monitored system.
Second acquisition unit 200 is set specifically for the method for the class and monitored event of the monitored event of basis from advance
The replacement function set, which is concentrated, obtains replacement function.
Replacement unit 300, for the system function in monitored system to be replaced with replacement function, so that monitored event
Replacement function is run when being triggered.
In the possible implementation of the embodiment of the present application, replacement unit 300 is specifically used for:
It is exchanged using method, the system function in monitored system is exchanged with the replacement function got.
The device, further includes: receiving unit 400;
In the possible implementation of the embodiment of the present application, receiving unit 400, for the touching in response to the system that is monitored
Hair, triggering first acquisition unit search system function corresponding with preset monitored event from monitored system.
In the embodiment of the present application, it by the corresponding system function of monitored event preset in monitored system, replaces
It is changed to pre-set replacement function, when so that monitored event being set out, the system that is monitored runs replaced replacement function,
Replacement function not only remains the function of system function, can also get corresponding preset data of monitored time, thus
On the basis of retaining system code logic, the acquisition of the monitoring data to monitored event is realized, without one by one monitored
The API that event-monitoring is disposed in system greatly reduces the workload of artificial deployment code, realizes the automatic deployment of API, drop
The low probability of code exception improves the maintainability of integritied monitoring and controling system and the accuracy of data acquisition.
The data capture method and device provided based on the above embodiment, the embodiment of the present application also provides another data
Acquisition device.
The data acquisition facility includes processor and memory, above-mentioned first acquisition unit, second acquisition unit, replacement
Unit and receiving unit etc. store in memory as program unit, are executed by processor stored in memory above-mentioned
Program unit realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, the API of event-monitoring is automatically injected in system function by adjusting kernel parameter, obtains the number of monitored event
According to.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (Flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the present application also provides a kind of storage mediums, are stored thereon with program, when which is executed by processor
Realize data capture method provided by the above embodiment.
The embodiment of the present application also provides a kind of processor, the processor is for running program, wherein described program fortune
Data capture method provided by the above embodiment is executed when row.
The embodiment of the present application also provides a kind of equipment, equipment includes processor, memory and stores on a memory simultaneously
The program that can be run on a processor, processor perform the steps of when executing program
System function corresponding with preset monitored event is searched from monitored system;
Pre-set replacement function is obtained, the replacement function is corresponding with the monitored event default for obtaining
Data are also used to realize the function of the system function;
The system function in the monitored system is replaced with into the replacement function, so that the monitored event
The replacement function is run when being triggered.
Optionally, the replacement function includes at least the logic of the system function, and described monitored for monitoring
The application programming interface of event.
It is optionally, described that the system function is replaced with to the custom function being previously obtained, specifically:
It is exchanged using method, the system function in the monitored system is handed over the replacement function got
It changes.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, it
Before further include:
In response to the triggering of the monitored system, executes described search from monitored system and supervised with preset
The corresponding system function of control event.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, have
Body includes:
According to the method for the class of the monitored event and the monitored event, institute is searched from the monitored system
State system function;
Optionally, described to obtain pre-set replacement function, it specifically includes:
According to the method for the class of the monitored event and the monitored event, concentrated from pre-set replacement function
Obtain the replacement function.
Equipment herein can be server, PC (Personal Computer, PC) and portable electric
Mobile devices such as brain, mobile phone, etc..
The embodiment of the present application also provides a kind of computer program products, when executing on data processing equipment, are suitable for
Execute the program of initialization there are as below methods step:
System function corresponding with preset monitored event is searched from monitored system;
Pre-set replacement function is obtained, the replacement function is corresponding with the monitored event default for obtaining
Data are also used to realize the function of the system function;
The system function in the monitored system is replaced with into the replacement function, so that the monitored event
The replacement function is run when being triggered.
Optionally, the replacement function includes at least the logic of the system function, and described monitored for monitoring
The application programming interface of event.
It is optionally, described that the system function is replaced with to the custom function being previously obtained, specifically:
It is exchanged using method, the system function in the monitored system is handed over the replacement function got
It changes.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, it
Before further include:
In response to the triggering of the monitored system, executes described search from monitored system and supervised with preset
The corresponding system function of control event.
Optionally, described that system function corresponding with preset monitored event is searched from monitored system, have
Body includes:
According to the method for the class of the monitored event and the monitored event, institute is searched from the monitored system
State system function;
Optionally, described to obtain pre-set replacement function, it specifically includes:
According to the method for the class of the monitored event and the monitored event, concentrated from pre-set replacement function
Obtain the replacement function.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of data capture method, which is characterized in that the method, comprising:
System function corresponding with preset monitored event is searched from monitored system;
Obtain pre-set replacement function, the replacement function is for obtaining present count corresponding with the monitored event
According to being also used to realize the function of the system function;
The system function in the monitored system is replaced with into the replacement function, so that the monitored event is touched
The replacement function is run when hair.
2. data capture method according to claim 1, which is characterized in that
The replacement function includes at least the logic of the system function, and the application journey for monitoring the monitored event
Sequence programming interface.
3. data capture method according to claim 1, which is characterized in that it is described will be described in the monitored system
System function replaces with the replacement function, specifically includes:
It is exchanged using method, the system function in the monitored system is exchanged with the replacement function got.
4. data capture method according to claim 1, which is characterized in that it is described from monitored system search in advance
The corresponding system function of monitored event of setting, before further include:
In response to the triggering of the monitored system, the lookup from monitored system and preset monitored thing are executed
The corresponding system function of part.
5. data capture method according to claim 1-4, which is characterized in that described to be looked into from monitored system
System function corresponding with preset monitored event is looked for, is specifically included:
According to the method for the class of the monitored event and the monitored event, the system is searched from the monitored system
System function;
It is described to obtain pre-set replacement function, it specifically includes:
According to the method for the class of the monitored event and the monitored event, concentrates and obtain from pre-set replacement function
The replacement function.
6. a kind of data acquisition facility, which is characterized in that described device, comprising: first acquisition unit, second acquisition unit and replace
Change unit;
The first acquisition unit, for searching system letter corresponding with preset monitored event from monitored system
Number;
The second acquisition unit, for obtaining pre-set replacement function, the replacement function is for obtaining and the quilt
The corresponding preset data of monitor event, is also used to realize the function of the system function;
The replacement unit, for the system function in the monitored system to be replaced with the replacement function, so that
The monitored event runs the replacement function when being triggered.
7. data acquisition facility according to claim 6, which is characterized in that the replacement function includes at least the system
The logic of function, and the application programming interface for monitoring the monitored event.
8. data acquisition facility according to claim 6, which is characterized in that the replacement unit is specifically used for:
It is exchanged using method, the system function in the monitored system is exchanged with the replacement function got.
9. a kind of storage medium, which is characterized in that be stored thereon with program, which realizes aforesaid right when being executed by processor
It is required that data capture method described in 1-5 any one.
10. a kind of processor, which is characterized in that the processor is for running program, wherein executed such as when described program is run
Data capture method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898301.4A CN109582526A (en) | 2017-09-28 | 2017-09-28 | A kind of data capture method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898301.4A CN109582526A (en) | 2017-09-28 | 2017-09-28 | A kind of data capture method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109582526A true CN109582526A (en) | 2019-04-05 |
Family
ID=65913042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710898301.4A Pending CN109582526A (en) | 2017-09-28 | 2017-09-28 | A kind of data capture method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582526A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131442A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Webpage data monitoring method, terminal equipment and readable storage medium |
CN111124861A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Recording method of webpage data, recording device of webpage data and readable storage medium |
CN112698900A (en) * | 2020-12-31 | 2021-04-23 | 五八有限公司 | User operation path acquisition method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012150575A (en) * | 2011-01-17 | 2012-08-09 | Fujitsu Ltd | Analyzer, analysis program, and analysis method |
CN102855186A (en) * | 2012-07-24 | 2013-01-02 | 飞天诚信科技股份有限公司 | Method for processing Java card debugging information |
CN103902284A (en) * | 2014-03-07 | 2014-07-02 | 中国人民解放军装甲兵工程学院 | Data acquisition method and system based on dynamic library API interception |
CN106250107A (en) * | 2016-07-18 | 2016-12-21 | 福建天泉教育科技有限公司 | A kind of data statistical approach and system |
CN106844181A (en) * | 2017-02-07 | 2017-06-13 | 网易(杭州)网络有限公司 | Method, system and mobile terminal for recording user behavior |
-
2017
- 2017-09-28 CN CN201710898301.4A patent/CN109582526A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012150575A (en) * | 2011-01-17 | 2012-08-09 | Fujitsu Ltd | Analyzer, analysis program, and analysis method |
CN102855186A (en) * | 2012-07-24 | 2013-01-02 | 飞天诚信科技股份有限公司 | Method for processing Java card debugging information |
CN103902284A (en) * | 2014-03-07 | 2014-07-02 | 中国人民解放军装甲兵工程学院 | Data acquisition method and system based on dynamic library API interception |
CN106250107A (en) * | 2016-07-18 | 2016-12-21 | 福建天泉教育科技有限公司 | A kind of data statistical approach and system |
CN106844181A (en) * | 2017-02-07 | 2017-06-13 | 网易(杭州)网络有限公司 | Method, system and mobile terminal for recording user behavior |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131442A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Webpage data monitoring method, terminal equipment and readable storage medium |
CN111124861A (en) * | 2019-12-19 | 2020-05-08 | 广州品唯软件有限公司 | Recording method of webpage data, recording device of webpage data and readable storage medium |
CN112698900A (en) * | 2020-12-31 | 2021-04-23 | 五八有限公司 | User operation path acquisition method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107358247B (en) | Method and device for determining lost user | |
CN109582526A (en) | A kind of data capture method and device | |
CN109885624A (en) | Data processing method, device, computer equipment and storage medium | |
Ku | A study on prediction model of equipment failure through analysis of big data based on RHadoop | |
TW201931150A (en) | Social content risk identification method and device and equipment | |
CN110008394B (en) | Public opinion information identification method, device and equipment | |
CN109683773A (en) | Corpus labeling method and device | |
CN108255628A (en) | A kind of data processing method and device | |
Zamfiroiu | Factors influencing the quality of mobile applications | |
Skolud et al. | Solving repetitive production planning problems. an approach based on activity-oriented Petri nets | |
Akhtar | Big Data Architect’s Handbook: A guide to building proficiency in tools and systems used by leading big data experts | |
CN106919620B (en) | Single page processing method and device | |
CN110069488A (en) | A kind of date storage method, method for reading data and its device | |
Fowdur et al. | Big data analytics with machine learning tools | |
CN109522189B (en) | Data monitoring method, device and system | |
CN107562703B (en) | Dictionary tree reconstruction method and system | |
CN110399287A (en) | Using the coverage rate collection method and device of test | |
CN110019260A (en) | A kind of update method and relevant device of user data | |
CN109561126A (en) | A kind of method of data synchronization and device, storage medium, processor | |
CN115983997A (en) | Block chain-based collection management method, block chain node and system | |
CN109542401A (en) | A kind of Web development approach, device, storage medium and processor | |
CN109561121A (en) | Monitor the method and device of deployment | |
CN109933460A (en) | Data snapshot method and device | |
CN110020332A (en) | A kind of event generation method and device for selecting element based on circle | |
Hackman et al. | Mining emerging high utility itemsets over streaming database |
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 | ||
CB02 | Change of applicant information |
Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |
|
RJ01 | Rejection of invention patent application after publication |