CN107276789A - Daily record method for uploading, device and computer-readable recording medium - Google Patents
Daily record method for uploading, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107276789A CN107276789A CN201710362471.0A CN201710362471A CN107276789A CN 107276789 A CN107276789 A CN 107276789A CN 201710362471 A CN201710362471 A CN 201710362471A CN 107276789 A CN107276789 A CN 107276789A
- Authority
- CN
- China
- Prior art keywords
- log
- daily record
- journal file
- file
- intelligent terminal
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols 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 kind of daily record method for uploading, device and computer-readable recording medium, methods described includes:When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides the log system of intelligent terminal to restart;When log system is restarted, the system file of log system is loaded, and log system is initialized;After the completion of log system initialization, control log system reads the journal file of storage, and the journal file is uploaded onto the server.This programme generates journal file when the main system of intelligent terminal breaks down, and guides system reboot to be log system, so that the journal file of storage is read and uploaded by log system.So as to realize the main system failure in intelligent terminal, it is impossible to when uploading journal file, the journal file of generation is uploaded onto the server in the very first time by log system, so that developer is analyzed the failure cause of main system, to the timely processing of failure.
Description
Technical field
The present invention relates to intelligent terminal technical field, more particularly to a kind of daily record method for uploading, device and computer-readable
Storage medium.
Background technology
In order to meet user's request, intelligent terminal function is more and more diversified, and various function of intelligent terminal, certain
The stability of intelligent terminal is sacrificed in degree.The problem of in order to solve system run all right, broken down in intelligent terminal
When, it will usually fault in-situ is captured, equipment vendor's server is uploaded to and researches and develops analysis for developer.Occur for system application layer
Failure be easy to preserve fault in-situ by system, and upload onto the server, but when system goes wrong in itself, due to
The modules such as network service are likely to occur problem, although system can preserve fault in-situ to journal file, but can not be at first
Between journal file uploaded onto the server handled, cause processing not in time, Consumer's Experience is low.
The content of the invention
It is a primary object of the present invention to provide a kind of daily record method for uploading, device and computer-readable recording medium, purport
Solving in the prior art when intelligent terminal system goes wrong, what journal file can not upload onto the server the very first time asks
Topic.
To achieve the above object, a kind of daily record method for uploading that the present invention is provided, the daily record method for uploading includes following
Step:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligence
The log system of terminal is restarted;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and the daily record is literary
Part is uploaded onto the server.
Alternatively, the step of log system of the guiding intelligent terminal is restarted includes:
The boot parameter in the guidance information that intelligent terminal prestores is obtained, and the type of boot parameter is guided by main system
Parameter switching is log system boot parameter;
According to log system boot parameter, the log system of guiding intelligent terminal is restarted.
Alternatively, the log system is include system kernel, file system, network system and terminal interface module light
Magnitude system,
It is described to load the system file of log system when log system is restarted, and log system is initialized
Step includes:
When log system is restarted, the boot script of intelligent terminal navigates to log system, to the system text of log system
Part is loaded;
Operation and initialization system kernel, carry file system, initialize network system, and display terminal interface, with right
Log system is initialized.
Alternatively, the control log system reads the journal file of storage, and the journal file is uploaded into service
The step of device, includes:
Control log system recognizes and reads the journal file of storage;
Journal file is parsed and classified, and the journal file through parsing classification is uploaded onto the server.
Alternatively, it is described the step of the journal file is uploaded onto the server after include:
The type of boot parameter in switching and booting information, and according to the main system of the type of boot parameter guiding intelligent terminal
Restart.
Alternatively, in the switching and booting information boot parameter type, and according to the type of boot parameter guide intelligence
The step of main system of terminal is restarted includes:
The type of boot parameter in guidance information is switched into main system boot parameter by log system boot parameter;
According to main system boot parameter, the main system of guiding intelligent terminal is restarted.
Alternatively, described when the main system of intelligent terminal breaks down, control main system generates and stores journal file
The step of include:
When the main system for detecting intelligent terminal breaks down, journal file corresponding with the failure is generated, and will
The journal file is stored in storage region corresponding with main system.
Alternatively, it is described the step of the journal file is uploaded onto the server after include:
The upload progress of show log file on the terminal interface.
In addition, to achieve the above object, the present invention also proposes that a kind of daily record uploads device, and the daily record uploads device bag
Include:Memory, processor, communication bus and the daily record upload program being stored on the memory:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the daily record upload program, to realize following steps:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligence
The log system of terminal is restarted;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and the daily record is literary
Part is uploaded onto the server.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable
Storage medium is stored with one or more than one program, one or more than one program can by one or one with
On computing device for:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligence
The log system of terminal is restarted;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and the daily record is literary
Part is uploaded onto the server.
The daily record method for uploading of technical solution of the present invention, when the main system of intelligent terminal in itself breaks down, generates day
Will file, is stored, and guide log system to restart to the journal file of generation;When restarting to the system text of log system
Part is loaded and initialized, and after the completion of log system initialization, control log system reads the journal file of storage, and
The journal file of reading is uploaded onto the server.So as to realize in the main system failure of intelligent terminal, by system reboot
For log system, so that the journal file of generation to be uploaded onto the server in the very first time by log system, it is ensured that to failure
Processing in time.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of daily record method for uploading first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of daily record method for uploading second embodiment of the present invention;
Fig. 5 is the system distribution schematic diagram of daily record method for uploading of the present invention and device;
Fig. 6 is the module composition schematic diagram of daily record method for uploading of the present invention and device;
Fig. 7 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, each embodiment of daily record method for uploading of the present invention is proposed.
Reference picture 3, the present invention provides a kind of daily record method for uploading, in daily record method for uploading first embodiment, the daily record
Method for uploading includes:
Step S10, when the main system of intelligent terminal breaks down, control main system generates and stores journal file, and
The log system of guiding intelligent terminal is restarted;
Intelligent terminal in technical solution of the present invention is provided with main system and log system, and main system is used for the daily of user
The android system or ios systems of operating system, such as smart mobile phone, PC Windows systems etc.;Log system is used to work as
When main system breaks down, the journal file that main system is generated is uploaded onto the server.Journal file is to be used for record system behaviour
Make the log file or file set of event, when main system breaks down, journal file can be generated accordingly, with to failure
The events such as producing cause, time are recorded.In the present embodiment, when the main system of intelligent terminal breaks down, main system pair
The information such as the reason for failure, time generate journal file, and will be used to store master in the journal file storage disk of generation
The partition holding of syslog file, and guide the log system of intelligent terminal to restart, specifically can be by pre- in intelligent terminal
The mode for depositing guidance information guides log system to restart.
Step S20, when log system is restarted, loads the system file of log system, and log system is carried out initial
Change;
Understandably, restart the process for reopening equipment and operating system of reloading, be mainly used in preservation pair
The setting and modification of system and start related service immediately.System file is used for the master file of deposit operation system, typically
Automatically created in installation operation systematic procedure, and associated documents are placed in corresponding file, the file in file is straight
The normal operation of influence system is connect, majority does not allow arbitrarily change, to safeguarding that the stabilization of computer system plays an important roll.
This programme closes the related operating system of main system, and the behaviour related to log system that reloads when log system is restarted
Make system, while automatically creating system file during installation, the system file of this establishment is loaded, and carry out day
Will system initialization.The content of initialization includes the initialization of hardware, graphic interface starts initialization, main frame RAID setting
Initialization, initialization of device mapper and correlation etc..And system can carry out self-inspection when restarting, detection device hardware is set
Standby, whether such as CPU, internal memory, mainboard, video card, CMOS equipment are faulty, if there is hardware fault, then determine whether event
The seriousness of barrier, when failure is seriousness failure (critical fault), then does shutdown processing;Then provided for noncritical failure
Prompting or audible ringing signal;If there is no hardware fault, then self-inspection completes to read basic input system (BIOS), such as CPU
The search order of communication frequency, starting device, the size of hard disk and type, system time and external bus with interface equipment
Deng.Hardware is initialized and self-inspection when restarting, to ensure that the normal of log system is restarted.
Step S30, after the completion of log system initialization, control log system reads the journal file of storage, and by institute
Journal file is stated to upload onto the server.
Further, after the completion of log system initialization, control log system reads the journal file of main system storage.
When the main system of intelligent terminal breaks down, control main system will be used to store principal series in the journal file storage disk of generation
The partition holding of system journal file.The partition address stored according to this journal file, control log system reads the day of this storage
Will file, while controlling log system that the journal file of reading uploads onto the server.Wherein server is supplied for intelligent terminal
The server that business provides, is used for and is linked into all intelligent terminals communication of this server, the same of service is provided to intelligent terminal
When receive intelligent terminal send information.The journal file generated when the present embodiment breaks down main system uploads to service
Device, so that developer is by checking analysis to this journal file, grasps the reason for causing main system failure, with pin for that reason
Corresponding solution is provided, main system is optimized.
In one embodiment, intelligent terminal is mobile phone, and the failure of its main system is blank screen, when there is the wink of this failure
Between, control main system generates the time that failure is recorded in corresponding journal file, journal file, the phenomenon of failure, system
State and the possible cause for causing failure that is drawn according to system mode, and this journal file is stored in storage main system
The disk A subregions of relevant information.Guiding log system is restarted, and loads the system file of log system, and log system is initialized,
And after the completion of being initialized to log system, control log system reads day according to the address of storage journal file into A subregions
Will file, and the journal file of this reading is uploaded onto the server.The event that developer includes in the journal file according to upload
Hinder phenomenon, system mode and possible cause, the phenomenon of the failure to this mobile phone blank screen is analyzed, to find out the original for causing blank screen
Cause.If the B softwares for working as the reason for causing blank screen to install in the main system of mobile phone carry virus, this virus is entered to main system
Row attack, modification, cause mobile phone blank screen phenomenon occur.So as to provide corresponding solution for this B software, on the one hand provide
Prompt message reminds user actively to unload this B software, secondly Force Deletion can also be carried out to this B software, while can be with excellent
Change system, when the system detectio after optimization is to user installation B softwares, that is, initiates intercept information, makes B software installations unsuccessful,
To ensure the security of main system.Further, it will can also be carried in journal file according to causing that system mode is drawn
What the possible cause of failure and developer analyzed is compared the reason for causing blank screen, the possible cause carried when journal file
With developer analysis draw the reason for closer to, illustrate that analysis of the main system to failure cause is more accurate, conversely, then explanation lead
The analysis of system is inaccurate, and this analytic function has to be optimized.
The daily record method for uploading of the present embodiment:When the main system of intelligent terminal breaks down, the generation of control main system is simultaneously
Journal file is stored, and guides the log system of intelligent terminal to restart;When log system is restarted, the system for loading log system
File, and log system is initialized;After the completion of log system initialization, control log system reads the daily record of storage
File, and the journal file is uploaded onto the server.When main system of this programme in intelligent terminal in itself breaks down, generation
Journal file, is stored, and guide system reboot to the journal file of generation;To the system of log system when electric on restarting
File is loaded and initialized, and after the completion of log system initialization, control log system reads the journal file of storage,
And the journal file of reading is uploaded onto the server.So as to realize the main system failure in intelligent terminal, it is impossible to upload day
It is log system by system reboot, to be uploaded to the journal file of generation in the very first time by log system during will file
Server, so that developer is analyzed the failure cause of main system, to the timely processing of failure.
Further, in another embodiment of daily record method for uploading of the present invention, the step S10 guides the day of intelligent terminal
The step of will system reboot, includes:
Step S11, obtains the boot parameter in the guidance information that intelligent terminal prestores, and by the type of boot parameter by leading
System guides parameter switching is log system boot parameter;
Step S12, according to log system boot parameter, the log system of guiding intelligent terminal is restarted.
Further, guidance information is prestored in the intelligent terminal of the present embodiment, to guide the log system of intelligent terminal
Restart.Guidance information includes different types of boot parameter, and this different types of boot parameter characterizes different systems, according to
The difference of boot parameter guides different system reboots.When included in boot parameter be main system information, main system opens
During the main system relevant parameters such as dynamic address, then log system closing, main system is guided to start;Otherwise when what is included in boot parameter
It is the information of log system, during the log system relevant parameter such as startup address of log system, then guides log system to start, main
System is closed, and different system reboots are guided according to the difference of guidance information so as to realize.Before main system failure, it is in
Existing is that the type of the boot parameter in main system, thus guidance information is main System guides parameter.Go out when detecting main system
During existing failure, then need to switch to log system, the boot parameter type in guidance information is switched by main system boot parameter
For log system boot parameter, restarted with the log system by the whole energy terminal of log system boot parameter guiding.Will when restarting
Parameter configuration is the configuration parameter of log system, and the configuration parameter based on this log system is into the boot parameter of log system
The storage address of log system is searched, the log system for guiding intelligent terminal according to the storage address of log system starts.
Further, in another embodiment of daily record method for uploading of the present invention, the log system be include system kernel,
The lightweight system of file system, network system and terminal interface module,
The step S20 loads the system file of log system, and log system is carried out just when log system is restarted
The step of beginningization, includes:
Step S21, when log system is restarted, the boot script of intelligent terminal navigates to log system, to log system
System file loaded;
Step S22, operation and initialization system kernel, carry file system, initialize network system, and display terminal circle
Face, to be initialized to log system.
Further, log system of the invention is by system kernel, file system, network system and terminal interface four
The lightweight system of individual module composition.Wherein lightweight system is the system for realizing that function is fairly simple, day aspiration of the invention
Unite for when main system breaks down, the journal file that main system is generated being loaded and being uploaded, realize that function is simple, because
And use and be set to lightweight system.Lightweight system is constituted secondly by module, the basic training of lightweight system is realized
Can, it is to avoid lightweight system is realized by way of load-on module, causes many functions in load-on module to be not used, makes
Into the wasting of resources.System kernel is operating system nucleus in the comprising modules of log system, is deposited in operating system for management
Reservoir, file, the part composition of peripheral hardware and system resource;It is generally used for operation process, and the communication between process is provided;It is responsible for pipe
Process, internal memory, device driver, file and the network system of reason system, decide the performance and stability of system.File system
System is that the software mechanism with storage file information is responsible in operating system;File system is made up of three parts:File system
Interface, software assembly and object and attribute to object manipulation and management.From the point of view of system perspective, file system is to text
The space of part storage device carries out tissue and distribution, and what is be responsible for file storage and the file of deposit is protected and retrieved is
System.Specifically, it is responsible for user and sets up file, deposit, read, modification, dump file, control the access of file, when with
File etc. is cancelled when family is not used.There is provided the logical construction of file for memory space of its function including management and schedule file
Physical arrangement and storage method.File is realized from the mapping for being identified to actual address, the control operation and access for realizing file are grasped
Make, realize the shared of fileinfo and reliable file security and safeguard measure are provided there is provided safety measure of file etc..Network
System is used to realize the communication with server, receives the information obtained on server, while uploading local information to server.Eventually
End interface is used for the progress of work for naming prompting and log system that output display is restarted, it is impossible to input and display figure circle
Face.
When log system is restarted, the boot script of intelligent terminal navigates to log system, to the system text of log system
Part is loaded.Wherein script is the program that a kind of plain text is preserved, and is generally called and performed temporarily by application program.Performing
When, by the interpreter of system, machine recognizable instruction is transcribed into, and performed by program order, realize certain logic
Branch etc..Boot script is the program that one section of guiding intelligent terminal is restarted, and when log system is restarted, boot script navigates to day
Subregion where the configuration parameter and system file of aspiration system, is loaded to log system.System kernel is run and initial
Change, carry file system, network system, and display terminal interface are initialized, to be initialized to log system, to realize day
What aspiration was united restarts.
Further, in another embodiment of daily record method for uploading of the present invention, the step S30 controls log system is read
The journal file of storage, and include the step of the journal file is uploaded onto the server:
Step S31, control log system recognizes and reads the journal file of storage;
Step S32, is parsed and is classified to journal file, and the journal file through parsing classification is uploaded into service
Device.
Further, after the completion of log system initialization, control log system is recognized and read the day of main system storage
Will file.Main system, which breaks down, all can generate day to corresponding fault message more than once, when breaking down each time
Will file, and the daily record document generated every time is stored.In order to distinguish different journal files, by the daily record generated every time
File is stored in the different storage region in address.When current main system breaks down, journal file is generated, and to the day of this generation
Will file distributes new storage address, and journal file correspondence this storage address storage is arrived into storage region.Log system can basis
Storage address identifies the corresponding journal file of current main system failure from multiple journal files of storage, and to this daily record
File is read out, to obtain journal file.After journal file is obtained, Preliminary Analysis is carried out to journal file, tentatively found out
The reason for causing current main system failure, and correspondingly phenomenon of the failure classifies failure cause.Wherein phenomenon of the failure can be crashed,
Blank screen, restarts;The reason for deadlock be categorized as software issue, hardware problem and other etc.;The reason for blank screen, is categorized as internal memory
Problem, application software conflict, virus attack, system software failure and system hardware failure etc.;The reason for restarting is categorized as brush
Machine failure, system crash and running memory deficiency etc..Specifically, when intelligent terminal is that mobile phone the failure that main system is restarted occurs
During phenomenon, the corresponding journal file of this failure is obtained, to journal file Preliminary Analysis, analyzing causes what mobile phone main system was restarted
Reason is that running memory is not enough, so that it is not enough caused that this phenomenon of the failure and corresponding journal file are categorized into running memory
In Restart Type.Hereafter, the journal file through parsing classification is uploaded onto the server.The day that developer receives according to server
Will file is analyzed, first look at parsed in journal file classification failure cause it is whether correct, when according to this parsing classify
Failure cause provide corresponding solution, when can solve failure, then the failure for illustrating to parse classification in journal file is former
Because correct;Conversely, when corresponding solution cannot solve failure, then illustrating the failure cause that classification is parsed in journal file
It is incorrect.Developer reanalyses the reason for lookup causes failure, while can be optimized to main system, so as to former to failure
The analysis of cause is more accurate.
Further, Fig. 4 is refer to, on the basis of daily record method for uploading first embodiment of the present invention, the present invention is proposed
Daily record method for uploading second embodiment, in a second embodiment, what the step S30 uploaded onto the server the journal file
Include after step:
The type of boot parameter in step S40, switching and booting information, and intelligent terminal is guided according to the type of boot parameter
Main system restart.
This programme is uploaded onto the server by journal file, is carried out for developer according to journal file after accident analysis,
The type of boot parameter in switching and booting information, to guide main system to restart according to the type of boot parameter, for users to use.
The type of boot parameter wherein in switching and booting information, and according to the master of the type of boot parameter guiding intelligent terminal
The step of system reboot, includes:
Step S41, switches to main system to draw the type of the boot parameter in guidance information by log system boot parameter
Lead parameter;
Step S42, according to main system boot parameter, the main system of guiding intelligent terminal is restarted.
Understandably, because log system is used for when main system breaks down, the journal file that main system is generated is uploaded
To server, so complete its responsibility in log system, after the journal file that main system is generated is uploaded onto the server, it is necessary to
Log system is switched into main system again, so as to the use of user.When log system uploads journal file to server, guiding letter
Boot parameter in breath is log system boot parameter, when detecting the upload of log system completion journal file, is then switched
For main system, the boot parameter type in guidance information is switched into main system boot parameter by log system boot parameter, with
By main system boot parameter by system reboot be main system.By the configuration parameter that parameter configuration is main system when restarting, and base
The storage address of main system is searched into boot parameter in the configuration parameter of this main system, is guided according to the storage address of main system
Main system starts.Specifically, Fig. 5 is refer to, the storage address distribution of system, the wherein storage address in System guides area is embodied
It is that the storage address of 1, log system is 2 for the storage address of 0, main system, main system or day is determined according to System guides area
Aspiration system starts.When main system breaks down, System guides area guides log system to open according to the storage address 2 of log system
Dynamic, after the journal file that log system startup generates main system is uploaded onto the server, System guides area 0 is again according to main system
The guiding main system of storage address 1 starts, so as to realize when main system breaks down, by log system by the daily record of main system
File is uploaded onto the server in the failure very first time, it is ensured that the timely processing of failure.
Further, in another embodiment of daily record method for uploading of the present invention, the step S10 works as the principal series of intelligent terminal
When system breaks down, control main system is generated and included the step of storing journal file:
Step S13, when the main system for detecting intelligent terminal breaks down, generates daily record text corresponding with the failure
Part, and the journal file is stored in storage region corresponding with main system.
Understandably, detection means is provided with intelligent terminal, the state for detecting intelligent apparatus.Wherein intelligent apparatus
State whether supported including intelligent apparatus hardware, hardware state, the intelligent apparatus software such as whether temperature normal whether run and
Whether motion state normally waits whether the system of application state and intelligent apparatus is the system modes such as preset state.When detecting
When the main system of intelligent terminal is not preset state, then illustrate that main system breaks down, so as to generate day corresponding with this failure
Will file, journal file includes the main system state in which of current intelligent terminal, and believes with the difference of preset state etc.
Breath.It is divided into multiple regions because needing the numerous contents of storage in intelligent terminal, thus by storage device, for storing in different
Hold.The journal file generated corresponding to main system, there is corresponding storage region, and main system, can be by this after generation journal file
The journal file of generation is stored in storage region corresponding with main system journal file, to be carried out to the journal file of main system
Filing is arranged, and facilitates the identification of log system to read.
Further, in another embodiment of daily record method for uploading of the present invention, the step S30 is by the journal file
Include after the step of passing to server:
Step S50, the upload progress of show log file on the terminal interface.
Further, the terminal interface of log system is shown to the upload progress of journal file, can by
The mode of progress bar is shown in interface to show the progress of upload.And during upload progress is shown, it is impossible to receive input
Operation, can not show graphical interfaces.When uploading completion, it can be reminded in the way of prompt message and system is switched into principal series
System, can not also point out, directly switch to main system, this is not restricted.If reminded in the way of prompt message, its mode
It can be display text information.Specifically, for touching device, display such as " please touch screen optional position to restart " such
Text information, for press key input device, the such text information of display such as " please by any key to restart ".If be not required to
Prompt message is wanted, when directly switching, then countdown can be shown.Such as countdown 3s, at the end of countdown, then restart for principal series
System.When restarting successfully, user can operate with main system interface.
Log system and the apparatus module composition of the present invention, refer to Fig. 6, intelligent end device of the invention by hardware and
System module two parts are constituted, and wherein hardware is the basis of intelligent terminal, including storage medium, network interface card, screen and hardware presses
The object of the physical presence such as key.System module is used to describe software system module, including user space module and system space mould
Block, user space module is the module for operating in user's space, and system space module is the module for operating in system space, for
Family space module provides interface interchange, and simultaneity factor space module relies on hardware.File system, net in log system of the present invention
Network system and log processing program belong to user space module, and system kernel and driving belong to system space module.System module
The replacement of various software modules is realized by abstraction interface, is easy to system flexibly to load and Unload module, and for intelligent terminal
Other systems flexibly can also load and unload by abstraction interface, for system definite value provide maximum flexibility.
As shown in fig. 7, Fig. 7 is the intelligent terminal structural representation for the hardware running environment that scheme of the embodiment of the present invention is related to
Figure.
Daily record of the embodiment of the present invention upload device be intelligent terminal a part, intelligent terminal can be PC or
Smart mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer
III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving Picture Experts Group
Audio Layer IV, dynamic image expert's compression standard audio aspect 3) player, pocket computer etc. have display function
Packaged type intelligent terminal.
It can include as shown in fig. 7, the daily record uploads device:Processor 110, such as CPU, memory 109, communication bus
1002.Wherein, communication bus 1002 is used to realize the connection communication between processor 110 and memory 109.Memory 109 can
With the memory (non-volatile memory) for being high-speed RAM memory or stablizing, such as magnetic disk storage.Deposit
Reservoir 109 optionally can also be the storage device independently of aforementioned processor 110.
Alternatively, the daily record, which uploads device, can also include camera, RF (Radio Frequency, radio frequency) unit
101, sensor 105, voicefrequency circuit, WiFi module 102 etc..Wherein, sensor 105 such as optical sensor, motion sensor
And other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensing
Device can adjust the brightness of display screen according to the light and shade of ambient light, and proximity transducer can be moved in one's ear in mobile intelligent terminal
When, close display screen and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions
The size of (generally three axles) acceleration, can detect that size and the direction of gravity when static, whole available for identification intelligent movable
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, Vibration identification correlation function is held (such as to count
Walk device, tap) etc.;Certainly, mobile intelligent terminal can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray sensing
The other sensors such as device, will not be repeated here.
Do not constituted to daily record upload it will be understood by those skilled in the art that the daily record shown in Fig. 7 uploads apparatus structure
The restriction of device, can include than illustrating more or less parts, either combine some parts or different part cloth
Put.
As shown in fig. 7, leading to as operating system, network can be included in a kind of memory 109 of computer-readable storage medium
Believe module and daily record upload program.Operating system is the program that management and control daily record upload device hardware and software resource,
Support the operation of daily record upload program and other softwares and/or program.Network communication module is used to realize inside memory 109
Communication between each component, and with being communicated in daily record upload device between other hardware and softwares.
In the daily record shown in Fig. 7 uploads device, processor 110 is used to perform the daily record upload stored in memory 109
Program, realizes following steps:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligence
The log system of terminal is restarted;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and the daily record is literary
Part is uploaded onto the server.
Further, the step of log system of the guiding intelligent terminal is restarted includes:
The boot parameter in the guidance information that intelligent terminal prestores is obtained, and the type of boot parameter is guided by main system
Parameter switching is log system boot parameter;
According to log system boot parameter, the log system of guiding intelligent terminal is restarted.
Further, the log system includes system kernel, file system, network system and terminal interface,
It is described to load the system file of log system when log system is restarted, and log system is initialized
Step includes:
When log system is restarted, the boot script of intelligent terminal navigates to log system, to the system text of log system
Part is loaded;
Operation and initialization system kernel, carry file system, initialize network system, and display terminal interface, with right
Log system is initialized.
Further, the control log system reads the journal file of storage, and the journal file is uploaded into clothes
The step of business device, includes:
Control log system recognizes and reads the journal file of storage;
Journal file is parsed and classified, and the journal file through parsing classification is uploaded onto the server.
Further, it is described the step of the journal file is uploaded onto the server after, processor 110 is deposited for execution
The daily record upload program stored in reservoir 109, realizes following steps:
The type of boot parameter in switching and booting information, and according to the main system of the type of boot parameter guiding intelligent terminal
Restart.
Further, in the switching and booting information boot parameter type, and according to the type of boot parameter guide intelligence
The step of main system of energy terminal is restarted includes:
The type of boot parameter in guidance information is switched into main system boot parameter by log system boot parameter;
According to main system boot parameter, the main system of guiding intelligent terminal is restarted.
Further, described when the main system of intelligent terminal breaks down, control main system generates and stores daily record text
The step of part, includes:
When the main system for detecting intelligent terminal breaks down, journal file corresponding with the failure is generated, and will
The journal file is stored in storage region corresponding with main system.
Further, it is described the step of the journal file is uploaded onto the server after, processor 110 is deposited for execution
The daily record upload program stored in reservoir 109, realizes following steps:
The upload progress of show log file on the terminal interface.
Daily record of the present invention uploads device embodiment and above-mentioned each embodiment of daily record method for uploading is essentially identical, herein
Repeat no more.
The invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or
More than one program of person, one or more than one program can also by one or more than one computing device with
In:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligence
The log system of terminal is restarted;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and the daily record is literary
Part is uploaded onto the server.
Further, the step of log system of the guiding intelligent terminal is restarted includes:
The boot parameter in the guidance information that intelligent terminal prestores is obtained, and the type of boot parameter is guided by main system
Parameter switching is log system boot parameter;
According to log system boot parameter, the log system of guiding intelligent terminal is restarted.
Further, the log system includes system kernel, file system, network system and terminal interface,
It is described to load the system file of log system when log system is restarted, and log system is initialized
Step includes:
When log system is restarted, the boot script of intelligent terminal navigates to log system, to the system text of log system
Part is loaded;
Operation and initialization system kernel, carry file system, initialize network system, and display terminal interface, with right
Log system is initialized.
Further, the control log system reads the journal file of storage, and the journal file is uploaded into clothes
The step of business device, includes:
Control log system recognizes and reads the journal file of storage;
Journal file is parsed and classified, and the journal file through parsing classification is uploaded onto the server.
Further, it is described the step of the journal file is uploaded onto the server after include:
The type of boot parameter in switching and booting information, and according to the main system of the type of boot parameter guiding intelligent terminal
Restart.
Further, in the switching and booting information boot parameter type, and according to the type of boot parameter guide intelligence
The step of main system of energy terminal is restarted includes:
The type of boot parameter in guidance information is switched into main system boot parameter by log system boot parameter;
According to main system boot parameter, the main system of guiding intelligent terminal is restarted.
Further, described when the main system of intelligent terminal breaks down, control main system generates and stores daily record text
The step of part, includes:
When the main system for detecting intelligent terminal breaks down, journal file corresponding with the failure is generated, and will
The journal file is stored in storage region corresponding with main system.
Further, it is described the step of the journal file is uploaded onto the server after include:
The upload progress of show log file on the terminal interface.
Computer-readable recording medium embodiment of the present invention and the basic phase of above-mentioned each embodiment of daily record method for uploading
Together, it will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause an intelligent terminal (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of daily record method for uploading, it is characterised in that the daily record method for uploading comprises the following steps:
When the main system of intelligent terminal breaks down, control main system generates and stores journal file, and guides intelligent terminal
Log system restart;
When log system is restarted, the system file of log system is loaded, and log system is initialized;
After the completion of log system initialization, control log system reads the journal file of storage, and by the journal file
Pass to server.
2. daily record method for uploading as claimed in claim 1, it is characterised in that the log system of the guiding intelligent terminal is restarted
The step of include:
The boot parameter in the guidance information that intelligent terminal prestores is obtained, and by the type of boot parameter by main system boot parameter
Switch to log system boot parameter;
According to log system boot parameter, the log system of guiding intelligent terminal is restarted.
3. daily record method for uploading as claimed in claim 2, it is characterised in that the log system is to include system kernel, text
The lightweight system of part system, network system and terminal interface module,
The system file that log system is loaded when log system is restarted, and the step of initialized to log system
Including:
When log system is restarted, the boot script of intelligent terminal navigates to log system, and the system file of log system is entered
Row loading;
Operation and initialization system kernel, carry file system, initialize network system, and display terminal interface, with to daily record
System is initialized.
4. daily record method for uploading as claimed in claim 1, it is characterised in that the control log system reads the daily record of storage
File, and include the step of the journal file is uploaded onto the server:
Control log system recognizes and reads the journal file of storage;
Journal file is parsed and classified, and the journal file through parsing classification is uploaded onto the server.
5. daily record method for uploading as claimed in claim 2, it is characterised in that described that the journal file is uploaded onto the server
The step of after include:
The type of boot parameter in switching and booting information, and according to the main system weight of the type of boot parameter guiding intelligent terminal
Open.
6. daily record method for uploading as claimed in claim 5, it is characterised in that the class of boot parameter in the switching and booting information
Type, and according to the type of boot parameter guide intelligent terminal main system restart the step of include:
The type of boot parameter in guidance information is switched into main system boot parameter by log system boot parameter;
According to main system boot parameter, the main system of guiding intelligent terminal is restarted.
7. the daily record method for uploading as described in claim any one of 1-6, it is characterised in that described when the main system of intelligent terminal
During failure, control main system is generated and included the step of storing journal file:
When the main system for detecting intelligent terminal breaks down, journal file corresponding with the failure is generated, and will be described
Journal file is stored in storage region corresponding with main system.
8. daily record method for uploading as claimed in claim 3, it is characterised in that described that the journal file is uploaded onto the server
The step of after include:
The upload progress of show log file on the terminal interface.
9. a kind of daily record uploads device, it is characterised in that the daily record, which uploads device, to be included:Memory, processor, communication bus
And it is stored in the daily record upload program on the memory:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the daily record upload program, to realize the daily record as any one of claim 1-8
The step of method for uploading.
10. a kind of computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium in daily record
Biography program, realizes that the daily record as any one of claim 1-8 is uploaded when the daily record upload program is executed by processor
The step of method.
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 true CN107276789A (en) | 2017-10-20 |
CN107276789B 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) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108012031A (en) * | 2017-11-30 | 2018-05-08 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108040159A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on hardware driving |
CN108108257A (en) * | 2017-12-28 | 2018-06-01 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on MDSS |
CN108124252A (en) * | 2017-12-29 | 2018-06-05 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer readable storage medium for obtaining information |
CN108182133A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization 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 |
CN108255631A (en) * | 2017-12-28 | 2018-07-06 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108388489A (en) * | 2018-02-27 | 2018-08-10 | 郑州云海信息技术有限公司 | A kind of server failure diagnostic method, system, equipment and storage medium |
CN108551404A (en) * | 2018-04-20 | 2018-09-18 | 北京百度网讯科技有限公司 | Method, apparatus, storage medium and the terminal device of client-side information analysis |
CN109002547A (en) * | 2018-07-30 | 2018-12-14 | 努比亚技术有限公司 | Journal file storage method, mobile terminal and computer readable storage medium |
CN109039724A (en) * | 2018-07-23 | 2018-12-18 | 北京奇艺世纪科技有限公司 | Log method for uploading and device |
CN109189612A (en) * | 2018-09-04 | 2019-01-11 | 广东小天才科技有限公司 | Log processing method and electronic device during Linux kernel exception |
WO2019179051A1 (en) * | 2018-03-18 | 2019-09-26 | 平安科技(深圳)有限公司 | Drawing method, system, computer device, and storage medium for voice channel restoration |
CN110673974A (en) * | 2019-08-20 | 2020-01-10 | 中科创达软件股份有限公司 | System debugging method and device |
CN111475214A (en) * | 2020-04-03 | 2020-07-31 | 苏州浪潮智能科技有限公司 | System display output method and device of ARM server and storage medium |
CN111552618A (en) * | 2020-05-06 | 2020-08-18 | 上海龙旗科技股份有限公司 | Method and device 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 |
CN113722142A (en) * | 2021-09-02 | 2021-11-30 | 北京天融信网络安全技术有限公司 | Method and device for analyzing reasons of insufficient memory, electronic equipment and storage medium |
CN113961151A (en) * | 2021-11-02 | 2022-01-21 | 锐凌无线通讯科技(深圳)有限公司 | Fault log storage method and device, electronic equipment and storage medium |
WO2022166875A1 (en) * | 2021-02-04 | 2022-08-11 | 展讯通信(上海)有限公司 | Log storage method, communication apparatus, chip, and module device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014201915A1 (en) * | 2013-06-19 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Software repair method and apparatus, and computer readable storage medium |
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 |
EP3129883A1 (en) * | 2014-04-11 | 2017-02-15 | Tencent Technology (Shenzhen) Co., Ltd | Method and apparatus for repairing dynamic link library file |
-
2017
- 2017-05-19 CN CN201710362471.0A patent/CN107276789B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014201915A1 (en) * | 2013-06-19 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Software repair method and apparatus, and computer readable storage medium |
EP3129883A1 (en) * | 2014-04-11 | 2017-02-15 | Tencent Technology (Shenzhen) Co., Ltd | Method and apparatus for repairing dynamic link library file |
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 |
Cited By (29)
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 |
CN108040159A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on hardware driving |
CN108012031A (en) * | 2017-11-30 | 2018-05-08 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108108257A (en) * | 2017-12-28 | 2018-06-01 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on MDSS |
CN108182133A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization 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 |
CN108255631A (en) * | 2017-12-28 | 2018-07-06 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer 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 |
CN108388489A (en) * | 2018-02-27 | 2018-08-10 | 郑州云海信息技术有限公司 | A kind of server failure diagnostic method, system, equipment and storage medium |
WO2019179051A1 (en) * | 2018-03-18 | 2019-09-26 | 平安科技(深圳)有限公司 | Drawing method, system, computer device, and storage medium for voice channel restoration |
CN108551404A (en) * | 2018-04-20 | 2018-09-18 | 北京百度网讯科技有限公司 | Method, apparatus, storage medium and the terminal device of client-side information analysis |
CN108551404B (en) * | 2018-04-20 | 2019-10-01 | 北京百度网讯科技有限公司 | Method, apparatus, storage medium and the terminal device of client-side information analysis |
CN109039724A (en) * | 2018-07-23 | 2018-12-18 | 北京奇艺世纪科技有限公司 | Log method for uploading and device |
CN109002547A (en) * | 2018-07-30 | 2018-12-14 | 努比亚技术有限公司 | Journal file storage method, mobile terminal and computer readable storage medium |
CN109002547B (en) * | 2018-07-30 | 2023-09-01 | 努比亚技术有限公司 | Log file storage method, mobile terminal and computer readable storage medium |
CN109189612A (en) * | 2018-09-04 | 2019-01-11 | 广东小天才科技有限公司 | Log processing method and electronic device during Linux kernel exception |
CN110673974A (en) * | 2019-08-20 | 2020-01-10 | 中科创达软件股份有限公司 | System debugging method and device |
CN111475214A (en) * | 2020-04-03 | 2020-07-31 | 苏州浪潮智能科技有限公司 | System display output method and device of ARM server and storage medium |
CN111552618A (en) * | 2020-05-06 | 2020-08-18 | 上海龙旗科技股份有限公司 | Method and device for collecting logs |
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 |
CN111897669B (en) * | 2020-07-10 | 2024-09-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 |
WO2022166875A1 (en) * | 2021-02-04 | 2022-08-11 | 展讯通信(上海)有限公司 | Log storage method, communication apparatus, chip, and module device |
CN113722142B (en) * | 2021-09-02 | 2023-08-25 | 北京天融信网络安全技术有限公司 | Method and device for analyzing reasons of insufficient memory, electronic equipment and storage medium |
CN113722142A (en) * | 2021-09-02 | 2021-11-30 | 北京天融信网络安全技术有限公司 | Method and device for analyzing reasons of insufficient memory, electronic equipment and storage medium |
CN113961151A (en) * | 2021-11-02 | 2022-01-21 | 锐凌无线通讯科技(深圳)有限公司 | Fault log storage method and device, 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 |
Also Published As
Publication number | Publication date |
---|---|
CN107276789B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107276789A (en) | Daily record method for uploading, device and computer-readable recording medium | |
CN107357497A (en) | A kind of multi-screen display method and mobile terminal | |
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108228053A (en) | A kind of information sharing method, intelligent terminal and storage medium | |
CN107809536A (en) | Display screen fingerprint recognition processing method, mobile terminal and storage medium | |
CN109040441A (en) | Using display methods of attending to anything else, mobile terminal and computer readable storage medium | |
CN110191465A (en) | Authority control method, mobile terminal and computer readable storage medium | |
CN107592416A (en) | Method for sending voice message, terminal and computer-readable recording medium | |
CN107071180A (en) | Desktop customization layout method, mobile terminal and computer-readable recording medium | |
CN107391241A (en) | Using quick start method, terminal and computer-readable recording medium | |
CN109922078A (en) | Upgrade control method, mobile terminal and computer readable storage medium | |
CN109739571A (en) | Application program launching method, mobile terminal and computer readable storage medium | |
CN109933253A (en) | Method for controlling application starting, terminal and computer readable storage medium | |
CN107273433A (en) | A kind of file scanning method, equipment and computer-readable recording medium | |
CN107341052A (en) | A kind of message treatment method and device | |
CN109766119A (en) | Restore subregion upgrade method, terminal and computer readable storage medium | |
CN107766222A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN110418004A (en) | Screenshot processing method, terminal and computer readable storage medium | |
CN107229470A (en) | A kind of system font switching method, mobile terminal and computer-readable recording medium | |
CN107247560A (en) | Date storage method and mobile terminal | |
CN109873901A (en) | A kind of screenshot method for managing resource and terminal, computer readable storage medium | |
CN107872367A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107818036A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107832191A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107484144A (en) | A kind of information acquisition method, terminal, server and computer-readable storage medium |
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 |