CN106919497A - For the statistical method and system of application data in terminal - Google Patents
For the statistical method and system of application data in terminal Download PDFInfo
- Publication number
- CN106919497A CN106919497A CN201710038112.XA CN201710038112A CN106919497A CN 106919497 A CN106919497 A CN 106919497A CN 201710038112 A CN201710038112 A CN 201710038112A CN 106919497 A CN106919497 A CN 106919497A
- Authority
- CN
- China
- Prior art keywords
- statistical
- statistics
- statistical items
- priority
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3452—Performance evaluation by statistical analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/142—Network analysis or design using statistical or mathematical methods
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Probability & Statistics with Applications (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Computer Hardware Design (AREA)
- Mathematical Analysis (AREA)
- Quality & Reliability (AREA)
- Algebra (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of statistical method and system for application data in terminal, wherein, the method includes:According to the statistics configuration information that server is issued, the statistical items to being applied in terminal are configured, wherein, the statistical items include:Single incident and/or the flow containing multiple single incidents;And related application data in terminal are counted according to being currently configured for statistical items;And upload statistics.Using the statistical project that the present invention is provided, flexibility and the versatility of application data statistics in terminal can be improved.
Description
Technical field
The disclosure relates generally to statistical technique field, and in particular to a kind of statistical method for application data in terminal and
System.
Background technology
Statistics belongs to management level, statistics pair as if target to be managed related data;Can be realized according to statistics
The overall management and optimization of target.For example, in order to help mobile Development person to realize digitization, lean operation comprehensively, can be with pin
Related data to Mobile solution in terminal device is counted.So, mobile Development person can be assessed according to statistics
The ruuning situation of the Mobile solution, and in this, as the foundation of Analysis of Policy Making, the Mobile solution is provided preferably service.
In existing statistical project, generally corresponding statistical function can be set previously according to the statistical demand of Mobile solution
Module, wherein, statistical function module is realized by code, and is packaged into fixed module.So, statistical system can pass through
Packaged statistical function module is called to carry out the statistics of specific needs.
In fact, with the development of terminal applies technology, the statistical demand of mobile phone application is constantly presented diversity and changeable
Property, existing statistical project is then gradually presented very flexible, even inapplicable problem.
The content of the invention
In view of drawbacks described above of the prior art or deficiency, expect that providing one kind can improve application data statistics in terminal
Flexibility and versatility, extend the scope of application statistical project.
In a first aspect, the embodiment of the present application provides a kind of statistical method for application data in terminal, including:
According to the statistics configuration information that server is issued, the statistical items to being applied in terminal are configured, wherein, the system
Meter item includes:Single incident and/or the flow containing multiple single incidents;And
Related application data in terminal are counted according to being currently configured for statistical items, and uploads statistics.
Second aspect, the embodiment of the present application additionally provides a kind of statistical system for application data in terminal, including:
Configuration module, being configured to the statistical items of the statistics configuration information that issues according to server to being applied in terminal is carried out
Configuration, the statistical items include:Single incident and/or the flow containing multiple single incidents;And
Statistical module, is configured to count related application data in terminal according to being currently configured for statistical items;
Uploading module, is configured to upload statistics.
The third aspect, the embodiment of the present application additionally provides a kind of computer system, including processor, memory, described to deposit
Reservoir is included can be by the instruction of the computing device with being directed to that the computing device various embodiments of the present invention is provided
The statistical method of application data in terminal.
Fourth aspect, the embodiment of the present application additionally provides a kind of computer-readable storage medium of the computer program that is stored with
Matter, the computer program makes computer perform the statistics side for application data in terminal that various embodiments of the present invention are provided
Method.
The statistical project for application data in terminal that the embodiment of the present application is provided, supports single incident, and containing many
The statistics of the flow of individual single incident, extends the scope of statistics of terminal applies, improves the logical of application data statistics in terminal
The property used;And the flexibility of application data statistics in terminal can be improved come the dynamic configuration data for issuing statistical items by server,
Reduce development cost.Further, the section Example of the application can carry out dynamic switch and dynamic priority to statistical items
Level adjustment, terminal applies statistical demand complicated and changeable is met with this.Further, the section Example of the application can be set
Flexible data is activation strategy, gives up developer to data collection frequencies and the worry of data consumptive use family flow.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, the application other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is shown in which that the exemplary system architecture of the embodiment of the present application can be applied;
Fig. 2 shows the exemplary flow for the statistical method of application data in terminal according to the embodiment of the present application
Figure;
Fig. 3 shows the exemplary knot for the statistical system of application data in terminal according to the application one embodiment
Structure block diagram;And
Fig. 4 shows the structural representation for being suitable to the computer system for realizing the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
It is easy to description, the part related to invention is illustrate only in accompanying drawing.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is refer to, it illustrates the exemplary system architecture 100 that can apply the embodiment of the present application.
As shown in figure 1, system architecture 100 can include terminal device 101,102, network 103 and server 104,105,
106 and 107.Network 103 is used in terminal device 101,102 and server 104, communication link is provided between 105,106,107
Medium.Network 103 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User 110 can be interacted by network 103 with using terminal equipment 101,102 with server 104,105,106,107,
To access various services, for example, browse webpage, downloading data etc..Various clients can be installed on terminal device 101,102
Using.
Terminal device 101,102 can be various electronic equipments, including but not limited to PC, smart mobile phone, intelligence
TV, panel computer, personal digital assistant, E-book reader etc..
Server 104,105,106,107 can be to provide the server of various services.Server can be in response to user
Service request and service is provided.It is appreciated that a server can provide one or more service, same service also may be used
To be provided by multiple servers.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need
Will, can have any number of terminal device, network and server.
As mentioned in the background, there is versatility and very flexible in prior art, it is impossible to meet various
Various and changeable statistical demand.
For example, the statistical demand scene of mobile phone application may no longer be the statistics of single incident, but sequence of events is made
For a flow is counted, such as the buying behavior statistics of one time user may include multiple pages redirecting and multiple by
The click behavior of button, and may simultaneously there is multiple in same statistical flowsheet.However, current existing statistical project is only
The statistics of single incident is supported, i.e., suitable for the statistical demand scene of single incident, can not be supported to by multiple single incidents
The data statistics demand of the flow of composition, also there is narrow application range, the defect of poor universality.
And, once the demand change of user (developer of such as Mobile solution) is, it is necessary to newly-increased, modification or deletion one
During bar statistical items, in existing statistical project, just must by according to change statistical demand to corresponding statistical function module
Source code is modified, and is recompilated.Or, in new project, because business demand may entirely different, existing statistics
In scheme, it is necessary to write statistical function module again.Recompilate or write, no matter from the angle of user or developer certainly
From the point of view of body angle, all there is the defect of very flexible and waste of resource.
In view of the drawbacks described above of prior art, the embodiment of the present application is there is provided a kind of statistics for application data in terminal
Scheme, can both support the statistics of single incident, it is also possible to the statistics of the flow that support is made up of multiple single incidents, meet eventually
Statistical demand complicated and changeable is applied at end, extends the scope of application of statistical project, and application data statistics is general in raising terminal
Property;And statistical items corresponding with statistical demand can be flexibly set, strengthen the flexibility of statistical system.By the statistics of the application
Scheme is applied in the project of different demands and need not change mobile applications, reduces development cost.
The method that the embodiment of the present application is described below in conjunction with flow chart.
With reference to Fig. 2, it illustrates according to the application one embodiment for the statistical method of application data in terminal
Exemplary process diagram.Method shown in Fig. 2 can be in Fig. 1 terminal device perform.
As shown in Fig. 2 the statistical method for application data in terminal that the embodiment is provided includes:Step 210, according to
The statistics configuration information that server is issued, the statistical items to being applied in terminal are configured;Step 220, according to working as statistical items
Preceding configuration is counted to related application data in terminal, and uploads statistics.
In step 210, the statistics configuration information for being issued according to server, the statistical items to being applied in terminal are matched somebody with somebody
Put.
Wherein, the statistical items applied in terminal can include:Single incident and/or the flow containing multiple single incidents.It is real
In the application of border, multiple single incidents that flow is included may belong to the same page or same functional module;Can also be across not
The same page, difference in functionality module.For example, the buying behavior of user, may relate to redirecting and multiple to multiple pages
The click behavior of button.Therefore, it can for the buying behavior of a user to be considered as a flow;And using the flow as
Statistical items are counted.
Terminal includes the ID corresponding to each statistical items from the statistics configuration information that server is received
(Identification, identity), and corresponding configuration information.Terminal from server receive statistics configuration information it
Afterwards, can be according to the ID of statistical items to be configured in terminal applies, it is determined that corresponding with the ID with confidence in statistics configuration information
Breath;And the statistical items are configured accordingly according to the configuration information determined.
In step 210, when statistical items are specially single incident, can be matched somebody with somebody according to corresponding according to existing technical scheme
Confidence breath is configured.
Generally there are beginning, end in view of flow, cancel, and be added to the operation such as event.Therefore, the present invention is real
Apply in example, when statistical items are specially flow, the statistical items to being applied in terminal carry out configuration to be included:For flow distributes corresponding stream
Object;And, following at least one operation is completed by flow object:Start flow, terminate flow, cancel flow, in flow
Increase event.
In practical application, if user thinks one flow of statistics, it is necessary to first start a flow, terminal system can return to one
Individual flow object, flow object associates the same ID of a similar file handle, for one flow of unique mark.User can lead to
Flow can be terminated by the flow object at the end of the flow object is crossed to event, flow is increased in flow, it is also possible to cancel flow.
By the event that flow is included may span across different page difference in functionality modules, it is thus preferable to, flow object can
To be designed as internal memory serializability, can arbitrarily to transmit flow object in statistic processes.
In the embodiment of the present application, application developer can flexibly set statistical items, including single incident according to the actual requirements
Or flow;And design corresponding configuration information for the statistical items for setting.Then, the statistical items that will be set and its correspondence configuration
Information is stored in server as statistics configuration information.
In practical application, (such as, increase statistical items, delete statistical items, modification when the statistical demand of application is changed
Statistical items etc.), the statistics configuration information in server can be adjusted.In order to match somebody with somebody with amended statistics before distinguishing modification
Confidence ceases, and corresponding check information can be set for statistics configuration information, for example, version identifier can be distributed;Or can be with
MD5 (Message Digest Algorithm, Message Digest 5) value of configuration information will be counted as check information.
Terminal in the embodiment of the present application can support two ways to obtain the statistics configuration information of server side.
In one implementation, statistics configuration information actively can be sent to terminal by server.Such as, in initialization
Stage, or statistics configuration information is when having renewal, or setting maintenance period, when reaching, server actively matches somebody with somebody newest statistics
Confidence breath is sent to terminal.
In another implementation, terminal actively can obtain newest statistics configuration information to server request.Tool
Body ground, terminal can be asked to server send configuration, to obtain newest statistics configuration information, wherein, configuring request can be with
Including the verification message for the current statistics configuration information of identification terminal.The verification message of the current statistics configuration information of terminal
Can be pre-assigned version identifier, or current statistics configuration information MD5 values.So, server receives configuration
After request, first can be decided whether to issue new configuration according to check information.
In the case that server determines to issue newest statistics configuration information, can be by under newest full dose configuration information
It is sent to terminal;Or, it may be determined that the difference between newest statistics configuration information and the current statistics configuration information of terminal, will
Difference is issued to terminal as increment configuration information.
Therefore, the statistics configuration information that server is issued is specially:Full dose configuration information or increment configuration information.
When the statistics configuration information that terminal is received is specially full dose configuration information, then terminal can be according to the full dose for receiving
Configuration information, the statistical items to being applied in terminal are reconfigured;Or, it is and current according to the full dose configuration information for receiving
Statistics configuration information, determines the statistical items that configuration information is changed;And according to configuration information new in full dose configuration information, it is right
The statistical items for changing are reconfigured.
When the statistics configuration information that terminal is received is specially increment configuration information, then terminal can determine that increment matches somebody with somebody confidence
The associated statistical items of breath;And according to increment configuration information the statistical items associated in terminal are carried out with the adjustment of corresponding configuration.
In practical application, the configuration of adjustment can include it is following at least one:Switchgear distribution, priority configuration.By opening
Configuration, the adjustment of priority configuration are closed, the statistical items for no longer needing can be in time closed, or the excellent of statistical items is adjusted according to scene
First level, realizes the dynamic switch of statistical items applied in terminal, and priority dynamic adjustment, in further increasing terminal
The flexibility of application data statistics, and need the personalized statistics complicated and changeable for more conforming to developer of statistics
Ask.Wherein, the priority of statistical items is mainly and is designed according to actual scene and significance level by application developer.
Then, in a step 220, related application data in terminal are counted according to being currently configured for statistical items.
On how to be counted to related application data in terminal according to the configuration of statistical items, can be normal using this forestry
With technological means, will not be described in detail herein.
Finally, in step 230, statistics is uploaded.
There is correspondence priority in view of statistical items, therefore, it can implement flexible data is activation strategy according to priority,
Data is activation strategy according to pre-setting carries out the upload of statistics to give up developer to data collection frequencies and data
Consume the worry of customer flow.For example, developer voluntarily can be spaced in the sending strategy of configuration data, transmission, and self-defined hair
SCN Space Cable Network environment.
In order to upload the statistics of important statistical items in time, the data is activation strategy that can be uploaded using timesharing:It is real
Statistics of the Shi Shangchuan priority higher than the statistical items of the first given threshold;And non real-time upload priority is less than or equal to
The statistics of the statistical items of the first given threshold.Wherein, the first given threshold is rule of thumb configured by developer.For
Priority can send interval and network environment to go up tradition less than or equal to the statistical items of the first given threshold according to default
Meter result.
Or, the forward N number of statistical items of sequence can be selected according to priority descending;N number of statistical items are uploaded in real time
Statistics;And the non real-time statistics for uploading other statistical items.Wherein N is natural number.
More preferably, in order to maximally utilize resource, statistical items of the priority higher than the first given threshold can in real time be uploaded
Statistics, or when uploading priority descending in real time and arranging the statistics of forward N number of statistical items, to non real-time upload
The statistics of statistical items carries out packing compression.Wherein, the statistical items of non real-time upload refer to that priority is less than or equal to first
The statistical items of given threshold, or the statistical items in addition to priority descending arranges forward N number of statistical items.
In practical application, the statistical items of non real-time upload can upload statistics according to unified transmission interval;Or
Person, can set different transmission intervals according to priority.
Statistical items for priority less than or equal to the first given threshold, or except priority descending arranges forward N
Statistical items beyond individual statistical items, can be pre-configured with the upload cycle corresponding with the priority of the statistical items, wherein, priority
The upload cycle corresponding to it higher is shorter.
For the ease of description, for two statistical items of non real-time upload that the upload cycle is not waited, priority is of a relatively high
Statistical items, non real-time high priority statistical items can be referred to as;And the relatively low statistical items of priority, can be referred to as
Non real-time low priority statistical items.
In view of the statistical items of non real-time upload, in the case of the cycle of upload difference, non real-time high priority statistics
The upload cycle of item is less than non real-time low priority statistical items, so following situation probably occurs:Non real-time height
The time for uploading cycle arrival of priority statistical items and the arrival time in the upload cycle of non real-time low priority statistical items
Overlap, or arrival time difference less than non real-time high priority statistical items the upload cycle.
Therefore, in order in maximally utilizing resource, step 220, can be in the statistics of non real-time high priority statistical items
When result is uploaded, the statistics of non real-time low priority statistical items of aliging is uploaded.
Specifically, when the upload cycle of non real-time high priority statistical items reaches, arrival time in upload cycle is found out
The upload less than or equal to non real-time high priority statistical items is differed with the arrival time of non real-time high priority statistical items
The non real-time low priority statistical items in cycle;The statistics and non-reality of the non real-time low priority statistical items that will be found out
When the statistics of high priority statistical items upload transmission together.
For example, the priority of the first statistical items is higher than the first given threshold, the second statistical items, the 3rd statistical items, the 4th system
The priority for counting item is less than the first given threshold, and priority according to being ordered as from high to low:Second statistical items, the 3rd statistics
Item, the 4th statistical items.The upload cycle of the second statistical items is 5 minutes, and the upload cycle of the 3rd statistical items is 10 minutes, the second system
The upload cycle for counting item is 15 minutes.
Therefore, when statistics is uploaded, the statistics of the first statistical items is uploaded in real time, it is possible to the second statistics of packing
Item, the 3rd statistical items, the statistics of the 4th statistical items.If the upload cycle of the second statistical items will be 10:45 reach, and the 3rd
The upload cycle of statistical items will be 10:50 reach, and the upload cycle of the 4th statistical items will be 10:45 reach, then 10:45 arrive
Up to when, upload the second statistical items statistics when can align upload the 3rd statistical items, the statistics of the 4th statistical items, i.e.,
The second statistical items, the 3rd statistical items, the statistics of the 4th statistical items are uploaded simultaneously.
From the description above as can be seen that in embodiments herein, for narrow application range, the problem of very flexible,
Propose the statistics need that the statistics configuration information issued according to server supports single incident and the flow containing multiple single incidents
The statistical project asked.Do so not only extends scope of statistics, but also can flexibly be set by counting the change of configuration information
The configuration of the statistical items applied in terminal is put, the flexibility of terminal applies data statistics is improve.
With further reference to Fig. 3, it illustrates the statistics for application data in terminal according to the application one embodiment
The exemplary block diagram of system 300.
As shown in figure 3, can include for the statistical system 300 of application data in terminal:Configuration module 301, statistics mould
Block 302, uploading module 303.
Wherein, configuration module 301 is configured to the statistics configuration information that is issued according to server to the system applied in terminal
Meter item is configured;Wherein, the statistical items applied in terminal include:Single incident and/or the flow containing multiple single incidents.
Statistical module 302 is configured to carry out statistics to related application data in terminal according to being currently configured for statistical items
Uploading module 303 is configured to upload statistics.
Alternatively, the statistics configuration information that server is issued is specially:Full dose configuration information or increment configuration information.Configuration
Module 301 is configured to carry out the statistical items associated in terminal according to increment configuration information the adjustment of corresponding configuration.Wherein, adjust
Whole configuration include it is following at least one:Switchgear distribution, priority configuration.
Alternatively, configuration module 301 is also configured to be asked to server send configuration, is configured with obtaining newest statistics
Information, wherein, configuring request includes the verification message for the current statistics configuration information of identification terminal.The verification message is
MD5 values or pre-assigned version identifier.
When statistical items are specially flow, configuration module 301 is configured to distribute corresponding flow object for flow;It is right by flowing
As completing following at least one operation:Start flow, terminate flow, cancel flow, to increasing event in flow.
In order to arbitrarily transmit flow object in statistic processes, the corresponding flow object of flow could be arranged to internal memory can sequence
Change.
Alternatively, uploading module 303 is configured to carry out the upper of statistics according to the data is activation strategy for pre-setting
Pass, developer is given up to data collection frequencies and the worry of data consumptive use family flow with this.Specifically, can upload in real time excellent
Statistics of the first level higher than the statistical items of the first given threshold;Non real-time upload priority is less than or equal to the first given threshold
Statistical items statistics.Or, the forward N number of statistical items of sequence can be selected according to priority descending;Upload in real time
The statistics of N number of statistical items;And the non real-time statistics for uploading other statistical items.Wherein N is natural number.
Alternatively, in order to maximally utilize resource, uploading module 303 can also in real time upload priority higher than the first setting
The statistics of the statistical items of threshold value, or when uploading the statistics of the forward N number of statistical items of priority descending arrangement in real time, it is right
The statistics of the statistical items of non real-time upload carries out packing compression.
Statistical items for priority less than or equal to the first given threshold, or except priority descending arranges forward N
Statistical items beyond individual statistical items, can be pre-configured with the upload cycle corresponding with the priority of the statistical items, wherein, priority
The upload cycle corresponding to it higher is shorter.
Further, when the statistics of the non real-time high priority statistical items of uploading module 303 is uploaded, align non real-time
Low priority statistical items statistics upload.Specifically, when the upload cycle of non real-time high priority statistical items reaches,
Find out arrival time in upload cycle differs less than or equal to non real-time with the arrival time of non real-time high priority statistical items
High priority statistical items upload the cycle non real-time low priority statistical items;The non real-time low priority that will be found out
The statistics of statistical items uploads transmission together with the statistics of non real-time high priority statistical items.
It should be appreciated that for application data in terminal statistical system 300 described in all modules and being directed to that Fig. 2 is described
Each step in terminal in the statistical method of application data is corresponding.Thus, the operation above with respect to method description and feature
System 300 and the module for wherein including are equally applicable to, be will not be repeated here.
Below with reference to Fig. 4, it illustrates the structural representation for being suitable to the computer system 400 for realizing the embodiment of the present application
Figure.
As shown in figure 4, computer system 400 includes CPU (CPU) 401, it can be according to storage read-only
Program in memory (ROM) 402 or be loaded into program in random access storage device (RAM) 403 from storage part 408 and
Perform various appropriate actions and treatment.In RAM 403, the system that is also stored with 400 operates required various programs and data.
CPU 401, ROM 402 and RAM 403 are connected with each other by bus 404.Input/output (I/O) interface 405 is also connected to always
Line 404.
I/O interfaces 405 are connected to lower component:Including the importation 406 of keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 407 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 408 including hard disk etc.;
And the communications portion 409 of the NIC including LAN card, modem etc..Communications portion 409 via such as because
The network of spy's net performs communication process.Driver 410 is also according to needing to be connected to I/O interfaces 405.Detachable media 411, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., as needed on driver 410, in order to read from it
Computer program be mounted into as needed storage part 408.
Especially, in accordance with an embodiment of the present disclosure, the process above with reference to Fig. 2 descriptions may be implemented as computer software
Program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in machine readable media
On computer program, the computer program is comprising for performing the statistics side for application data in terminal shown in Fig. 2
The program code of method.In such embodiments, the computer program can be downloaded from network by communications portion 409 and
Install, and/or be mounted from detachable media 411.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
One part for module, program segment or code of table a, part for the module, program segment or code includes one or more
Executable instruction for realizing the logic function of regulation.It should also be noted that in some realizations as replacement, institute in square frame
The function of mark can also occur with different from the order marked in accompanying drawing.For example, two square frame reality for succeedingly representing
On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also
It is noted that the combination of the square frame in each square frame and block diagram and/or flow chart in block diagram and/or flow chart, Ke Yiyong
Perform the function of regulation or the special hardware based system of operation to realize, or can be referred to computer with specialized hardware
The combination of order is realized.
Being described in unit involved in the embodiment of the present application or module can be realized by way of software, it is also possible to
Realized by way of hardware.Described unit or module can also be set within a processor.These units or module
Title does not constitute the restriction to the unit or module in itself under certain conditions.
As on the other hand, present invention also provides a kind of computer-readable recording medium of the computer program that is stored with,
The computer-readable recording medium can be the computer-readable recording medium included in system described in above-described embodiment;
Can be individualism, without the computer-readable recording medium in equipment of allocating into.Computer-readable recording medium storage has one
Individual or more than one program, described program is used for performing the public affairs for being described in the application by one or more than one processor
Formula input method.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art
Member is it should be appreciated that involved invention scope in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where the inventive concept is not departed from, is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical schemes for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (20)
1. a kind of statistical method for application data in terminal, it is characterised in that including:
According to the statistics configuration information that server is issued, the statistical items to being applied in terminal are configured, wherein, the statistical items
Including:Single incident and/or the flow containing multiple single incidents;
Related application data in terminal are counted according to being currently configured for statistical items;And
Upload statistics.
2. statistical method according to claim 1, it is characterised in that the statistics configuration information that the server is issued is specific
For:Full dose configuration information or increment configuration information;And
When the statistics configuration information is specially increment configuration information, according to the increment configuration information to being associated in the terminal
Statistical items carry out the adjustment of corresponding configuration, wherein, the configuration of adjustment include it is following at least one:Switchgear distribution, priority are matched somebody with somebody
Put.
3. statistical method according to claim 1, it is characterised in that the upload statistics, including:
Statistics of the priority higher than the statistical items of the first given threshold is uploaded in real time;And
It is non real-time to upload statistics of the priority less than or equal to the statistical items of first given threshold.
4. statistical method according to claim 3, it is characterised in that the real-time upload priority is higher than the first setting threshold
The statistics of the statistical items of value, including:
Upload in real time priority higher than the statistical items of the first given threshold statistics when, to the statistical items of non real-time upload
Statistics carries out packing compression.
5. statistical method according to claim 3, it is characterised in that for priority less than or equal to the described first setting
The statistical items of threshold value, are pre-configured with the upload cycle corresponding with the priority of the statistical items, wherein, priority is higher corresponding to it
The upload cycle it is shorter.
6. statistical method according to claim 5, it is characterised in that the non real-time upload priority is less than or equal to institute
The statistics of the statistical items of the first given threshold is stated, including:
When the statistics of non real-time high priority statistical items is uploaded, the statistics knot of non real-time low priority statistical items of aliging
Fruit uploads.
7. according to any described statistical methods of claim 1-6, it is characterised in that also include:
Asked to server send configuration, to obtain newest statistics configuration information, wherein, the configuring request is included for knowing
The verification message of the current statistics configuration information of other terminal.
8. according to any described statistical methods of claim 1-6, it is characterised in that when the statistical items are specially flow, institute
Stating the statistical items to being applied in terminal and carrying out configuration includes:
For the flow distributes corresponding flow object;And
Following at least one operation is completed by the flow object:Start flow, terminate flow, cancel flow, increase in flow
Plus event.
9. statistical method according to claim 8, it is characterised in that the corresponding flow object of the flow is set to internal memory can
Serializing.
10. a kind of statistical system for application data in terminal, it is characterised in that including:
Configuration module, the statistics configuration information for being configured to be issued according to server is matched somebody with somebody to the statistical items applied in terminal
Put, the statistical items include:Single incident and/or the flow containing multiple single incidents;And
Statistical module, is configured to count related application data in terminal according to being currently configured for statistical items;And
Uploading module, is configured to upload statistics.
11. statistical systems according to claim 10, it is characterised in that the statistics configuration information tool that the server is issued
Body is:Full dose configuration information or increment configuration information;And
The configuration module is configured to carry out accordingly the statistical items associated in the terminal according to the increment configuration information
The adjustment of configuration, wherein, the configuration of adjustment include it is following at least one:Switchgear distribution, priority configuration.
12. statistical systems according to claim 10, it is characterised in that the uploading module is configured to upload in real time excellent
Statistics of the first level higher than the statistical items of the first given threshold;Non real-time upload priority is less than or equal to the described first setting
The statistics of the statistical items of threshold value.
13. statistical systems according to claim 12, it is characterised in that the uploading module is configured to upload in real time excellent
When first level is higher than the statistics of the statistical items of the first given threshold, the statistics to the statistical items of non real-time upload is beaten
Packet compression.
14. statistical systems according to claim 12, it is characterised in that set less than or equal to described first for priority
Determine the statistical items of threshold value, be pre-configured with the upload cycle corresponding with the priority of the statistical items, wherein, priority its institute higher is right
The upload cycle answered is shorter.
15. statistical systems according to claim 14, it is characterised in that the uploading module is configured to non real-time height
When the statistics of priority statistical items is uploaded, the statistics of non real-time low priority statistical items of aliging is uploaded.
16. according to any described statistical systems of claim 10-15, it is characterised in that the uploading module is also configured to
Asked to server send configuration, to obtain newest statistics configuration information, wherein, the configuring request is included for recognizing end
The verification message of the current statistics configuration information in end.
17. according to any described statistical systems of claim 10-15, it is characterised in that when the statistical items are specially flow,
The uploading module is configured to distribute corresponding flow object for the flow;By the flow object complete it is following at least one
Operation:Start flow, terminate flow, cancel flow, to increasing event in flow.
18. statistical systems according to claim 17, it is characterised in that the corresponding flow object of the flow is set to internal memory
Serializability.
A kind of 19. computer systems, including processor, memory, it is characterised in that:
The memory is included can be by the instruction of the computing device to cause the computing device claim 1-9 any
Described method.
20. a kind of computer-readable recording mediums of the computer program that is stored with, it is characterised in that the computer program makes meter
Any described methods of calculation machine perform claim requirement 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710038112.XA CN106919497A (en) | 2017-01-18 | 2017-01-18 | For the statistical method and system of application data in terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710038112.XA CN106919497A (en) | 2017-01-18 | 2017-01-18 | For the statistical method and system of application data in terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106919497A true CN106919497A (en) | 2017-07-04 |
Family
ID=59454139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710038112.XA Pending CN106919497A (en) | 2017-01-18 | 2017-01-18 | For the statistical method and system of application data in terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919497A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902093A (en) * | 2018-12-14 | 2019-06-18 | 柚子(北京)移动技术有限公司 | A kind of faster statistical approach of mobile application |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338357A (en) * | 2013-06-24 | 2013-10-02 | 安科智慧城市技术(中国)有限公司 | Method, equipment and system for realizing video monitoring integration |
CN104899023A (en) * | 2015-05-13 | 2015-09-09 | 深圳市金立通信设备有限公司 | Data statistic method and device |
-
2017
- 2017-01-18 CN CN201710038112.XA patent/CN106919497A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338357A (en) * | 2013-06-24 | 2013-10-02 | 安科智慧城市技术(中国)有限公司 | Method, equipment and system for realizing video monitoring integration |
CN104899023A (en) * | 2015-05-13 | 2015-09-09 | 深圳市金立通信设备有限公司 | Data statistic method and device |
Non-Patent Citations (2)
Title |
---|
陈锋: "《Adhesive框架系列文章--配置服务模块简介》", 《HTTPS://WWW.CNBLOGS.COM/HB_CATTLE/ARCHIVE/2011/10/11/2207082.HTML》 * |
飞翔的熊猫: "《关于友盟的用户行为分析笔记一》", 《HTTPS://WWW.CNBLOGS.COM/HESIMING/ARCHIVE/2012/06/20/2556100.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902093A (en) * | 2018-12-14 | 2019-06-18 | 柚子(北京)移动技术有限公司 | A kind of faster statistical approach of mobile application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471759B (en) | The network traffics dispatching method and device of data center | |
CN112712182B (en) | Model training method and device based on federal learning and storage medium | |
US8495227B2 (en) | Method and system to distribute policies | |
DE60221113T2 (en) | PROCESS AND SYSTEM FOR THE REMOTE AND MANAGEMENT OF PERSONNEL SECURITY DEVICES | |
CN106850589A (en) | A kind of management and control cloud computing terminal and the method and apparatus of Cloud Server running | |
CN104615448B (en) | A kind of software channel packet update method, management method and equipment | |
CN103684874A (en) | Method and device for automatically distributing online customer service executives to conduct customer service | |
CN104391868B (en) | The device and method of dynamic page static | |
CN103782294A (en) | Remote browsing session management | |
CN107864217A (en) | Cloud desktop intelligently pushing system | |
CN108011915A (en) | A kind of collection front-end system based on cloud communication | |
CN105897850A (en) | Response processing method and system and scheduling proxy server for CDN platform | |
CN102739671A (en) | Desktop virtualization and application display platform during cooperative computing of power system | |
CN108600331A (en) | Interactive interface rendering method, client, terminal and system | |
CN107861933A (en) | The method and apparatus for generating O&M form | |
CN110069278A (en) | A kind of automation distributed multi-task packaging method and system | |
CN106230995A (en) | A kind of M2M message communicating halfpace and communication means thereof | |
CN109657965A (en) | A kind of service resource allocation method, device, storage medium and processor | |
CN109995807A (en) | A kind of management of multimedia equipment system and method | |
CN109413212A (en) | Method and apparatus for handling request | |
CN103259831A (en) | Digital publishing system based on cloud computing | |
CN103748583A (en) | Remote browsing session management | |
CN105511914B (en) | Using update method, device and system | |
CN106919497A (en) | For the statistical method and system of application data in terminal | |
CN108289041A (en) | A kind of processing method and relevant apparatus of server info |
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: 20170704 |