IP Library › Granted Patent US 9,977,709
Granted Patent B2
US 9,977,709 · App. 15/102,273 · Granted May 22, 2018

Method and system for repairing fault of terminal

Inventor: Yu Li (Guangdong, CN)
Assignee: SHENZHEN TCL NEW TECHNOLOGY CO., LTD
G06F11/0793G06F11/0709G06F11/079G06F11/0751G06F11/0778G06F11/0784
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,977,709
App. No.
15/102,273
Granted
May 22, 2018
Kind
B2
Abstract

Disclosed is a method for repairing a fault of a terminal which includes: acquiring, by a terminal, an error log according to fault repairing instructions, and extracting identification information of a corresponding application from the error log; when the application is a local application, according to the identification information of the local application and a preset top level domain name corresponding to an after sales server of the local application, determining an IP address of the after sales server; sending the error log to the corresponding after sales server; determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal; and performing, by the terminal, operation of repairing the fault of the terminal according to the solution. Also disclosed is a system for repairing a fault of a terminal.

Claims (49)

1. A method for repairing a fault of a terminal, comprising:

acquiring, by the terminal, an error log of the terminal according to fault repairing instructions, and extracting identification information of a corresponding application from the error log, wherein the step of acquiring the error log comprises:

creating a log file according to the fault repairing instructions,

redirecting, in real time, log information generated by the terminal to the log file, and

analyzing the log information in the log file to find out the error log;

when the error log is found out, a timer is started, and after a setting time, the operation of redirecting is stopped;

when the application is a local application, according to the identification information of the local application and a preset top level domain name corresponding to an after sales server of the local application, determining an IP address of the after sales server corresponding to the local application;

sending the error log to the corresponding after sales server according to a preset receiving port and the IP address of the after sales server, and determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal; and

performing, by the terminal, operation of repairing the fault of the terminal according to the solution;

after extracting the identification information of the corresponding application from the error log, further comprising:

sending, by the terminal, when the application is a third party application, according to a preset receiving port and an IP address of an after sales server of the third party application, the error log to the after sales server of the third party application.

2. The method for repairing a fault of a terminal according to claim 1 , wherein the step of the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

acquiring, by the after sales server, a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

3. The method for repairing a fault of a terminal according to claim 1 , wherein when the identification information of the local application is a process name of the local application, the step of the according to the identification information of the local application and a preset top level domain name corresponding to an after sales server of the local application, determining an IP address of the after sales server corresponding to the local application specifically comprises:

combining the process name of the local application and the preset top level domain name corresponding to the after sales server of the local application to form a second level domain name, and determining the IP address of the after sales server corresponding to the local application according to the second level domain name.

4. The method for repairing a fault of a terminal according to claim 3 , wherein the step of the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

acquiring, by the after sales server, a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

5. The method for repairing a fault of a terminal according to claim 1 , wherein the operation of redirecting is implemented by using LOGCAT instructions, and the identification information is a process name of the corresponding application.

6. The method for repairing a fault of a terminal according to claim 5 , wherein the step of the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

acquiring, by the after sales server, a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

7. The method for repairing a fault of a terminal according to claim 1 , wherein the step of the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

acquiring, by the after sales server, a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

8. The method for repairing a fault of a terminal according to claim 1 , wherein the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

determining, by the after sales server, whether the solution corresponding to the error log is saved in a database of the after sales server;

if yes, feeding back the solution to the corresponding terminal;

if not, feeding back prompt information to the corresponding terminal to inform a terminal user that the solution cannot be fed back currently; and detecting whether the solution corresponding to the error log is generated, if yes, timely feeding back the solution to the corresponding terminal, and saving the solution and the corresponding error log to the database of the after sales server.

9. The method for repairing a fault of a terminal according to claim 8 , wherein the step of the determining, by the after sales server, a solution according to the error log, and feeding back the solution to the terminal specifically comprises:

acquiring, by the after sales server, a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

10. The method for repairing a fault of a terminal according to claim 1 , wherein the terminal determines whether the application is the local application by using a method of getInstal-ledApplications of PackageManager in android system, all attributes of ApplicationInfo and ApplicationInfo.FLAG_SYSTE-M are acquired, and an “and” (&) operation is performed on the attributes of ApplicationInfo and ApplicationInfo.FLAG_SYSTEM where the application is the local application when the “and” (&) operation produces a non-zero result, and otherwise the application is the third party application.

11. A system for repairing a fault of a terminal, comprising:

at least an after sales server, configured to receive an error log fed back by a terminal and feed back a corresponding solution to the terminal according to the error log; and

the terminal, configured to acquire the error log of the terminal according to fault repairing instructions and extract identification information of a corresponding application from the error log; wherein when the application is a local application, an IP address of the after sales server corresponding to the local application is determined according to the identification information of the local application and a preset top level domain name corresponding to the after sales server of the local application; wherein the error log is sent to the corresponding after sales server according to a preset receiving port and the IP address of the after sales server; and wherein operation of repairing the fault of the terminal is performed according to the solution fed back by the after sales server, wherein the terminal is further configured to

create a log file according to the fault repairing instructions,

redirect, in real time, log information generated by the terminal to the log file, and

analyze the log information in the log file to find out the error log;

when the error log is found out, start a timer , and after a setting time, stop the operation of redirecting; and

send, when the application is a third party application, according to a preset receiving port and an IP address of an after sales server of the third party application, the error log to the after sales server of the third party application.

12. The system for repairing a fault of a terminal according to claim 11 , wherein the after sales server is further configured to acquire a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

13. The system for repairing a fault of a terminal according to claim 11 , wherein

when the identification information of the local application is a process name of the local application, the terminal is further configured to combine the process name of the local application and the preset top level domain name corresponding to the after sales server of the local application to form a second level domain name, and configured to determine the IP address of the after sales server corresponding to the local application according to the second level domain name.

14. The system for repairing a fault of a terminal according to claim 13 , wherein the after sales server is further configured to acquire a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

15. The system for repairing a fault of a terminal according to claim 11 , wherein the operation of redirecting is implemented by using LOGCAT instructions, and

the identification information is a process name of the corresponding application.

16. The system for repairing a fault of a terminal according to claim 15 , wherein the after sales server is further configured to acquire a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

17. The system for repairing a fault of a terminal according to claim 11 , wherein the after sales server is further configured to acquire a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

18. The system for repairing a fault of a terminal according to claim 11 , wherein

the after sales server is specifically configured to determine whether the solution corresponding to the error log is saved in a database of the after sales server; wherein if yes, the solution is fed back to the corresponding terminal; and if not, prompt information is fed back to the corresponding terminal to inform a terminal user that the solution cannot be fed back currently; and wherein after the solution corresponding to the error log is generated, the solution is timely fed back to the corresponding terminal, and the solution and the corresponding error log are saved to the database of the after sales server.

19. The system for repairing a fault of a terminal according to claim 18 , wherein the after sales server is further configured to acquire a sending port and an IP address of the terminal according to the received error log, so that the after sales server feeds back the corresponding solution to the terminal according to the sending port and the IP address of the terminal.

20. The system for repairing a fault of a terminal according to claim 11 , wherein the terminal determines whether the application is the local application by using a method of getInstal-ledApplications of PackageManager in android system, all attributes of ApplicationInfo and ApplicationInfo.FLAG_SYSTE-M are acquired, and an “and” (&) operation is performed on the attributes of ApplicationInfo and ApplicationInfo.FLAG_SYSTEM where the application is the local application when the “and” (&) operation produces a non-zero result, and otherwise the application is the third party application.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 15, 2026
From: SHENZHEN TCL NEW TECHNOLOGY CO., LTD.
To: MAXELL, LTD.
Reel/Frame 075274/0620 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2016
From: LI, YU
To: SHENZHEN TCL NEW TECHNOLOGY CO., LTD
Reel/Frame 038823/0274 →
Priority Claims (1)
CN 2014 1 0485667 · Sep 22, 2014 · national
Continuity (1)
Related Publication 20170091019A1 · Mar 30, 2017