The content of the invention
The embodiments of the invention provide a kind of method and device for obtaining user experience data so that the user's body got
The Consumer's Experience of application program can objectively be reflected by testing data.
In a first aspect, the embodiments of the invention provide a kind of method for obtaining user experience data, in advance at least one
At least one data acquisition module is configured in each application program in application program, the data acquisition module is used to gather
The running state data of the place application program, in addition to:
At least one fortune that the data collecting module collected in each described application program arrives is obtained respectively
Row status data;
According to integration rules set in advance, integration processing, shape are carried out to running state data described in each bar for getting
Into at least one user experience data corresponding at least one application program.
Preferably, the data collecting module collected obtained respectively in each described application program arrives at least
One running state data, including:
Determine that at least one current amount to obtain is not reaching to maximum from least two data acquisition nodes pre-set
First data acquisition node of value;
The second data acquisition node of highest priority is determined from least one first data acquisition node;
The data acquisition module at least one application program is obtained using the second data acquisition node
At least one running state data collected.
Preferably, it is described formed corresponding at least one application program at least one user experience data it
Afterwards, further comprise:
From at least one memory node pre-set, at least one target storage node is determined;
The established each user experience data is stored in each target storage node respectively.
Preferably, at least one user experience data is stored in each target storage node respectively described
Afterwards, further comprise:
Receive the data requesting instructions of outside input;
According to the data requesting instructions, at least one Consumer's Experience is obtained from least one memory node
Data;
According to the data model pre-set, at least one user experience data got is analyzed, and show and divide
Analyse result.
Preferably, it is described according to integration rules set in advance, running state data described in each bar for getting is carried out
Integration is handled, and forms at least one user experience data corresponding at least one application program, including:
The each running state data is directed to, judges whether the byte number of current operating conditions data is more than and presets
The byte number of data block, if it is, according to the byte number of the data block, by the current operating conditions data be divided into
Few two data blocks;Otherwise, it determines the current operating conditions data are the data block;
Integration processing is carried out at least one data block simultaneously, corresponds at least one application program to be formed
At least one user experience data.
Second aspect, the embodiments of the invention provide a kind of device for obtaining user experience data, including:Dispensing unit,
Acquiring unit and data processing unit;
The dispensing unit, for configuring at least one number in each application program at least one application program
According to acquisition module, the data acquisition module is used for the running state data of the application program where gathering;
The acquiring unit, arrived for obtaining the data collecting module collected in each described application program respectively
At least one running state data;
The data processing unit, for according to integration rules set in advance, being got to the acquiring unit each
Running state data described in bar carries out integration processing, forms at least one user's body corresponding at least one application program
Test data.
Preferably, the acquiring unit, including:First choice subelement, the second selection subelement and execution subelement;
The first choice subelement, it is at least one for being determined from least two data acquisition nodes pre-set
Current amount to obtain is not reaching to the first data acquisition node of maximum;
The second selection subelement, at least one first data determined from the first choice subelement
Obtain the second data acquisition node that highest priority is determined in node;
The execution unit, the second data acquisition node for being determined using the described second selection subelement are obtained
At least one running state data that the data collecting module collected at least one application program arrives.
Preferably, further comprise:Node selecting unit and memory cell;
The node selecting unit, for from least one memory node pre-set, determining at least one target
Memory node;
The memory cell, for being deposited respectively in each target storage node of node selecting unit selection
Store up the established each user experience data.
Preferably, further comprise:Receiving unit, data capture unit and analytic unit;
The receiving unit, for receiving the data requesting instructions of outside input;
The data capture unit, for the data requesting instructions received according to the receiving unit, from described
At least one user experience data is obtained at least one memory node;
The analytic unit, for according to the data model pre-set, analyzing what the data capture unit was got
At least one user experience data, and show analysis result.
Preferably, the data processing unit, including:Deblocking subelement and integration subelement;
The deblocking subelement, for being directed to each running state data, judge current operating conditions
Whether the byte number of data is more than the byte number of preset data block, if it is, according to the byte number of the data block, by described in
Current operating conditions data are divided at least two data blocks;Otherwise, it determines the current operating conditions data are described
Data block;
The integration subelement, for entering at least one data block that the deblocking subelement obtains simultaneously
Row integration is handled, to form at least one user experience data corresponding at least one application program.
The embodiments of the invention provide a kind of method and device for obtaining user experience data, at least one application program
The middle at least one data acquisition module of configuration, the application program is used using the target sample for realizing user experience data as each
User.Data acquisition module is used for the running state data of acquisition applications program, and running state data can reflect user
Use the concrete condition of application program.Obtain the running status number that the data collecting module collected in each application program arrives
According to, and according to integration rules set in advance, running state data that Integration obtaining arrives, to form user corresponding to application program
Experience data.As can be seen here, the embodiment of the present invention by configuring at least one data acquisition module in the application, to realize
Full sample collection is carried out to user experience data;And it can reflect that user uses the fortune of application program concrete condition by obtaining
Row status data, and form user experience data using the running state data got so that the Consumer's Experience number got
According to the Consumer's Experience that can objectively reflect application program.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of method for obtaining user experience data, comprise the following steps:
Step 101, at least one data are configured in each application program at least one application program in advance to adopt
Collect module, the data acquisition module is used for the running state data of the application program where gathering.
Step 102, the data collecting module collected in each described application program arrives at least one is obtained respectively
Running state data described in bar.
Step 103, according to integration rules set in advance, running state data described in each bar for getting is integrated
Processing, form at least one user experience data corresponding at least one application program.
The embodiments of the invention provide a kind of method and device for obtaining user experience data, at least one application program
The middle at least one data acquisition module of configuration, the application program is used using the target sample for realizing user experience data as each
User.Data acquisition module is used for the running state data of acquisition applications program, and running state data can reflect user
Use the concrete condition of application program.Obtain the running status number that the data collecting module collected in each application program arrives
According to, and according to integration rules set in advance, running state data that Integration obtaining arrives, to form user corresponding to application program
Experience data.As can be seen here, the embodiment of the present invention by configuring at least one data acquisition module in the application, to realize
Full sample collection is carried out to user experience data;And it can reflect that user uses the fortune of application program concrete condition by obtaining
Row status data, and form user experience data using the running state data got so that the Consumer's Experience number got
According to the Consumer's Experience that can objectively reflect application program.
Because full sample acquisition user experience data is, it is necessary to obtain mass data, it will usually set multiple data to obtain and take
Point, an overload operation is taken in order to prevent data from obtaining, it is in one embodiment of the invention, described to obtain each institute respectively
At least one running state data that the data collecting module collected in application program arrives is stated, including:
Determine that at least one current amount to obtain is not reaching to maximum from least two data acquisition nodes pre-set
First data acquisition node of value;
The second data acquisition node of highest priority is determined from least one first data acquisition node;
The data acquisition module at least one application program is obtained using the second data acquisition node
At least one running state data collected.
When obtaining running state data, it is thus necessary to determine that at least one the first data acquisition section with enough amount to obtain
Point, to guarantee to obtain running state data.The second data of highest priority are selected from the first data acquisition node again
Obtain node and obtain at least one running state data that the data collecting module collected at least one application program arrives, utilize
The most strong data acquisition node of acquisition capability goes to obtain running state data, to ensure to obtain the efficiency of running state data.It is logical
Cross the above method, each data acquisition node can be maximally utilised, with avoid obtain running state data when, data obtain
Take node can overload operation.
For example, the maximum amount to obtain of each data acquisition node is 2M, it is current for data acquisition node A, B, C, three
Data acquisition amount is respectively 2M, 1.5M, 1.5M, and the priority of three is A>B>C, then due to data acquisition node A current number
Reach maximum according to amount to obtain, therefore running state data can only be obtained by data acquisition node B or C.Again because data acquisition section
Point B priority is more than data acquisition node C priority, so obtaining running state data by data acquisition node B.
In order to ensure that user experience data will not be lost, in one embodiment of the invention, correspond in the formation
After at least one user experience data of at least one application program, further comprise:
From at least one memory node pre-set, at least one target storage node is determined;
The established each user experience data is stored in each target storage node respectively.
, can not normal operation once there is some memory node by user experience data storage into multiple memory nodes
When, developer can call user experience data by other memory nodes.
For example, user experience data is respectively stored into memory node A, B, C, if memory node A can not normal work
Make, then developer still can call user experience data in memory node A by memory node B or C.
In order to more easily excavate user experience data, in one embodiment of the invention, exist respectively described
After at least one user experience data is stored in each target storage node, further comprise:
Receive the data requesting instructions of outside input;
According to the data requesting instructions, at least one Consumer's Experience is obtained from least one memory node
Data;
According to the data model pre-set, at least one user experience data got is analyzed, and show and divide
Analyse result.
Developer can be according to actual conditions input data request instruction, to select required user experience data, root
According to the data model pre-set, at least one user experience data is analyzed, and show analysis result.Can be with by the above method
Realize and multidimensional angle analysis is carried out to user experience data, so as to reach the purpose of mining data.
Developer can select to analyze user experience data from time dimension, such as check each month and use application program
Number of users, either analyze different model mobile phone using application program number of users or use application program daily
Number, by these dimensions, developer can realize to carry out going deep into excavation to user experience data.
Due to the running state data enormous amount of acquisition, in order to ensure quickly to form user experience data, in the present invention
One embodiment in, it is described according to integration rules set in advance, running state data described in each bar for getting is carried out
Integration is handled, and forms at least one user experience data corresponding at least one application program, including:
The each running state data is directed to, judges whether the byte number of current operating conditions data is more than and presets
The byte number of data block, if it is, according to the byte number of the data block, by the current operating conditions data be divided into
Few two data blocks;Otherwise, it determines the current operating conditions data are the data block;
Integration processing is carried out at least one data block simultaneously, to obtain corresponding at least one application program
At least one user experience data.
During user experience data is formed, if running state data is excessive, Consumer's Experience number can be resulted in
According to speed and efficiency reduce, therefore be more than the running state data of data block for byte number, by running state data point
Several data blocks are cut into, after segmentation, then handle each data block simultaneously, to ensure to form the speed and effect of user experience data
Rate.
For example, the byte number of data block is 2M, running state data 16M.So, running state data will be divided into
8 data blocks, if running state data is 1M, the running state data is a data block.
In order to which the embodiment of the present invention is better described, as shown in Fig. 2 the embodiments of the invention provide another kind to obtain user
The method of experience data, comprises the following steps:
Step 201, at least one data are configured in each application program at least one application program in advance to adopt
Collect module.
In present example, developer can preset acquisition target according to being actually needed, so that acquisition module
Running state data collection can be carried out to the acquisition target pre-set, such as developer wants that understanding daily application program is made
With number and usage time, then acquisition module can obtain the number of starts of application program and the run time of application program;Exploitation
Personnel think that understanding user is interested in those functions in application program, and acquisition module can obtain user and open with some in program
The path of function.
Acquisition module is generally divided into three kinds, a kind of data acquisition module for applying to Android system, Yi Zhongshi
Suitable for the data acquisition module of Internet operating system, a kind of data acquisition module of each plug-in unit suitable for application program
Block.In order to ensure that raising is experienced, three kinds of data acquisition modules, each data acquisition module meeting can be configured simultaneously in the application
Brand, model, the operating system automatic running of client, right after state service data is got according to where application program
State service data is got, the time got according to state service data is integrated, it is ensured that user behavior track is caught
The continuity caught, reduce the outage probability of action trail data.
Step 202, determine that at least one current amount to obtain does not have from least two data acquisition nodes pre-set
Reach the first data acquisition node of maximum.
In embodiments of the present invention, the amount to obtain of each data acquisition node has the upper limit, in order to ensure to obtain data
When each data acquisition node will not overload operation, the amount to obtain maximum of data acquisition node can be set, such as set number
Maximum according to acquisition node is the 80% of the upper limit.If current amount to obtain is not reaching to maximum, illustrate that current data obtains
Node can obtain state service data.
Step 203, the second data acquisition node of highest priority is determined from least one first data acquisition node.
In embodiments of the present invention, the data retrieval capabilities of each data acquisition node are different, and data retrieval capabilities are got over
Greatly, priority is higher.
Step 204, the data collecting module collected at least one application program is obtained using the second data acquisition node
At least one running state data arrived.
Step 205, each running state data got is directed to, judges the byte number of current operating conditions data
Whether the byte number of preset data block is more than, if it is, performing step 206;Otherwise, step 207 is performed.
Step 206, according to the byte number of data block, current operating conditions data are divided at least two data blocks, and
Perform step 208.
Step 207, it is data block to determine current operating conditions data.
In present example, using the Map functions in MapReduce (mapping reduction function) to the operation shape that receives
State data are carried out, and Map piecemeal rule is split to be only more than the data of data block to byte number.For being less than to byte number
Or the data equal to data block, directly the data can be regarded as a data block.Such as the byte number of data block is 2M, shape is run
State data are 16M.So, running state data will be divided into 8 data blocks, if 1M running state data, then directly
Connect and the data are defined as data block.
Step 208, integration processing while at least one data block is carried out, corresponds at least one application program to be formed
At least one user experience data.
In present example, after the completion of data segmentation, concurrently integration is carried out to each data block and handled.
Step 209, from least one memory node pre-set, at least one target storage node is determined.
In embodiments of the present invention, target storage node for can normal operation, and have the storage section of enough memory spaces
Point.
Step 210, established each user experience data is stored in each target storage node respectively.
In embodiments of the present invention, if there is multiple target storage nodes, then each target storage node can be deposited
Store up established each user experience data.For example, having formed 10 user experience datas, storage is arrived to be stored in 10 targets
Node, then 10 user experience datas can be respectively stored into each target storage node, i.e., standby to 10 user experience datas
Part 10 times.
Step 211, the data requesting instructions of outside input are received.
Step 212, according to data requesting instructions, at least one Consumer's Experience number is obtained from least one memory node
According to.
In embodiments of the present invention, by data requesting instructions, developer can obtain the terminal of installation application program
Information, such as the brand of mobile phone, model, operating system, screen resolution;The regional information and liveness of application user;Should
With the use details of program, redirected such as the daily number of starts, using the total duration, the stay time at interface, interface of application program
The information such as path, program error report.
Step 213, according to the data model pre-set, at least one user experience data got is analyzed, and open up
Show analysis result.
In embodiments of the present invention, data model can carry out statistical analysis according to developer's demand data, and with corresponding
Diagrammatic form show that, for example, developer needs to know January to May, it is wrong that operation occurs in application program to developer
Situation by mistake, then data model can respectively obtain according to user experience data and occur the number of run-time error each month, and
Developer is showed in the form of block diagram.
Pass through the method for acquisition user experience data provided in an embodiment of the present invention, it is possible to achieve user experience data is entered
The full sample analysis of row, and the concrete condition that user uses application program can be obtained, therefore developer obtains analysis result more
Objective, to instructing developer to correspond to program, further optimization has directive significance.
As shown in figure 3, the embodiments of the invention provide a kind of device for obtaining user experience data, including:Dispensing unit
301st, acquiring unit 302 and data processing unit 303;
Dispensing unit 301, for configuring at least one number in each application program at least one application program
According to acquisition module, the data acquisition module is used for the running state data of the application program where gathering;
Acquiring unit 302, arrived for obtaining the data collecting module collected in each described application program respectively
At least one running state data;
Data processing unit 303, for according to integration rules set in advance, each bar got to acquiring unit 302
The running state data carries out integration processing, forms at least one Consumer's Experience corresponding at least one application program
Data.
As shown in figure 4, the embodiments of the invention provide another device for obtaining user experience data, acquiring unit 302,
Including:First choice subelement 3021, second selects subelement 3022 and performs subelement 3023;
First choice subelement 3021, it is at least one for being determined from least two data acquisition nodes pre-set
Current amount to obtain is not reaching to the first data acquisition node of maximum;
Second selection subelement 3022, at least one first data determined from first choice subelement 3021
Obtain the second data acquisition node that highest priority is determined in node;
Execution unit 3023, the second data acquisition node for being determined using the second selection subelement 3022 are obtained
At least one running state data that the data collecting module collected at least one application program arrives.
As shown in figure 5, the embodiments of the invention provide the device that another obtains user experience data, further comprise:
Node selecting unit 501 and memory cell 502;
Node selecting unit 501, for from least one memory node pre-set, determining that at least one target is deposited
Store up node;
Memory cell 502, for being stored respectively in each target storage node that node selecting unit 501 selects
The established each user experience data.
As shown in fig. 6, the embodiments of the invention provide the device that another obtains user experience data, further comprise:
Receiving unit 601, data capture unit 602 and analytic unit 603;
Receiving unit 601, for receiving the data requesting instructions of outside input;
Data capture unit 602, for the data requesting instructions received according to receiving unit 601, from it is described to
At least one user experience data is obtained in a few memory node;
Analytic unit 603, the data model pre-set for basis, the institute that analyze data acquiring unit 602 is got
At least one user experience data is stated, and shows analysis result.
Shown in Fig. 7, the embodiments of the invention provide also it is a kind of obtain user experience data device,
Data processing unit 303, including:Deblocking subelement 3031 and integration subelement 3032;
Deblocking subelement 3031, for being directed to each running state data, judge current operating conditions
Whether the byte number of data is more than the byte number of preset data block, if it is, according to the byte number of the data block, by described in
Current operating conditions data are divided at least two data blocks;Otherwise, it determines the current operating conditions data are described
Data block;
Subelement 3032 is integrated, for entering at least one data block that the deblocking subelement obtains simultaneously
Row integration is handled, to form at least one user experience data corresponding at least one application program.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control
During the execute instruction, the storage control performs the side of the acquisition user experience data provided in any one embodiment
Method.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The processor is connected with the memory by the bus;
The memory, when the storage control is run, memory storage is described described in the computing device
Execute instruction, so that the method that the storage control performs the acquisition user experience data provided in any one embodiment.
In summary, each embodiment of the present invention at least has the advantages that:
1st, in one embodiment of the invention, at least one data acquisition module is configured at least one application program, with reality
The target sample of existing user experience data uses the user of the application program for each.Data acquisition module is used for acquisition applications
The running state data of program, running state data can reflect that user uses the concrete condition of application program.Obtain each
The running state data that data collecting module collected in individual application program arrives, and according to integration rules set in advance, integrate
The running state data got, to obtain being formed user experience data corresponding to application program.As can be seen here, the present invention is implemented
Example by configuring at least one data acquisition module in the application, to obtain the carry out bulk sample realized to user experience data
This collection;And acquisition can reflect running state data of the user using the concrete condition of application program, and utilize and get
Running state data formed user experience data so that the user experience data got can objectively reflect using journey
The Consumer's Experience of sequence.
2nd, in one embodiment of the invention, by obtaining each data acquisition node and according to each data acquisition node
Data capability configuration preference level is obtained, the data partial pressure shunting during state service data is obtained is realized, avoids each number
There is the problem of data spilling according to node is obtained.
3rd, in one embodiment of the invention, user experience data is stored on multiple memory nodes, once there is some storage
Node can not normal operation when, developer can pass through other memory nodes obtain user experience data.
4th, in one embodiment of the invention, developer can recycle what is pre-set by input data request instruction
Data model, data mining is carried out to user experience data.
5th, in one embodiment of the invention, by the way that running state data is divided into several data blocks, and simultaneously to each
Data block carries out integration processing, so as to accelerate the treatment effeciency of data.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element limited by sentence " including one ", is not arranged
Except other identical factor in the process including the key element, method, article or equipment being also present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.