The content of the invention
In order to solve the problems, such as correlation technique, the embodiments of the invention provide a kind of data uploading method, data receiver
Method, client and server.The technical scheme is as follows:
First aspect, there is provided a kind of data uploading method, methods described include:
According to caused latent fault data in application program running, the data for obtaining the latent fault data are special
Value indicative;
The data feature values are sent to server so that the server is according to the data feature values in wrong data
Storehouse is matched, and according to matching result, returns to corresponding feedback message;
Receive the feedback message that the server is sent;
When the feedback message is data upload message, the latent fault data are uploaded to the server.
It is described to be run according to application program with reference in a first aspect, in the first possible implementation of first aspect
During caused latent fault data, before the data feature values for obtaining the latent fault data, in addition to:
The data of parameters in the application program running are obtained in real time;
When the data of any parameter in normal data error range, are not then obtaining the parameter corresponding to the parameter
Data are as caused latent fault data in application program running.
It is described to obtain the latent fault with reference in a first aspect, in second of possible implementation of first aspect
The data feature values of data, including:
The latent fault data are calculated using special algorithm, using result of calculation as the latent fault data
Data feature values.
With reference in a first aspect, in the third possible implementation of first aspect, the feedback message also includes number
According to redundancy message, after the feedback message for receiving the server and sending, in addition to:
When the feedback message is data redundancy message, by the latent fault data storage in local.
Second aspect, there is provided a kind of data receiver method, this method include:
Receive the data feature values for the latent fault data that client is sent;
The data feature values are matched with the reference data characteristic value stored in error database;
According to matching result, corresponding feedback message is generated;
The feedback message is sent to the client;
Receive the latent fault data that the client is sent.
It is described by the characteristic data value in the first possible implementation of second aspect with reference to second aspect
Before being matched with the reference data characteristic value stored in error database, in addition to:
The reference data characteristic value that multiple client is sent is received, wrong data is established based on the reference data characteristic value
Storehouse;
It is described that corresponding feedback message is generated according to matching result, including:
When the reference data characteristic value matched with the data feature values in the error database be present, data are generated
Redundancy message;
When the reference data characteristic value matched with the data feature values is not present in the error database, number is generated
According to upload message.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect
In, it is described according to matching result, after generating corresponding feedback message, in addition to:
The number for currently receiving the data feature values is counted;
According to the statistics number of the data feature values, the place of latent fault data corresponding to the data feature values is determined
Manage priority.
The third aspect, there is provided a kind of client, the client include:
First acquisition module, for according to caused latent fault data in application program running, obtaining described latent
In the data feature values of wrong data;
Sending module, for sending the data feature values to server so that the server is special according to the data
Value indicative is matched in error database, according to matching result, returns to corresponding feedback message;
Receiving module, the feedback message sent for receiving the server;
Uploading module, for when the feedback message is data upload message, the latent fault data to be uploaded to
The server.
With reference to the third aspect, in the first possible implementation of the third aspect, the client, in addition to:
Second acquisition module, for obtaining the data of parameters in the application program running in real time;When any
The data of parameter in normal data error range, are not obtaining the data of the parameter as application program corresponding to the parameter
Caused latent fault data in running.
With reference to the third aspect, in second of possible implementation of the third aspect, first acquisition module, it is used for
The latent fault data are calculated using special algorithm, result of calculation is special as the data of the latent fault data
Value indicative.
With reference to the third aspect, in the third possible implementation of the third aspect, the feedback message also includes number
According to redundancy message, the client, in addition to:
Memory module, for being data redundancy message when the feedback message, by the latent fault data storage at this
Ground.
Fourth aspect, there is provided a kind of server, the server include:
First receiving module, the data feature values of the latent fault data for receiving client transmission;
Matching module, the reference data characteristic value for that will store in the data feature values and error database are carried out
Match somebody with somebody;
Generation module, for according to matching result, generating corresponding feedback message;
Sending module, for sending the feedback message to the client;
Second receiving module, the latent fault data sent for receiving the client.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the server, in addition to:
3rd receiving module, for receiving the reference data characteristic value of multiple client transmission, based on the reference data
Characteristic value establishes error database;
The generation module, including:
First generation unit, for when the reference data that is matched with the data feature values in the error database being present
During characteristic value, data redundancy message is generated;
Second generation unit, for when the reference number that is matched with the data feature values is not present in the error database
During according to characteristic value, data upload message is generated.
With reference to fourth aspect, in second of possible implementation of fourth aspect, the server, in addition to:
Statistical module, for being counted to the number for currently receiving the data feature values;
Determining module, for the statistics number according to the data feature values, determine to dive corresponding to the data feature values
In the processing priority of wrong data.
Client is after the data feature values of the latent fault data in getting application program running, by data
Characteristic value sends to server, server and generates feedback message, and feedback message is sent according to the data feature values received
To client, when feedback message is data upload message, client uploads onto the server latent fault data.Due to service
The latent fault data that device receives come from numerous clients, and data comprehensively, accurately, therefore, are received based on server
Latent fault data, keeper can in time, efficiently solve mistake in client application running.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is refer to, it illustrates the implementation ring involved by data provided in an embodiment of the present invention upload and method of reseptance
Border schematic diagram, the implementation environment include client 101 and server 102.
Wherein, client 101 can be various types of mobile phones, can also various models computer, in the present embodiment
Specific limit is not made to the specific product form of client 101.Audio class application, video can be installed in the client 101
Class application, game class application etc..The running of the application program of installation is monitored in addition, the client 101 possesses, obtained
Take the aborning latent fault data of application program running, and latent fault data are uploaded onto the server 102 ability.
Server 102 can be a kind of apps server, possess and receive the latent fault data that client is sent, and
The program change directive that keeper sends is received, and application program is improved under the triggering of program change directive, upgraded
Ability.
Above-mentioned client 101 can be communicated with server 102 by wireless network or cable network.
Embodiment environment with reference to shown in above-mentioned Fig. 1, the embodiments of the invention provide a kind of data uploading method, participates in figure
2, the method flow that the present embodiment provides includes:
201st, according to the aborning latent fault data of application program running, the data for obtaining latent fault data are special
Value indicative.
202nd, data feature values are sent to server so that server based on data characteristic value is in error database progress
Match somebody with somebody, according to matching result, return to corresponding feedback message.
203rd, the feedback message that the reception server is sent.
204th, when feedback message is data upload message, latent fault data are uploaded onto the server.
Method provided in an embodiment of the present invention, by the data for obtaining the latent fault data in application program running
Characteristic value, and the data feature values got are sent to server, receiving the generation of server based on data characteristic value
Feedback message, and feedback message be data upload message after, latent fault data are uploaded onto the server.Because server connects
The latent fault data received come from numerous clients, data comprehensively, it is accurate, therefore, keeper can in time, efficiently solve
Mistake in client application running.
As a kind of optional embodiment, according to caused latent fault data in application program running, obtain latent
Before the data feature values of wrong data, in addition to:
The data of parameters in application program running are obtained in real time;
When the data of any parameter are not corresponding to parameter in normal data error range, then data conduct getparms
Caused latent fault data in application program running.
As a kind of optional embodiment, the data feature values of latent fault data are obtained, including:
Latent fault data are calculated using special algorithm, result of calculation is special as the data of latent fault data
Value indicative.
As a kind of optional embodiment, feedback message also includes data redundancy message, the feedback that the reception server is sent
After message, in addition to:
When feedback message is data redundancy message, by latent fault data storage in local.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the present invention, herein no longer
Repeat one by one.
With reference to the implementation environment shown in above-mentioned Fig. 1, the embodiments of the invention provide a kind of data receiver method, referring to Fig. 3,
The method flow that the present embodiment provides includes:
301st, the data feature values for the latent fault data that client is sent are received.
302nd, data feature values are matched with the reference data characteristic value stored in error database.
303rd, according to matching result, corresponding feedback message is generated.
304th, feedback message is sent to client.
305th, the latent fault data that client is sent are received.
Method provided in an embodiment of the present invention, the data feature values sent by receiving client, the data that will be received
Characteristic value is matched with reference data characteristic value, and will be sent to client according to matching result, the feedback message of generation, and be entered
And receive the wrong data that objective end is sent.Because the latent fault data received come from numerous clients, data are comprehensive, accurate
Really, therefore, based on the latent fault data received, keeper can in time, efficiently solve client application and ran
Mistake in journey.
As a kind of optional embodiment, characteristic data value is entered with the reference data characteristic value stored in error database
Before row matching, in addition to:
The reference data characteristic value that multiple client is sent is received, error database is established based on reference data characteristic value;
According to matching result, corresponding feedback message is generated, including:
When the reference data characteristic value matched with data feature values in error database be present, generation data redundancy disappears
Breath;
When the reference data characteristic value matched with data feature values is not present in error database, generation data, which upload, to disappear
Breath.
As a kind of optional embodiment, according to matching result, after generating corresponding feedback message, in addition to:
The current number for receiving data feature values is counted;
According to the statistics number of data feature values, it is determined that the processing to latent fault data corresponding to data feature values is preferential
Level.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the present invention, herein no longer
Repeat one by one.
The embodiment shown in implementation environment and above-mentioned Fig. 2 or Fig. 3 with reference to shown in above-mentioned Fig. 1, the embodiment of the present invention provide
A kind of data upload and method of reseptance, and referring to Fig. 4, the method flow that the present embodiment provides includes:
401st, client obtains latent fault data according to caused latent fault data in application program running
Data feature values.
In order that the mistake occurred in application program running, can obtain in time, efficiently solve, to improve application
The fluency of program operation, when application program is run, client will monitor the operation conditions of application program constantly, if monitoring
There is exception in the process of running in application program, illustrates that the data in application program are likely to occur mistake, this is likely to occur mistake
Data be latent fault data, in order to enable applications to smoothness operation, client need obtain latent fault number
According to.
Wherein, the mode of latent fault data is obtained on client, is included but is not limited to:Application program fortune is obtained in real time
The data of parameters during row;When the data of any parameter in normal data error range, are not then obtaining corresponding to parameter
The data of parameter are taken as the latent fault data in application program running.
Specifically, the parameter in application program running have resolution ratio, CPU (Central Processing Unit,
Central processing unit) speed of service etc..Run in order to ensure application program is smooth, each parameter in application program is corresponding one
Normal data, the normal data can characterize the operation conditions of application program, when the data of each parameter in application program exist
When corresponding to parameter in normal data error range, application program is capable of the operation of smoothness;When any parameter in application program
For data not when corresponding to parameter in normal data error range, application program is difficult that smooth operation is gone down.Wherein, parameter pair
The normal data error range answered can be the error of the data normal data corresponding with parameter of parameter current be 10%,
20%th, 30% etc., the present embodiment does not make specific limit to normal data error range corresponding to parameter.
It should be noted that because the parameter in application program has multiple, each parameter corresponds to a normal data, because
This, can be that parameters set identical criterion numeral when parameters in for application program set normal data error range
Different normal data error ranges is set according to error range, or parameters, the present embodiment does not do specific limit to this
It is fixed.
It should be noted that because the data in application program are operation code, and operation code goes out in the application
Existing position is not fixed, when a certain operation code occurs wrong, it is often necessary to come by the contextual information of operation code
It is determined that the reason for mistake occurs, therefore, in order to enable the server to according to the latent fault data received, rapidly finding out should
There is the reason for wrong with program, and then provide the user solution in time, client when obtaining latent fault data,
Also need to obtain operating point of the latent fault data in operation code, and when latent fault data are uploaded into server,
Operating point of the latent fault data in operation code is together uploaded.
Because client is before the latent fault currently got data are uploaded onto the server, other clients are being transported
Similar mistake may occur during row, and latent fault data uploaded onto the server, and due to latent fault number
It is larger to upload the resource consumption of latent fault data when client uploads latent fault data according to generally large, therefore,
In order to reduce unnecessary resource consumption, avoid client that latent fault data stored in server are uploaded into service
Device, client after the latent fault data of application program in the process of running are got, can first according to latent fault data,
Obtain the data feature values of latent fault data.
Wherein, the data feature values of latent fault data can be the cryptographic Hash of latent fault data, or potential
CRC (Cyclic Redundancy Check, CRC) value of wrong data, etc..Obtained on client latent
In the mode of the data feature values of wrong data, include but is not limited to:Client is using special algorithm to the potential mistake that gets
Data are calculated by mistake, and the data feature values using result of calculation as latent fault data.For example, if client uses Hash
Algorithm is calculated the latent fault data got, and obtained result of calculation is cryptographic Hash, then using cryptographic Hash as potential
The data feature values of wrong data;If client is calculated the latent fault data got using CRC algorithm, obtain
Result of calculation is crc value, then the data feature values using crc value as latent fault data.
402nd, user end to server sends data feature values.
In order to solve the mistake occurred in application program running, to enable applications to run glibly, client
The data feature values got are also sent to server, closed after the data feature values of latent fault data are got by end
The data feature values got are sent to the mode of server, the present embodiment in client and not limited specifically, can be incited somebody to action
The data feature values got are sent to server etc. by modes such as cable network, wireless networks.
403rd, when server receive client transmission data feature values, by data feature values with being deposited in error database
The reference data characteristic value of storage is matched.
Due to store an error database on server, the data message stored in error database is:Reference number
According to latent fault data and specific solution etc. corresponding to characteristic value, reference data characteristic value, therefore, based on wrong data
Storehouse, can be by the data feature values got and wrong data after server receives the data feature values of client transmission
The reference data characteristic value stored in storehouse is matched.Specifically, server is by the data feature values got and wrong data
The supplemental characteristic characteristic value stored in storehouse is matched, and matching result includes but is not limited to following several situations:Error database
It is middle the ginseng for being not present in the supplemental characteristic characteristic value matched with data feature values, error database and being matched with data feature values to be present
Number data feature values etc..
It is by data feature values and wrong data in this step due to the supplemental characteristic characteristic value stored in error database
The key that the reference data characteristic value stored in storehouse is matched, therefore, the method that the present embodiment provides, by data feature values
Before being matched with the reference data characteristic value stored in error database, the reference number of multiple client transmission will be also received
According to characteristic value, and according to corresponding to reference data characteristic value, reference data characteristic value latent fault data, to latent fault data
The solution that the mistake of sign is solved, establishes error database.
In order to rapidly according to the information stored in error database, solve the mistake occurred in application program running
By mistake, the data stored in error database are mostly the forms such as form, matrix.In order to intuitively show what is stored in error database
Data, the data instance in error database is stored in a tabular form below, referring specifically to table 1.
Table 1
Data feature values |
Latent fault data |
Solution |
A |
Data one |
Delete |
B |
Data two |
Replace |
C |
Data three |
Restart |
404th, server generates corresponding feedback message according to matching result.
Above-mentioned matching result is directed to, server will generate different feedback messages according to matching result.Specifically,
Including but not limited to the following two kinds:
The first:When the reference data characteristic value matched with data feature values in error database be present, data are generated
Redundancy message.
For the first, when in error database exist matched with data feature values supplemental characteristic characteristic value when, explanation
Client it is the currently monitored to application program running in the mistake that occurs, the application program of other clients is operationally
Once occurred, and the data feature values have been stored in server, latent fault data and solution corresponding to the data feature values
Certainly scheme, now latent fault data are uploaded again without client, therefore, for this kind of matching result, server will generate
Data redundancy message.
Second:When the reference data characteristic value matched with data feature values is not present in error database, number is generated
According to upload message.
For second, when the supplemental characteristic characteristic value matched with data feature values is not present in error database, say
Bright client it is the currently monitored to application program running in the mistake that occurs, the application program of other clients is operationally
Do not occurred, now client needs to upload the latent fault data, and therefore, for this kind of matching result, server will
Generate data upload message.
According to matching result, after generating corresponding feedback message, the method for the present embodiment offer will also be to currently connecing
The number for receiving data feature values is counted, and according to the statistics number of data feature values, it is determined that to corresponding to data feature values
The processing priority of latent fault data.When the statistics number of a certain data feature values is more, illustrate that client obtains the number
Number according to latent fault data corresponding to characteristic value is more, i.e., the frequency that this kind of mistake occurs in the client is higher, now
Keeper can be according to the statistical result of server, preferentially to this kind of wrong code may be caused to optimize in application program.
If for example, drawn by statistics:The number for receiving data feature values a is 10 times, and the number for receiving characteristic value 2 is 6 times, is connect
The number for receiving data feature values 3 is 5 times, and latent fault occurs as corresponding to statistical result can draw data feature values a
Frequency highest, now keeper can be preferentially to that may cause this kind of wrong code to optimize in application program.
405th, server sends feedback message to client.
After feedback message is generated, server will also send feedback message to client.Wherein, server is to client
The mode of feedback message is sent, including but not limited to by feedback message by forms such as wireless network, cable networks to client
Send.
406th, when client receives the feedback message of server transmission, and when feedback message is data upload message,
Latent fault data are uploaded onto the server.
The feedback message that server is sent includes data upload message and data redundancy message, is directed to different feedbacks and disappears
Breath, client is different in the processing mode to latent fault data:When the feedback message that client the reception server is sent
For data upload message when, illustrate not storing the latent fault data that client is currently got on server, therefore, in data
Under the triggering of upload message, client needs to upload onto the server the latent fault data got;When client receives
When the feedback message that server is sent is data redundancy message, illustrate to have stored what client was currently got on server
Latent fault data, therefore, under the triggering of data redundancy message, client can be by latent fault data storage in local.Close
In by latent fault data storage local mode, include but is not limited to:By latent fault data storage local internal memory,
Flash memory is medium.
407th, when server receives the latent fault data that client is sent, according to the latent fault data pair received
The mistake occurred in application program running is analyzed.
Server receives the latent fault data that client is sent, and according to the latent fault data received to using journey
The mistake occurred during sort run is analyzed, and obtains analysis result, and ejection includes analysis result in administrator interfaces
Prompting message, keeper is according to the prompting message of ejection, it is determined that corresponding solution, and by server by solution
Send to client so that the application program in client smooth can be run.
Method provided in an embodiment of the present invention, latent fault data of the client in application program running is got
Data feature values after, data feature values are sent to server, server is anti-according to the data feature values received, generation
Message is presented, and feedback message is sent to client, when feedback message is data upload message, client is by latent fault number
According to uploading onto the server.Because the latent fault data that server receives come from numerous clients, data are comprehensive, accurate, because
This, the latent fault data received based on server, keeper can in time, efficiently solve client application and ran
Mistake in journey.
Referring to Fig. 5, the embodiments of the invention provide a kind of client, the client is used to perform shown in above-mentioned Fig. 2 or Fig. 4
Function in data uploading method described in embodiment performed by client, the client include:
First acquisition module 501, for according to caused latent fault data in application program running, obtaining potential
The data feature values of wrong data;
Sending module 502, for sending data feature values to server so that server based on data characteristic value is in mistake
Database is matched, and according to matching result, returns to corresponding feedback message;
Receiving module 503, the feedback message sent for the reception server;
Uploading module 504, for when feedback message is data upload message, latent fault data to be uploaded into service
Device.
Referring to Fig. 6, the client, in addition to:
Second acquisition module 505, for obtaining the data of parameters in application program running in real time;When any ginseng
Several data are not in normal data error range, data getparms are as in application program running corresponding to parameter
Caused latent fault data.
As a kind of optional embodiment, the first acquisition module 501, for being entered using special algorithm to latent fault data
Row calculates, the data feature values using result of calculation as latent fault data.
Referring to Fig. 7, feedback message also includes data redundancy message, the client, in addition to:
Memory module 506, for being data redundancy message when feedback message, by latent fault data storage in local.
Client provided in an embodiment of the present invention, by the number for obtaining the latent fault data in application program running
Sent according to characteristic value, and by the data feature values got to server, receiving the generation of server based on data characteristic value
Feedback message, and feedback message be data upload message after, latent fault data are uploaded onto the server.Due to server
The latent fault data received come from numerous clients, data comprehensively, it is accurate, therefore, keeper can in time, efficiently solve
Mistake in client application running.
Referring to Fig. 8, the embodiments of the invention provide a kind of server, the server is used to perform shown in above-mentioned Fig. 3 or Fig. 4
Embodiment described in data receiver method in function performed by server, the server includes:
First receiving module 801, the data feature values of the latent fault data for receiving client transmission;
Matching module 802, the reference data characteristic value for that will store in data feature values and error database are carried out
Match somebody with somebody;
Generation module 803, for according to matching result, generating corresponding feedback message;
Sending module 804, for sending feedback message to client;
Second receiving module 805, for receiving the latent fault data of client transmission.
Referring to Fig. 9, the server, in addition to:
3rd receiving module 806, it is special based on reference data for receiving the reference data characteristic value of multiple client transmission
Value indicative establishes error database;
Referring to Figure 10, generation module 803, including:
First generation unit 8031, for when the reference data feature that is matched with data feature values in error database being present
During value, data redundancy message is generated;
Second generation unit 8032, for special when the reference data matched with data feature values is not present in error database
During value indicative, data upload message is generated.
Referring to Figure 11, the server, in addition to:
Statistical module 807, for being counted to the current number for receiving data feature values;
Determining module 808, for the statistics number according to data feature values, it is determined that to potential mistake corresponding to data feature values
The processing priority of data by mistake.
Server provided in an embodiment of the present invention, the data feature values sent by receiving client, the number that will be received
Matched, and will be sent according to matching result, the feedback message of generation to client with reference data characteristic value according to characteristic value,
And then receive the wrong data that objective end is sent.Because the latent fault data received come from numerous clients, data are comprehensive, accurate
Really, therefore, based on the latent fault data received, keeper can in time, efficiently solve client application and ran
Mistake in journey.
Figure 12 is a kind of block diagram of device 1200 uploaded for data according to an exemplary embodiment.For example,
Device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device,
Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 12, device 1200 can include following one or more assemblies:Processing component 1202, memory 1204,
Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, input/output (I/O) interface 1212, sensor cluster
1214, and communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as communicated with display, call, data,
The operation that camera operation and record operation are associated.Processing component 1202 can include one or more processors 1220 to perform
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1202 can include one or more moulds
Block, the interaction being easy between processing component 1202 and other assemblies.For example, processing component 1202 can include multi-media module,
To facilitate the interaction between multimedia groupware 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data
Example includes being used for the instruction of any application program or method operated on device 1200, contact data, telephone book data,
Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between described device 1200 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed
Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more
Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The audio signal received can be further stored in memory 1204 or via communication
Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor cluster 1214 can detect opening/closed mode of device 1200, the relative positioning of component, such as institute
The display and keypad that component is device 1200 are stated, sensor cluster 1214 can be with detection means 1200 or device 1,200 1
The position of individual component changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration and dress
Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, be configured in no any physics
The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1216 also includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Device provided in an embodiment of the present invention, by the data for obtaining the latent fault data in application program running
Characteristic value, and the data feature values got are sent to server, receiving the generation of server based on data characteristic value
Feedback message, and feedback message be data upload message after, latent fault data are uploaded onto the server.Because server connects
The latent fault data received come from numerous clients, data comprehensively, it is accurate, therefore, keeper can in time, efficiently solve visitor
Mistake in the application program running of family end.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of data uploading method, and methods described includes:
According to caused latent fault data in application program running, the data characteristics of acquisition latent fault data
Value;
Data feature values are sent to server so that server based on data characteristic value is matched in error database,
According to matching result, corresponding feedback message is returned;
The feedback message that the reception server is sent;
When feedback message is data upload message, latent fault data are uploaded onto the server.
As a kind of optional embodiment, according to caused latent fault data in application program running, obtain latent
Before the data feature values of wrong data, in addition to:
The data of parameters in application program running are obtained in real time;
When the data of any parameter are not corresponding to parameter in normal data error range, then data conduct getparms
Caused latent fault data in application program running.
As a kind of optional embodiment, the data feature values of latent fault data are obtained, including:
Latent fault data are calculated using special algorithm, result of calculation is special as the data of latent fault data
Value indicative.
As a kind of optional embodiment, feedback message also includes data redundancy message, the feedback that the reception server is sent
After message, in addition to:
When feedback message is data redundancy message, by latent fault data storage in local.
Non-transitorycomputer readable storage medium provided in an embodiment of the present invention, by obtaining application program running
In latent fault data data feature values, and by the data feature values got to server send, receiving service
The feedback message that device generates according to data feature values, and feedback message be data upload message after, by latent fault data
Reach server.Because the latent fault data that server receives come from numerous clients, data comprehensively, accurately, therefore, are managed
Reason person can in time, efficiently solve mistake in client application running.
Figure 13 is a kind of block diagram for data sink 1300 according to an exemplary embodiment.For example, dress
Put 1300 and may be provided in a server.Reference picture 13, device 1300 include processing component 1322, and it further comprises one
Or multiple processors, and as the memory resource representated by memory 1332, can holding by processing component 1322 for storing
Capable instruction, such as application program.The application program stored in memory 1332 can include one or more each
The individual module for corresponding to one group of instruction.In addition, processing component 1322 is configured as execute instruction, connect with performing above method data
Receiving method, this method include:
Receive the data feature values for the latent fault data that client is sent;
Data feature values are matched with the reference data characteristic value stored in error database;
According to matching result, corresponding feedback message is generated;
Feedback message is sent to client;
Receive the latent fault data that client is sent.
As a kind of optional embodiment, characteristic data value is entered with the reference data characteristic value stored in error database
Before row matching, in addition to:
The reference data characteristic value that multiple client is sent is received, error database is established based on reference data characteristic value;
According to matching result, corresponding feedback message is generated, including:
When the reference data characteristic value matched with data feature values in error database be present, generation data redundancy disappears
Breath;
When the reference data characteristic value matched with data feature values is not present in error database, generation data, which upload, to disappear
Breath.
As a kind of optional embodiment, according to matching result, after generating corresponding feedback message, in addition to:
The current number for receiving data feature values is counted;
According to the statistics number of data feature values, it is determined that the processing to latent fault data corresponding to data feature values is preferential
Level.
Device 1300 can also include a power supply module 1326 and be configured as the power management of performs device 1300, one
Wired or wireless network interface 1350 is configured as device 1300 being connected to network, and input and output (I/O) interface
1358.Device 1300 can be operated based on the operating system for being stored in memory 1332, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Device provided in an embodiment of the present invention, the data feature values sent by receiving client, the data that will be received
Characteristic value is matched with reference data characteristic value, and will be sent to client according to matching result, the feedback message of generation, and be entered
And receive the wrong data that objective end is sent.Because the latent fault data received come from numerous clients, data are comprehensive, accurate
Really, therefore, based on the latent fault data received, keeper can in time, efficiently solve client application and ran
Mistake in journey.
It should be noted that:Above-described embodiment provide client and server upload and receive data when, only more than
The division progress of each functional module is stated for example, in practical application, can be as needed and by above-mentioned function distribution by difference
Functional module complete, i.e., the internal structure of client and server is divided into different functional modules, with complete more than retouch
The all or part of function of stating.In addition, client and server and data uploading method and data that above-described embodiment provides
Method of reseptance embodiment belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.