CN107341013A - One kind start fault handling method, equipment and computer-readable recording medium - Google Patents
One kind start fault handling method, equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107341013A CN107341013A CN201710497346.0A CN201710497346A CN107341013A CN 107341013 A CN107341013 A CN 107341013A CN 201710497346 A CN201710497346 A CN 201710497346A CN 107341013 A CN107341013 A CN 107341013A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- storage region
- event
- thread
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1417—Boot up procedures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses one kind start fault handling method, methods described includes:When detecting that terminal is in running status, the first data in the first storage region of the terminal are obtained;First data backup is stored in the second storage region;Wherein, first storage region is different from second storage region;When the terminal performs power-on event, detect whether the terminal produces failure;If detecting, the terminal produces failure, the operator scheme of the terminal is switched into default power on mode, and perform the power-on event by the storage location of second storage region.The embodiment of the present invention also discloses start troubleshooting equipment and computer-readable recording medium simultaneously.
Description
Technical field
The present invention relates to the start fault handling method in computer realm, more particularly to a kind of start troubleshooting side
Method, equipment and computer-readable recording medium.
Background technology
The disposal ability of present mobile terminal central processing unit (Central Processing Unit, CPU) is increasingly
By force, the internal memory of mobile terminal is also increasing, therefore the application program installed on mobile terminal and the file of storage etc. are increasingly
It is more, moreover, the system of mobile terminal is also increasing;In this way, the data stored in data (data) area of mobile terminal are more next
It is more.
But the data in data areas just occur the phenomenon restarted repeatedly during mobile terminal-opening, finally led once damaging
Mobile terminal is caused not start shooting successfully.Now, user mobile terminal can only be sent to after service department carry out the processing of brush machine or
The mobile terminal is discarded, this can cause the loss of data in data areas and can not recover.
The content of the invention
In view of this, the embodiment of the present invention it is expected to provide a kind of start fault handling method, equipment and computer-readable deposited
Storage media, solve the problems, such as that terminal without unlatching and loss of data, ensure that during the corrupted data in data areas in the prior art
The security of the data in data areas, improve the performance and used life of terminal.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
First aspect, there is provided one kind start fault handling method, methods described include:
When detecting that terminal is in running status, the first data in the first storage region of the terminal are obtained;
First data backup is stored in the second storage region;Wherein, first storage region and described the
Two storage regions are different;
When the terminal performs power-on event, detect whether the terminal produces failure;
If detecting, the terminal produces failure, the operator scheme of the terminal is switched into default power on mode, and lead to
The storage location for crossing second storage region performs the power-on event.
Optionally, if described detect that the terminal produces failure, the operator scheme of the terminal is switched into default open
Machine pattern, and after the storage location execution power-on event for passing through second storage region, in addition to:
Empty first storage region;Wherein, first storage region includes at least two memory spaces;
Obtain the second data in second storage region of the terminal;
By second data, it is empty that backup is stored in storage corresponding with first data in first storage region
Between in.
Optionally, it is described to be stored in second data, backup in first storage region and first data
After in corresponding memory space, in addition to:
Generation prompt message is simultaneously shown on the display screen of the terminal;Wherein, the prompt message is used to prompt to grasp
Make object to restart the terminal;
Receive the shutdown command for being used to close the terminal that the operation object is sent;
The shutdown command is responded, is started and carried out the first thread for closing the terminal;
Receive the start-up command for being used to open the terminal that the operation object is sent;
When the first thread, which performs, to be completed, respond the start-up command and be started and carried out for opening the terminal
Second thread.
Optionally, it is described when detecting that terminal is in running status, in the first storage region for obtaining the terminal
First data, including:
When detecting that the terminal is in running status, detect whether to receive the closing for closing the terminal and refer to
Order;
If receiving the out code, described first is obtained before the first thread for being used for closing the terminal is opened
Data.
Optionally, it is described when detecting that terminal is in running status, in the first storage region for obtaining the terminal
First data, including:
When detecting that the terminal is in running status, judge whether preset time period arrives;
When the preset time period arrives, first data are obtained.
Optionally, it is described to detect whether the terminal produces failure when the terminal performs power-on event, including:
When the terminal performs power-on event, judge whether repeated priming is used to open the of the terminal terminal
Two threads;
If the second thread described in the terminal repeated priming, obtain the terminal and repeated before the power-on event terminates
Start the number of second thread, obtain the number of starts;
If the number of starts is more than preset times, determine that the terminal produces failure.
Second aspect, there is provided one kind start troubleshooting equipment, the equipment include:Processor, memory and communication are total
Line;
The communication bus is used to realize the communication connection between processor and memory;
The processor is used to perform the start exception handles stored in memory, to realize following steps:
When detecting that terminal is in running status, the first data in the first storage region of the terminal are obtained;
First data backup is stored in the second storage region;Wherein, first storage region and described the
Two storage regions are different;
When the terminal performs power-on event, detect whether the terminal produces failure;
If detecting, the terminal produces failure, the operator scheme of the terminal is switched into default power on mode, and lead to
The storage location for crossing second storage region performs the power-on event.
Optionally, if detecting the terminal generation failure, the operator scheme of the terminal is switched into default start
Pattern, and after the storage location execution power-on event for passing through second storage region, the processor is additionally operable to hold
The start exception handles stored in line storage, to realize following steps:
Empty first storage region;Wherein, first storage region includes at least two memory spaces;
Obtain the second data in second storage region of the terminal;
By second data, it is empty that backup is stored in storage corresponding with first data in first storage region
Between in.
Optionally, it is stored in by second data, backup in first storage region and first data pair
After in the memory space answered, the processor is additionally operable to perform the start exception handles stored in memory, to realize
Following steps:
Generation prompt message is simultaneously shown on the display screen of the terminal;Wherein, the prompt message is used to prompt to grasp
Make object to restart the terminal;
Receive the shutdown command for being used to close the terminal that the operation object is sent;
The shutdown command is responded, is started and carried out the first thread for closing the terminal;
Receive the start-up command for being used to open the terminal that the operation object is sent;
When the first thread, which performs, to be completed, respond the start-up command and be started and carried out for opening the terminal
Second thread.
The third aspect, there is provided a kind of computer-readable recording medium, the computer-readable recording medium storage have one
Or multiple programs, one or more of programs can be by one or more computing devices, to realize such as first aspect
The step of described start fault handling method.
Start fault handling method, equipment and the computer-readable recording medium that embodiments of the invention are provided, work as inspection
When measuring terminal and being in running status, the first data in the first storage region of terminal are obtained, the first data backup is stored
In the second storage region, the first storage region is different from the second storage region, when terminal performs power-on event, if detecting
Terminal produces failure and the operator scheme of terminal is switched into default power on mode, and is held by the storage location of the second storage region
Row power-on event, so, even if the loss of data of the first storage region (data areas), terminal can have data areas by backup
Data the second storage region perform power-on operation, still can ensure successfully to start shooting, solve data areas in the prior art
Corrupted data when terminal without unlatching and the problem of loss of data, ensure that the security of the data in data areas, improve terminal
Performance and used life.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for an optional mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the communication system architecture schematic diagram that mobile terminal provided in an embodiment of the present invention can operate;
Fig. 3 is a kind of schematic flow sheet of fault handling method of starting shooting provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another fault handling method of starting shooting provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another start fault handling method provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic flow sheet for start fault handling method that another embodiment of the present invention provides;
Fig. 7 is a kind of scene interface schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of selection interface schematic diagram provided in an embodiment of the present invention;
Fig. 9 is the schematic flow sheet for another start fault handling method that another embodiment of the present invention provides;
Figure 10 is another scene interface schematic diagram provided in an embodiment of the present invention;
Figure 11 is a kind of structural representation of troubleshooting equipment of starting shooting provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
The mobile terminal of each embodiment of the realization present invention is described referring now to accompanying drawing 1.In follow-up description, make
With the suffix of such as " module ", " part " or " unit " for representing element only for being advantageous to the explanation of the present invention, its
Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), tablet personal computer (PAD), portable
The fixation of the mobile terminal of formula multimedia player (PMP), guider etc. and such as digital TV, desktop computer etc.
Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that except being used in particular for moving mesh
Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal for the mobile terminal for realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, audio/video (A/V) input block 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part, it can alternatively implement more or less components, the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, it is at least one in wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) electronics
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can be broadcasted by using various types of broadcast system reception signals.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hold (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one in server and/or receive from it radio signal.Such radio signal can lead to including voice
Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
115 typical case is GPS (global positioning system).According to current technology, the location information module 115 as GPS calculates
Range information and correct time information from three or more satellites and for the Information application triangulation of calculating,
So as to it calculate according to longitude, latitude and highly accurately three-dimensional current location information.Currently, for calculation position and temporal information
Method use three satellites and the position calculated by using other satellite correction and the error of temporal information.
In addition, GPS module 115 can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 122, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static images
Or the view data of video is handled.Picture frame after processing may be displayed on display unit 151.Handled through camera 121
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (voice data) is received via microphone 122 in record pattern, speech recognition mode etc. operational mode, and can be by this
The acoustic processing of sample is voice data.Audio (voice) data after processing can be converted in the case of telephone calling model
The form output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can be implemented various types of
Noise eliminate (or suppress) algorithm with eliminate (or suppression) during receiving and sending audio signal caused noise or
Interference.
User input unit 130 can control each of mobile terminal according to the order generation key input data that user inputs
Kind operation.User input unit 130 allows user to input various types of information, and can include keyboard, touch pad (example
Such as, the sensitive component of the change of resistance, pressure, electric capacity etc. caused by being touched is detected) etc..Especially, when tactile
When template is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 100, user for mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense
The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.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 170 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 100 or can be with
For transmitting data between mobile terminal and external device (ED).
Output unit 150 can include display module 151 and dio Output Modules 152 etc..
Display unit 151 may be displayed in mobile terminal 100 information handled.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile when display module 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display module
151 may be used as input unit and output device.Display module 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 can include two or more display units (or other display devices), for example, moving
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is receiving or in memory 160 by wireless communication unit 110 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and to export be sound.Moreover, dio Output Modules 152 can provide and movement
The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 performs.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke
Temporarily to store the data that has exported or will export.Moreover, memory 160 can store on when touch be applied to it is tactile
Touch the vibration of various modes exported during screen and the data of audio signal.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can be with performing memory by network connection
The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 performs and voice call, data
Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or be can be structured as and controlled
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system operate.
The communication system that can be wherein operated according to the mobile terminal of the present invention referring now to Fig. 2 descriptions.
Such communication system can use different air interface and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to figure 2, cdma wireless communication system can include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can construct according to any of some known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS270.Or each subregion can be by two or more for diversity reception
Antenna covers.Each BS270, which may be constructed such that, supports multiple frequency distribution, and each frequency distribution has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or specific BS270 each subregion can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals
It is at least one in 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that, any number of satellite can be utilized to obtain useful
Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to be believed with obtaining desired positioning
Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting and other types of communication.Certain base station 270 receives each anti-
Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, and MSC280 and BSC275 forms interface, and BSC275 correspondingly controls BS270 to believe forward link
Number it is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
Embodiments of the invention provide a kind of start fault handling method, and shown in reference picture 3, this method includes following step
Suddenly:
Step 301, when detecting that terminal is in running status, obtain in the first storage region of terminal first number
According to.
In other embodiments of the invention, step 301 obtains the of terminal when detecting that terminal is in running status
The first data in one storage region can be realized by start troubleshooting equipment;Start troubleshooting equipment can wrap
Terminal is included, the terminal can be mobile terminal, can be preferably the intelligent terminal for being capable of installation operation system, such as can be
Smart mobile phone, iPad, notebook computer etc. can install the mobile terminal of various application programs.
Whether detection terminal is in whether running status can be in open state to realize by detection terminal, when
Terminal can determine that terminal is currently at running status when being in operation open state.Wherein, the first storage region can be
Data areas in terminal, data, the application program operation of all application programs installed in terminal can be stored in the data areas
During caused data, data of operating system etc. during caused data, operating system.Certainly, the first data
It can include:Caused data, operating system in the data of all application programs installed in terminal, application program running
The data related to terminal such as caused data, data of operating system in running.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet personal computer,
POS, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases
Machine and tablet personal computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend
The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the disposal ability of mobile terminal is
Have powerful disposal ability, mobile terminal is changed into an integrated information processing platform from simple call instrument.This
Also broader development space is added to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development
The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service and main wound between a flash
New platform, new media, ecommerce and information service platform, Internet resources, mobile network resource and environmental interaction resource
Most important hinge, its operating system and processor chips are even as the strategy system of current whole information and communication technology (ICT) industry
High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, generally carry each
Kind operating system, various functions can be customized according to user's request.In life common intelligent terminal include mobile intelligent terminal,
Vehicle intelligent terminal, intelligent television, wearable device etc..
Step 302, the first data backup is stored in the second storage region.
Wherein, the first storage region is different from the second storage region.
Specifically, it can be by start troubleshooting that the first data backup is stored in the second storage region by step 302
Equipment is realized;Second storage region and the first storage region are in two entirely different positions in the terminal, and second deposits
Storage area domain can be the storage region of the data in data areas that can be in back-up terminals in terminal.For example, the second storage region
Can be data_bk subregions.
Step 303, when terminal perform power-on event when, whether detection terminal produces failure.
Specifically, step 303, when terminal performs power-on event, it can be by start event that whether detection terminal, which produces failure,
Hinder processing equipment to realize;Detection terminal whether produce failure can be whether occurred by detection terminal start process it is different
Often, start can not be normally carried out to realize.
If step 304, detecting that terminal produces failure, the operator scheme of terminal is switched into default power on mode, and lead to
The storage location for crossing the second storage region performs power-on event.
Specifically, if step 304 detects that terminal produces failure, the operator scheme of terminal is switched into default start mould
Formula, and can be realized by the storage location execution power-on event of the second storage region by start troubleshooting equipment;
Default power on mode can be start self-saving model, can be first data catalogue carries after terminal switches to start self-saving model
To data_bk subregions, terminal is then restarted, terminal goes to read data_bk subregions by data catalogues after restarting
Data, ensure that terminal can be started up normally.
The start fault handling method that embodiments of the invention are provided, when detecting that terminal is in running status, obtain
The first data in the first storage region of terminal are taken, the first data backup is stored in the second storage region, the first storage
Region is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the operation of terminal
Pattern switching performs power-on event to default power on mode, and by the storage location of the second storage region, so, even if first
The loss of data of storage region (data areas), the second storage region that terminal can have the data in data areas by backup perform
Power-on operation, still can ensure successfully to start shooting, when solving the corrupted data in data areas in the prior art terminal without open and
The problem of loss of data, the security of the data in data areas is ensure that, improve the performance and used life of terminal.
Based on previous embodiment, embodiments of the invention provide a kind of start fault handling method, should shown in reference picture 4
Method comprises the following steps:
Step 401, when detecting that terminal is in running status, start troubleshooting equipment is detected whether to receive and is used for
The out code closed a terminal.
If step 402, receiving out code, start troubleshooting equipment is opening the first thread for closing a terminal
The first data in the first storage region of terminal are obtained before.
First data backup is stored in the second storage region by step 403, start troubleshooting equipment.
Wherein, the first storage region is different from the second storage region.
Specifically, terminal obtains the data in data areas and the data backup in data areas is stored in into backup subregion
In data_bk, it can be carried out before the closing of each terminal, you can be that the shutdown that user's transmission is received in terminal refers to
Make but backed up before the thread that shuts down is opened.Moreover, terminal preset has application program or clothes with backup functionality
Business;After each terminal normal boot-strap, and receive shutdown command but open shut down thread before, the operating system of terminal is all
Automatically application program or service with backup functionality can be started on backstage, and the data in data areas are backuped to data_bk
Subregion.Wherein, application program that should be with backup functionality or service are with the access limit to data areas and data_bk areas.
Step 404, when terminal perform power-on event when, start troubleshooting equipment detection terminal whether produce failure.
If step 405, detecting that terminal produces failure, start troubleshooting equipment switches to the operator scheme of terminal pre-
If power on mode, and power-on event is performed by the storage location of the second storage region.
Step 406, start troubleshooting equipment empty the first storage region.
Wherein, the first storage region includes at least two memory spaces.
Step 407, start troubleshooting equipment obtain the second data in the second storage region of terminal.
Step 408, start troubleshooting equipment the second data backup is stored in, in the first storage region with the first data
In corresponding memory space.
Specifically, after the completion of detecting power-on event, the event for completion of starting shooting can trigger system to original data subregions
It is formatted, after the completion of formatting, system can be by the application program with backup functionality or service data_bk subregions
Data backup return original data subregions.Wherein, start shooting completion event can be start boot_complate broadcast,
Can be user-defined broadcast or event.
Based on previous embodiment, shown in reference picture 5, in other embodiments of the invention, start fault handling method is also
Comprise the following steps:
Step 409, start troubleshooting equipment generation prompt message are simultaneously shown on the display screen of terminal.
Wherein, prompt message is used to prompt operation object to restart terminal.
Step 410, start troubleshooting equipment receive that operation object sends for the shutdown command closed a terminal.
Step 411, start troubleshooting equipment response shutdown command, are started and carried out the First Line for closing a terminal
Journey.
Step 412, start troubleshooting equipment receive the start-up command for being used to open terminal that operation object is sent.
Step 413, when first thread perform complete when, start troubleshooting equipment response start-up command is started and carried out using
In the second thread for opening terminal.
Specifically, step 410~413 are that the data backup in data_bk subregions is returned into original data subregions in terminal
Afterwards, the process once restarted of completion;In this manner it is ensured that terminal can be with normal operation when starting shooting next time.
Certainly, after the whole process that starting up of terminal is saved oneself completes (i.e. user restarts terminal), terminal is opened in next time
During machine, data catalogue carries can be returned to original data subregions, and release start self-saving model.
It should be noted that in the present embodiment with same steps in other embodiments and the explanation of identical content, Ke Yican
According to the description in other embodiments, here is omitted.
The start fault handling method that embodiments of the invention are provided, when detecting that terminal is in running status, obtain
The first data in the first storage region of terminal are taken, the first data backup is stored in the second storage region, the first storage
Region is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the operation of terminal
Pattern switching performs power-on event to default power on mode, and by the storage location of the second storage region, so, even if first
The loss of data of storage region (data areas), the second storage region that terminal can have the data in data areas by backup perform
Power-on operation, still can ensure successfully to start shooting, when solving the corrupted data in data areas in the prior art terminal without open and
The problem of loss of data, the security of the data in data areas is ensure that, improve the performance and used life of terminal.
Based on previous embodiment, embodiments of the invention provide a kind of start fault handling method, should shown in reference picture 6
Method comprises the following steps:
Step 501, when detecting that terminal is in running status, start troubleshooting equipment is detected whether to receive and is used for
The out code closed a terminal.
If step 502, receiving out code, start troubleshooting equipment is opening the first thread for closing a terminal
The first data in the first storage region of terminal are obtained before.
First data backup is stored in the second storage region by step 503, start troubleshooting equipment.
Wherein, the first storage region is different from the second storage region.
Step 504, when terminal perform power-on event when, start troubleshooting equipment judge whether repeated priming is used for terminal
Open the second thread of terminal.
Specifically, the second thread can be start thread;If terminal repeated priming start shooting thread, illustrate terminal currently
Start there may be exception;At this time, it may be necessary to repeated priming start thread is further determined that herein, to determine whether terminal occurs
Start failure.
If step 505, the thread of terminal repeated priming second, start troubleshooting equipment obtains terminal and terminated in power-on event
The number of the thread of repeated priming second before, obtains the number of starts.
If step 506, the number of starts are more than preset times, start troubleshooting equipment switches to the operator scheme of terminal
Default power on mode, and power-on event is performed by the storage location of the second storage region.
Wherein, preset times can determine that terminal is opened according to what specific application scenarios, practice etc. obtained
One number of machine failure, such as can be three times.Detect that starting-up interface is restarted repeatedly, and it is (general more than certain number
To judge repeatedly to restart 3 times) when, as shown in Figure 7 can on current display interface display reminding information " data areas data damage
It is bad, start self-saving model will be entered ", and then can inform that user terminal will boot up the process of saving oneself.And it is possible to such as
Shown in Fig. 8, the selection interface into starting up of terminal self-saving model is presented in current display interface, if user wants to start start
Self-saving model, the confirming button in interface shown in Fig. 8 can be clicked on, terminal can be carried out start and save oneself process afterwards, and then
Success is opened.Certainly, in other embodiments of the invention, the system of terminal can be through (such as 3 seconds) after a while,
Then automatically into start self-saving model and boot up the process of saving oneself or need user click on power key confirm after,
Into start self-saving model and boot up the process of saving oneself.
Step 507, start troubleshooting equipment empty the first storage region.
Wherein, the first storage region includes at least two memory spaces.
Can be by being formatted data areas to realize specifically, emptying the first storage region.
Step 508, start troubleshooting equipment obtain the second data in the second storage region of terminal.
Step 509, start troubleshooting equipment the second data backup is stored in, in the first storage region with the first data
In corresponding memory space.
Based on previous embodiment, shown in reference picture 9, in other embodiments of the invention, start fault handling method is also
Comprise the following steps:
Step 510, start troubleshooting equipment generation prompt message are simultaneously shown on the display screen of terminal.
Wherein, prompt message is used to prompt operation object to restart terminal.
Exemplary, using terminal as mobile phone, user carries out Root using some the Root study courses found on the net to mobile phone, wrong
" useless " application of some in data areas is deleted by mistake, causes the corrupted datas in data areas, and then exemplified by make it that system repeatedly is restarted
Illustrate:When user starts the phenomenon that mobile phone appearance is at least restarted repeatedly three times, prompting as shown in Figure 7 can be shown on mobile phone
Information, and enter selection interface as shown in Figure 8;User is if it is desired to self-healing can click on Fig. 8 the problem of restarting unsuccessfully
Interface on confirming button so that mobile phone, which enters, to be switched to start self-saving model and is saved oneself process into start, final to ensure
Mobile phone can be opened successfully.Mobile phone can be formatted processing to data subregions after successfully starting up, and by data_bk subregions
In data backup return in original data subregions, afterwards, show prompt message as shown in Figure 10 " to ensure that start is saved oneself
Success, please restart mobile phone ", user is restarted to mobile phone manually, and the start for being finally completed mobile phone is saved oneself process.
Step 511, start troubleshooting equipment receive that operation object sends for the shutdown command closed a terminal.
Step 512, start troubleshooting equipment response shutdown command, are started and carried out the First Line for closing a terminal
Journey.
Wherein, first thread can be shutdown thread.
Step 513, start troubleshooting equipment receive the start-up command for being used to open terminal that operation object is sent.
Step 514, when first thread perform complete when, start troubleshooting equipment response start-up command is started and carried out using
In the second thread for opening terminal.
It should be noted that in the present embodiment with same steps in other embodiments and the explanation of identical content, Ke Yican
According to the description in other embodiments, here is omitted.
The start fault handling method that embodiments of the invention are provided, when detecting that terminal is in running status, obtain
The first data in the first storage region of terminal are taken, the first data backup is stored in the second storage region, the first storage
Region is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the operation of terminal
Pattern switching performs power-on event to default power on mode, and by the storage location of the second storage region, so, even if first
The loss of data of storage region (data areas), the second storage region that terminal can have the data in data areas by backup perform
Power-on operation, still can ensure successfully to start shooting, when solving the corrupted data in data areas in the prior art terminal without open and
The problem of loss of data, the security of the data in data areas is ensure that, improve the performance and used life of terminal.
Certainly, in other embodiments of the invention, step 401~402 and step 501~502, which are realized, obtains terminal
The first data in first storage region can also be accomplished by the following way:
A, when detecting that terminal is in running status, judge whether preset time period arrives.
Wherein, preset time period can be that the application in the load and terminal for ensureing terminal can be with the feelings of normal operation
Set under condition.
B, when preset time period arrives, the first data in the first storage region are obtained.
Based on previous embodiment, embodiments of the invention provide a kind of start troubleshooting equipment 6, the start troubleshooting
In a kind of start fault handling method that equipment can apply to Fig. 3~6, embodiment corresponding to 9 provides, shown in reference picture 11,
The equipment can include:Processor 61, memory 62 and communication bus 63, wherein:
Communication bus 63 is used to realize the communication connection between processor 61 and memory 62.
Processor 61 is used to perform the start exception handles stored in memory, to realize following steps:
When detecting that terminal is in running status, the first data in the first storage region of terminal are obtained;
First data backup is stored in the second storage region;
Wherein, the first storage region is different from the second storage region;
When terminal performs power-on event, whether detection terminal produces failure;
If detecting, terminal produces failure, the operator scheme of terminal is switched into default power on mode, and deposit by second
The storage location in storage area domain performs power-on event.
The start troubleshooting equipment that embodiments of the invention are provided, when detecting that terminal is in running status, obtain
The first data in the first storage region of terminal are taken, the first data backup is stored in the second storage region, the first storage
Region is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the operation of terminal
Pattern switching performs power-on event to default power on mode, and by the storage location of the second storage region, so, even if first
The loss of data of storage region (data areas), the second storage region that terminal can have the data in data areas by backup perform
Power-on operation, still can ensure successfully to start shooting, when solving the corrupted data in data areas in the prior art terminal without open and
The problem of loss of data, the security of the data in data areas is ensure that, improve the performance and used life of terminal.
In other embodiments of the invention, if detecting terminal generation failure, the operator scheme of terminal is switched to
Default power on mode, and after the storage location execution power-on event for passing through the second storage region, processor 61 is additionally operable to perform
The start exception handles stored in memory, to realize following steps:
Empty the first storage region;
Wherein, the first storage region includes at least two memory spaces;
Obtain the second data in the second storage region of terminal;
By the second data, backup is stored in the first storage region in memory space corresponding with the first data.
In other embodiments of the invention, by the second data, backup is stored in the first storage region and the first number
After in corresponding memory space, processor 61 is additionally operable to perform the start exception handles stored in memory, with reality
Existing following steps:
Generation prompt message is simultaneously shown on the display screen of terminal;
Wherein, prompt message is used to prompt operation object to restart terminal;
Receive that operation object sends for the shutdown command closed a terminal;
Shutdown command is responded, is started and carried out the first thread for closing a terminal;
Receive the start-up command for being used to open terminal that operation object is sent;
When first thread, which performs, to be completed, the second thread for opening terminal is started and carried out.
In other embodiments of the invention, processor 61 is additionally operable to perform the start troubleshooting journey stored in memory
Sequence, to realize following steps:
When detecting that terminal is in running status, detect whether to receive the out code for closing a terminal;
If receiving out code, the first data are obtained before the first thread for being used for closing a terminal is opened.
In other embodiments of the invention, processor 61 is additionally operable to perform the start troubleshooting journey stored in memory
Sequence, to realize following steps:
When detecting that terminal is in running status, judge whether preset time period arrives;
When preset time period arrives, the first data are obtained.
In other embodiments of the invention, processor 61 is additionally operable to perform the start troubleshooting journey stored in memory
Sequence, to realize following steps:
When terminal performs power-on event, judge whether repeated priming is used to open the second thread of terminal terminal;
If the thread of terminal repeated priming second, time of terminal thread of repeated priming second before power-on event terminates is obtained
Number, obtains the number of starts;
If the number of starts is more than preset times, determine that terminal produces failure.
It should be noted that the specific implementation process of the step in the present embodiment performed by processor, be referred to Fig. 3~
6th, the implementation process in the start fault handling method that embodiment corresponding to 9 provides, here is omitted.
The start troubleshooting equipment that embodiments of the invention are provided, when detecting that terminal is in running status, obtain
The first data in the first storage region of terminal are taken, the first data backup is stored in the second storage region, the first storage
Region is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the operation of terminal
Pattern switching performs power-on event to default power on mode, and by the storage location of the second storage region, so, even if first
The loss of data of storage region (data areas), the second storage region that terminal can have the data in data areas by backup perform
Power-on operation, still can ensure successfully to start shooting, when solving the corrupted data in data areas in the prior art terminal without open and
The problem of loss of data, the security of the data in data areas is ensure that, improve the performance and used life of terminal.
Based on previous embodiment, embodiments of the invention provide a kind of computer-readable recording medium, and this is computer-readable
Storage medium is stored with one or more program, one or more program can by one or more computing device,
To realize following steps:
When detecting that terminal is in running status, the first data in the first storage region of terminal are obtained;
First data backup is stored in the second storage region;
Wherein, the first storage region is different from the second storage region;
When terminal performs power-on event, whether detection terminal produces failure;
If detecting, terminal produces failure, the operator scheme of terminal is switched into default power on mode, and deposit by second
The storage location in storage area domain performs power-on event.
If detecting terminal generation failure, the operator scheme of terminal is switched into default power on mode, and pass through second
, can also be to realize following steps after the storage location of storage region performs power-on event:
Empty the first storage region;
Wherein, the first storage region includes at least two memory spaces;
Obtain the second data in the second storage region of terminal;
By the second data, backup is stored in the first storage region in memory space corresponding with the first data.
By the second data, after backup is stored in the first storage region in memory space corresponding with the first data,
Can also be to realize following steps:
Generation prompt message is simultaneously shown on the display screen of terminal;
Wherein, prompt message is used to prompt operation object to restart terminal;
Receive that operation object sends for the shutdown command closed a terminal;
Shutdown command is responded, is started and carried out the first thread for closing a terminal;
Receive the start-up command for being used to open terminal that operation object is sent;
When first thread, which performs, to be completed, the second thread for opening terminal is started and carried out.
Specifically, it can also detect whether to receive for closing a terminal when detecting that terminal is in running status
Out code;
If receiving out code, the first data are obtained before the first thread for being used for closing a terminal is opened.
Specifically, it can also judge whether preset time period arrives when detecting that terminal is in running status;
When preset time period arrives, the first data are obtained.
Specifically, it can also judge whether repeated priming is used to open terminal terminal when terminal performs power-on event
Second thread;
If the thread of terminal repeated priming second, time of terminal thread of repeated priming second before power-on event terminates is obtained
Number, obtains the number of starts;
If the number of starts is more than preset times, determine that terminal produces failure.
It should be noted that the specific implementation process of the step in the present embodiment performed by processor, be referred to Fig. 3~
6th, the implementation process in the start fault handling method that embodiment corresponding to 9 provides, here is omitted.
The computer-readable recording medium that embodiments of the invention are provided, when detecting that terminal is in running status,
The first data in the first storage region of terminal are obtained, the first data backup are stored in the second storage region, first deposits
Storage area domain is different from the second storage region, and when terminal performs power-on event, if detecting, terminal produces failure by the behaviour of terminal
Operation mode switches to default power on mode, and performs power-on event by the storage location of the second storage region, so, even if the
The loss of data of one storage region (data areas), terminal can be held by the second storage region that backup has the data in data areas
Row power-on operation, it still can ensure successfully to start shooting, terminal is without unlatching when solving the corrupted data in data areas in the prior art
And the problem of loss of data, the security of the data in data areas is ensure that, improves the performance and used life of terminal.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element 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
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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.Based on such understanding, 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 to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) perform method described by each embodiment of the present invention.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. one kind start fault handling method, it is characterised in that methods described includes:
When detecting that terminal is in running status, the first data in the first storage region of the terminal are obtained;
First data backup is stored in the second storage region;Wherein, first storage region is deposited with described second
Storage area domain is different;
When the terminal performs power-on event, detect whether the terminal produces failure;
If detecting, the terminal produces failure, the operator scheme of the terminal is switched into default power on mode, and pass through institute
The storage location for stating the second storage region performs the power-on event.
2. according to the method for claim 1, it is characterised in that if described detect that the terminal produces failure, by described in
The operator scheme of terminal switches to default power on mode, and performs the start by the storage location of second storage region
After event, in addition to:
Empty first storage region;Wherein, first storage region includes at least two memory spaces;
Obtain the second data in second storage region of the terminal;
By second data, backup is stored in memory space corresponding with first data in first storage region
In.
3. according to the method for claim 2, it is characterised in that it is described will second data, back up and be stored in described the
In one storage region in memory space corresponding with first data after, in addition to:
Generation prompt message is simultaneously shown on the display screen of the terminal;Wherein, the prompt message is used to prompt operation pair
As restarting to the terminal;
Receive the shutdown command for being used to close the terminal that the operation object is sent;
The shutdown command is responded, is started and carried out the first thread for closing the terminal;
Receive the start-up command for being used to open the terminal that the operation object is sent;
When the first thread perform complete when, respond the start-up command be started and carried out for open the terminal second
Thread.
4. according to any described method of claims 1 to 3, it is characterised in that described to detect that terminal is in running status
When, the first data in the first storage region of the terminal are obtained, including:
When detecting that the terminal is in running status, detect whether to receive the out code for closing the terminal;
If receiving the out code, first number is obtained before the first thread for being used for closing the terminal is opened
According to.
5. according to any described method of claims 1 to 3, it is characterised in that described to detect that terminal is in running status
When, the first data in the first storage region of the terminal are obtained, including:
When detecting that the terminal is in running status, judge whether preset time period arrives;
When the preset time period arrives, first data are obtained.
6. according to any described method of claims 1 to 3, it is characterised in that it is described when the terminal performs power-on event,
Detect whether the terminal produces failure, including:
When the terminal performs power-on event, judge whether repeated priming is used to open the second line of the terminal terminal
Journey;
If the second thread described in the terminal repeated priming, terminal repeated priming before the power-on event terminates is obtained
The number of second thread, obtains the number of starts;
If the number of starts is more than preset times, determine that the terminal produces failure.
7. one kind start troubleshooting equipment, it is characterised in that the equipment includes:Processor, memory and communication bus;
The communication bus is used to realize the communication connection between processor and memory;
The processor is used to perform the start exception handles stored in memory, to realize following steps:
When detecting that terminal is in running status, the first data in the first storage region of the terminal are obtained;
First data backup is stored in the second storage region;Wherein, first storage region is deposited with described second
Storage area domain is different;
When the terminal performs power-on event, detect whether the terminal produces failure;
If detecting, the terminal produces failure, the operator scheme of the terminal is switched into default power on mode, and pass through institute
The storage location for stating the second storage region performs the power-on event.
8. equipment according to claim 7, it is characterised in that if the terminal generation failure is being detected, by the end
The operator scheme at end switches to default power on mode, and performs the start thing by the storage location of second storage region
After part, the processor is additionally operable to perform the start exception handles stored in memory, to realize following steps:
Empty first storage region;Wherein, first storage region includes at least two memory spaces;
Obtain the second data in second storage region of the terminal;
By second data, backup is stored in memory space corresponding with first data in first storage region
In.
9. equipment according to claim 8, it is characterised in that second data, backup are being stored in described first
In storage region in memory space corresponding with first data after, the processor be additionally operable to perform memory in store
Start exception handles, to realize following steps:
Generation prompt message is simultaneously shown on the display screen of the terminal;Wherein, the prompt message is used to prompt operation pair
As restarting to the terminal;
Receive the shutdown command for being used to close the terminal that the operation object is sent;
The shutdown command is responded, is started and carried out the first thread for closing the terminal;
Receive the start-up command for being used to open the terminal that the operation object is sent;
When the first thread perform complete when, respond the start-up command be started and carried out for open the terminal second
Thread.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 6
Any one of start fault handling method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710497346.0A CN107341013B (en) | 2017-06-26 | 2017-06-26 | Boot fault processing method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710497346.0A CN107341013B (en) | 2017-06-26 | 2017-06-26 | Boot fault processing method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107341013A true CN107341013A (en) | 2017-11-10 |
CN107341013B CN107341013B (en) | 2021-01-15 |
Family
ID=60221087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710497346.0A Active CN107341013B (en) | 2017-06-26 | 2017-06-26 | Boot fault processing method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107341013B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108073491A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN109213667A (en) * | 2018-09-17 | 2019-01-15 | 广东小天才科技有限公司 | Exception handling method of Android system and electronic equipment |
CN110223616A (en) * | 2019-04-26 | 2019-09-10 | 深圳康佳电子科技有限公司 | A kind of intelligent terminal display screen detection method, intelligent terminal and storage medium |
CN113176984A (en) * | 2021-04-16 | 2021-07-27 | 深圳市智微智能科技股份有限公司 | Broadcast box alarm control method, device and equipment based on android and storage medium |
CN114500502A (en) * | 2022-01-11 | 2022-05-13 | 武汉格罗夫氢能汽车有限公司 | Remote transmission method of vehicle-mounted T-box data |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000570A (en) * | 2006-01-10 | 2007-07-18 | 英业达股份有限公司 | Opening configurated storage standby processing method and system on computer platform |
CN101833422A (en) * | 2010-03-08 | 2010-09-15 | 成都市华为赛门铁克科技有限公司 | Data processing method and device for disk array |
CN103645972A (en) * | 2013-12-17 | 2014-03-19 | 广州商科信息科技有限公司 | Method and device for automatic recovery of system |
CN103870355A (en) * | 2012-12-17 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | BIOS (Basic Input Output System) access system and method |
CN104102505A (en) * | 2013-04-12 | 2014-10-15 | 昆达电脑科技(昆山)有限公司 | Computer power-on method |
CN104636171A (en) * | 2015-03-04 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Upgrading method and device and mobile device |
CN104679534A (en) * | 2013-11-28 | 2015-06-03 | 中兴通讯股份有限公司 | System application installation package loading processing method, device and terminal |
KR20160073010A (en) * | 2014-12-16 | 2016-06-24 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
-
2017
- 2017-06-26 CN CN201710497346.0A patent/CN107341013B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000570A (en) * | 2006-01-10 | 2007-07-18 | 英业达股份有限公司 | Opening configurated storage standby processing method and system on computer platform |
CN101833422A (en) * | 2010-03-08 | 2010-09-15 | 成都市华为赛门铁克科技有限公司 | Data processing method and device for disk array |
CN103870355A (en) * | 2012-12-17 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | BIOS (Basic Input Output System) access system and method |
CN104102505A (en) * | 2013-04-12 | 2014-10-15 | 昆达电脑科技(昆山)有限公司 | Computer power-on method |
CN104679534A (en) * | 2013-11-28 | 2015-06-03 | 中兴通讯股份有限公司 | System application installation package loading processing method, device and terminal |
US20160378458A1 (en) * | 2013-11-28 | 2016-12-29 | Zte Corporation | Method and device for system application installation package, and terminal |
CN103645972A (en) * | 2013-12-17 | 2014-03-19 | 广州商科信息科技有限公司 | Method and device for automatic recovery of system |
KR20160073010A (en) * | 2014-12-16 | 2016-06-24 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
CN104636171A (en) * | 2015-03-04 | 2015-05-20 | 深圳市欧珀通信软件有限公司 | Upgrading method and device and mobile device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108073491A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108073491B (en) * | 2017-12-28 | 2022-04-19 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN109213667A (en) * | 2018-09-17 | 2019-01-15 | 广东小天才科技有限公司 | Exception handling method of Android system and electronic equipment |
CN109213667B (en) * | 2018-09-17 | 2022-07-26 | 广东小天才科技有限公司 | Exception handling method of Android system and electronic equipment |
CN110223616A (en) * | 2019-04-26 | 2019-09-10 | 深圳康佳电子科技有限公司 | A kind of intelligent terminal display screen detection method, intelligent terminal and storage medium |
CN113176984A (en) * | 2021-04-16 | 2021-07-27 | 深圳市智微智能科技股份有限公司 | Broadcast box alarm control method, device and equipment based on android and storage medium |
CN114500502A (en) * | 2022-01-11 | 2022-05-13 | 武汉格罗夫氢能汽车有限公司 | Remote transmission method of vehicle-mounted T-box data |
Also Published As
Publication number | Publication date |
---|---|
CN107341013B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106572302B (en) | A kind of image information processing method and equipment | |
CN104778395B (en) | terminal control method and device | |
CN107341013A (en) | One kind start fault handling method, equipment and computer-readable recording medium | |
CN104898959B (en) | A kind of method and apparatus for adjusting virtual push button position | |
CN104850799B (en) | The method and mobile terminal of a kind of data in hiding mobile terminal | |
CN104850343B (en) | Start the method and apparatus of one-hand operating format | |
CN104965665B (en) | A kind of information processing method and device, terminal | |
CN105897995B (en) | A kind of method and apparatus for adding contact information | |
CN105760057A (en) | Screenshot device and method | |
KR20090060622A (en) | Portable terminal and method for operating thereof | |
CN106844033A (en) | One kind application quick start method and terminal | |
CN105263195B (en) | Data transmission device and method | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN106803860A (en) | The storage processing method and device of a kind of terminal applies | |
CN105100412A (en) | Method and device for eliminating terminal data | |
CN106021029A (en) | Backup-recovery device and method of NV parameters | |
CN109040370A (en) | A kind of fingerprint identification method, terminal and computer readable storage medium | |
CN105224647A (en) | Image display method and device | |
CN106445830A (en) | Application program running environment detection method and mobile terminal | |
CN106412328B (en) | A kind of method and apparatus obtaining field feedback | |
CN105549986B (en) | Device and method are fast arranged in system service | |
CN105573916A (en) | Fault detection method and mobile terminal | |
CN104735259B (en) | Mobile terminal acquisition parameters method to set up, device and mobile terminal | |
CN106301846A (en) | WOL systematic analytic method and device | |
CN105740668A (en) | Terminal screen locking device and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |