CN109189654A - A kind of mobile terminal user behavior track recording method - Google Patents
A kind of mobile terminal user behavior track recording method Download PDFInfo
- Publication number
- CN109189654A CN109189654A CN201810871742.XA CN201810871742A CN109189654A CN 109189654 A CN109189654 A CN 109189654A CN 201810871742 A CN201810871742 A CN 201810871742A CN 109189654 A CN109189654 A CN 109189654A
- Authority
- CN
- China
- Prior art keywords
- data
- user behavior
- mobile terminal
- recording method
- track recording
- 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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000006399 behavior Effects 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 12
- 101000771640 Homo sapiens WD repeat and coiled-coil-containing protein Proteins 0.000 claims abstract description 10
- 102100029476 WD repeat and coiled-coil-containing protein Human genes 0.000 claims abstract description 10
- 238000013459 approach Methods 0.000 claims abstract description 10
- 230000009466 transformation Effects 0.000 claims abstract 2
- 210000003205 muscle Anatomy 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 238000012216 screening Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 3
- 230000000694 effects Effects 0.000 abstract description 2
- 230000004044 response Effects 0.000 description 2
- 102000041248 APP family Human genes 0.000 description 1
- 108091061431 APP family Proteins 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Classifications
-
- 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/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Hardware Design (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention is more particularly directed to a kind of mobile terminal user behavior track recording methods.The mobile terminal user behavior track recording method, the method that Hook to system receives customer incident;The systems approach that notice all Hook of center processing are arrived;Event after transformation is put into first level caching;Second level caching receives customer incident.The mobile terminal user behavior track recording method, without bury a little can counting user action trail, will not be coupled with current business system, reduce the workload of business development personnel;It will not be had a significant effect to performance using I/O operation caused by a large amount of user behavior data of MMAP technology, efficiency is comparable to directly operation memory;It not will cause loss of data also simultaneously, ensure that the integrality of user behavior data.
Description
Technical field
The present invention relates to computer application technology, in particular to a kind of mobile terminal user behavior track recording method.
Background technique
With being continuously increased for mobile terminal portfolio, the continuous promotion of business complexity, enterprise is in order to preferably analyze use
Family behavior improves APP(Application, application software) product characteristic, obtain the analysis foundation of the more end APP exception, it is capable
It is essential for track.However, since yield is huge when user uses APP for user behavior information data, so to guarantee to deposit
Execution efficiency wants high when storage, wants sufficiently small to the consumption of CPU.And conventional method is big using time when sqlite one data of storage
About 3 ~ 5MS, execution efficiency is low when storage, to the exorbitant expenditure of CPU, thus can not completely note down use when user is using APP
Family behavioural information data.
It moves back simultaneously as mobile terminal can be dodged at any time so data integrity is also a stubborn problem.It is well known that
When foreground reaches 10S or so without response, IOS system can kill the process of current APP by force, and user is in APP for the mobile terminal IOS
Without in response duration, it is possible to only can wait 5 ~ 8S time that will manually kill process;When APP committed memory reaches 100 ~
(as the upgrading of apple hardware this numerical value can continue to be promoted) when 120M or so, when storage execution efficiency also can by force by
APP process kills, and here it is the FOOM(Foreground Out Of Memory that we often say, in the quick-fried memory in the foreground APP).?
In this case, traditional information recording method can lose this partial data, can not completely save lower user behavior letter
Breath.
For traditional Web Service development mode drawback, the invention proposes a kind of mobile terminal user behavior track notes
Recording method.
Summary of the invention
In order to compensate for the shortcomings of the prior art, the present invention provides a kind of mobile terminal user behavior track notes being simple and efficient
Recording method.
The present invention is achieved through the following technical solutions:
A kind of mobile terminal user behavior track recording method, which comprises the following steps:
(1) method that Hook receives customer incident to system;
(2) systems approach that notice all Hook of center processing are arrived;
(3) event after being transformed is put into first level caching;
(4) second level caching receives customer incident.
The step (1) specifically includes the following steps:
(a) face direction programs Hook to all systems approaches for receiving user behavior event;
(b) method that systems approach is replaced with into oneself creation;
(c) customized user behavior analysis notice is sent.
The step (2) specifically includes the following steps:
(a) when the user clicks, jump page when, the method after replacing sends notification to notice center;
(b) notice center is screened event by customized screening washer, is transformed.
The step (3) specifically includes the following steps:
(a) first level caching uses doubly linked list as basic data structure;
(b) first level caching is carried out data transmission using every 30S or every 4k byte as node to second level caching;
(c) all data are written into the memory opened up in advance in one data of the every receiving of first level;
(d) when time or byte value reaching threshold value, disk is written in releasing memory;
If (e) during this period APP surprisingly collapse sudden strain of a muscle move back, manually write data in EMS memory without user, ability base passes through MMAP
(document memory mapping) technology helps user to discharge prefabricated memory, and disk is written in content.
The step (4) specifically includes the following steps:
(a) second level caching is using the data structure based on common array, in order that efficient batch execution data;
(b) the data cached processing threshold value of second level is 60S 8K byte data, when reaching condition to remote
Server initiates data upload requests;
(c) without the perdurable data into disk again, but work as without using MMAP technology in second level caching and initiate number
After upload request, need to be purged local data processing;If APP surprisingly collapses sudden strain of a muscle and moves back in upload procedure, under
It is secondary to retransmit the integrality that will not influence data.
The beneficial effects of the present invention are: the mobile terminal user behavior track recording method, it a little can counting user without burying
Action trail will not couple with current business system, reduce the workload of business development personnel;It is a large amount of using MMAP technology
I/O operation caused by user behavior data will not have a significant effect to performance, and efficiency is comparable to directly operation memory;Simultaneously also not
It will cause loss of data, ensure that the integrality of user behavior data.
Detailed description of the invention
Attached drawing 1 is user behavior track recording method schematic diagram in mobile terminal of the present invention.
Specific embodiment
In order to which technical problems, technical solutions and advantages to be solved are more clearly understood, tie below
Drawings and examples are closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.
The mobile terminal user behavior track recording method, comprising the following steps:
(1) method that Hook receives customer incident to system;
(2) systems approach that notice all Hook of center processing are arrived;
(3) event after being transformed is put into first level caching;
(4) second level caching receives customer incident.
The step (1) specifically includes the following steps:
(a) face direction programs Hook to all systems approaches for receiving user behavior event;
(b) method that systems approach is replaced with into oneself creation;
(c) customized user behavior analysis notice is sent.
The step (2) specifically includes the following steps:
(a) when the user clicks, jump page when, the method after replacing sends notification to notice center;
(b) notice center is screened event by customized screening washer, is transformed.
The step (3) specifically includes the following steps:
(a) first level caching uses doubly linked list as basic data structure;
(b) first level caching is carried out data transmission using every 30S or every 4k byte as node to second level caching;
(c) all data are written into the memory opened up in advance in one data of the every receiving of first level;
(d) when time or byte value reaching threshold value, disk is written in releasing memory;
If (e) during this period APP surprisingly collapse sudden strain of a muscle move back, manually write data in EMS memory without user, ability base passes through MMAP
(document memory mapping) technology helps user to discharge prefabricated memory, and disk is written in content.
The step (4) specifically includes the following steps:
(a) second level caching is using the data structure based on common array, in order that efficient batch execution data;
(b) the data cached processing threshold value of second level is 60S 8K byte data, when reaching condition to remote
Server initiates data upload requests;
(c) without the perdurable data into disk again, but work as without using MMAP technology in second level caching and initiate number
After upload request, need to be purged local data processing;If APP surprisingly collapses sudden strain of a muscle and moves back in upload procedure, under
It is secondary to retransmit the integrality that will not influence data.
The mobile terminal user behavior track recording method is a programing power library.It can be real by the programing power library
When, efficiently, completely record user behavior track, frequent I/O operation caused by a large amount of user behavior data information exists
Possess Ultra-High Efficiency under the processing of the ability base, efficiency is comparable to directly operation memory.The programing power library passes through AOP technology Hook
To the method for system bottom processing customer incident, replaces it, handles it;MMAP technology is used at I/O, passes through the end IOS MMAP
Characteristic is still automatic in APP-Crash, complete to save information in memory space, it is ensured that all action trails of user are ok
It completely is persisted to local, lays important foundation for subsequent upload analysis.
Claims (5)
1. a kind of mobile terminal user behavior track recording method, which comprises the following steps:
The method that Hook receives customer incident to system;
The systems approach that notice all Hook of center processing are arrived;
Event after transformation is put into first level caching;
Second level caching receives customer incident.
2. user behavior track recording method in mobile terminal according to claim 1, which is characterized in that step (1) tool
Body the following steps are included:
Face direction programs Hook to all systems approaches for receiving user behavior event;
The method that systems approach is replaced with into oneself creation;
Send customized user behavior analysis notice.
3. user behavior track recording method in mobile terminal according to claim 1, which is characterized in that step (2) tool
Body the following steps are included:
When the user clicks, when jump page, the method after replacing sends notification to notice center;
Event is screened by customized screening washer, is transformed in notice center.
4. user behavior track recording method in mobile terminal according to claim 1, which is characterized in that step (3) tool
Body the following steps are included:
First level caching uses doubly linked list as basic data structure;
First level caching is carried out data transmission using every 30S or every 4k byte as node to second level caching;
All data are written into the memory opened up in advance in first level one data of every receiving;
When time or byte value reaching threshold value, disk is written in releasing memory;
If APP surprisingly collapses sudden strain of a muscle and moves back during this period, data in EMS memory is manually write without user, ability base passes through MMAP(text
The mapping of part memory) technology helps user to discharge prefabricated memory, and disk is written in content.
5. user behavior track recording method in mobile terminal according to claim 1, which is characterized in that step (4) tool
Body the following steps are included:
Second level caching is using the data structure based on common array, in order that efficient batch execution data;
The data cached processing threshold value of second level is 60S 8K byte data, is sent out when reaching condition to remote server
Play data upload requests;
Without using MMAP technology in second level caching, without the perdurable data into disk again, but works as and initiate data
After upload request, need to be purged local data processing;If APP surprisingly collapses sudden strain of a muscle and moves back in upload procedure, next time
Retransmit the integrality that will not influence data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810871742.XA CN109189654A (en) | 2018-08-02 | 2018-08-02 | A kind of mobile terminal user behavior track recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810871742.XA CN109189654A (en) | 2018-08-02 | 2018-08-02 | A kind of mobile terminal user behavior track recording method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109189654A true CN109189654A (en) | 2019-01-11 |
Family
ID=64920578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810871742.XA Pending CN109189654A (en) | 2018-08-02 | 2018-08-02 | A kind of mobile terminal user behavior track recording method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189654A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060028903A1 (en) * | 2004-08-05 | 2006-02-09 | Canon Kabushiki Kaisha | Image processing device, and control method of image processing device |
CN103262054A (en) * | 2010-12-13 | 2013-08-21 | 弗森-艾奥公司 | Apparatus, system, and method for auto-commit memory |
CN103514112A (en) * | 2012-06-29 | 2014-01-15 | 浙江大华技术股份有限公司 | Data storage method and system |
CN104573420A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Method and device for preventing processes from being mistakenly killed |
US20160042191A1 (en) * | 2014-08-11 | 2016-02-11 | North Carolina State University | Programmable interface for extending security of application-based operating system, such as android |
CN107800757A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | User behavior recording method and device |
-
2018
- 2018-08-02 CN CN201810871742.XA patent/CN109189654A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060028903A1 (en) * | 2004-08-05 | 2006-02-09 | Canon Kabushiki Kaisha | Image processing device, and control method of image processing device |
CN103262054A (en) * | 2010-12-13 | 2013-08-21 | 弗森-艾奥公司 | Apparatus, system, and method for auto-commit memory |
CN103514112A (en) * | 2012-06-29 | 2014-01-15 | 浙江大华技术股份有限公司 | Data storage method and system |
US20160042191A1 (en) * | 2014-08-11 | 2016-02-11 | North Carolina State University | Programmable interface for extending security of application-based operating system, such as android |
CN104573420A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Method and device for preventing processes from being mistakenly killed |
CN107800757A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | User behavior recording method and device |
Non-Patent Citations (1)
Title |
---|
NOAH_SHAN: "无埋点记录用户行为轨迹(aop-ui层 mmap-i/o层)", 《HTTPS://GITHUB.COM/HATJS880328S/NBPBEHAVIORTRACE/FIND/2.2-UPLOAD-CENTER-OPTIMIZE》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101956236B1 (en) | Data replication technique in database management system | |
US11868373B2 (en) | Method and apparatus for monitoring an in-memory computer system | |
US10684990B2 (en) | Reconstructing distributed cached data for retrieval | |
US11249943B2 (en) | Scalable enterprise content management | |
US11232071B2 (en) | Regressable differential data structures | |
US9053123B2 (en) | Mirroring file data | |
US10572319B2 (en) | Optimization of message oriented middleware monitoring in heterogenenous computing environments | |
US8812677B2 (en) | Data processing method and apparatus for remote storage system | |
JP2017539000A (en) | Dynamic scaling of storage volume for storage client file system | |
JP2016502193A (en) | Database streaming restore from backup system | |
US10031948B1 (en) | Idempotence service | |
CN105357280B (en) | A kind of file based on HDFS is traced to the source FTP system | |
US10698863B2 (en) | Method and apparatus for clearing data in cloud storage system | |
US20120084260A1 (en) | Log-shipping data replication with early log record fetching | |
WO2023125672A1 (en) | Platform message tracking method, system and apparatus, and storage medium | |
CN109739435A (en) | File storage and update method and device | |
US10592169B2 (en) | Methods and systems that efficiently store metric data to enable period and peak detection | |
CN113254320A (en) | Method and device for recording user webpage operation behaviors | |
US9760576B1 (en) | System and method for performing object-modifying commands in an unstructured storage service | |
CN109189654A (en) | A kind of mobile terminal user behavior track recording method | |
JP5490325B2 (en) | Autonomous intelligent content items | |
US11829364B2 (en) | Making decisions for placing data in a multi-tenant cache | |
CN104699811A (en) | Method and device for recording and backtracking variation of form data in non-invasion manner | |
US11561899B2 (en) | Method and system of managing a file cache by selective delete-on-read operations | |
US7260615B2 (en) | Apparatus and method for analyzing remote data |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |