IP Library › Granted Patent US 9,575,830
Granted Patent B2
US 9,575,830 · App. 14/410,653 · Granted Feb 21, 2017

Run-time error repairing method, device and system

Inventors: Xudong Chen (Shenzhen, CN); Xiangwei Song (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F11/0793G06F11/0706G06F11/079G06F11/0778
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,575,830
App. No.
14/410,653
Granted
Feb 21, 2017
Kind
B2
Abstract

Various embodiments of the present disclosure describe a method, device, and system for repairing run-time errors. The method includes at a client side, obtaining dump file information and version information of an application where a run-time error occurs; calculating the obtained dump file information and version information according to a preset algorithm to get an error identification associated with the run-time error; sending an error report carrying the error identification to an error information acquisition server; receiving a repair application issued by the error information acquisition server according to the error identification; and activating the repair application to perform repairing. When embodiments of the present disclosure are employed, the time required for repairing application run-time errors can be reduced.

Claims (90)

1. A method for repairing run-time errors, comprising:

obtaining, by a client, dump file information and version information of an application where a run-time error occurs;

calculating the obtained dump file information and version information according to a preset algorithm to get an error identification associated with the run-time error;

sending an error report carrying the error identification to an error information acquisition server;

receiving a repair application issued by the error information acquisition server according to the error identification; and

activating the repair application to perform repairing;

wherein the operation of receiving the repair application issued by the error information acquisition server according to the error identification comprises:

receiving, by the error information acquisition server, the error report carrying the error identification;

querying whether the repair application associated with the error identification is stored locally;

when the repair application is not stored locally, storing the received error report and the error identification, and storing information of a user reporting the error identification;

receiving a second repair application from exterior of the error information acquisition server;

establishing a mapping relationship between the error identification and the second repair application; and

issuing the second repair application to the client corresponding to the stored information of the user reporting the error identification.

2. The method of claim 1 , wherein the operation of receiving the repair application issued by the error information acquisition server according to the error identification further comprises:

when the repair application is stored locally, issuing, by the error information acquisition server, the repair application to the client.

3. The method of claim 2 , wherein the operation of issuing the repair application to the client when the repair application is stored locally comprises:

querying, by the error information acquisition server, whether a version number of the repair application associated with the error identification is a latest version number of the repair application stored in the error information acquisition server; and

when the version number of the repair application associated with the error identification is the latest version number of the repair application stored in the error information acquisition server, issuing the repair application associated with the error identification; otherwise, issuing a latest version of the repair application.

4. The method of claim 1 , further comprising:

analyzing, by the error information acquisition server, the error report to obtain the dump file information; and

when the dump file information comprises a preset plug-in field, carrying a message indicating that the run-time error is caused by external factors when the repair application is issued to the client.

5. The method of claim 4 , wherein the preset algorithm comprises the fifth edition encryption algorithm of Message Digest Algorithm (MD5) and Base64 encryption algorithm.

6. The method of claim 5 , wherein the error report is generated according to the dump file information, the version information, and log information.

7. A client, comprising a processor and a non-transitory storage, wherein

the non-transitory storage is to store machine readable instructions to be executed by the processor, wherein the machine readable instructions comprise an error reporting instruction and a repairing instruction; and

the processor is to read the error reporting instruction stored in the non-transitory storage to perform a process of:

obtaining dump file information and version information of an application where a run-time error occurs,

calculating the obtained dump file information and version information according to a preset algorithm to get an error identification associated with the run-time error, and

sending an error report carrying the error identification to an error information acquisition server; and

the processor is to read the repairing instruction stored in the non-transitory storage to perform a process of:

receiving a repair application issued by the error information acquisition server according to the error identification, and

activating the repair application to perform repairing;

wherein when the processor reads the repairing instruction stored in the non-transitory storage to perform the process of receiving the repair application issued by the error information acquisition server according to the error identification, the error information acquisition server receives the error report carrying the error identification, queries whether the repair application associated with the error identification is stored locally, when the repair application is not stored locally, stores the received error report and the error identification, stores information of a user reporting the error identification, receives a second repair application from exterior of the error information acquisition server, establishes a mapping relationship between the error identification and the second repair application, and issues the second repair application to the client corresponding to the stored information of the user reporting the error identification;

the processor is to read the repairing instruction stored in the non-transitory storage to perform a process of:

receiving the second repair application.

8. The client of claim 7 , wherein the machine readable instructions further comprise a display instruction, and

the processor is to read the display instruction stored in the non-transitory storage to perform a process of:

displaying, when the error reporting module generates the error identification, the error identification and a message indicating whether or not to send the error report, and

receiving sending-confirmation information and trigger the error reporting module to send the error report to the error information acquisition server.

9. An error information acquisition server, comprising a processor and a non-transitory storage, wherein

the non-transitory storage is to store machine readable instructions to be executed by the processor, wherein the machine readable instructions comprise a receiving instruction, a repair application querying instruction, an error report storage instruction and a sending instruction;

the processor is to read the receiving instruction stored in the non-transitory storage to perform a process of:

receiving an error report carrying an error identification associated with a run-time error that is sent from a client;

the processor is to read the repair application Querying instruction stored in the non-transitory storage to perform a process of:

querying whether a repair application associated with the error identification is stored locally, and

when the repair application associated with the error identification is not stored locally, receiving an externally-configured repair application, and establishing a mapping relationship between the error identification and the externally-configured repair application;

the processor is to read the error report storage instruction stored in the non-transitory storage to perform a process of:

storing the received error report and the error identification, and storing information of a user reporting the error identification; and

the processor is to read the sending instruction stored in the non-transitory storage to perform a process of:

when the repair application associated with the error identification is stored locally, sending the repair application to the client, and

when the repair application associated with the error identification is not stored locally, sending the externally-configured repair application to the client corresponding to the information of the user reporting the error identification.

10. The error information acquisition server of claim 9 , wherein the machine readable instructions further comprise an analyzing instruction, and

the processor is to read the analyzing instruction stored in the non-transitory storage to perform a process of:

analyzing the error report to obtain the dump file information, and

when the obtained dump file information comprises a preset plug-in field, sending a message indicating that the run-time error is caused by external factors to the sending module.

11. The error information acquisition server of claim 9 , wherein the processor is to read the repair application querying instruction stored in the non-transitory storage to further perform a process of:

querying whether a version number of the repair application associated with the error identification is a latest version number of the repair application stored in the error information acquisition server, and

when the version number of the repair application associated with the error identification is the latest version number of the repair application stored in the error information acquisition server, sending the repair application associated with the error identification to the sending module; otherwise, sending a latest version of the repair application to the sending module.

12. A system for repairing run-time errors, comprising:

a client comprising a first processor and a first non-transitory storage and an error information acquisition server comprising a second processor and a second non-transitory storage, wherein the first non-transitory storage is to store machine readable instructions to be executed by the first processor and the second non-transitory storage is to store machine readable instructions to be executed by the second processor;

the first processor is to read the machine readable instructions stored in the first non-transitory storage to perform a process of:

sending an error report carrying a calculated error identification associated with a run-time error to the error information acquisition server, and

receiving a repair application issued by the error information acquisition server according to the error identification, and

activating the repair application to perform repairing; and

the second processor is to read the machine readable instructions stored in the second non-transitory storage to perform a process of:

receiving the error report carrying the error identification,

querying whether the repair application associated with the error identification is stored locally,

when the repair application is not stored locally, storing the received error report and the error identification, and storing information of a user reporting the error identification,

receiving a second repair application from exterior of the error information acquisition server, establishing a mapping relationship between the error identification and the second repair application, and

issuing the second repair application to the client corresponding to the stored information of the user reporting the error identification.

13. The system of claim 12 , wherein the second processor is to read the machine readable instructions stored in the second non-transitory storage to further perform a process of:

analyzing the error report to obtain dump file information, and

when the obtained dump file information comprises a preset plug-in field, carrying a message indicating that the run-time error is caused by external factors when issuing the repair application to the client.

14. The system of claim 12 , wherein the machine readable instructions stored in the first non-transitory storage comprise an error reporting instruction and a repairing instruction:

the first processor is to read the error reporting instruction to perform a process of:

obtaining dump file information and version information of an application where the run-time error occurs,

calculating the obtained dump file information and version information according to a preset algorithm to get the error identification, and

sending the error report carrying the error identification to the error information acquisition server; and

the first processor is to read the repairing instruction to perform a process of:

receiving the repair application issued by the error information acquisition server according to the error identification, and

activating the repair application to perform repairing.

15. The system of claim 12 , wherein the machine readable instructions stored in the second non-transitory storage comprise a receiving instruction, a repair application querying instruction, an error report storage instruction and a sending instruction

the first processor is to read the receiving instruction to perform a process of:

receiving the error report carrying the error identification that is sent from the client, and

the first processor is to read the repair application querying instruction to perform a process of:

querying whether the repair application associated with the error identification is stored locally, and

the first processor is to read the error report storage instruction to perform a process of:

storing the received error report and the error identification; and

the first processor is to read the sending instruction to perform a process of:

when the repair application associated with the error identification is stored locally, sending the repair application to the client.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 6, 2015
From: CHEN, XUDONG; SONG, XIANGWEI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 034642/0586 →
Priority Claims (1)
CN 2012 1 0224763 · Jul 2, 2012 · national
Continuity (1)
Related Publication 20150193296A1 · Jul 9, 2015