CN109189654A - A kind of mobile terminal user behavior track recording method - Google Patents

A kind of mobile terminal user behavior track recording method Download PDF

Info

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
Application number
CN201810871742.XA
Other languages
Chinese (zh)
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.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft 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 Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN201810871742.XA priority Critical patent/CN109189654A/en
Publication of CN109189654A publication Critical patent/CN109189654A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring 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

A kind of mobile terminal user behavior track recording method
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.
CN201810871742.XA 2018-08-02 2018-08-02 A kind of mobile terminal user behavior track recording method Pending CN109189654A (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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