CN107276789B - Log uploading method and device and computer readable storage medium - Google Patents

Log uploading method and device and computer readable storage medium Download PDF

Info

Publication number
CN107276789B
CN107276789B CN201710362471.0A CN201710362471A CN107276789B CN 107276789 B CN107276789 B CN 107276789B CN 201710362471 A CN201710362471 A CN 201710362471A CN 107276789 B CN107276789 B CN 107276789B
Authority
CN
China
Prior art keywords
log
file
intelligent terminal
uploading
main system
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
CN201710362471.0A
Other languages
Chinese (zh)
Other versions
CN107276789A (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.)
Taicang Hongyu Intelligent Technology Co., Ltd
Original Assignee
Taicang Hongyu Intelligent 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 Taicang Hongyu Intelligent Technology Co Ltd filed Critical Taicang Hongyu Intelligent Technology Co Ltd
Priority to CN201710362471.0A priority Critical patent/CN107276789B/en
Publication of CN107276789A publication Critical patent/CN107276789A/en
Application granted granted Critical
Publication of CN107276789B publication Critical patent/CN107276789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a log uploading method, a log uploading device and a computer readable storage medium, wherein the method comprises the following steps: when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart; when the log system is restarted, loading a system file of the log system, and initializing the log system; and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server. According to the scheme, when the main system of the intelligent terminal breaks down, the log file is generated, the system is guided to be restarted to be the log system, and the stored log file is read and uploaded through the log system. Therefore, when the main system of the intelligent terminal breaks down and cannot upload the log file, the generated log file is uploaded to the server through the log system at the first time, so that developers can analyze the failure reason of the main system and timely process the failure.

Description

Log uploading method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a log uploading method and device and a computer readable storage medium.
Background
In order to meet the requirements of users, the functions of the intelligent terminal are more and more diversified, and the various functions of the intelligent terminal sacrifice the stability of the intelligent terminal to a certain extent. In order to solve the problem of system operation stability, when the intelligent terminal breaks down, the intelligent terminal usually catches the fault site and uploads the fault site to an equipment provider server for development and analysis of developers. The fault occurring in the application layer of the system is easy to be saved in a fault site through the system and uploaded to the server, but when the system has a problem, the system can save the fault site to the log file, but the log file cannot be uploaded to the server for processing at the first time, so that the processing is not timely, and the user experience is low.
Disclosure of Invention
The invention mainly aims to provide a log uploading method, a log uploading device and a computer readable storage medium, and aims to solve the problem that log files cannot be uploaded to a server at the first time when an intelligent terminal system has a problem in the prior art.
In order to achieve the above object, the log uploading method provided by the present invention includes the following steps:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server.
Optionally, the step of guiding the restart of the log system of the intelligent terminal includes:
acquiring a guide parameter in guide information prestored in the intelligent terminal, and switching the type of the guide parameter from a main system guide parameter to a log system guide parameter;
and guiding the log system of the intelligent terminal to restart according to the log system guiding parameters.
Optionally, the log system is a lightweight system comprising a system kernel, a file system, a network system and a terminal interface module,
when the log system is restarted, loading the system file of the log system and initializing the log system, wherein the steps of loading the system file of the log system and initializing the log system comprise the following steps:
when the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded;
the method comprises the steps of operating and initializing a system kernel, mounting a file system, initializing a network system and displaying a terminal interface so as to initialize a log system.
Optionally, the step of reading the stored log file by the control log system and uploading the log file to the server includes:
controlling a log system to identify and read a stored log file;
and analyzing and classifying the log file, and uploading the analyzed and classified log file to a server.
Optionally, the step of uploading the log file to a server is followed by:
and switching the type of the guide parameter in the guide information, and guiding the main system of the intelligent terminal to restart according to the type of the guide parameter.
Optionally, the step of switching the type of the boot parameter in the boot information and booting the main system of the intelligent terminal to restart according to the type of the boot parameter includes:
switching the type of the boot parameters in the boot information from the log system boot parameters to the main system boot parameters;
and guiding the main system of the intelligent terminal to restart according to the main system guiding parameters.
Optionally, when the main system of the intelligent terminal fails, the step of controlling the main system to generate and store the log file includes:
when the fault of a main system of the intelligent terminal is detected, a log file corresponding to the fault is generated, and the log file is stored in a storage area corresponding to the main system.
Optionally, the step of uploading the log file to a server is followed by:
and displaying the uploading progress of the log file on the terminal interface.
In addition, in order to achieve the above object, the present invention further provides a log uploading apparatus, including: a memory, a processor, a communication bus, and a log upload program stored on the memory:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the log uploading program to realize the following steps:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server.
According to the log uploading method, when a main system of the intelligent terminal breaks down, a log file is generated, the generated log file is stored, and a log system is guided to restart; and loading and initializing a system file of the log system when restarting, controlling the log system to read the stored log file after the initialization of the log system is completed, and uploading the read log file to the server. Therefore, when the main system of the intelligent terminal breaks down, the system is restarted to be the log system, the generated log file is uploaded to the server through the log system at the first time, and timely processing of the fault is guaranteed.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram illustrating a wireless communication system of the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating a log uploading method according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a log uploading method according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a system distribution of the log uploading method and apparatus according to the present invention;
FIG. 6 is a schematic diagram of a module composition of the log uploading method and apparatus according to the present invention;
fig. 7 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the hardware structure of the mobile terminal and the structure of the communication device, the log uploading method and the log uploading method are provided in various embodiments of the invention.
Referring to fig. 3, the present invention provides a log uploading method, in a first embodiment of the log uploading method, the log uploading method includes:
step S10, when the main system of the intelligent terminal breaks down, the main system is controlled to generate and store a log file, and the log system of the intelligent terminal is guided to restart;
the intelligent terminal in the technical scheme of the invention is provided with a main system and a log system, wherein the main system is used for a daily operating system of a user, such as an Android system or an ios system of an intelligent mobile phone, a Windows system of a PC and the like; the log system is used for uploading a log file generated by the main system to the server when the main system fails. The log file is a record file or a file set used for recording system operation events, and when a main system fails, the log file is correspondingly generated so as to record events such as the generation reason and time of the failure. In this embodiment, when the main system of the intelligent terminal has a fault, the main system generates a log file for information such as a reason and time of the fault, stores the generated log file in a storage partition on a disk, where the storage partition is used for storing the log file of the main system, and guides the restart of the log system of the intelligent terminal, specifically, guides the restart of the log system by pre-storing the guide information in the intelligent terminal.
Step S20, when the log system is restarted, loading the system file of the log system and initializing the log system;
understandably, reboot is the process of re-opening the device and reloading the operating system, primarily to save settings and modifications to the system and to immediately launch the associated services. The system files are used for storing main files of the operating system, are generally automatically created in the process of installing the operating system, and are placed in corresponding folders, the files in the folders directly influence the normal operation of the system, most files are not allowed to be changed randomly, and the system files have an important role in maintaining the stability of a computer system. According to the scheme, when the log system is restarted, the operating system related to the main system is closed, the operating system related to the log system is reloaded, meanwhile, the system file is automatically created in the installation process, the created system file is loaded, and the log system is initialized. The initialization content comprises hardware initialization, image interface startup initialization, host RAID setting initialization, device mapper and related initialization and the like. When the system is restarted, self-checking is carried out, whether equipment hardware equipment, such as a CPU (central processing unit), a memory, a mainboard, a display card, a CMOS (complementary metal oxide semiconductor) and the like, has faults or not is detected, if the hardware equipment has the faults, the severity of the faults is further judged, and when the faults are serious faults (fatal faults), shutdown processing is carried out; giving out prompt or sound alarm signals for non-serious faults; if no hardware fault exists, the self-test is completed to read a basic input system (BIOS), such as the communication frequency of a CPU and interface equipment, the search sequence of starting equipment, the size and type of a hard disk, the system time, an external bus and the like. And initializing and self-checking the hardware during restarting to ensure the normal restarting of the log system.
And step S30, after the initialization of the log system is completed, controlling the log system to read the stored log file and uploading the log file to the server.
Further, after the initialization of the log system is completed, the log system is controlled to read the log file stored by the main system. And when the main system of the intelligent terminal breaks down, controlling the main system to store the generated log file into a storage partition on a magnetic disk for storing the log file of the main system. And controlling the log system to read the stored log file according to the partition address stored in the log file, and simultaneously controlling the log system to upload the read log file to the server. The server is provided by an intelligent terminal supplier and is used for communicating with all intelligent terminals accessed to the server, providing services for the intelligent terminals and receiving information sent by the intelligent terminals. In the embodiment, the log file generated when the main system fails is uploaded to the server, so that a developer can check and analyze the log file to master the reason causing the main system failure, and a corresponding solution is provided for the reason to optimize the main system.
In a specific embodiment, the intelligent terminal is a mobile phone, the fault of the main system of the intelligent terminal is a black screen, when the fault occurs, the main system is controlled to generate a corresponding log file, the time of the fault, the fault phenomenon, the system state and the possible reason of the fault according to the system state are recorded in the log file, and the log file is stored in a disk A partition storing the related information of the main system. And the log system is guided to restart, a system file of the log system is loaded, the log system is initialized, and after the initialization of the log system is completed, the log system is controlled to read the log file from the partition A according to the address of the stored log file and upload the read log file to the server. And (4) analyzing the fault phenomenon of the mobile phone black screen by a developer according to the fault phenomenon, the system state and possible reasons contained in the uploaded log file to find out the reason causing the black screen. If the reason for causing the blank screen is that B software installed on a main system of the mobile phone carries viruses, the viruses attack and modify the main system, and the phenomenon of the blank screen of the mobile phone is caused. Therefore, a corresponding solution is provided for the software B, on one hand, prompt information is provided to remind a user of actively uninstalling the software B, on the other hand, the software B can be forcibly deleted, and meanwhile, the system can be optimized. Furthermore, the possible cause of the fault, which is obtained according to the system state and carried in the log file, can be compared with the cause of the black screen, which is analyzed by the developer, so that the closer the possible cause carried in the log file and the cause analyzed by the developer is, the more accurate the analysis of the fault cause by the main system is, and on the contrary, the inaccurate the analysis of the main system is, and the analysis function needs to be optimized.
The log uploading method of the embodiment comprises the following steps: when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart; when the log system is restarted, loading a system file of the log system, and initializing the log system; and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server. According to the scheme, when a main system of the intelligent terminal breaks down, a log file is generated, the generated log file is stored, and the system is guided to restart; and loading and initializing the system file of the log system when the power is restarted, controlling the log system to read the stored log file after the initialization of the log system is completed, and uploading the read log file to the server. Therefore, when the main system of the intelligent terminal fails and cannot upload the log file, the system is restarted to be the log system, the generated log file is uploaded to the server through the log system at the first time, developers can analyze the failure reason of the main system, and the failure is processed in time.
Further, in another embodiment of the log uploading method of the present invention, the step S10 of guiding the restart of the log system of the intelligent terminal includes:
step S11, acquiring a guide parameter in guide information prestored in the intelligent terminal, and switching the type of the guide parameter from a main system guide parameter to a log system guide parameter;
and step S12, guiding the restart of the log system of the intelligent terminal according to the log system guiding parameters.
Further, the intelligent terminal of this embodiment prestores guidance information to guide the restart of the log system of the intelligent terminal. The guiding information comprises different types of guiding parameters, the different types of guiding parameters represent different systems, and different systems are guided to restart according to the different guiding parameters. When the guide parameters include information of the main system, a starting address of the main system and other main system related parameters, the guide log system is closed, and the main system is started; otherwise, when the guiding parameters include the information of the log system, the starting address of the log system and other log system related parameters, the log system is guided to start, and the main system is stopped, so that different systems are guided to restart according to different guiding information. Before the main system fails, the main system is presented, and therefore the type of the boot parameters in the boot information is the main system boot parameters. When the main system is detected to have a fault, the main system needs to be switched to a log system, the type of the guide parameters in the guide information is switched from the main system guide parameters to the log system guide parameters, and the log system of the terminal can be guided to restart through the log system guide parameters. And configuring the parameters into configuration parameters of the log system during restarting, searching a storage address of the log system from the guiding parameters of the log system based on the configuration parameters of the log system, and guiding the start of the log system of the intelligent terminal according to the storage address of the log system.
Further, in another embodiment of the log uploading method of the present invention, the log system is a lightweight system including a system kernel, a file system, a network system and a terminal interface module,
in step S20, when the log system is restarted, the step of loading the system file of the log system and initializing the log system includes:
step S21, when the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded;
and step S22, operating and initializing a system kernel, mounting a file system, initializing a network system, and displaying a terminal interface to initialize the log system.
Furthermore, the log system is a lightweight system consisting of a system kernel, a file system, a network system and a terminal interface. The log system is used for loading and uploading the log file generated by the main system when the main system fails, so that the function is simple to realize, and the log system is set as a lightweight system. Secondly, the modules form a lightweight system, so that the basic functions of the lightweight system are realized, and the problem that many functions in a loading module are not used and resource waste is caused because the lightweight system is realized in a module loading mode is avoided. The system kernel in the composition module of the log system is an operating system kernel and consists of parts used for managing a memory, files, peripheral equipment and system resources in the operating system; generally used to run processes and provide inter-process communication; the system is responsible for managing the processes, memories, device drivers, files and network systems of the system and determining the performance and stability of the system. The file system is a software mechanism in the operating system which is responsible for managing and storing file information; the file system consists of three parts: the interface to the file system, the software set that manipulates and manages the objects, and the objects and properties. From a system perspective, a file system is a system that organizes and allocates space of a file storage device, is responsible for file storage, and protects and retrieves stored files. In particular, it is responsible for creating files for the user, storing, reading, modifying, dumping files, controlling access to files, revoking files when the user is no longer in use, etc. Its functions include managing and scheduling the storage space of files, providing the logical structure physical structure and storage method of files. The mapping from the identification to the actual address of the file is realized, the control operation and the access operation of the file are realized, the sharing of file information is realized, reliable file confidentiality and protection measures are provided, the security measures of the file are provided, and the like. The network system is used for realizing communication with the server, receiving and acquiring information on the server and uploading local information to the server. The terminal interface is used for outputting and displaying a restart naming prompt and a working process of the log system, and a graphical interface cannot be input and displayed.
When the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded. Where a script is a plain text saved program that is typically temporarily called and executed by an application. When executed, the system's interpreter translates the machine-recognizable instructions into machine-recognizable instructions, which are executed in program order to implement certain logical branches, etc. The method comprises the steps that a guide script is a program for guiding the intelligent terminal to restart, when the log system is restarted, the guide script is positioned to a configuration parameter of the log system and a partition where a system file is located, and the log system is loaded. The method comprises the steps of operating and initializing a system kernel, mounting a file system, initializing a network system and displaying a terminal interface so as to initialize a log system and restart the log system.
Further, in another embodiment of the log uploading method of the present invention, the step S30 of controlling the log system to read the stored log file, and uploading the log file to the server includes:
step S31, controlling the log system to recognize and read the stored log file;
and step S32, analyzing and classifying the log file, and uploading the analyzed and classified log file to a server.
Further, after the initialization of the log system is completed, the log system is controlled to identify and read the log file stored by the main system. The main system may fail more than once, and each time a failure occurs, a log file is generated for the corresponding failure information, and the log file generated each time is stored. In order to distinguish different log files, the log file generated each time is stored in a storage area with different addresses. When the main system fails, a log file is generated, a new storage address is allocated to the generated log file, and the log file is stored in a storage area corresponding to the storage address. The log system can identify a log file corresponding to the current main system fault from a plurality of stored log files according to the storage address, and reads the log file to obtain the log file. After the log file is obtained, the log file is preliminarily analyzed, the reason causing the current main system fault is preliminarily found out, and the fault reason is classified according to the fault phenomenon. Wherein the fault phenomenon can be dead halt, screen blacking, restarting and the like; the causes of the crash are classified into software problems, hardware problems, and others; the reasons for the blank screen are classified into memory problems, application software conflicts, virus attacks, system software faults, system hardware faults and the like; the reasons for reboot are classified into a flush fault, a system crash, and insufficient operating memory. Specifically, when the intelligent terminal has a main system restart fault for the mobile phone, a log file corresponding to the fault is acquired, the log file is preliminarily analyzed, and the reason causing the main system restart of the mobile phone is that the running memory is insufficient, so that the fault and the corresponding log file are classified into a restart type caused by the insufficient running memory. Thereafter, the parsed and classified log file is uploaded to a server. The method comprises the steps that a developer analyzes according to a log file received by a server, firstly, whether the fault reason analyzed and classified in the log file is correct is checked, and when a corresponding solution is given according to the fault reason analyzed and classified, the fault reason analyzed and classified in the log file is correct when the fault can be solved; otherwise, when the corresponding solution cannot solve the fault, the reason for analyzing and classifying the fault in the log file is incorrect. The developer analyzes and searches the cause causing the fault again, and simultaneously, the main system can be optimized so as to analyze the cause of the fault more accurately.
Further, referring to fig. 4, a second embodiment of the log uploading method of the present invention is proposed based on the first embodiment of the log uploading method of the present invention, and in the second embodiment, the step of uploading the log file to the server in the step S30 includes:
and step S40, switching the type of the boot parameters in the boot information, and booting the main system of the intelligent terminal to restart according to the type of the boot parameters.
According to the scheme, the log file is uploaded to the server, so that developers can switch the types of the guide parameters in the guide information after performing fault analysis according to the log file, and the main system is guided to restart according to the types of the guide parameters for users to use.
The steps of switching the type of the boot parameters in the boot information and booting the main system of the intelligent terminal to restart according to the type of the boot parameters include:
step S41, the type of the guide parameter in the guide information is switched from the log system guide parameter to the main system guide parameter;
and step S42, according to the main system boot parameters, booting the main system of the intelligent terminal to restart.
Understandably, because the log system is used for uploading the log file generated by the main system to the server when the main system fails, after the log system completes its duties and uploads the log file generated by the main system to the server, the log system needs to be switched to the main system again so as to be used by a user. When the log system uploads the log file to the server, the guide parameter in the guide information is the log system guide parameter, when the log system is detected to finish uploading the log file, the log system is switched to the main system, the guide parameter type in the guide information is switched from the log system guide parameter to the main system guide parameter, and the system is restarted to be the main system through the main system guide parameter. And when the system is restarted, the parameters are configured into the configuration parameters of the main system, the storage address of the main system is searched in the boot parameters based on the configuration parameters of the main system, and the main system is booted according to the storage address of the main system. Specifically, referring to fig. 5, the storage address distribution of the system is embodied, where the storage address of the system boot area is 0, the storage address of the main system is 1, and the storage address of the log system is 2, and whether the main system or the log system is started is determined according to the system boot area. When the main system fails, the system boot area boots the log system to start according to the storage address 2 of the log system, after the log system starts to upload the log file generated by the main system to the server, the system boot area 0 boots the main system to start according to the storage address 1 of the main system, so that when the main system fails, the log file of the main system is uploaded to the server at the first time of the failure through the log system, and the failure is guaranteed to be processed in time.
Further, in another embodiment of the log uploading method of the present invention, when the main system of the intelligent terminal fails, the step S10 of controlling the main system to generate and store the log file includes:
and step S13, when detecting that the main system of the intelligent terminal has a fault, generating a log file corresponding to the fault, and storing the log file in a storage area corresponding to the main system.
Understandably, the intelligent terminal is provided with a detection device for detecting the state of the intelligent device. The state of the intelligent device comprises hardware states such as whether the hardware of the intelligent device is supported, whether the temperature is normal and the like, software states such as whether the software of the intelligent device runs and whether the motion state is normal and the like, and system states such as whether the system of the intelligent device is in a preset state and the like. When the main system of the intelligent terminal is detected not to be in the preset state, the main system is indicated to have a fault, and a log file corresponding to the fault is generated, wherein the log file comprises the current state of the main system of the intelligent terminal, the difference between the current state of the main system of the intelligent terminal and the preset state and other information. Because the content that needs to be stored in the intelligent terminal is numerous, the storage device is divided into a plurality of areas for storing different contents. The log file generated by the main system is provided with a corresponding storage area, and after the main system generates the log file, the generated log file can be stored in the storage area corresponding to the log file of the main system so as to archive and arrange the log file of the main system, thereby facilitating the identification and reading of the log system.
Further, in another embodiment of the log uploading method of the present invention, the step S30 of uploading the log file to a server includes:
and step S50, displaying the uploading progress of the log file on the terminal interface.
Furthermore, the terminal interface of the log system displays the uploading progress of the log file, and the uploading progress can be displayed in a mode of displaying a progress bar in the interface. And in the process of displaying the uploading progress, input operation cannot be accepted, and a graphical interface cannot be displayed. When the uploading is finished, the system can be switched to the main system in a prompt message mode, or the system can be directly switched to the main system without prompting, and the method is not limited. If the reminding is carried out in a prompt message mode, the prompt message mode can be a mode of displaying text messages. Specifically, for the touch device, text information such as "please touch an arbitrary position of the screen to restart" is displayed, and for the key input device, text information such as "please press an arbitrary key to restart" is displayed. If the prompt message is not needed, the countdown can be displayed when switching is performed directly. And if the countdown is finished, restarting as the main system if the countdown is finished for 3 s. And when the restart is successful, the user can operate and use the main system interface.
Referring to fig. 6, the intelligent terminal device of the present invention is composed of two parts, namely hardware and a system module, wherein the hardware is the basis of the intelligent terminal and comprises storage media, a network card, a screen, hardware keys and other actual objects. The system module is used for describing software system modules and comprises a user space module and a system space module, wherein the user space module is a module operating in a user space, the system space module is a module operating in a system space and provides interface calling for the user space module, and the system space module depends on hardware. The file system, the network system and the log processing program in the log system belong to a user space module, and the system kernel and the driver belong to a system space module. The system module realizes the replacement of various software modules through the abstract interface, is convenient for the flexible loading and unloading of the system, and can also flexibly load and unload other systems of the intelligent terminal through the abstract interface, thereby providing the maximum flexibility for the system to fix the value.
As shown in fig. 7, fig. 7 is a schematic structural diagram of an intelligent terminal in a hardware operating environment according to an embodiment of the present invention.
The log uploading device in the embodiment of the present invention is a part of an intelligent terminal, and the intelligent terminal may be a PC, a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 3) player, a portable computer, or other mobile intelligent terminal equipment with a display function.
As shown in fig. 7, the log uploading apparatus may include: a processor 110, such as a CPU, a memory 109, and a communication bus 1002. Wherein the communication bus 1002 is used for implementing connection communication between the processor 110 and the memory 109. The memory 109 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 109 may alternatively be a storage device separate from the processor 110 described above.
Optionally, the log uploading device may further include a camera, a Radio Frequency (RF) unit 101, a sensor 105, an audio circuit, a WiFi module 102, and the like. Among other things, sensors 105 such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust brightness of the display screen according to brightness of ambient light, and the proximity sensor may turn off the display screen and/or backlight when the mobile intelligent terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile intelligent terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile intelligent terminal; of course, the mobile intelligent terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the log uploader configuration shown in fig. 7 does not constitute a limitation on the log uploader, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 7, the memory 109, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a log uploading program. The operating system is a program that manages and controls the hardware and software resources of the log uploading device, supporting the running of the log uploading program as well as other software and/or programs. The network communication module is used for realizing communication among the components in the memory 109 and communication with other hardware and software in the log uploading device.
In the log uploading apparatus shown in fig. 7, the processor 110 is configured to execute the log uploading program stored in the memory 109, and implement the following steps:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server.
Further, the step of guiding the restart of the log system of the intelligent terminal comprises:
acquiring a guide parameter in guide information prestored in the intelligent terminal, and switching the type of the guide parameter from a main system guide parameter to a log system guide parameter;
and guiding the log system of the intelligent terminal to restart according to the log system guiding parameters.
Further, the log system comprises a system kernel, a file system, a network system and a terminal interface,
when the log system is restarted, loading the system file of the log system and initializing the log system, wherein the steps of loading the system file of the log system and initializing the log system comprise the following steps:
when the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded;
the method comprises the steps of operating and initializing a system kernel, mounting a file system, initializing a network system and displaying a terminal interface so as to initialize a log system.
Further, the step of the control log system reading the stored log file and uploading the log file to the server includes:
controlling a log system to identify and read a stored log file;
and analyzing and classifying the log file, and uploading the analyzed and classified log file to a server.
Further, after the step of uploading the log file to the server, the processor 110 is configured to execute the log uploading program stored in the memory 109, and implement the following steps:
and switching the type of the guide parameter in the guide information, and guiding the main system of the intelligent terminal to restart according to the type of the guide parameter.
Further, the step of switching the type of the boot parameter in the boot information and booting the main system of the intelligent terminal to restart according to the type of the boot parameter includes:
switching the type of the boot parameters in the boot information from the log system boot parameters to the main system boot parameters;
and guiding the main system of the intelligent terminal to restart according to the main system guiding parameters.
Further, when the main system of the intelligent terminal fails, the step of controlling the main system to generate and store the log file includes:
when the fault of a main system of the intelligent terminal is detected, a log file corresponding to the fault is generated, and the log file is stored in a storage area corresponding to the main system.
Further, after the step of uploading the log file to the server, the processor 110 is configured to execute the log uploading program stored in the memory 109, and implement the following steps:
and displaying the uploading progress of the log file on the terminal interface.
The specific implementation of the log uploading device of the present invention is basically the same as that of each embodiment of the log uploading method, and is not described herein again.
The present invention provides a computer readable storage medium storing one or more programs, the one or more programs further executable by one or more processors for:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
and after the initialization of the log system is finished, controlling the log system to read the stored log file and uploading the log file to a server.
Further, the step of guiding the restart of the log system of the intelligent terminal comprises:
acquiring a guide parameter in guide information prestored in the intelligent terminal, and switching the type of the guide parameter from a main system guide parameter to a log system guide parameter;
and guiding the log system of the intelligent terminal to restart according to the log system guiding parameters.
Further, the log system comprises a system kernel, a file system, a network system and a terminal interface,
when the log system is restarted, loading the system file of the log system and initializing the log system, wherein the steps of loading the system file of the log system and initializing the log system comprise the following steps:
when the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded;
the method comprises the steps of operating and initializing a system kernel, mounting a file system, initializing a network system and displaying a terminal interface so as to initialize a log system.
Further, the step of the control log system reading the stored log file and uploading the log file to the server includes:
controlling a log system to identify and read a stored log file;
and analyzing and classifying the log file, and uploading the analyzed and classified log file to a server.
Further, the step of uploading the log file to a server is followed by:
and switching the type of the guide parameter in the guide information, and guiding the main system of the intelligent terminal to restart according to the type of the guide parameter.
Further, the step of switching the type of the boot parameter in the boot information and booting the main system of the intelligent terminal to restart according to the type of the boot parameter includes:
switching the type of the boot parameters in the boot information from the log system boot parameters to the main system boot parameters;
and guiding the main system of the intelligent terminal to restart according to the main system guiding parameters.
Further, when the main system of the intelligent terminal fails, the step of controlling the main system to generate and store the log file includes:
when the fault of a main system of the intelligent terminal is detected, a log file corresponding to the fault is generated, and the log file is stored in a storage area corresponding to the main system.
Further, the step of uploading the log file to a server is followed by:
and displaying the uploading progress of the log file on the terminal interface.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of each embodiment of the log uploading method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an intelligent terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A log uploading method is characterized by comprising the following steps:
when a main system of the intelligent terminal breaks down, controlling the main system to generate and store a log file, and guiding the log system of the intelligent terminal to restart;
when the log system is restarted, loading a system file of the log system, and initializing the log system;
after the initialization of the log system is completed, controlling the log system to read the stored log file and uploading the log file to a server;
the method for controlling the log system to read the stored log file and upload the log file to the server comprises the following steps:
the control log system identifies a log file corresponding to the current fault of the main system from a plurality of stored log files according to the storage address, and reads the identified log file;
the log file is preliminarily analyzed, the current failure reason of the main system is searched, the failure reason is classified according to the failure phenomenon, and the analyzed and classified log file is uploaded to the server.
2. The log uploading method of claim 1, wherein the step of booting the log system of the intelligent terminal to restart comprises:
acquiring a guide parameter in guide information prestored in the intelligent terminal, and switching the type of the guide parameter from a main system guide parameter to a log system guide parameter;
and guiding the log system of the intelligent terminal to restart according to the log system guiding parameters.
3. The log uploading method as claimed in claim 2, wherein the log system is a lightweight system including a system kernel, a file system, a network system and a terminal interface module,
when the log system is restarted, loading the system file of the log system and initializing the log system, wherein the steps of loading the system file of the log system and initializing the log system comprise the following steps:
when the log system is restarted, the guide script of the intelligent terminal is positioned to the log system, and the system file of the log system is loaded;
the method comprises the steps of operating and initializing a system kernel, mounting a file system, initializing a network system and displaying a terminal interface so as to initialize a log system.
4. The log uploading method of claim 2, wherein the step of uploading the log file to a server is followed by:
and switching the type of the guide parameter in the guide information, and guiding the main system of the intelligent terminal to restart according to the type of the guide parameter.
5. The log uploading method of claim 4, wherein the switching the type of the boot parameters in the boot information and booting the main system of the intelligent terminal to restart according to the type of the boot parameters comprises:
switching the type of the boot parameters in the boot information from the log system boot parameters to the main system boot parameters;
and guiding the main system of the intelligent terminal to restart according to the main system guiding parameters.
6. The log uploading method according to any one of claims 1 to 5, wherein the controlling the main system to generate and store the log file when the main system of the intelligent terminal fails comprises:
when the fault of a main system of the intelligent terminal is detected, a log file corresponding to the fault is generated, and the log file is stored in a storage area corresponding to the main system.
7. The log uploading method of claim 3, wherein the step of uploading the log file to a server is followed by:
and displaying the uploading progress of the log file on the terminal interface.
8. An apparatus for uploading a log, the apparatus comprising: a memory, a processor, a communication bus, and a log upload program stored on the memory:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the log uploading program to implement the steps of the log uploading method according to any one of claims 1 to 7.
9. A computer-readable storage medium, having a log uploading program stored thereon, which, when executed by a processor, implements the steps of the log uploading method as recited in any one of claims 1-7.
CN201710362471.0A 2017-05-19 2017-05-19 Log uploading method and device and computer readable storage medium Active CN107276789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710362471.0A CN107276789B (en) 2017-05-19 2017-05-19 Log uploading method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710362471.0A CN107276789B (en) 2017-05-19 2017-05-19 Log uploading method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107276789A CN107276789A (en) 2017-10-20
CN107276789B true CN107276789B (en) 2020-12-01

Family

ID=60064467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710362471.0A Active CN107276789B (en) 2017-05-19 2017-05-19 Log uploading method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107276789B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040159B (en) * 2017-11-30 2021-01-29 江苏觅丰电商科技有限公司 Restart positioning method based on hardware drive, mobile terminal and readable storage medium
CN108012031B (en) * 2017-11-30 2021-03-26 努比亚技术有限公司 Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN108255631B (en) * 2017-12-28 2022-04-19 努比亚技术有限公司 Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN108228375A (en) * 2017-12-28 2018-06-29 努比亚技术有限公司 Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN108108257B (en) * 2017-12-28 2022-03-18 努比亚技术有限公司 Restart positioning method based on MDSS, mobile terminal and readable storage medium
CN108182133B (en) * 2017-12-28 2022-01-14 努比亚技术有限公司 Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN108124252A (en) * 2017-12-29 2018-06-05 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for obtaining information
CN108388489B (en) * 2018-02-27 2022-02-18 郑州云海信息技术有限公司 Server fault diagnosis method, system, equipment and storage medium
CN108833125B (en) * 2018-03-18 2021-02-09 平安科技(深圳)有限公司 Drawing method, system, computer equipment and storage medium for restoring voice speech path
CN108551404B (en) * 2018-04-20 2019-10-01 北京百度网讯科技有限公司 Method, apparatus, storage medium and the terminal device of client-side information analysis
CN109039724B (en) * 2018-07-23 2022-02-01 北京奇艺世纪科技有限公司 Log uploading method and device
CN109002547B (en) * 2018-07-30 2023-09-01 努比亚技术有限公司 Log file storage method, mobile terminal and computer readable storage medium
CN109189612B (en) * 2018-09-04 2020-10-16 广东小天才科技有限公司 Log processing method and electronic device during Linux kernel exception
CN110673974A (en) * 2019-08-20 2020-01-10 中科创达软件股份有限公司 System debugging method and device
CN111475214B (en) * 2020-04-03 2022-07-22 苏州浪潮智能科技有限公司 System display output method and device of ARM server and storage medium
CN111552618B (en) * 2020-05-06 2024-03-12 上海龙旗科技股份有限公司 Method and equipment for collecting logs
CN111897669A (en) * 2020-07-10 2020-11-06 广东小天才科技有限公司 Method and device for detecting overcurrent protection of electronic equipment circuit
CN111988180A (en) * 2020-08-21 2020-11-24 四川爱联科技股份有限公司 Fault detection method and system for Internet of things module
CN112860516A (en) * 2021-02-04 2021-05-28 展讯通信(上海)有限公司 Log saving method, communication device, chip and module equipment
CN113722142B (en) * 2021-09-02 2023-08-25 北京天融信网络安全技术有限公司 Method and device for analyzing reasons of insufficient memory, electronic equipment and storage medium
CN113961151B (en) * 2021-11-02 2024-04-02 锐凌无线有限责任公司 Storage method and device of fault log, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461786A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Recovery method and system for Android system
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN105204977A (en) * 2014-06-30 2015-12-30 中兴通讯股份有限公司 System exception capturing method, main system, shadow system and intelligent equipment
CN105389249A (en) * 2015-10-29 2016-03-09 Tcl集团股份有限公司 Exception log generation configuring method and exception log generation configuring apparatus
CN105786547A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Operation system restarting method and apparatus
CN105930247A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Method, device and mobile terminal for processing problem of system restart
CN106201756A (en) * 2016-07-12 2016-12-07 努比亚技术有限公司 Log acquisition device, mobile terminal and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239163B (en) * 2013-06-19 2016-04-13 腾讯科技(深圳)有限公司 Software repair and device
CN104978237B (en) * 2014-04-11 2019-03-19 腾讯科技(深圳)有限公司 The method and apparatus for repairing dynamic link library file

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204977A (en) * 2014-06-30 2015-12-30 中兴通讯股份有限公司 System exception capturing method, main system, shadow system and intelligent equipment
CN104461786A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Recovery method and system for Android system
CN105786547A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Operation system restarting method and apparatus
CN104809030A (en) * 2015-05-19 2015-07-29 上海斐讯数据通信技术有限公司 Android-based exception handling system and method
CN105389249A (en) * 2015-10-29 2016-03-09 Tcl集团股份有限公司 Exception log generation configuring method and exception log generation configuring apparatus
CN105930247A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Method, device and mobile terminal for processing problem of system restart
CN106201756A (en) * 2016-07-12 2016-12-07 努比亚技术有限公司 Log acquisition device, mobile terminal and method

Also Published As

Publication number Publication date
CN107276789A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN107276789B (en) Log uploading method and device and computer readable storage medium
US10853437B2 (en) Method and apparatus for invoking application programming interface
CN107329865B (en) Method for opening adb function of debugging bridge, mobile terminal and computer readable medium
CN107678876B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107704133B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107682540B (en) Picture processing method, terminal and computer readable storage medium
CN109472157B (en) Application data storage method, mobile terminal and computer storage medium
CN108090345B (en) Linux system external command execution method and device
CN109002547B (en) Log file storage method, mobile terminal and computer readable storage medium
CN107908492B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN108052430B (en) Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN107908491B (en) Card screen detection and solution method, mobile terminal and computer readable storage medium
CN108012031B (en) Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN107765922B (en) Card screen detection and solution method, mobile terminal and computer readable storage medium
CN107766222B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN106095423B (en) Method, terminal and server for providing browsing service
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
US9928134B2 (en) Method and apparatus for repairing dynamic link library file
CN107872367B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107861827B (en) Card screen detection method, mobile terminal and computer readable storage medium
CN107229470B (en) System font switching method, mobile terminal and computer readable storage medium
CN107818036B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107168747B (en) Method and device for distinguishing mobile terminal configuration and computer readable storage medium
CN105278942B (en) Component management method and device
US11150913B2 (en) Method, device, and terminal for accelerating startup of application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201110

Address after: 215400 room 03, shop 43, Tinghai Road, Liuhe Town, Taicang City, Suzhou City, Jiangsu Province

Applicant after: Taicang Hongyu Intelligent Technology Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant