CN107566480A - The user activity information acquisition method and device, storage medium of mobile terminal application - Google Patents
The user activity information acquisition method and device, storage medium of mobile terminal application Download PDFInfo
- Publication number
- CN107566480A CN107566480A CN201710762623.6A CN201710762623A CN107566480A CN 107566480 A CN107566480 A CN 107566480A CN 201710762623 A CN201710762623 A CN 201710762623A CN 107566480 A CN107566480 A CN 107566480A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- measurement period
- user
- information
- time
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
This disclosure relates to technical field of data processing, and in particular to a kind of the user activity information acquisition method and device of mobile terminal application, a kind of storage medium and a kind of electronic equipment.Methods described includes:After mobile terminal starts application program, judge in current preset measurement period the mobile terminal whether upload user log information;When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, collection preset data generates the user journal information and sent to server, in order to the server statistics user profile to corresponding measurement period.Traditional log statistic analysis can be reduced to any active ues Information Statistics in the monocycle by the disclosure, reduce the complexity of statistics, effectively reduce resource consumption, lift computational efficiency, basis is provided for any active ues statistical analysis of big time span.
Description
Technical field
A kind of this disclosure relates to technical field of data processing, and in particular to user activity information collection of mobile terminal application
Method, user activity information harvester, a kind of storage medium and a kind of electronic equipment of mobile terminal application.
Background technology
With being skyrocketed through for mobile Internet number of users, data statistics for application program on mobile terminal and point
Analysis becomes ever more important., it is necessary to application program in different cycles (example during to application program for mobile terminal progress OA operation analysis
Such as:The measurement periods such as day, week, the moon, season, year) in any active ues quantity counted.
Existing Internet user's data statistics method includes following several schemes:1) pull in the current statistic cycle and own
The access log of user, data re-scheduling is carried out to the access log of user and counts any active ues quantity;2) using system in real time
The mode of meter or offline table calculates by day, finally gives any active ues quantity in measurement period.But several schemes of the above
The problem of certain all be present, i.e., when the access log data volume of user is huge, time span of measurement period is longer, it is necessary to right
The data of flood tide carry out re-scheduling processing and statistical analysis;So that resource consumption is very huge, it is understood that there may be cluster resource can not expire
The situation of foot analysis demand, and can not be carried out by resource constraint collecting calculating from huge data volume.When measurement period is
" my god " when, it is necessary to carry out data statistics and analysis using substantial amounts of resource daily, computational efficiency is relatively low, and input-output ratio
It is low.
It should be noted that information is only used for strengthening the reason to the background of the disclosure disclosed in above-mentioned background section
Solution, therefore can include not forming the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The purpose of the disclosure is to provide a kind of user activity information acquisition method of mobile terminal application, a kind of movement eventually
A kind of storage medium of user activity information harvester and a kind of electronic equipment of application are held, and then at least to a certain extent
Overcome one or more problem caused by the limitation of correlation technique and defect.
Other characteristics and advantage of the disclosure will be apparent from by following detailed description, or partially by the disclosure
Practice and acquistion.
According to the first aspect of the disclosure, there is provided a kind of user activity information acquisition method of mobile terminal application, including:
After mobile terminal starts application program, judge whether the mobile terminal uploads use in current preset measurement period
Family log information;
When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, adopt
Collect preset data and generate the user journal information and simultaneously send to server, in order to which the server statistics user profile is to right
The measurement period answered.
In a kind of exemplary embodiment of the disclosure, the preset data includes:Call time on secondary, given the correct time on last time
Between, measurement period uploaded state and identity identification information.
In a kind of exemplary embodiment of the disclosure, the mobile terminal is in the judgement current preset measurement period
No upload user log information includes:
Mobile terminal start application program after, judge current time with it is described when time on whether call time in same statistics
In cycle;
Judge the current time with it is described call time not in same measurement period on secondary when, then be judged as current
The user journal information is not uploaded in default measurement period.
In a kind of exemplary embodiment of the disclosure, methods described also includes:Judge the current time with it is described
When calling time not in same measurement period on secondary, the measurement period reports shape as corresponding to being changed SDK
State is 0.
In a kind of exemplary embodiment of the disclosure, methods described also includes:
After the server receives the user profile and verifies confirmation, an acknowledgement state information is returned;
When the server reception user profile and failure is verified, returns to an abnormal state information.
In a kind of exemplary embodiment of the disclosure, methods described also includes:Receiving what the server returned
After one acknowledgement state information, ought time on call time to be assigned on last time and call time;Current time is assigned to described work as on secondary
Call time, and measurement period uploaded state corresponding to modification is 1.
In a kind of exemplary embodiment of the disclosure, the server statistics user profile to corresponding measurement period bag
Include:
Any active ues statistics list is created according to the measurement period in the server, according on the measurement period
Report state is by the user journal Information Statistics to the corresponding measurement period.
In a kind of exemplary embodiment of the disclosure, the measurement period includes:One in day, week, the moon, season, year
Kind or any several combination.
In a kind of exemplary embodiment of the disclosure, time and the current time of the server are consistent.
According to the second aspect of the disclosure, there is provided a kind of user activity information harvester of mobile terminal application, including:
Judge module, for after mobile terminal starts application program, judging the movement in current preset measurement period
Terminal whether upload user log information;
Data module, judge that the mobile terminal does not upload the user in the current preset measurement period for working as
During log information, collection preset data generates the user journal information and sent to server, in order to which the server is united
User profile is counted to corresponding measurement period.
According to the third aspect of the disclosure, there is provided a kind of storage medium, be stored thereon with computer program, described program quilt
The user activity information acquisition method of above-mentioned mobile terminal application is realized during computing device.
According to the fourth aspect of the disclosure, there is provided a kind of electric terminal, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to perform following operation via the executable instruction is performed:
After mobile terminal starts application program, judge whether the mobile terminal uploads use in current preset measurement period
Family log information;
When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, adopt
Collect preset data and generate the user journal information and simultaneously send to server, in order to which the server statistics user profile is to right
The measurement period answered.
The user activity information acquisition method for the mobile terminal application that a kind of embodiment of the disclosure is provided, by moving
Dynamic terminal side is judged and controlled to the upload situation for presetting user journal information in measurement period, by adopting for log information
Collection and upload control and be dispersed to each mobile terminal, so that the calculating pressure dissipation of server is to each mobile terminal.By pre-
If measurement period in only need to upload a user journal information, the work traditional log statistic analysis being reduced in the monocycle
The user profile that jumps statistics, greatly reduces data statistics amount, reduces the complexity of statistics, so as to simplify to day
The re-scheduling of will information calculates, lifting computational efficiency, and then effectively reduces resource consumption, is that any active ues of big time span count
Analysis provides basis.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.It should be evident that drawings in the following description are only the disclosure
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 schematically shows a kind of user activity information collection side of mobile terminal application in disclosure exemplary embodiment
Method schematic diagram;
Fig. 2 schematically shows a kind of user activity information collection dress of mobile terminal application in disclosure exemplary embodiment
Put composition schematic diagram;
Fig. 3 schematically shows a kind of user activity information collection dress of mobile terminal application in disclosure exemplary embodiment
Another schematic diagram put;
Fig. 4 schematically shows a kind of user activity information collection dress of mobile terminal application in disclosure exemplary embodiment
Another schematic diagram put.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in one or more embodiments in any suitable manner.
In addition, accompanying drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical accompanying drawing mark in figure
Note represents same or similar part, thus will omit repetition thereof.Some block diagrams shown in accompanying drawing are work(
Can entity, not necessarily must be corresponding with physically or logically independent entity.These work(can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
A kind of user activity information acquisition method of mobile terminal application is provide firstly in this example embodiment, can be with
Statistical analysis applied to application program for mobile terminal any active ues data.When carrying out operating analysis, it is often necessary to difference
Measurement period carry out any active ues quantity statistics, such as day active users, all active users, moon active users,
Season active users and year active users etc..Any active ues, which refer to have in the current statistic cycle, accessed current application
Mobile device.
When existing statistical method carries out statistical analysis in any active ues of application program on for mobile terminal, due to
The access user behaviors log amount of user is often bigger, or because measurement period time span is longer, it is necessary to data to flood tide
Re-scheduling processing is carried out, resource consumption is very huge, it is understood that there may be cluster resource can not meet the situation of data statistic analysis demand.
To solve the above problems, with reference to shown in figure 1, the user activity information acquisition method of the mobile terminal application can include with
Lower step:
S1, after mobile terminal starts application program, judge in current preset measurement period the mobile terminal whether on
Pass user journal information;
S2, when judging that the mobile terminal do not upload the user journal information in the current preset measurement period
When, collection preset data generates the user journal information and sent to server, in order to which the server statistics user believes
Cease to corresponding measurement period.
In a kind of user activity information acquisition method for mobile terminal application that this example embodiment is provided, applying
Program first determined whether after starting in the current statistic cycle whether upload user log information when, and the master when judging not upload
Dynamic collection preset data generation user journal information simultaneously uploads onto the server, and is easy to server to be counted.By mobile whole
End side judged and controlled to the upload situation for presetting user journal information in measurement period, by the collection of log information and
Upload control and be dispersed to each mobile terminal, so that the calculating pressure dissipation of server is to each mobile terminal.By default
A user journal information only need to be uploaded in measurement period, the active use traditional log statistic analysis being reduced in the monocycle
Family Information Statistics, data statistics amount is greatly reduced, reduce the complexity of statistics, daily record is believed so as to simplify
The re-scheduling of breath calculates, lifting computational efficiency, and then effectively reduces resource consumption, is any active ues statistical analysis of big time span
Basis is provided.
Below, user activity information of the drawings and Examples to the mobile terminal application in this example embodiment will be combined
Each step of acquisition method is described in detail.
Step S1, after mobile terminal starts application program, judge that the mobile terminal is in current preset measurement period
No upload user log information.
, can be by mobile terminal when user starts application program on mobile terminals in this example embodiment
SDK (Software Development Kit, SDK) the default measurement periods current to application program in
Whether upload user log information is judged.Above-mentioned mobile terminal can be mobile phone, tablet personal computer or notebook electricity
The intelligent terminals such as brain.
In this example embodiment, it is above-mentioned judge in current preset measurement period the mobile terminal whether upload user
Log information can be performed by following steps:After mobile terminal starts application program, SDK can be called to gather current time
And contrasted and judged result with working as to call time on secondary.
For example, when if current time is with calling time in same measurement period on secondary, illustrate in the current statistic cycle
It is interior, on be transmitted through user journal information, then need not upload user log information again in current measurement period.If when current
Between with when time on call time not in same measurement period, then be judged as non-upload user log information in the current statistic cycle.
Wherein, it is described when time on call time can be used for the last user journal information of statement on call time.
Step S2, the user journal letter is not uploaded in the current preset measurement period when judging the mobile terminal
During breath, collection preset data generates the user journal information and sent to server, in order to the server statistics user
Information is to corresponding measurement period.
In this example embodiment, above-mentioned preset data can include:Call time on secondary, called time on last time, unite
Count periodic report state and identity identification information etc..
Wherein, it is described when time on call time for stating the last (n-th) user journal information on call time;
Called time on the last time for state last ((n-1)th time) user journal information on call time.On the measurement period
Report state be used to marking current mobile terminal in each measurement period whether successful upload user log information.For example, when comprising
During multiple measurement periods, when such as measurement period being Month And Year, measurement period uploaded state mark can be applied to be every day
No success upload user log information, and the upload user log information that monthly whether succeeds.Wherein, it is above-mentioned when time on give the correct time
Between, called time on last time and current time should be consistent with server time, zebra time can be used simultaneously.The identity is known
Other information can be used for marking each mobile terminal, can select Imei (International Mobile as the case may be
Equipment Identification Number, International Mobile Equipment Identity code), MEID (Mobile Equipment
Identifier, mobile device identification code), IMSI (International Mobile Subscriber
Identification Number, international mobile subscriber identity), ESN (Electronic Serial Number, electronics sequence
Row number), Android id (Android device identification code), OpenUDID (iOS device identification code) or MAC Address (MAC
Address any one in).
Specifically, based on above-mentioned preset data, judge the current time with it is described when time on call time and do not exist
When in same measurement period, i.e. also non-upload user log information in current statistic week, the now system as corresponding to being changed SDK
It is 0 to count periodic report state, while assembles generation by calling SDK to gather multinomial preset data, and by the preset data of collection
User journal information, and user journal information is sent to server.Judge the current time with it is described when time on give the correct time
Between in same measurement period when, i.e. upload user log information in current statistic week then keeps original measurement period
Uploaded state is constant.
Upload situation by carrying out user journal information in default measurement period in mobile terminal side judge and
Control, the collection of log information and upload control pressure are dispersed to each mobile terminal.Due to only uploading one in measurement period
Bar user journal information, so as to be greatly reduced data volume, the complexity of data is reduced, and then reduce in data
Resource consumption during statistics and analysis.
Certainly, in other exemplary embodiments of the disclosure, the user activity information of above-mentioned mobile terminal application is adopted
Diversity method also includes:After the server receives the user profile and verifies confirmation, an acknowledgement state information is returned;Work as institute
State server to receive the user profile and verify failure, return to an abnormal state information.
The server, can be in user journal information after the user journal information of mobile terminal transmission is received
Data content is verified, and after verification data is correct, can return to an acknowledgement state information to mobile terminal.Work as mobile terminal
, can be according to the acknowledgement state information by corresponding current statistic periodic report state after receiving the acknowledgement state information
It is revised as 1.If server after receiving user journal information and verifying failure, can return to an abnormality to mobile terminal
Information, the user journal information data mistake of its upload of notice application program, so that application program uploads correct user again
Log information.
For example, in initial start-up application program, measurement period uploaded state, call time on secondary and secondary report
The data such as time are sky, can now call the preset datas such as SDK collections current time, identity identification information to be assembled into one
User journal information is simultaneously sent to server;After server receives and verifies confirmation, an acknowledgement state information is returned;Mobile terminal
After the confirmation status information of server return is received, current time is assigned to work as and calls time on secondary, called time on last time,
Each measurement period uploaded state is revised as 1 simultaneously.
For example, it is 2016-12-31 that user starts application time first, 12:31:28, now user profile is uploaded
To server, after the confirmation status information of server return is received, what now application call SDK was recorded reports when secondary
Time for " 2016-12-31,12:31:28 ", call time on last time " 2016-12-31,12:31:28 ", each measurement period it is upper
It is 1 to report state value.
When other times start application program, current time is judged with working as to call time on secondary, if current time
Called time with working as on secondary not in same measurement period, then the uploaded state of corresponding measurement period is entered as 0, gathered simultaneously
Preset data generates user journal information reporting to server, and after the confirmation status information of server return is received, will
Call time to be assigned on last time on secondary and call time, by current time be assigned to when time on call time, while will corresponding statistics week
The measurement period uploaded state of phase is updated to 1.If current time calls time in same measurement period with working as on secondary, user's day
Will information no longer uploads, and measurement period uploaded state is maintained as 1.
For example, the current time that user starts application program at second is:2016-12-31,15:12:50, due to working as
The preceding time with first start after retain it is current on call time on the same day, same all, same to January, the same quarter and same year,
So it is still 1 to keep the uploaded state of each measurement period, keep current on call time with called time on last time it is constant, and will not be to
Server uploads new user journal information.
User third time start application program time for 2 months 2017 No. 12 9 points 1 second 39 minutes, due to current time
Called time with working as on secondary not in the measurement period in same day, week, the moon, season and year, SDK is whole by all periodic report states
Be revised as 0, and ought time on call time " 2016-12-31 15:12:50 " were assigned on last time and call time, by current time
" 2017-06-12,09:39:01 " be assigned to when time on call time, complete gather preset data after assemble user journal information
And send to server, server end and will confirm that status information returns to after receiving user journal information and verifying confirmation
Application program, application program report shape after acknowledgement state information is received, by time cycles such as day, week, the moon, season and years
State is adjusted to 1.
The M times start application program when, its when time on call time for (2017-5-1,10:28:30), current statistic week
Phase is the moon;Current time for (2017-5-3,10:28:02), then when user launches application, determined by SDK when secondary
On call time with current time in same measurement period, then do not gather preset data, also do not generate user journal information.
If when starting application program the M times, call time on secondary for (2017-5-1,10:28:30), current statistic week
Phase is day;Current time for (2017-5-3,10:28:02), called time due to working as on secondary with current time not in same statistics week
In phase, it is 0 that can call SDK modification measurement period uploaded states, and can call SDK collection preset datas and generate user's day
Will information.
By being verified in server-side to the user journal information of reception, server statistics data can be ensured
Accuracy;Meanwhile the status information returned by server to mobile terminal side, it is ensured that mobile terminal side can be right
Report information accurately to be marked, ensure the accurate upload of subsequent user log information.
In addition, in the present example embodiment, the above-mentioned server statistics user profile to corresponding measurement period
It can include:
Any active ues statistics list is created according to the measurement period in the server, according on the measurement period
Report state is by the user journal Information Statistics to the corresponding measurement period.
List, and the time according to corresponding to the different foundation of measurement period are counted by creating any active ues on the server
Subregion, after the user journal information of mobile terminal upload is received and confirmed by, judged according to measurement period uploaded state.If
Current statistic periodic state is 0, then this user journal Information Statistics to any active ues are counted to the corresponding time subregion of list
It is interior.When calculating any active ues in each measurement period, the user journal information bar number in each time subregion need to only be united
Meter, original a large amount of daily record data re-schedulings are calculated, analysis, the user profile statistical analysis being reduced in single cycle,
So as to greatly reduce the complexity of statistics, the difficulty in computation of log information data is simplified, effectively lifting calculates
Efficiency, reduce resource consumption.
It should be noted that above-mentioned accompanying drawing is only showing for the processing included by method according to an exemplary embodiment of the present invention
Meaning property explanation, rather than limitation purpose.It can be readily appreciated that it is above-mentioned it is shown in the drawings processing be not intended that or limit these processing when
Between order.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Further, with reference to shown in figure 2, a kind of user of mobile terminal application is additionally provided in the embodiment of this example
Action message harvester, including:Judge module and data module.Wherein:
The judge module can be used for after mobile terminal starts application program, judge institute in current preset measurement period
State mobile terminal whether upload user log information.
The data module, which can be used for working as, judges that the mobile terminal does not upload in the current preset measurement period
During the user journal information, collection preset data generates the user journal information and sent to server, in order to described
Server statistics user profile is to corresponding measurement period.
The detail of each module is corresponding in the user activity information harvester of above-mentioned mobile terminal application
Mobile terminal application user activity information acquisition method in be described in detail, therefore here is omitted.
It should be noted that although some modules or list of the equipment for action executing are referred in above-detailed
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Either the feature of unit and function can embody module in a module or unit.A conversely, above-described mould
Either the feature of unit and function can be further divided into being embodied by multiple modules or unit block.
Further, a kind of electronics that can realize the above method is additionally provided in another embodiment of this example to set
It is standby.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.), or hardware and software, can unite here
Referred to as " circuit ", " module " or " system ".
The electronic equipment 600 according to the embodiment of the invention is described referring to Fig. 3.The electronics that Fig. 3 is shown
Equipment 600 is only an example, should not bring any restrictions to the function and use range of the embodiment of the present invention.
As shown in figure 3, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to:Above-mentioned at least one processing unit 610, above-mentioned at least one memory cell 620, connection different system component
The bus 630 of (including memory cell 620 and processing unit 610).
Wherein, the memory cell is had program stored therein code, and described program code can be held by the processing unit 610
OK so that the processing unit 610 performs various according to the present invention described in above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 610 can perform step S1 as shown in fig. 1:Mobile whole
After end starts application program, judge in current preset measurement period the mobile terminal whether upload user log information;Step
S2:When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, collection is pre-
If data generate the user journal information and sent to server, in order to which the server statistics user profile is to corresponding
Measurement period.
Turned under the steering state according to target rotational direction controlling.
Memory cell 620 can include the computer-readable recording medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Memory cell 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to:Operating system, one or more application program, other program moulds
Block and routine data, the realization of network environment may be included in each or certain combination in these examples.
Bus 630 can be to represent the one or more in a few class bus structures, including memory cell bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, the equipment communication interacted with the electronic equipment 600 can be also enabled a user to one or more, and/or with causing
Any equipment that the electronic equipment 600 can be communicated with one or more of the other computing device (such as router, modulation /demodulation
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As illustrated, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, can combine electronic equipment 600 does not use other hardware and/or software module, including but not
It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can be realized by software, can also be realized by way of software combines necessary hardware.Therefore, according to the disclosure
The technical scheme of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are to cause a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is performed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer-readable recording medium is additionally provided, is stored thereon with energy
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product, it includes program code, when described program product is run on the terminal device, institute
State program code be used for make the terminal device perform described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
With reference to shown in figure 4, the program product for being used to realize the above method according to the embodiment of the present invention is described
800, it can use portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as run on PC.However, the program product not limited to this of the present invention, in this document, readable storage medium storing program for executing can be with
Be it is any include or the tangible medium of storage program, the program can be commanded execution system, device either device use or
It is in connection.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing is (non exhaustive
List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more wires, read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media can be including the data-signal in a base band or as carrier wave part propagation, its
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie beyond readable storage medium storing program for executing
Matter, the computer-readable recording medium can send, propagate either transmit for used by instruction execution system, device or device or and its
The program of combined use.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including but not limited to wirelessly, be had
Line, optical cable, RF etc., or above-mentioned any appropriate combination.
Can being combined to write the program operated for performing the present invention with one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., include routine
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
Perform on computing device, partly perform on a user device, the software kit independent as one performs, is partly calculated in user
Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to
In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network
(WAN) user calculating equipment, is connected to, or, it may be connected to external computing device (such as utilize ISP
To pass through Internet connection).
In addition, above-mentioned accompanying drawing is only the schematic theory of the processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limitation purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings was not intended that or limited these processing is suitable
Sequence.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
His embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by claim
Point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (12)
- A kind of 1. user activity information acquisition method of mobile terminal application, it is characterised in that including:After mobile terminal starts application program, judge in current preset measurement period the mobile terminal whether upload user day Will information;When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, collection is pre- If data generate the user journal information and sent to server, in order to which the server statistics user profile is to corresponding Measurement period.
- 2. the user activity information acquisition method of mobile terminal application according to claim 1, it is characterised in that described pre- If data include:Call time on secondary, called time on last time, measurement period uploaded state and identity identification information.
- 3. the user activity information acquisition method of mobile terminal application according to claim 2, it is characterised in that described to sentence Whether upload user log information includes the mobile terminal in disconnected current preset measurement period:Mobile terminal start application program after, judge current time with it is described when time on whether call time in same measurement period It is interior;Judge the current time with it is described call time not in same measurement period on secondary when, then be judged as current preset The user journal information is not uploaded in measurement period.
- 4. the user activity information acquisition method of mobile terminal application according to claim 3, it is characterised in that the side Method also includes:Judge the current time with it is described call time not in same measurement period on secondary when, by SDK The measurement period uploaded state corresponding to modification is 0.
- 5. the user activity information acquisition method of the mobile terminal application according to Claims 2 or 3, it is characterised in that institute Stating method also includes:After the server receives the user profile and verifies confirmation, an acknowledgement state information is returned;When the server reception user profile and failure is verified, returns to an abnormal state information.
- 6. the user activity information acquisition method of mobile terminal application according to claim 5, it is characterised in that the side Method also includes:After the acknowledgement state information that the server returns is received, call time to be assigned on last time on secondary and give the correct time Between;By current time be assigned to it is described when time on call time, and measurement period uploaded state corresponding to changing is 1.
- 7. the user activity information acquisition method of mobile terminal application according to claim 5, it is characterised in that the clothes Business device counting user information to corresponding measurement period includes:Any active ues statistics list is created according to the measurement period in the server, shape is reported according to the measurement period State is by the user journal Information Statistics to the corresponding measurement period.
- 8. the user activity information acquisition method of mobile terminal application according to claim 2, it is characterised in that the system The meter cycle includes:Day, week, the moon, season, one kind in year or any several combination.
- 9. the user activity information acquisition method of mobile terminal application according to claim 2, it is characterised in that the clothes The time of business device is consistent with current time.
- A kind of 10. user activity information harvester of mobile terminal application, it is characterised in that including:Judge module, for after mobile terminal starts application program, judging the mobile terminal in current preset measurement period Whether upload user log information;Data module, judge that the mobile terminal does not upload the user journal in the current preset measurement period for working as During information, collection preset data generates the user journal information and sent to server, in order to which the server statistics are used Family information is to corresponding measurement period.
- 11. a kind of storage medium, being stored thereon with computer program, being realized when described program is executed by processor will according to right The user activity information acquisition method for asking the mobile terminal any one of 1 to 9 to apply.
- A kind of 12. electric terminal, it is characterised in that including:Processor;AndMemory, for storing the executable instruction of the processor;Wherein, the processor is configured to perform following operation via the executable instruction is performed:After mobile terminal starts application program, judge in current preset measurement period the mobile terminal whether upload user day Will information;When judging that the mobile terminal does not upload the user journal information in the current preset measurement period, collection is pre- If data generate the user journal information and sent to server, in order to which the server statistics user profile is to corresponding Measurement period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710762623.6A CN107566480B (en) | 2017-08-30 | 2017-08-30 | User activity information acquisition method and device for mobile terminal application and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710762623.6A CN107566480B (en) | 2017-08-30 | 2017-08-30 | User activity information acquisition method and device for mobile terminal application and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566480A true CN107566480A (en) | 2018-01-09 |
CN107566480B CN107566480B (en) | 2021-04-30 |
Family
ID=60978310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710762623.6A Active CN107566480B (en) | 2017-08-30 | 2017-08-30 | User activity information acquisition method and device for mobile terminal application and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566480B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108595314A (en) * | 2018-03-12 | 2018-09-28 | 中国平安人寿保险股份有限公司 | The user equipment moon enlivens number calculating method, device, terminal device and storage medium |
CN110347562A (en) * | 2018-04-08 | 2019-10-18 | 腾讯科技(深圳)有限公司 | Collecting method, device, computer-readable medium and intelligent terminal |
CN110737563A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | application program information reporting and receiving method and device |
CN111698287A (en) * | 2020-05-08 | 2020-09-22 | 广州微算互联信息技术有限公司 | Cloud mobile phone active application acquisition method, system and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001063448A2 (en) * | 2000-02-25 | 2001-08-30 | Navic Systems, Inc. | Method and system of user profile generation |
US7587484B1 (en) * | 2001-10-18 | 2009-09-08 | Microsoft Corporation | Method and system for tracking client software use |
CN101964795A (en) * | 2010-09-30 | 2011-02-02 | 北京世纪互联工程技术服务有限公司 | Log collecting system, log collection method and log recycling server |
CN102164043A (en) * | 2010-10-27 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Log reporting method and terminal |
CN102891873A (en) * | 2011-07-21 | 2013-01-23 | 腾讯科技(深圳)有限公司 | Method for storing log data and log data storage system |
CN103023984A (en) * | 2012-11-23 | 2013-04-03 | 青岛海信传媒网络技术有限公司 | Terminal application server and application log filtering method thereof |
CN105975351A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | User behavior message reporting method and apparatus |
CN106027595A (en) * | 2016-04-25 | 2016-10-12 | 乐视控股(北京)有限公司 | Access log processing method and system for CDN node |
CN106921506A (en) * | 2015-12-25 | 2017-07-04 | 北京京东尚科信息技术有限公司 | The data acquisition report method and system of mobile device |
-
2017
- 2017-08-30 CN CN201710762623.6A patent/CN107566480B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001063448A2 (en) * | 2000-02-25 | 2001-08-30 | Navic Systems, Inc. | Method and system of user profile generation |
US7587484B1 (en) * | 2001-10-18 | 2009-09-08 | Microsoft Corporation | Method and system for tracking client software use |
CN101964795A (en) * | 2010-09-30 | 2011-02-02 | 北京世纪互联工程技术服务有限公司 | Log collecting system, log collection method and log recycling server |
CN102164043A (en) * | 2010-10-27 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Log reporting method and terminal |
CN102891873A (en) * | 2011-07-21 | 2013-01-23 | 腾讯科技(深圳)有限公司 | Method for storing log data and log data storage system |
CN103023984A (en) * | 2012-11-23 | 2013-04-03 | 青岛海信传媒网络技术有限公司 | Terminal application server and application log filtering method thereof |
CN106921506A (en) * | 2015-12-25 | 2017-07-04 | 北京京东尚科信息技术有限公司 | The data acquisition report method and system of mobile device |
CN105975351A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | User behavior message reporting method and apparatus |
CN106027595A (en) * | 2016-04-25 | 2016-10-12 | 乐视控股(北京)有限公司 | Access log processing method and system for CDN node |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108595314A (en) * | 2018-03-12 | 2018-09-28 | 中国平安人寿保险股份有限公司 | The user equipment moon enlivens number calculating method, device, terminal device and storage medium |
CN110347562A (en) * | 2018-04-08 | 2019-10-18 | 腾讯科技(深圳)有限公司 | Collecting method, device, computer-readable medium and intelligent terminal |
CN110347562B (en) * | 2018-04-08 | 2022-02-25 | 腾讯科技(深圳)有限公司 | Data acquisition method and device, computer readable medium and intelligent terminal equipment |
CN110737563A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | application program information reporting and receiving method and device |
CN110737563B (en) * | 2018-07-19 | 2023-05-26 | 阿里巴巴集团控股有限公司 | Application program information reporting and receiving method and device |
CN111698287A (en) * | 2020-05-08 | 2020-09-22 | 广州微算互联信息技术有限公司 | Cloud mobile phone active application acquisition method, system and storage medium |
CN111698287B (en) * | 2020-05-08 | 2023-06-27 | 广州微算互联信息技术有限公司 | Cloud mobile phone active application acquisition method, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107566480B (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6983928B2 (en) | Systems and methods for collecting, tracking, and storing system performance and event data for computing devices | |
CN107566480A (en) | The user activity information acquisition method and device, storage medium of mobile terminal application | |
CN110417565B (en) | Model updating method, device and system | |
CN112887120B (en) | Information processing method and device | |
WO2015058709A1 (en) | Secured payment method and relevant device and system | |
CN109564539A (en) | Remote debugging and management | |
WO2014111987A1 (en) | Protocol translation in smart grid communications | |
CN102934413A (en) | Smartphone management system and method | |
US20190213480A1 (en) | Personalized question-answering system and cloud server for private information protection and method of providing shared neural model thereof | |
CN107577622A (en) | Back end interface analogy method, equipment and storage medium | |
CN110474812A (en) | Sample rate self-adapting regulation method and device | |
EP3164781B1 (en) | Cloud based power management system for electronic devices | |
CN204287908U (en) | Flow computer | |
CN113094284A (en) | Application fault detection method and device | |
CN113467782B (en) | Method, device and equipment for determining business process | |
CN105871958A (en) | Method for managing account information in centralized manner and terminal | |
US10123223B1 (en) | System and method for evaluating operational integrity of a radio access network | |
CN109587053A (en) | Network shunt method and relevant device | |
CN114528893A (en) | Machine learning model training method, electronic device and storage medium | |
CN110896369B (en) | Method, device, equipment and medium for determining working time limit of equipment | |
CN111046156B (en) | Method, device and server for determining rewarding data | |
CN110148293A (en) | Meter reading abnormality eliminating method and device, system, storage medium and electronic equipment | |
US20220076661A1 (en) | Duration based task monitoring of artificial intelligence voice response systems | |
CN114339967A (en) | Method and device for predicting base station traffic | |
CN112800102A (en) | Alarm correlation calculation method and device and calculation equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |