CN109040436A - The method and apparatus that mobile terminal and its control are restarted - Google Patents

The method and apparatus that mobile terminal and its control are restarted Download PDF

Info

Publication number
CN109040436A
CN109040436A CN201810791388.XA CN201810791388A CN109040436A CN 109040436 A CN109040436 A CN 109040436A CN 201810791388 A CN201810791388 A CN 201810791388A CN 109040436 A CN109040436 A CN 109040436A
Authority
CN
China
Prior art keywords
mobile terminal
control
restarted
sound
screen
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.)
Pending
Application number
CN201810791388.XA
Other languages
Chinese (zh)
Inventor
吕云飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201810791388.XA priority Critical patent/CN109040436A/en
Publication of CN109040436A publication Critical patent/CN109040436A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Abstract

A kind of mobile terminal is provided in the present invention and its method and apparatus that control is restarted, comprising: detect that mobile terminal is in and go out under screen state, judge whether in crash state;If so, control mobile terminal is restarted automatically, and in the reboot process, controls the mobile terminal and keep go out screen and control closing booting sound.The method and apparatus that mobile terminal provided in the present invention and its control are restarted, under mobile terminal crash state, unaware carries out restarting for system, avoids influencing user experience.

Description

The method and apparatus that mobile terminal and its control are restarted
Technical field
The present invention relates to terminal device technical field, in particular to a kind of mobile terminal and its method restarted of control and dress It sets.
Background technique
Currently, the mobile terminals such as mobile phone, plate are in use, system in case of system halt, nothing may be caused due to various reasons Method uses, and for users, use is quite inconvenient.In general, mobile terminal can solve the problems, such as crash after restarting, still, Existing restarting process but always allows user to feel worried, and user experience is bad.
Summary of the invention
The main object of the present invention is to provide a kind of mobile terminal and its method and apparatus that control is restarted, in mobile terminal Under crash state, unaware carries out restarting for system, avoids influencing user experience.
The present invention proposes a kind of method for controlling and restarting, comprising the following steps:
It detects that mobile terminal is in go out under screen state, judge whether in crash state;
If so, control mobile terminal is restarted automatically, and in the reboot process, control the mobile terminal holding go out screen with And booting sound is closed in control.
Further, screen is gone out in the holding of the control mobile terminal and the step of restarting sound is closed in control, comprising:
The process of the system of mobile terminal pull-up starting-up interface when restarting is blocked, and blocks the system pull-up The process of booting sound.
Further, the step of sound is restarted in the control closing, comprising:
The mobile terminal is switched into mute state;
It is described to be restarted automatically if so, controlling mobile terminal, and in the reboot process, it controls the mobile terminal holding and goes out Screen and control were closed after the step of booting sound, comprising:
After detecting the mobile terminal-opening, the mute state is closed.
Further, described to be restarted automatically if so, controlling mobile terminal, and in the reboot process, control the movement Terminal was kept after the step of going out screen and controlling closing booting sound, comprising:
After detecting the mobile terminal-opening, restarts the mobile terminal and enter what crash state was run before Application program.
Further, before the step of control mobile terminal is restarted automatically, comprising:
The operating status applied on the mobile terminal is obtained, and records the operating status of the application;Wherein, described to answer Operating status includes at least the hardware resource occupied information of the application.
The present invention also provides a kind of devices for controlling and restarting, comprising:
Judging unit goes out under screen state for detecting that mobile terminal is in, judges whether in crash state;
Control unit for being restarted automatically if so, controlling mobile terminal, and in the reboot process, controls the movement Terminal keeps go out screen and control closing booting sound.
Further, described control unit controls the mobile terminal and keeps go out screen and control closing booting sound, tool Body includes:
The process of the system of mobile terminal pull-up starting-up interface when restarting is blocked, and blocks the system pull-up The process of booting sound.
Further, described control unit control, which is closed, restarts sound, specifically includes:
The mobile terminal is switched into mute state;
Described device further include:
Closing unit closes the mute state after detecting the mobile terminal-opening.
Further, further includes:
Start unit restarts the mobile terminal and enters crash after detecting the mobile terminal-opening The application program run before state.
Further, further includes:
Recording unit for obtaining the operating status applied on the mobile terminal, and records the operation shape of the application State;Wherein, the operating status of the application includes at least the hardware resource occupied information of the application.
The present invention also provides a kind of mobile terminals, including processor and memory;
The memory is used to store the device for supporting control to restart and executes the side described in any of the above embodiments for controlling and restarting The program of method;
The processor is configured to for executing the program stored in the memory.
The present invention provides a kind of computer storage mediums, for being stored as calculating used in the device that above-mentioned control is restarted Machine software instruction, it includes be to control program designed by the device restarted for executing above-mentioned aspect.
The method and apparatus that mobile terminal provided in the present invention and its control are restarted, have the advantages that
The method and apparatus that mobile terminal provided in the present invention and its control are restarted detect that mobile terminal is in the screen that goes out Under state, judge whether in crash state;If so, control mobile terminal is restarted automatically, and in the reboot process, control institute It states mobile terminal and keeps go out screen and control closing booting sound.Under mobile terminal crash state, unaware carries out system Restart, avoids influencing user experience.
Detailed description of the invention
Fig. 1 is that the method and step schematic diagram restarted is controlled in one embodiment of the invention;
Fig. 2 is that the apparatus structure block diagram restarted is controlled in one embodiment of the invention;
Fig. 3 is the mobile terminal structure block diagram in the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific 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.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " " above-mentioned " and "the" may also comprise plural form.It is to be further understood that making in specification of the invention Wording " comprising " refers to that there are the feature, integer, step, operation, element, unit, module and/or components, but simultaneously Do not preclude the presence or addition of other one or more features, integer, step, operation, element, unit, module, component and/or it Group.It should be understood that when we say that an element is " connected " or " coupled " to another element, it can be directly connected to or couple To other elements, or there may also be intermediary elements.In addition, " connection " used herein or " coupling " may include wirelessly connecting It connects or wirelessly couples.Wording "and/or" used herein includes one or more associated listing the whole or any of item Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Referring to Fig.1, a kind of method for controlling and restarting is proposed in one embodiment of the invention, comprising the following steps:
Step S1 detects that mobile terminal is in and goes out under screen state, judges whether in crash state;
Step S2 controls the mobile terminal and protects if so, control mobile terminal is restarted automatically, and in the reboot process Hold go out screen and control closing booting sound.
In the present embodiment, above-mentioned mobile terminal includes the terminal devices such as mobile phone, plate, and the method that above-mentioned control is restarted is answered In the scene to crash under screen state of going out for mobile terminal.Currently, need to carry out reboot operation when mobile terminal crashes, and Reboot operation would generally cause to perplex to user.
In the present embodiment, judge whether the screen of above-mentioned mobile terminal is in screen state of going out, if detecting mobile terminal It is currently at and goes out when shielding state, as described in above-mentioned steps S1, judge whether current mobile terminal is in crash state, if not locating In crash state, then can be not processed.Currently, be usually to be not processed when above-mentioned mobile terminal is in and crashes, Huo Zheyou User carries out forcing to restart to above-mentioned mobile terminal, so that above-mentioned mobile terminal restores normal.And in the present embodiment, if inspection When measuring above-mentioned mobile terminal and being in crash state, then the automatic control mobile terminal as described in above-mentioned steps S2 is restarted automatically, Above-mentioned mobile terminal can be then made to restore to operate normally after restarting.Further, in order in the reboot process not to user It interferes, in the reboot process, controls the mobile terminal and keep go out screen and control closing booting sound.It is i.e. above-mentioned to restart Mobile terminal persistently keeps the screen that goes out in the process, and without any sound, in this way can be in the case where user's unaware to movement Terminal is restarted.And often whether user once restarted it what is required is simply that mobile terminal can operate normally, it is right It is not then critically important for user;Moreover, taking the mobile phone as an example, after mobile phone is restarted, compared to before restarting, would generally transport Row more process.Therefore, it in the present embodiment, goes out and shields under crash state, unaware restarts mobile terminal, does not affect not only User, and running of mobile terminal can be made more smooth, while user oneself can also be avoided to go actively to force to restart movement Terminal is to solve the problems, such as the troublesome operation of crash.
Preferably, in one embodiment, above-mentioned mobile terminal after restarting, can be generated one and restart prompting message, Now in the display page of mobile terminal;It is above-mentioned restart in prompting message may include the reason of being restarted automatically (as crashed), from The information such as the dynamic time restarted, in order to user from it is above-mentioned restart the history shape of oneself terminal device is got in prompting message State.
In one embodiment, screen is gone out in the holding of the above-mentioned control mobile terminal and the step of restarting sound is closed in control S2, comprising:
Step S21 blocks the process of the system of mobile terminal pull-up starting-up interface when restarting, and described in blocking The process of system pull-up booting sound.
Mobile terminal restart or start process in, all can pull-up starting-up interface process and pull-up booting sound Process in the display screen display starting-up interface of terminal, while playing booting sound on mobile terminals.And in order to avoid upper Booting sound and starting-up interface are stated to interference caused by user security risk, in the present embodiment, the system for blocking the mobile terminal exists The process of pull-up starting-up interface when restarting, and block the process of the system pull-up booting sound, then it can make above-mentioned heavy The process of opening will not play any sound, and will not pull-up starting-up interface cause bright screen.
In another embodiment, the step of sound is restarted in above-mentioned control closing, comprising:
A, the mobile terminal is switched into mute state;When being mute by mobile terminal condition, although booting sound Process can be pulled up, but due to being in mute state, then the sound that is switched on can not equally play back, will not to user into Row interference.
It is described to be restarted automatically if so, controlling mobile terminal, and in the reboot process, it controls the mobile terminal holding and goes out Screen and control are closed after the step S2 of booting sound, comprising:
B, after detecting the mobile terminal-opening, the mute state is closed.
In the present embodiment, in order to enable above-mentioned mobile terminal can operate normally after restarting, then needing will be above-mentioned The mute state switched in the reboot process is closed, so that being capable of normal play sound after restarting.
Preferably, in one embodiment, the above-mentioned control mobile terminal keep the going out process of screen is also possible to: will be described The brightness of display screen of mobile terminal is adjusted to minimum, completes restarting and then screen intensity is adjusted to normal condition.Exist When brightness of display screen is adjusted to minimum, the process of the starting-up interface of above-mentioned mobile terminal can be pulled up, but due to display screen Brightness be adjusted to minimum, then can not show above-mentioned starting-up interface, user will not be interfered.
In one embodiment, above-mentioned to be restarted automatically if so, controlling mobile terminal, and in the reboot process, described in control Mobile terminal keeps going out screen and controlling closing being switched on after the step S2 of sound, comprising:
After detecting the mobile terminal-opening, restarts the mobile terminal and enter what crash state was run before Application program.
In the present embodiment, in order to further allow the above-mentioned restarting process of user's unaware, after mobile terminal-opening, It restarts the mobile terminal and enters the application program run before crash state;When user unlocks in use, then can be straight It connects using above-mentioned application program, user can almost restart without perceiving above-mentioned mobile terminal, but can be with body It is more smooth to test operation, for users, experience is good.Preferably, it is above-mentioned restart application program during, may be used also To be all to be set to above-mentioned application program and the state before crash state;For example, some application program is in front end before crashing Operation, then after restarting, still operated in front end, making the above-mentioned application program of user's unaware is after mobile terminal is restarted Restarting.
In one embodiment, before the step S2 that above-mentioned control mobile terminal is restarted automatically, comprising:
Step S101 obtains the operating status applied on the mobile terminal, and records the operating status of the application;Its In, the operating status of the application includes at least the hardware resource occupied information of the application.
In the present embodiment, it before controlling above-mentioned mobile terminal and being restarted automatically, will first run in current mobile terminal The operating status of application record, which includes at least the hardware resource occupied information of the application, convenient for from Analyze in its hardware asset information occupied is because which is applied so that mobile terminal is in crash state.Restarting it Afterwards, then the application program can be cleared up, it is avoided to again result in mobile terminal crash;Either after restarting, just no longer heavy Newly start the application program.
In one embodiment, before the step S2 that above-mentioned control mobile terminal is restarted automatically, comprising:
The hardware operating status of the mobile terminal is recorded, the hardware operating status includes the resource occupation of each hardware Information.Above- mentioned information are recorded, convenient for analyzing the reason of above-mentioned mobile terminal crashes after restarting, e.g. CPU was occupied High or low memory causes system crash etc..
In one embodiment, above-mentioned to be restarted automatically if so, controlling mobile terminal, and in the reboot process, described in control Mobile terminal keeps going out screen and controlling closing being switched on before the step S2 of sound, further includes:
Step S102 obtains the time that the mobile terminal is in crash state, and judges whether the time reaches threshold Value.
In the present embodiment, since mobile terminal may be of short duration in collapse, crash state, in a period of time It may restore normal afterwards, therefore, the threshold value of a dead time can be preset, when dead time is more than the threshold value, then Show that mobile terminal can not restore normally, to be restarted at this time;If dead time is also not up to threshold value, shifting may indicate that Dynamic terminal is it is also possible to restore normal;It, can be without restarting if restoring normal.
In one embodiment, above-mentioned to be restarted automatically if so, controlling mobile terminal, and in the reboot process, described in control Mobile terminal keeps going out screen and controlling closing being switched on after the step S2 of sound, further includes:
Step S201 when receiving the unlock instruction of user, controls the bright screen of the mobile terminal and shows in the reboot process Show default picture.
In the present embodiment, when above-mentioned mobile terminal is being restarted, user wants to use mobile terminal, and user's triggering is corresponding Unlock instruction (such as pressing fingerprint sensor etc.), then can receive the unlock instruction of user, if being also to maintain shifting at this time Dynamic terminal screen goes out screen, then is easy that user is allowed to think that the mobile terminal failure of oneself cannot be started up, in order to avoid this feelings Condition then can control the bright screen of mobile terminal, and show default picture on the screen of the mobile terminal, such as show in picture Prompting messages such as " are being switched on/restarting, please wait ".
In one embodiment, above-mentioned to be restarted automatically if so, controlling mobile terminal, and in the reboot process, described in control Mobile terminal keeps going out screen and controlling closing being switched on before the step S2 of sound, can also include:
Step S2a judges whether to receive the touching instruction that triggering is restarted if being in crash state.
In the present embodiment, when above-mentioned mobile terminal is in crash state, user can not make the bright screen of mobile terminal at this time, then Specific touch track can be slided/touched on the screen of the mobile terminal, which corresponds to trigger above-mentioned mobile whole Hold the touching instruction restarted;It crashes and screen state of going out when above-mentioned mobile terminal is in, and judge that user triggers on the screen is When corresponding touching instruction, then controls above-mentioned mobile terminal and be restarted automatically.
In conclusion the method that the control to provide in the embodiment of the present invention is restarted, detects that mobile terminal is in the screen that goes out Under state, judge whether in crash state;If so, control mobile terminal is restarted automatically, and in the reboot process, control institute It states mobile terminal and keeps go out screen and control closing booting sound.Under mobile terminal crash state, unaware carries out system Restart, avoids influencing user experience.
Referring to Fig. 2, a kind of device for controlling and restarting is additionally provided in one embodiment of the invention, comprising:
Judging unit 10 goes out under screen state for detecting that mobile terminal is in, judges whether in crash state;
Control unit 20 for being restarted automatically if so, controlling mobile terminal, and in the reboot process, controls the shifting Dynamic terminal keeps go out screen and control closing booting sound.
In the present embodiment, above-mentioned mobile terminal includes the terminal devices such as mobile phone, plate, and the device that above-mentioned control is restarted is answered In the scene to crash under screen state of going out for mobile terminal.Currently, need to carry out reboot operation when mobile terminal crashes, and Reboot operation would generally cause to perplex to user.
In the present embodiment, judge whether the screen of above-mentioned mobile terminal is in screen state of going out, if detecting mobile terminal It is currently at and goes out when shielding state, as described in above-mentioned judging unit 10, judge whether current mobile terminal is in crash state, if It is not in crash state, then can be not processed.Currently, when above-mentioned mobile terminal be in crash when, be usually be not processed, or Person is carried out forcing to restart by user to above-mentioned mobile terminal, so that above-mentioned mobile terminal restores normal.And in the present embodiment, If detect that above-mentioned mobile terminal is in crash state, as described in above-mentioned control unit 20, mobile terminal is automatically controlled It is restarted automatically, above-mentioned mobile terminal can then be made to restore to operate normally after restarting.Further, in order in the reboot process User is not interfered, in the reboot process, controls the mobile terminal and keep go out screen and control closing booting sound.I.e. Mobile terminal persistently keeps the screen that goes out in above-mentioned restarting process, and without any sound, in this way can be user's unaware the case where Under mobile terminal is restarted.And often user is what is required is simply that once whether mobile terminal can operate normally, for it Restarted, and was not then critically important for users;Moreover, take the mobile phone as an example, after mobile phone is restarted, compared to before restarting, It would generally run more process.Therefore, it in the present embodiment, goes out and shields under crash state, unaware restarts mobile terminal, not only User is not affected, and running of mobile terminal can be made more smooth, while it is actively strong that user oneself can also be avoided to go System restarts mobile terminal to solve the problems, such as the troublesome operation of crash.
Preferably, in one embodiment, above-mentioned mobile terminal after restarting, can be generated one and restart prompting message, Now in the display page of mobile terminal;It is above-mentioned restart in prompting message may include the reason of being restarted automatically (as crashed), from The information such as the dynamic time restarted, in order to user from it is above-mentioned restart the history shape of oneself terminal device is got in prompting message State.
In one embodiment, above-mentioned control unit 20 controls the mobile terminal and keeps go out screen and control closing booting sound Sound specifically includes:
The process of the system of mobile terminal pull-up starting-up interface when restarting is blocked, and blocks the system pull-up The process of booting sound.
Mobile terminal restart or start process in, all can pull-up starting-up interface process and pull-up booting sound Process in the display screen display starting-up interface of terminal, while playing booting sound on mobile terminals.And in order to avoid upper Booting sound and starting-up interface are stated to interference caused by user security risk, in the present embodiment, control unit 20 blocks described mobile whole The process of the system at end pull-up starting-up interface when restarting, and block the process of system pull-up booting sound, then can be with So that above-mentioned restarting process will not play any sound, and will not pull-up starting-up interface cause bright screen.
In one embodiment, the above-mentioned control of control unit 20, which is closed, restarts sound, specifically includes:
The mobile terminal is switched into mute state;When being mute by mobile terminal condition, although booting sound Process can be pulled up, but due to being in mute state, then the sound that is switched on can not equally be played back, will not be carried out to user Interference.
In the present embodiment, the device that above-mentioned control is restarted further include:
Closing unit closes the mute state after detecting the mobile terminal-opening.
In the present embodiment, in order to enable above-mentioned mobile terminal can operate normally after restarting, then closing unit will The above-mentioned mute state switched in the reboot process is closed, so that being capable of normal play sound after restarting.
Preferably, in one embodiment, the above-mentioned control mobile terminal keep the going out process of screen is also possible to: will be described The brightness of display screen of mobile terminal is adjusted to minimum, completes restarting and then screen intensity is adjusted to normal condition.Exist When brightness of display screen is adjusted to minimum, the process of the starting-up interface of above-mentioned mobile terminal can be pulled up, but due to display screen Brightness be adjusted to minimum, then can not show above-mentioned starting-up interface, user will not be interfered.
In one embodiment, the device that above-mentioned control is restarted further include:
Start unit restarts the mobile terminal and enters crash after detecting the mobile terminal-opening The application program run before state.
In the present embodiment, in order to further allow the above-mentioned restarting process of user's unaware, after mobile terminal-opening, Start unit restarts the mobile terminal and enters the application program run before crash state;When user unlock in use, Above-mentioned application program then can be directly used, user can almost restart without perceiving above-mentioned mobile terminal, still But it is more smooth that operation can be experienced, for users, experience is good.Preferably, the above-mentioned mistake for restarting application program Cheng Zhong can also be and be set to above-mentioned application program and the state before crash state;For example, some application program before crashing It is run in front end, then after restarting, is still operated in front end, making the above-mentioned application program of user's unaware is mobile terminal It is restarted after restarting.
In one embodiment, the device that above-mentioned control is restarted further include:
Recording unit for obtaining the operating status applied on the mobile terminal, and records the operation shape of the application State;Wherein, the operating status of the application includes at least the hardware resource occupied information of the application.
In the present embodiment, before controlling above-mentioned mobile terminal and being restarted automatically, recording unit is first by current mobile terminal On recorded in the operating status of the application of operation, the hardware resource which includes at least the application occupies letter Breath is because which is applied so that mobile terminal is in crash state convenient for analyzing from the hardware asset information that it is occupied. After restarting, then the application program can be cleared up, it is avoided to again result in mobile terminal crash;Either after restarting, Just the application program is no longer restarted.
In one embodiment, above-mentioned recording unit is also used to:
The hardware operating status of the mobile terminal is recorded, the hardware operating status includes the resource occupation of each hardware Information.Above- mentioned information are recorded, convenient for analyzing the reason of above-mentioned mobile terminal crashes after restarting, e.g. CPU was occupied High or low memory causes system crash etc..
In another embodiment, the device that above-mentioned control is restarted further include:
Acquiring unit, the time for being in crash state for obtaining the mobile terminal, and judge whether the time reaches To threshold value.
In the present embodiment, since mobile terminal may be of short duration in collapse, crash state, in a period of time It may restore normal afterwards, therefore, the threshold value of a dead time can be preset, when dead time is more than the threshold value, then Show that mobile terminal can not restore normally, to be restarted at this time;If dead time is also not up to threshold value, shifting may indicate that Dynamic terminal is it is also possible to restore normal;It, can be without restarting if restoring normal.
In another embodiment, the device that above-mentioned control is restarted further include:
Display unit, in the reboot process, when receiving the unlock instruction of user, controlling the bright screen of the mobile terminal And show default picture.
In the present embodiment, when above-mentioned mobile terminal is being restarted, user wants to use mobile terminal, and user's triggering is corresponding Unlock instruction (such as pressing fingerprint sensor etc.), then can receive the unlock instruction of user, if being also to maintain shifting at this time Dynamic terminal screen goes out screen, then is easy that user is allowed to think that the mobile terminal failure of oneself cannot be started up, in order to avoid this feelings Condition then can control the bright screen of mobile terminal, and show default picture on the screen of the mobile terminal, such as show in picture Prompting messages such as " are being switched on/restarting, please wait ".
In one embodiment, the device that above-mentioned control is restarted further include:
Trigger unit, if judging whether to receive the touching instruction that triggering is restarted for being in crash state.
In the present embodiment, when above-mentioned mobile terminal is in crash state, user can not make the bright screen of mobile terminal at this time, then Specific touch track can be slided/touched on the screen of the mobile terminal, which corresponds to trigger above-mentioned mobile whole Hold the touching instruction restarted;It crashes and screen state of going out when above-mentioned mobile terminal is in, and judge that user triggers on the screen is When corresponding touching instruction, then controls above-mentioned mobile terminal and be restarted automatically.
In conclusion the method and apparatus that the control to provide in the embodiment of the present invention is restarted, detect at mobile terminal Under screen state of going out, judge whether in crash state;If so, control mobile terminal is restarted automatically, and in the reboot process, It controls the mobile terminal and keeps go out screen and control closing booting sound.Under mobile terminal crash state, unaware is carried out System is restarted, and avoids influencing user experience.
The embodiment of the invention also provides a kind of mobile terminals, as shown in figure 3, for ease of description, illustrating only and this The relevant part of inventive embodiments, it is disclosed by specific technical details, please refer to present invention method part.The terminal can Think including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point Of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, taking the terminal as an example:
Fig. 3 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 3 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 110, memory 120, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 170, processor 180, And the equal components of power supply 190.It will be understood by those skilled in the art that handset structure shown in Fig. 3 is not constituted to mobile phone It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 3 to mobile phone:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit 110 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 120 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 120 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 130 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 130 may include that touch panel 131 and other inputs are set Standby 132.Touch panel 131, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 131 or near touch panel 131), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 131 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 180, and can receive order that processor 180 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 131.In addition to touch panel 131, input Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 141.Further, touch panel 131 can cover display panel 141, when touch panel 131 detect it is on it or attached After close touch operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to touch event Type corresponding visual output is provided on display panel 141.Although in Fig. 3, touch panel 131 and display panel 141 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 131 and display panel 141 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 141, proximity sensor can close display panel 141 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by road 160 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is turned after being received by voicefrequency circuit 160 It is changed to audio data, then by after the processing of audio data output processor 180, such as another mobile phone is sent to through RF circuit 110, Or audio data is exported to memory 120 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 170 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 180 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 120, and call and be stored in memory 120 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 180 can wrap Include one or more processing units;Preferably, processor 180 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile phone further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 180 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
Referring to Fig. 3, in embodiments of the present invention, processor 180 included by the mobile terminal is also with the following functions:
It detects that mobile terminal is in go out under screen state, judge whether in crash state;
If so, control mobile terminal is restarted automatically, and in the reboot process, control the mobile terminal holding go out screen with And booting sound is closed in control.
The memory 120 is used to store the device that control is restarted and executes the method that control is restarted described in above-described embodiment Program;
The processor 180 is configurable for executing the program stored in the memory 120.
It is apparent to those skilled in the art that for convenience and simplicity of description, the terminal of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
It will be understood by those skilled in the art that the present invention includes being related to for executing one in operation described herein Or multinomial equipment.These equipment can specially design and manufacture for required purpose, or also may include general-purpose computations Known device in machine.These equipment have the computer program being stored in it, these computer programs selectively activate Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) readable medium or be stored in, to be suitable for Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage Device), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, readable Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of control the method restarted, which comprises the following steps:
It detects that mobile terminal is in go out under screen state, judge whether in crash state;
If so, control mobile terminal is restarted automatically, and in the reboot process, controls the mobile terminal and keep go out screen and control System closes booting sound.
2. according to claim 1 control the method restarted, which is characterized in that the control mobile terminal holding is gone out The step of restarting sound, is closed in screen and control, comprising:
The process of the system of mobile terminal pull-up starting-up interface when restarting is blocked, and blocks the system pull-up booting The process of sound.
3. according to claim 1 control the method restarted, which is characterized in that the step for restarting sound is closed in the control Suddenly, comprising:
The mobile terminal is switched into mute state;
It is described if so, control mobile terminal is restarted automatically, and in the reboot process, control the mobile terminal holding go out screen with And control was closed after the step of booting sound, comprising:
After detecting the mobile terminal-opening, the mute state is closed.
4. according to claim 1 control the method restarted, which is characterized in that described if so, controlling mobile terminal certainly It is dynamic to restart, and in the reboot process, it controls the mobile terminal and keeps after going out screen and controlling the step of closing booting sound, Include:
After detecting the mobile terminal-opening, restarts the mobile terminal and enter the application run before crash state Program.
5. according to claim 1 control the method restarted, which is characterized in that the control mobile terminal was restarted automatically Before step, comprising:
The operating status applied on the mobile terminal is obtained, and records the operating status of the application;Wherein, the application Operating status includes at least the hardware resource occupied information of the application.
6. a kind of control the device restarted characterized by comprising
Judging unit goes out under screen state for detecting that mobile terminal is in, judges whether in crash state;
Control unit for being restarted automatically if so, controlling mobile terminal, and in the reboot process, controls the mobile terminal Holding go out screen and control close booting sound.
7. according to claim 6 control the device restarted, which is characterized in that described control unit control is described mobile whole End keeps go out screen and control closing booting sound, specifically includes:
The process of the system of mobile terminal pull-up starting-up interface when restarting is blocked, and blocks the system pull-up booting The process of sound.
8. according to claim 6 control the device restarted, which is characterized in that described control unit control, which is closed, restarts sound Sound specifically includes:
The mobile terminal is switched into mute state;
Described device further include:
Closing unit closes the mute state after detecting the mobile terminal-opening.
9. according to claim 6 control the device restarted, which is characterized in that further include:
Start unit restarts the mobile terminal and enters crash state after detecting the mobile terminal-opening The application program run before.
10. a kind of mobile terminal, which is characterized in that including processor and memory;
The memory is used to store control of the device execution for supporting control to restart as described in any one of claims 1 to 5 The program for the method restarted;
The processor is configured to for executing the program stored in the memory.
CN201810791388.XA 2018-07-18 2018-07-18 The method and apparatus that mobile terminal and its control are restarted Pending CN109040436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810791388.XA CN109040436A (en) 2018-07-18 2018-07-18 The method and apparatus that mobile terminal and its control are restarted

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810791388.XA CN109040436A (en) 2018-07-18 2018-07-18 The method and apparatus that mobile terminal and its control are restarted

