CN106446082B - IOS device data digging method and system - Google Patents

IOS device data digging method and system Download PDF

Info

Publication number
CN106446082B
CN106446082B CN201610814193.3A CN201610814193A CN106446082B CN 106446082 B CN106446082 B CN 106446082B CN 201610814193 A CN201610814193 A CN 201610814193A CN 106446082 B CN106446082 B CN 106446082B
Authority
CN
China
Prior art keywords
data
collection
user
collector
background thread
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
CN201610814193.3A
Other languages
Chinese (zh)
Other versions
CN106446082A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610814193.3A priority Critical patent/CN106446082B/en
Publication of CN106446082A publication Critical patent/CN106446082A/en
Application granted granted Critical
Publication of CN106446082B publication Critical patent/CN106446082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to computer software technical field, a kind of iOS device data digging method and system are provided, with the user information and record generated when collecting user using App.The system includes collector and memory, and collector includes collector administrative center, timer, collection work person and collection module, and memory includes data cached space, volatile data base, trust data library and memory module.The user data that technical solution proposed by the present invention can be collected into current iOS system is localized storage, under the premise of occupancy primary application program resource as few as possible, carries out uninterrupted collection user information and record on application backstage.

Description

IOS device data digging method and system
Technical field
The invention belongs to computer software technical field, in particular to a kind of iOS device data digging method and system.
Background technique
Currently, with the fast development and extensive use of development of Mobile Internet technology, mobile intelligent terminal equipment is largely popularized It is up to 116 minutes when the common people, mobile interchange network users averagely daily starting App, close to 2 hours, internet App industry city Field competition is more fierce, how to improve safety and better user experience of the user using App, is current enterprise exploitation App The problem of must be taken into consideration.A large amount of user information and record are also produced while user is using App, are believed using these records It ceases to understand the behavior of mobile subscriber and user characteristics and carry out some researchs and be necessary.
By the excavation of mobile user data, the crowd characteristic using App, use habit can analyze, it can also be further Numerical analysis is carried out to data, finally obtains the statistical nature of user behavior to establish user behavior, and in advance to user behavior Trend is judged or is predicted, can be applied not only to the safety verification of user, it is also possible to the user experience of Lai Gaishan App, this It is also of great significance for the development of mobile App.
Summary of the invention
[technical problems to be solved]
The object of the present invention is to provide a kind of iOS device data digging method and systems, to produce when collecting user using App Raw user information and record.
[technical solution]
The present invention is achieved by the following technical solutions.
Present invention firstly relates to a kind of iOS device data digging system, including collector and memory, the collector packet Include collector administrative center, timer, collection work person and collection module, the memory includes data cached space, interim Database, trust data library and memory module,
The collection module is configured to: by collector administrative center one common background thread of unlatching, while Start timer in the background thread, under the timing of timer by the background thread call different collection work persons to Family habit data are collected;
The memory module is configured to: the user being collected into being accustomed to data and is stored in data cached space;Judgement is collected To user be accustomed to the data volumes of data and whether exceed the maximum value in data cached space, if it is user's habit data are deposited Enter volatile data base and Trusting eBusiness is carried out to the data of volatile data base, it, will if the data of volatile data base are credible Data in volatile data base move into trust data library, otherwise the data of volatile data base are insincere, delete in volatile data base Data.
As a preferred embodiment, the collection work person includes health data collecting worker, touches and collect Worker, longitude and latitude collection work person, velocity information collection work person.
As another preferred embodiment, the health data collecting worker is configured to: in background thread Asynchronous collection method in the lower health application library for calling iOS system of order, the number that carries out health data collecting and will be collected into According to being back to collector administrative center.
As another preferred embodiment, the health data collecting worker is configured to: in background thread Under order, all kinds of touch events are intercepted and captured by the customized subclass of UIApplication application class, and filter out TouchBegin, TouchMove, TouchEnd three classes message obtain touch data and the touch data are back to collector Administrative center.
As another preferred embodiment, the longitude and latitude collection work person is configured to: in the order of background thread Under, geographic latitude and longitude where calling the geographical location acquisition methods collecting device of iOS system and by the data back to collector Administrative center;The velocity information collection work person is configured to: under the order of background thread, call iOS system angle, Acceleration collection method obtains after user holds the acceleration of equipment, user holds the space three-dimensional deflection angle of equipment, by this Data back collector administrative center.
The invention further relates to a kind of iOS device data digging methods, including data collection and data to store,
The data collection includes:
A common background thread is opened by collector administrative center, while starting timer, In in the background thread The background thread is called different collection work persons to be accustomed to data to user and is collected under the timing of timer;
The data storage includes:
The user being collected into is accustomed to data and is stored in data cached space;
Judge whether the data volume of the user being collected into habit data exceeds the maximum value in data cached space, if it is User is accustomed to data deposit volatile data base and is transferred to next step, it is on the contrary then exit data Stored Procedure;
Trusting eBusiness is carried out to the data of volatile data base, if the data of volatile data base are credible, by nonce Trust data library is moved into according to the data in library, it is on the contrary then delete the data in volatile data base.
As another preferred embodiment, the data collection include health data collecting, touch data collect, Manage longitude and latitude collection, velocity information is collected.
As another preferred embodiment, the health data collecting includes: to call under the order of background thread Asynchronous collection method in the health application library of iOS system carries out health data collecting and extremely receives the data back being collected into Storage administrative center, the user health data include user's travel distance, user's walking step number.
As another preferred embodiment, the touch data collection includes: to pass through under the order of background thread The customized subclass of UIApplication application class intercepts and captures all kinds of touch events, and filter out TouchBegin, TouchMove, TouchEnd three classes message obtain touch data and the touch data are back to collector administrative center.
As another preferred embodiment, the geographic latitude and longitude collection includes: to adjust under the order of background thread With the geographical location acquisition methods collecting device place geographic latitude and longitude of iOS system and by the data back into collector management The heart;Velocity information collection includes: the angle that iOS system is called under the order of background thread, acceleration collection method, It obtains after user holds the acceleration of equipment, user holds the space three-dimensional deflection angle of equipment, by the data back collector Administrative center.
[beneficial effect]
Technical solution proposed by the present invention has the advantages that
The present invention is localized storage for the user data that current iOS system can be collected into, and accounts in as few as possible Under the premise of with primary application program resource, uninterrupted collection user information and record are carried out on application backstage.Pass through mobile subscriber The excavation of data can analyze the crowd characteristic using App, use habit, further can also carry out numerical analysis to data, most Obtain the statistical nature of user behavior afterwards to establish user behavior, and user behavior trend is judged or predicted in advance, no It can be applied only to the safety verification of user, it is also possible to the user experience of Lai Gaishan App.
Detailed description of the invention
Fig. 1 is the functional block diagram for the iOS device data digging system that the embodiment of the present invention one provides.
Specific embodiment
It to make the object, technical solutions and advantages of the present invention clearer, below will be to a specific embodiment of the invention Carry out clear, complete description.
Embodiment one
Embodiment one is iOS device data digging system, and Fig. 1 is that the iOS device data that the embodiment of the present invention one provides are dug The functional block diagram of pick system.As shown in Figure 1, the system includes collector 1 and memory 2.Wherein, collector 1 includes collector Administrative center, timer, collection work person and collection module, memory 2 includes data cached space, volatile data base, credible Database and memory module.Data cached space distribution is in the memory headroom of application application, volatile data base and trust data Library is then stored in using in corresponding mobile phone sandbox.The storage size of three parts can be configured by application according to oneself demand big It is small, using the design method hardly occupying system resources, the data for also facilitating management to store.
Collection module is configured to: opening a common background thread by collector administrative center, while after this Start timer in platform thread, calls different collection work persons to practise user by the background thread under the timing of timer Used data are collected.
Memory module is configured to: the user being collected into being accustomed to data and is stored in data cached space;What judgement was collected into Whether the data volume that user is accustomed to data exceeds the maximum value in data cached space, and user is if it is accustomed to data deposit and is faced When database and to the data of volatile data base carry out Trusting eBusiness will be interim if the data of volatile data base are credible Data in database move into trust data library, otherwise the data of volatile data base are insincere, delete the number in volatile data base According to.
In the present embodiment, collection work person includes health data collecting worker, touches collection work person, longitude and latitude collection work Author, velocity information collection work person.
Specifically, health data collecting worker is configured to: the health of iOS system is called under the order of background thread Asynchronous collection method in application library carries out health data collecting and by the data back being collected into collector administrative center.
Specifically, health data collecting worker is configured to: under the order of background thread, passing through The customized subclass of UIApplication application class intercepts and captures all kinds of touch events, and filter out TouchBegin, TouchMove, TouchEnd three classes message obtain touch data and the touch data are back to collector administrative center.
Specifically, longitude and latitude collection work person is configured to: under the order of background thread, calling the geographical position of iOS system Geographic latitude and longitude where setting acquisition methods collecting devices and by the data back to collector administrative center;The velocity information is received Collection worker is configured to: under the order of background thread, calling angle, the acceleration collection method of iOS system, obtains user Hold the acceleration of equipment, after user holds the space three-dimensional deflection angle of equipment, by the data back collector administrative center.
The iOS device data digging method realized using the system in embodiment one can be implemented with reference to following specific methods Example.
Embodiment two
Embodiment two is a kind of iOS device data digging method, and this method includes data collection and data storage.
Data collection includes:
A common background thread is opened by collector administrative center, while starting timer, In in the background thread The background thread is called different collection work persons to be accustomed to data to user and is collected under the timing of timer.
The present embodiment is after data are collected into, and for occupying system resources few as far as possible, while being also convenient for abandoning in vain Data etc. operation, take memory, volatile data base, the three kinds of modes in trust data library storage organization.Specifically, data store Include:
The user being collected into is accustomed to data and is stored in data cached space;
Judge whether the data volume of the user being collected into habit data exceeds the maximum value in data cached space, if it is User is accustomed to data deposit volatile data base and is transferred to next step, it is on the contrary then exit data Stored Procedure;
Trusting eBusiness is carried out to the data of volatile data base, if the data of volatile data base are credible, by nonce Trust data library is moved into according to the data in library, it is on the contrary then delete the data in volatile data base.
Specifically, in the present embodiment, data collection includes health data collecting, touch data is collected, geographic latitude and longitude is received Collection, velocity information are collected.
Wherein, health data collecting includes: different in the health application library for call under the order of background thread iOS system Collection method is walked, carries out health data collecting and by the data back being collected into collector administrative center, the user health Data include user's travel distance, user's walking step number.
Wherein, touch data collection includes: to pass through UIApplication application class under the order of background thread Customized subclass intercept and capture all kinds of touch events, and filter out TouchBegin, TouchMove, TouchEnd three classes message, obtain Collector administrative center is back to touch data and by the touch data.
Wherein, geographic latitude and longitude collection includes: that the geographical location of iOS system is called to obtain under the order of background thread Geographic latitude and longitude where method collecting device and by the data back to collector administrative center;The velocity information collects packet It includes: under the order of background thread, calling angle, the acceleration collection method of iOS system, obtain the acceleration that user holds equipment After degree, user hold the space three-dimensional deflection angle of equipment, by the data back collector administrative center.
From above step it is found that the present embodiment is grasped by the collection that the method for running background thread carries out all kinds of asynchronous datas Make, by test it is found that CPU shared by program entirety and ratio memory are lower, does not interfere with the normal of foreground main program substantially Function.
Moreover, the present embodiment is that external acquisition data or the other kinds of data of deposit have also reserved operation interface.Pass through The incoming data type for needing to obtain and storage mode, freely can obtain data in library from memory, volatile data base, trust data And storing data, flexibility with higher.
As can be seen from the above embodiments, the user data that the embodiment of the present invention can be collected into for current iOS system into Row localization storage is uninterruptedly collected under the premise of occupancy primary application program resource as few as possible using backstage User information and record.By the excavation of mobile user data, the crowd characteristic using App, use habit can analyze, it can also Further to data carry out numerical analysis, finally obtain the statistical nature of user behavior to establish user behavior, and in advance to Family behavior trend is judged or is predicted, can be applied not only to the safety verification of user, it is also possible to the user's body of Lai Gaishan App It tests.
It is to be appreciated that the embodiment of foregoing description is a part of the embodiments of the present invention, rather than whole embodiments, also not It is limitation of the present invention.Based on the embodiment of the present invention, those of ordinary skill in the art are not making the creative labor premise Under every other embodiment obtained, belong to protection scope of the present invention.

Claims (2)

1. a kind of iOS device data digging system, it is characterised in that including collector and memory, the collector includes collecting Device administrative center, timer, collection work person and collection module, the memory include data cached space, volatile data base, Trust data library and memory module,
The collection module is configured to: opening a common background thread by collector administrative center, while after this Start timer in platform thread, calls different collection work persons to practise user by the background thread under the timing of timer Used data are collected;
The memory module is configured to: the user that collection module is collected into is accustomed to data and is stored in data cached space;Judgement Whether the data volume that the user being collected into is accustomed to data exceeds the maximum value in data cached space, and user is if it is accustomed to number Trusting eBusiness is carried out according to deposit volatile data base and to the data of volatile data base, if the data of volatile data base are credible, The data in volatile data base are then moved into trust data library, delete ephemeral data if the data of volatile data base are insincere Data in library;The collection work person includes health data collecting worker, touches collection work person, longitude and latitude collection work Person, velocity information collection work person, the health data collecting worker are configured to: calling under the order of background thread Asynchronous collection method in the health application library of iOS system carries out health data collecting and extremely receives the data back being collected into Storage administrative center;The touch collection work person is configured to: under the order of background thread, passing through UIApplication The customized subclass of application class intercepts and captures all kinds of touch events, and filters out TouchBegin, TouchMove, TouchEnd Three classes message obtains touch data and the touch data is back to collector administrative center;
The longitude and latitude collection work person is configured to: under the order of background thread, calling the geographical location acquisition side of iOS system Geographic latitude and longitude where method collecting device and by the data back to collector administrative center;The velocity information collection work person It is configured to: under the order of background thread, calling angle, the acceleration collection method of iOS system, obtain user and hold equipment Acceleration, after user holds the space three-dimensional deflection angle of equipment, by the data back collector administrative center.
2. a kind of iOS device data digging method, it is characterised in that it is stored including data collection and data,
The data collection includes:
A common background thread is opened by collector administrative center, while starting timer in the background thread, in timing The background thread is called different collection work persons to be accustomed to data to user and is collected under the timing of device;
The data storage includes:
The user being collected into is accustomed to data and is stored in data cached space;
Judge whether the data volume of the user being collected into habit data exceeds the maximum value in data cached space, will if it is use Family habit data deposit volatile data base is simultaneously transferred to next step, on the contrary then exit data Stored Procedure;
Trusting eBusiness is carried out to the data of volatile data base, if the data of volatile data base are credible, by volatile data base In data move into trust data library, the data in volatile data base are deleted if the data of volatile data base are insincere;Institute Stating data collection includes health data collecting, touch data collection, geographic latitude and longitude collection, velocity information collection;
The health data collecting includes: the asynchronous receipts in the health application library for call under the order of background thread iOS system Set method carries out health data collecting and by the data back being collected into collector administrative center, and the health data includes User's travel distance, user's walking step number;The touch data collection includes: to pass through under the order of background thread The customized subclass of UIApplication application class intercepts and captures all kinds of touch events, and filter out TouchBegin, TouchMove, TouchEnd three classes message obtain touch data and the touch data are back to collector administrative center;Institute Stating geographic latitude and longitude collection includes: the geographical location acquisition methods collecting device that iOS system is called under the order of background thread Place geographic latitude and longitude and by the data back to collector administrative center;The velocity information collection includes: in background thread Order under, call angle, the acceleration collection method of iOS system, obtain that user holds the acceleration of equipment, user holds and sets After standby space three-dimensional deflection angle, by the data back collector administrative center.
CN201610814193.3A 2016-09-09 2016-09-09 IOS device data digging method and system Active CN106446082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610814193.3A CN106446082B (en) 2016-09-09 2016-09-09 IOS device data digging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610814193.3A CN106446082B (en) 2016-09-09 2016-09-09 IOS device data digging method and system

Publications (2)

Publication Number Publication Date
CN106446082A CN106446082A (en) 2017-02-22
CN106446082B true CN106446082B (en) 2019-11-05

Family

ID=58169151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610814193.3A Active CN106446082B (en) 2016-09-09 2016-09-09 IOS device data digging method and system

Country Status (1)

Country Link
CN (1) CN106446082B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213445A (en) * 2019-06-03 2019-09-06 四川长虹电器股份有限公司 Login system and method are exempted from a kind of iOS application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092028A (en) * 2004-09-21 2006-04-06 Olympus Corp Data collection device and data collection system
CN104298679A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Application service recommendation method and device
CN105260284A (en) * 2015-10-19 2016-01-20 上海斐讯数据通信技术有限公司 Method for monitoring using behaviors of users of mobile terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092028A (en) * 2004-09-21 2006-04-06 Olympus Corp Data collection device and data collection system
CN104298679A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Application service recommendation method and device
CN105260284A (en) * 2015-10-19 2016-01-20 上海斐讯数据通信技术有限公司 Method for monitoring using behaviors of users of mobile terminals

Also Published As

Publication number Publication date
CN106446082A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
Bell et al. Nodobo: Mobile phone as a software sensor for social network research
CN110337059B (en) Analysis algorithm, server and network system for family relationship of user
CN106357808A (en) Data synchronization method and device
Zhang et al. Computing on base station behavior using erlang measurement and call detail record
CN108446059A (en) The method, terminal and computer storage media fast applied are set
CN106790926A (en) A kind of contact management method and terminal
CN107038074A (en) Internal memory optimization device and method based on associating policy
CN110245196A (en) A kind of data relation analysis method determining public safety environment based on timing and characteristic value
CN107332983A (en) A kind of dynamic effect display methods of intelligent watch dial plate, intelligent watch
CN106446082B (en) IOS device data digging method and system
CN103680257B (en) The method of communication software automatic recording course and system thereof
CN103167502B (en) Based on the method for the illegal calling of OTA technology regulation
CN104581729B (en) Junk information processing method and device
CN107426536A (en) A kind of intelligent residential district manages communication system
CN104244436A (en) Method and device for adjusting network equipment
CN109672987A (en) A kind of community management method and system
CN101404805B (en) Method for finding out network edge roaming problem through call bill depth excavation
US9706414B2 (en) Method and apparatus for determining data flow rate on service access port
CN108540471A (en) Mobile application clustering network flow method, computer readable storage medium and terminal
CN101770553A (en) Mobile terminal and calling method for root certificate in mobile terminal
CN103634488B (en) A kind of communicator of Multi-function mutual UNICOM news
CN103458008B (en) The method and system of storage are downloaded to mail data
CN107171946A (en) The method and device that password is given for change
CN103491229B (en) The method and apparatus of the telephone number of management contact person
CN104507064A (en) Emergency communication telephone traffic priority ordering method based on PageRank algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant