CN104536966B - Data uploading method, data receiver method, client and server - Google Patents

Data uploading method, data receiver method, client and server Download PDF

Info

Publication number
CN104536966B
CN104536966B CN201410705497.7A CN201410705497A CN104536966B CN 104536966 B CN104536966 B CN 104536966B CN 201410705497 A CN201410705497 A CN 201410705497A CN 104536966 B CN104536966 B CN 104536966B
Authority
CN
China
Prior art keywords
data
latent fault
feature values
server
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410705497.7A
Other languages
Chinese (zh)
Other versions
CN104536966A (en
Inventor
彭铁磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410705497.7A priority Critical patent/CN104536966B/en
Publication of CN104536966A publication Critical patent/CN104536966A/en
Application granted granted Critical
Publication of CN104536966B publication Critical patent/CN104536966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of data uploading method, data receiver method, client and server, belong to field of computer technology.Method includes:According to caused latent fault data in application program running, the data feature values of acquisition latent fault data;Data feature values are sent to server so that server based on data characteristic value is matched in error database, according to matching result, returns to corresponding feedback message;The feedback message that the reception server is sent;When feedback message is data upload message, latent fault data are uploaded onto the server.Client to server by sending data feature values in the present invention, and after data upload message is received, latent fault data are uploaded onto the server.Because the latent fault data of upload come from numerous clients, data comprehensively, it is accurate, therefore, the latent fault data received based on server, keeper can in time, efficiently solve mistake in client application running.

Description

Data uploading method, data receiver method, client and server
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data uploading method, data receiver method, client And server.
Background technology
With the development of computer technology, the value volume and range of product for interconnecting web utilities is more and more.In order to meet to use The use demand at family, a variety of application programs are mounted with client.When application program is incompatible with client in the process of running When, the fluency that application program can be caused to run is poor, now, can obtain the wrong data in application program running, and Wrong data is uploaded onto the server, the wrong data according to upload is enabled an administrator to, application program is improved.
Correlation technique is in wrong data in obtaining application program, using the following two kinds mode:
Mode one:Whether client occurs the wrong data of crash collapses by monitoring in application program running, when When monitoring the wrong data for occurring crash collapses in application program running, the wrong data of crash collapses is obtained, and The crash wrong data collapsed is uploaded onto the server.
Mode two:Client obtains user and finds the wrong data of application program running, and application program is run During wrong data upload onto the server.
During the present invention is realized, inventor has found that correlation technique at least has problems with:
Because the wrong data that client obtains in mode one is the wrong data of crash collapses, application is influenceed on possible Other data of program operation, accordingly, it is possible to which application program can be influenceed in follow-up operation, cause keeper very without processing The difficult mistake to application program in the process of running, there is provided corresponding solution.
Because mode two needs client side user independently to find the wrong data in application program running, but Under normal circumstances, for the wrong data of application program running, user is difficult to perceive exactly, therefore, client End is difficult not only to get whole wrong data in application program running, and the accuracy of the wrong data got It is poor so that occur in application program running it is not smooth the problems such as, cannot effectively solve.
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.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the implementation environment schematic diagram of data upload provided in an embodiment of the present invention and method of reseptance;
Fig. 2 is a kind of flow chart for data uploading method that one embodiment of the invention provides;
Fig. 3 is a kind of flow chart for data receiver method that another embodiment of the present invention provides;
Fig. 4 is the flow chart of a kind of data upload that another embodiment of the present invention provides and method of reseptance;
Fig. 5 is a kind of structural representation for client that another embodiment of the present invention provides;
Fig. 6 is a kind of structural representation for client that another embodiment of the present invention provides;
Fig. 7 is a kind of structural representation for client that another embodiment of the present invention provides;
Fig. 8 is a kind of structural representation for server that another embodiment of the present invention provides;
Fig. 9 is a kind of structural representation for server that another embodiment of the present invention provides;
Figure 10 is a kind of structural representation for generation module that another embodiment of the present invention provides;
Figure 11 is a kind of structural representation for server that another embodiment of the present invention provides;
Figure 12 is a kind of block diagram for data uploading device that another embodiment of the present invention provides;
Figure 13 is a kind of block diagram for data sink that another embodiment of the present invention provides.
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.

Claims (10)

1. a kind of data uploading method, it is characterised in that methods described includes:
According to caused latent fault data in application program running, the data feature values of the latent fault data are obtained With operating point of the latent fault data in operation code;
The operating point of the data feature values and the latent fault data in operation code is sent to server so that described Server is matched according to the data feature values in error database, 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;
When the feedback message is data redundancy message, by the latent fault data storage in local.
2. according to the method for claim 1, it is characterised in that caused potential in the running according to application program Wrong 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 data of the parameter corresponding to the parameter As caused latent fault data in application program running.
3. according to the method for claim 1, it is characterised in that the data characteristics for obtaining the latent fault data Value, including:
The latent fault data are calculated using special algorithm, the number using result of calculation as the latent fault data According to characteristic value.
A kind of 4. data receiver method, it is characterised in that methods described includes:
The data feature values and the latent fault data for the latent fault data that reception client is sent are in operation code Operating point;
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;
The number for currently receiving the data feature values is counted;
According to the statistics number of the data feature values, it is determined that the processing to latent fault data corresponding to the data feature values Priority.
5. according to the method for claim 4, it is characterised in that it is described by the data feature values with being deposited in error database Before the reference data characteristic value of storage is matched, in addition to:
The reference data characteristic value that multiple client is sent is received, error database is established based on the reference data characteristic value;
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 redundancy is generated Message;
When the reference data characteristic value matched with the data feature values is not present in the error database, generate in data Pass message.
6. a kind of client, it is characterised in that the client includes:
First acquisition module, for according to caused latent fault data in application program running, obtaining the potential mistake Operating point of the data feature values and the latent fault data of data in operation code by mistake;
Sending module, for sending the behaviour of the data feature values and the latent fault data in operation code to server Make a little so that the server is matched according to the data feature values in error database, according to matching result, returns to phase The feedback message answered;
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 being uploaded to described Server;
Memory module, for being data redundancy message when the feedback message, by the latent fault data storage in local.
7. client according to claim 6, it is characterised in that the client, in addition to:
Second acquisition module, for obtaining the data of parameters in the application program running in real time;When any parameter Data do not run as application program in normal data error range, obtaining the data of the parameter corresponding to the parameter During caused latent fault data.
8. client according to claim 6, it is characterised in that first acquisition module, for using special algorithm The latent fault data are calculated, the data feature values using result of calculation as the latent fault data.
9. a kind of server, it is characterised in that the server includes:
First receiving module, the data feature values of the latent fault data sent for receiving client and the latent fault number According to the operating point in operation code;
Matching module, for the data feature values to be matched with the reference data characteristic value stored in error database;
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;
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, it is determined that to potential corresponding to the data feature values The processing priority of wrong data.
10. server according to claim 9, it is characterised in that the server, in addition to:
3rd receiving module, for receiving the reference data characteristic value of multiple client transmission, based on the reference data feature Value establishes error database;
The generation module, including:
First generation unit, for when the reference data feature that is matched with the data feature values in the error database being present During value, data redundancy message is generated;
Second generation unit, for special when the reference data matched with the data feature values is not present in the error database During value indicative, data upload message is generated.
CN201410705497.7A 2014-11-28 2014-11-28 Data uploading method, data receiver method, client and server Active CN104536966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410705497.7A CN104536966B (en) 2014-11-28 2014-11-28 Data uploading method, data receiver method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410705497.7A CN104536966B (en) 2014-11-28 2014-11-28 Data uploading method, data receiver method, client and server

Publications (2)

Publication Number Publication Date
CN104536966A CN104536966A (en) 2015-04-22
CN104536966B true CN104536966B (en) 2018-01-12

Family

ID=52852494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410705497.7A Active CN104536966B (en) 2014-11-28 2014-11-28 Data uploading method, data receiver method, client and server

Country Status (1)

Country Link
CN (1) CN104536966B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776262A (en) * 2015-11-23 2017-05-31 芋头科技(杭州)有限公司 A kind of robot abnormal restoring system and method
CN107544856B (en) * 2016-06-23 2019-06-07 腾讯科技(深圳)有限公司 Information-pushing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477801A (en) * 2002-08-19 2004-02-25 上海贝尔有限公司 Self-trapping protection and debugging equipment for communication system
CN103685337A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File sharing method, terminal equipment and relay server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4531112B2 (en) * 2007-03-16 2010-08-25 富士通株式会社 Information selection method, system thereof, monitoring device, and data accumulation device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477801A (en) * 2002-08-19 2004-02-25 上海贝尔有限公司 Self-trapping protection and debugging equipment for communication system
CN103685337A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File sharing method, terminal equipment and relay server

Also Published As

Publication number Publication date
CN104536966A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
WO2016011744A1 (en) Method and apparatus for performing verification by using verification code
CN104580637B (en) Telephone number labeling method, terminal and Cloud Server
EP3151507A1 (en) Methods and apparatuses for controlling device
CN105703932B (en) Log recording method for uploading, log recording method of reseptance, terminal and server
CN105100197B (en) The method and device of application is installed
CN104009837B (en) Key updating method, device and terminal
CN103944804A (en) Contact recommending method and device
CN104298547A (en) Terminal setting method and device
KR20160023627A (en) Method and apparatus for automatically connecting wireless network
CN104636453A (en) Illegal user data identification method and device
CN107948093A (en) Adjust the method and device that network speed is applied in terminal device
CN103914337A (en) Service calling method, device and terminal
CN107820684A (en) Channel Detection, method for sending information, device and communication equipment
CN107703348A (en) The detection method and device of smart jack
CN104994541A (en) Network flow correction method and device
CN105657690A (en) Method and device for processing mobile terminal setting information
CN111338971A (en) Application testing method and device, electronic equipment and storage medium
CN105491518A (en) Method and device for social reminding based on wearable devices
CN104539497B (en) Method for connecting network and device
CN107316207A (en) A kind of method and apparatus for obtaining bandwagon effect information
CN104536966B (en) Data uploading method, data receiver method, client and server
CN104268149A (en) Clustering method and clustering device
CN104735139B (en) End message statistical method, device, terminal and server
CN103902688A (en) File operation synchronizing method and device
CN105227660A (en) A kind of based reminding method and device

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20150422

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980000101

Denomination of invention: Data upload method, data receiving method, client and server

Granted publication date: 20180112

License type: Common License

Record date: 20210106