Publications (1)

Publication Number Publication Date
CN109040436A true CN109040436A (en) 2018-12-18

Family

ID=64643338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810791388.XA Pending CN109040436A (en) 2018-07-18 2018-07-18 The method and apparatus that mobile terminal and its control are restarted

Country Status (1)

Country Link
CN (1) CN109040436A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment
CN110413326A (en) * 2019-07-10 2019-11-05 珠海荣邦智能科技有限公司 Operating system control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8156084B2 (en) * 2008-01-17 2012-04-10 International Business Machines Corporation Transfer of data from positional data sources to partitioned databases in restartable environments
CN102855160A (en) * 2012-08-22 2013-01-02 北京奇虎科技有限公司 Method, device and system for software repair
CN103297600A (en) * 2012-03-01 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for automatically rebooting system of mobile terminal
CN104461762A (en) * 2014-12-11 2015-03-25 山东超越数控电子有限公司 Automatic restart method for a halted device
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN105117239A (en) * 2015-07-24 2015-12-02 上海修源网络科技有限公司 Operating system reboot method and apparatus
CN105786657A (en) * 2016-03-25 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Terminal halting processing method and terminal
CN105843642A (en) * 2016-03-21 2016-08-10 青岛海信移动通信技术股份有限公司 Upgrading method of terminal, terminal upgrading control method, terminal and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8156084B2 (en) * 2008-01-17 2012-04-10 International Business Machines Corporation Transfer of data from positional data sources to partitioned databases in restartable environments
CN103297600A (en) * 2012-03-01 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for automatically rebooting system of mobile terminal
CN102855160A (en) * 2012-08-22 2013-01-02 北京奇虎科技有限公司 Method, device and system for software repair
CN104461762A (en) * 2014-12-11 2015-03-25 山东超越数控电子有限公司 Automatic restart method for a halted device
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN105117239A (en) * 2015-07-24 2015-12-02 上海修源网络科技有限公司 Operating system reboot method and apparatus
CN105843642A (en) * 2016-03-21 2016-08-10 青岛海信移动通信技术股份有限公司 Upgrading method of terminal, terminal upgrading control method, terminal and server
CN105786657A (en) * 2016-03-25 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Terminal halting processing method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment
CN110413326A (en) * 2019-07-10 2019-11-05 珠海荣邦智能科技有限公司 Operating system control method and device

Similar Documents

Publication Publication Date Title
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN106293901B (en) Process management method and device for terminal application
CN108681498B (en) CPU occupancy rate monitoring method and device and mobile terminal
CN104516812A (en) Method and device for testing software
WO2015035835A1 (en) Method and apparatus for detecting application program
CN106293375B (en) A kind of method for changing scenes and equipment
CN107465841B (en) Fault information reporting method and terminal
CN104423822B (en) Record the method and device of automatic test script
CN106502681B (en) A kind of register method of sensor, device and mobile terminal
CN109068378A (en) The method, apparatus of mobile terminal and control mobile terminal breath screen
CN103366104A (en) Method and device for controlling accessing of application
US10320730B2 (en) Method and device for displaying message
CN107817988A (en) The management method and Related product of PUSH message
CN103150248A (en) Method and device for measuring and calculating startup time consumption
CN110069407B (en) Function test method and device for application program
CN106708555B (en) A kind of method and apparatus loading plug-in unit
CN109040436A (en) The method and apparatus that mobile terminal and its control are restarted
CN104751333B (en) A kind of method, apparatus and system of information exchange
CN106527846A (en) Displaying method, displaying device and terminal equipment
CN107066860B (en) A kind of fingerprint identification method and mobile terminal
CN107993300A (en) A kind of Work attendance method and device based on intelligent terminal
CN111177612A (en) Method and related device for authenticating page login
CN106371948B (en) A kind of data back up method and terminal device
CN109309659A (en) Mobile terminal and its method and apparatus for logging in application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication