CN107463419A - Using method for restarting, device and computer-readable recording medium - Google Patents

Using method for restarting, device and computer-readable recording medium Download PDF

Info

Publication number
CN107463419A
CN107463419A CN201710857525.0A CN201710857525A CN107463419A CN 107463419 A CN107463419 A CN 107463419A CN 201710857525 A CN201710857525 A CN 201710857525A CN 107463419 A CN107463419 A CN 107463419A
Authority
CN
China
Prior art keywords
application
interval duration
intended application
restart
memory space
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
Application number
CN201710857525.0A
Other languages
Chinese (zh)
Other versions
CN107463419B (en
Inventor
修平
李加将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710857525.0A priority Critical patent/CN107463419B/en
Publication of CN107463419A publication Critical patent/CN107463419A/en
Application granted granted Critical
Publication of CN107463419B publication Critical patent/CN107463419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses one kind to apply method for restarting, device and computer-readable recording medium, belongs to field of terminal technology.Methods described includes:When detecting that intended application exits extremely, interval duration is restarted based on intended application described in the information inquiry stored in default memory space;Wherein, the intended application is any application of installation, and the default memory space is used to store being set in advance for the application installed and can indicate to restart the information of interval duration;When inquire the intended application restart interval duration when, it is described restart interval duration after, restart the intended application.The present invention is after intended application exits extremely, when interval duration is restarted corresponding to can inquire, can be after interval duration be restarted, that is applied restarts, it is a length of in advance for intended application setting during due to restarting interval, it is therefore not necessary to calculate this according to the number of restarting of application and restart interval duration, improve using the efficiency and user's viscosity restarted.

Description

Using method for restarting, device and computer-readable recording medium
Technical field
It is more particularly to a kind of to apply method for restarting, device and computer-readable storage the present invention relates to field of terminal technology Medium.
Background technology
As the application installed in terminal is more and more, some problems are also following, wherein, terminal should in operational objective Because of some reasons during, the problem of causing intended application to exit extremely, is relatively conventional.Such as the maloperation of user, cause Terminal is cleared up the operation process for the intended application currently run by the cleaning application of installation, so as to cause intended application Exception exits, or, terminal abnormal collapse causes intended application to exit extremely.In this case, user may also need to Terminal continues to run with the intended application, and therefore, terminal needs to restart the intended application after intended application exits extremely.
At present, terminal is after intended application exits extremely, it is thus necessary to determine that restart interval duration, and it is base to restart interval duration In restart first interval duration, it is current restart number and reboot time multiple determines, that is to say, restart interval duration and be equal to head Secondary to restart interval duration and be multiplied by the Nth power of reboot time multiple, N restarts number and subtracts 1 to be current, so as to obtain between reboot time Every, and after interval duration is restarted, restart intended application.Such as after wechat is using abnormal exit, if the terminal determine that wechat Using to restart for the first time, and restart during interval a length of 2 seconds, then restart the wechat application after 2 seconds;If the terminal determine that wechat Using to restart for the third time, and reboot time multiple is 4, then will restart interval duration first and be multiplied by reboot time multiple 4 in 2 seconds 2 powers, it is determined that a length of 32 seconds when restarting interval.
But when intended application restart number it is more when, terminal determine restart interval duration will be larger, such as, it is micro- Letter the 5th is when restarting, terminal determine when restarting interval a length of 2 be multiplied by 44 powers, i.e. 1024s.Often restart once afterwards, all Need to multiply a reboot time multiple more, cause terminal quickly to restart intended application, restart so as to reduce intended application Efficiency.Meanwhile terminal wait intended application restart when, if intended application is instant messaging class application, may because etc. Treat that reboot time is long, have impact on the reception of instant message, so as to reduce user's viscosity.
The content of the invention
The embodiments of the invention provide one kind to apply method for restarting, device and computer-readable recording medium, can solve The problem of efficiency is low, and user's viscosity is low is restarted in application in the prior art, and the technical scheme is as follows:
First aspect, there is provided one kind applies method for restarting, and methods described includes:
, should based on target described in the information inquiry stored in default memory space when detecting that intended application exits extremely Restart interval duration;
Wherein, the intended application is any application of installation, and the default memory space is used to store is directed to peace in advance Dress is applied setting and can indicate to restart the information of interval duration;
When inquire the intended application restart interval duration when, it is described restart interval duration after, restart the mesh Mark application.
Alternatively, it is described based on when restarting interval of intended application described in the information inquiry stored in default memory space It is long, including:
When being stored with the application identities of the intended application in the default memory space, predetermined interval duration is set Restart interval duration for the intended application.
Alternatively, it is described based on when restarting interval of intended application described in the information inquiry stored in default memory space It is long, including:
Based on the application identities of the intended application, when the application identities stored from the default memory space and interval Interval duration corresponding to being searched in corresponding relation between length;
Corresponding to find during the duration of interval, the interval duration found is defined as between the restarting of the intended application Every duration.
Alternatively, it is described that interval duration is restarted based on intended application described in the information inquiry stored in default memory space Before, in addition to:
When receiving the first setting instruction, the application identities of the application of installation are shown;
When the selection operation of at least one application identities in receiving for the application identities of display, at least one by described in Individual application identities are stored into the default memory space.
Alternatively, it is described that interval duration is restarted based on intended application described in the information inquiry stored in default memory space Before, in addition to:
Receive second and instruction is set, between carrying the application identities of the intended application in the second setting instruction and restart Every duration;
By the application identities of the intended application, duration is corresponding stores into the default memory space with interval is restarted.
Alternatively, it is described that interval duration is restarted based on intended application described in the information inquiry stored in default memory space Before, in addition to:
The setting request that the reception server is sent, described set in request carry configuration information, taken in the configuration information With at least one application identities, or carry at least one application identities and corresponding at least one restart interval duration;
When the configuration information carry at least one application identities when, by least one application identities store to In the default memory space;
When the configuration information carry at least one application identities and it is corresponding it is described it is at least one restart interval when When long, by least one application identities and it is described it is at least one restart interval duration correspondingly store it is empty to the default storage Between in.
Second aspect, there is provided one kind applies rebooting device, and described device includes:
Enquiry module, for when detecting that intended application exits extremely, based on the information stored in default memory space That inquires about the intended application restarts interval duration;
Wherein, the intended application is any application of installation, and the default memory space is used to store is directed to peace in advance Dress is applied setting and can indicate to restart the information of interval duration;
Module is restarted, for when inquiring when restarting interval duration of the intended application, restarting interval duration described Afterwards, the intended application is restarted.
Alternatively, the enquiry module includes:
Submodule is set, for when being stored with the application identities of the intended application in the default memory space, inciting somebody to action What predetermined interval duration was arranged to the intended application restarts interval duration.
Alternatively, the enquiry module includes:
Submodule is searched, for the application identities based on the intended application, is stored from the default memory space Lookup is corresponding in corresponding relation between application identities and interval duration is spaced duration;
Determination sub-module, for when finding corresponding interval duration, the interval duration found being defined as described Intended application restarts interval duration.
Alternatively, described device also includes:
Display module, for when receiving the first setting instruction, showing the application identities of the application of installation;
First memory module, the selection behaviour at least one application identities in receiving for the application identities of display When making, at least one application identities are stored into the default memory space.
Alternatively, described device also includes:
First receiving module, instruction is set for receiving second, the intended application is carried in the second setting instruction Application identities and restart interval duration;
Second memory module, for duration to be corresponding stores to described with interval is restarted by the application identities of the intended application In default memory space.
Alternatively, described device also includes:
Second receiving module, the setting request sent for the reception server, described set in request carry configuration information, At least one application identities are carried in the configuration information, or carry at least one application identities and corresponding at least one It is individual to restart interval duration;
3rd memory module, for when the configuration information carry at least one application identities when, will described at least One application identities is stored into the default memory space;
4th memory module, for when the configuration information carry at least one application identities and it is corresponding it is described extremely Few one when restarting interval duration, by least one application identities and described at least one restart that interval duration is corresponding to be stored Into the default memory space.
The third aspect, there is provided a kind of computer-readable recording medium, the storage medium internal memory contain computer program, The computer program realizes any described method that above-mentioned first aspect provides when being executed by processor.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, should in target , can be based on restarting interval duration corresponding to the information inquiry stored in default memory space, when can look into after abnormal exit Ask it is corresponding restart interval duration when, can restart interval duration after, that is applied restarts, due to restarting interval duration For what is set in advance for intended application, it is therefore not necessary to calculate this according to the number of restarting of application and restart interval duration, improve Using the efficiency and user's viscosity restarted.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic diagram that system architecture is restarted in a kind of application provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram that a kind of application provided in an embodiment of the present invention is restarted;
Fig. 3 A be it is provided in an embodiment of the present invention the first apply rebooting device structural representation;
Fig. 3 B are the structural representations of the first enquiry module provided in an embodiment of the present invention;
Fig. 3 C are the structural representations of second of enquiry module provided in an embodiment of the present invention;
Fig. 3 D are the structural representations of second of application rebooting device provided in an embodiment of the present invention;
Fig. 3 E be it is provided in an embodiment of the present invention the third apply rebooting device structural representation;
Fig. 3 F are the structural representations of the 4th kind of application rebooting device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before detailed explanation is carried out to the embodiment of the present invention, the first name to being related in the embodiment of the present invention Word, application scenarios and system architecture are explained respectively.
First, to the present embodiments relate to application scenarios be introduced.
At present, most to apply after exiting extremely, terminal be able to should answer in restarting after interval duration is restarted With still, terminal is when it is determined that restart interval duration, and in correlation technique, terminal will can only first restart interval duration and be multiplied by weight Open the Nth power of time multiple.Because N is currently restarting number subtracts 1, therefore, when the number that application is restarted is more, terminal is restarted should Interval duration is longer, so as to cause terminal quickly to restart intended application, reduces the efficiency that intended application is restarted. Meanwhile if terminal when waiting instant messaging class application to restart, may have impact on and disappear immediately because waiting reboot time long The reception of breath, so as to reduce user's viscosity.
Based on such scene, can accelerate, using speed is restarted, to improve application weight the embodiments of the invention provide one kind Open the application method for restarting of efficiency and user's viscosity.
Next, to the present embodiments relate to system architecture be introduced.
Fig. 1 is the configuration diagram that system is restarted in a kind of application provided in an embodiment of the present invention, referring to Fig. 1, the system bag Include and restart interval configuration module 1, this is restarted interval configuration module 1 and is located at the AMS that the operating system of terminal installation includes In (applicationmanagement system, application management system), when AMS detects that intended application exits extremely, Restarting interval configuration module 1 can be based on the information inquiry intended application stored in default memory space when restarting interval It is long, when restarting interval duration of the intended application is inquired when restarting interval configuration module 1, AMS can restart interval duration Afterwards, the intended application is restarted.
It should be noted that the system can also include restarting interval calculation module 2, restarting interval configuration module 1 can be with It is connected with restarting interval calculation module 2, when restart that interval configuration module 1 do not inquire the intended application restarts interval duration When, restarting interval calculation module 2 can be based on restarting first interval duration, current restart number and reboot time multiple determines weight Open interval duration.
, next will be with reference to accompanying drawing to this after the application scenarios of the embodiment of the present invention and system architecture are introduced What inventive embodiments provided describes in detail using method for restarting.
Fig. 2 is a kind of flow chart using method for restarting provided in an embodiment of the present invention, and referring to Fig. 2, this method is included such as Lower step.
Step 201:When terminal detects that intended application exits extremely, looked into based on the information stored in default memory space That askes the intended application restarts interval duration.
Wherein, the intended application is any application of installation, and the default memory space is for storing in advance for installation Using setting and can indicate to restart the information of interval duration, the storage mode of the information can include various ways, such as, The information can be stored in the form of file or in the form of database.And the information stored in the default memory space The application identities of the application of terminal installation can be included, or including the corresponding relation between application identities and interval duration.
It should be noted that application identities are used for the unique mark intended application, and the application identities can should for target Title, version number etc..
Different contents can be included because this presets the information stored in memory space, therefore, terminal is based on default deposit The operation for restarting interval duration of the information inquiry intended application stored in storage space can include the following two kinds mode.
First way, when the information that this presets memory space includes the application identities of the application of terminal installation, explanation The interval duration of restarting of the application of terminal installation is probably identical, and now, terminal can be determined in the default memory space Whether the application identities of the intended application are stored with;The application identities of the intended application are stored with memory space when this is preset When, restart interval duration by what predetermined interval duration was arranged to the intended application.
Wherein, the predetermined interval duration can be set in advance, such as, the predetermined interval duration can be 5 seconds, 7 seconds etc..
For example when intended application is wechat application, the application identities of wechat application are " wechat ", and predetermined interval duration For 5 seconds when, if a terminal detects that when the wechat is using abnormal exit, terminal can determine whether deposited in the default memory space Contain the application identities " wechat " of wechat application;When this presets the application identities that the wechat is stored with memory space and is applied When " wechat ", by predetermined interval duration be arranged within 5 seconds the wechat application restart interval duration.
Further, the application identities of the application in being stored in the default memory space can be set in advance.It that is to say, eventually The information inquiry intended application that end group stores in default memory space restart interval duration before, first can also be received Instruction is set, and when receiving the first setting instruction, the application identities of the application of installation can be shown;Show when receiving to be directed to In the application identities shown during the selection operation of at least one application identities, at least one application identities can be stored pre- to this If in memory space.
For example if the application of terminal installation is applied for wechat application, short message and Video Applications, corresponding application identities are When " wechat ", " short message " and " video ", then when terminal receive the first setting instruction when, can show application identities " wechat ", " short message " and " video ";When the selection operation of " wechat " in receiving for the application identities of display, the application can be marked Knowledge " wechat ", which is stored to this, to be preset in memory space.
It should be noted that the first setting instruction is used to enter the application identities for presetting the application stored in memory space Row is set, and the first setting instruction can be triggered by user by assigned operation, and the assigned operation can be clicking operation, language Sound operation, slide etc..
In addition, the application identities of the application in being stored in the default memory space can not only be set through the above way Put, can also be configured by other means, such as, the setting that terminal can be sent with the reception server is asked, and the setting please Middle carrying configuration information is sought, at least one application identities are carried in the configuration information;By at least one application identities store to In default memory space.
The second way, the information of memory space is preset when this includes application identities and the corresponding relation being spaced between duration When, the interval duration of restarting for the application for illustrating to install in terminal is probably mutually different, and therefore, terminal can be based on the target The application identities of application, preset in the corresponding relation between the application identities stored in memory space and interval duration and search from this Corresponding interval duration;When finding corresponding interval duration, the interval duration found is defined as the intended application Restart interval duration.
Such as when the intended application be wechat apply when, terminal can based on the wechat apply application identities " wechat ", Lookup is corresponding in corresponding relation between the application identities as shown in table 1 stored from default memory space and interval duration It is spaced duration;When finding corresponding be spaced a length of 3 seconds, the interval duration found is defined as the wechat application for 3 seconds Restart interval duration.
Table 1
Application identities It is spaced duration
Wechat 3 seconds
Short message 5 seconds
...... ......
It should be noted that in embodiments of the present invention, only between the application identities shown in above-mentioned table 1 and interval duration Corresponding relation exemplified by illustrate, to the embodiment of the present invention form limit.
Further, the corresponding relation preset between the application identities stored in memory space and interval duration can be prior Setting, that is to say, terminal is restarted before being spaced duration based on the information inquiry intended application stored in default memory space, The second setting instruction can also be received, second sets the application identities that the intended application is carried in instruction and restart interval duration; The application identities of the intended application are preset in memory space with interval corresponding store to this of duration is restarted.
It should be noted that when the second setting instruction is used for presetting the application identities stored in memory space and interval Corresponding relation between length is configured, and the second setting instruction can equally be triggered by user by assigned operation.
In addition, the corresponding relation between the application identities and interval duration that are stored in the default memory space can not only lead to Cross aforesaid way to be configured, can also be configured by other means, such as, terminal can be set with what the reception server was sent Put request, the setting request in carry configuration information, carried in the configuration information at least one application identities and it is corresponding at least One restarts interval duration;By at least one application identities and it is at least one restart interval duration and correspondingly store to this default deposit Store up in space.
What deserves to be explained is when this is preset the information stored in memory space and acquired for terminal from server, Terminal can also obtain the request being updated to presetting the information stored in memory space from server.It that is to say, terminal The renewal that can be sent with the reception server is asked, and fresh information is carried in renewal request, and the fresh information can be instruction pair The information or indicate to pre- that the application identities of the application stored in default memory space are deleted, increased or replaced What if the corresponding relation between the application identities and interval duration that are stored in memory space was deleted, and increased, replaced or edited Information;When the fresh information is deleted, increased or replaced to the application identities for presetting the application stored in memory space for instruction During the information changed, terminal can be deleted, increased or replaced to the application identities for presetting the application stored in memory space Operation.When the fresh information is to indicate to presetting the corresponding relation between the application identities stored in memory space and interval duration During the information deleted, increased, replaced or edited, terminal can be to presetting the application identities stored in memory space and interval Corresponding relation between duration is deleted, increased, replaced or edit operation.
Step 202:When terminal inquiry to the intended application restart interval duration when, restart interval duration after, restart The intended application.
Wherein, when terminal inquiry to the intended application restart interval duration when, illustrate that the intended application can be realized soon Speed is restarted, and without calculating restarting interval duration, therefore, terminal can restart this directly after this restarts interval duration Intended application.
In addition, when terminal do not inquire the intended application restart interval duration when, illustrate that the intended application currently can not Enough realize quickly is restarted, and now, terminal can restarting interval duration, currently restart number and again based on the intended application first Time multiple is opened to determine to restart interval duration.
In embodiments of the present invention, terminal can be based on default memory space after detecting that intended application exits extremely Interval duration is restarted corresponding to the information inquiry of middle storage, when restarting interval duration corresponding to terminal inquiry to the intended application Afterwards, can be directly after interval duration be restarted, that is applied restarts.The mesh can be directed in advance because this restarts interval duration Mark application is arranged and stored in default memory space, it is therefore not necessary to according to application when restarting number and calculating this and restart interval It is long, so as to improve using the efficiency and user's viscosity restarted.
After application method for restarting provided in an embodiment of the present invention is explained, next, being carried to the present invention Confession is introduced using rebooting device.
Fig. 3 A are a kind of block diagrams using rebooting device that the embodiment of the present disclosure provides, and referring to Fig. 3 A, dress is restarted in the application Putting can be implemented in combination with by software, hardware or both.The device includes:Enquiry module 301 and restart module 302.
Enquiry module 301, for when detecting that intended application exits extremely, based on the letter stored in default memory space The breath inquiry intended application restarts interval duration;
Wherein, the intended application is any application of installation, and the default memory space is used to store is directed to peace in advance Dress is applied setting and can indicate to restart the information of interval duration;
Restart module 302, for when inquire the intended application restart interval duration when, it is described restart interval when After length, the intended application is restarted.
Alternatively, include referring to Fig. 3 B, the enquiry module 301:
Submodule 3011 is set, for when the application identities that the intended application is stored with the default memory space When, restart interval duration by what predetermined interval duration was arranged to the intended application.
Alternatively, include referring to Fig. 3 C, the enquiry module 301:
Submodule 3012 is searched, for the application identities based on the intended application, is deposited from the default memory space Lookup is corresponding in corresponding relation between the application identities of storage and interval duration is spaced duration;
Determination sub-module 3013, for when finding corresponding interval duration, the interval duration found to be defined as The intended application restarts interval duration.
Alternatively, also include referring to Fig. 3 D, described device:
Display module 303, for when receiving the first setting instruction, showing the application identities of the application of installation;
First memory module 304, the choosing at least one application identities in receiving for the application identities of display When selecting operation, at least one application identities are stored into the default memory space.
Alternatively, also include referring to Fig. 3 E, described device:
First receiving module 305, instruction is set for receiving second, carrying the target in the second setting instruction should Application identities are with restarting interval duration;
Second memory module 306, for by the application identities of the intended application with restart interval duration it is corresponding store to In the default memory space.
Alternatively, also include referring to Fig. 3 F, described device:
Second receiving module 307, the setting request sent for the reception server are described to set carrying in request to set letter Breath, at least one application identities are carried in the configuration information, or carry at least one application identities and it is corresponding extremely Few one restarts interval duration;
3rd memory module 308, for when the configuration information carry at least one application identities when, will described in extremely Few application identities are stored into the default memory space;
4th memory module 309, for carrying at least one application identities and corresponding institute when the configuration information State at least one when restarting interval duration, by least one application identities and described at least one to restart interval duration corresponding Store into the default memory space.
In summary, in embodiments of the present invention, terminal can be based on default after detecting that intended application exits extremely Interval duration is restarted corresponding to the information inquiry stored in memory space, between restarting corresponding to terminal inquiry to the intended application , can be directly after interval duration be restarted after duration, that is applied restarts.Due to this restart interval duration can prior pin The intended application is arranged and stored in default memory space, it is therefore not necessary to calculate this according to the number of restarting of application and restart Duration is spaced, so as to improve using the efficiency and user's viscosity restarted.
It should be noted that:The application rebooting device that above-described embodiment provides is when restarting application, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above Energy.In addition, the application rebooting device that above-described embodiment provides, with belonging to same design using method for restarting embodiment, it is specific real Existing process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of block diagram of terminal 400 according to an exemplary embodiment.For example, terminal 400 can be mobile Phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, Personal digital assistant etc..
Reference picture 4, terminal 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
Processing component 402 generally controls the integrated operation of terminal 400, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in terminal 400.These data are shown Example includes the instruction of any application program or method for being operated in terminal 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of terminal 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for terminal 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between the terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When terminal 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for terminal 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of terminal 400, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 400, and sensor cluster 414 can be with 400 1 components of detection terminal 400 or terminal Position change, the existence or non-existence that user contacts with terminal 400, the orientation of terminal 400 or acceleration/deceleration and terminal 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal 400 and other equipment.Terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, are carried for performing above-mentioned embodiment illustrated in fig. 2 The method of confession.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of terminal 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal During row so that mobile terminal is able to carry out the method that above-mentioned embodiment illustrated in fig. 2 provides.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When implemented in software, can realize in the form of a computer program product whole or in part.The computer program Product includes one or more computer instructions.It is all or part of when loading on computers and performing the computer instruction Ground is produced according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special-purpose computer, Computer network or other programmable devices.The computer instruction can store in a computer-readable storage medium, or Person is transmitted from a computer-readable recording medium to another computer-readable recording medium, for example, the computer instruction Can from a web-site, computer, server or data center by it is wired (such as:Coaxial cable, optical fiber, data are used Family line (Digital Subscriber Line, DSL)) or wireless (such as:Infrared, wireless, microwave etc.) mode is to another net Website, computer, server or data center are transmitted.The computer-readable recording medium can be that computer can Any usable medium of access is either comprising data storages such as the integrated server of one or more usable mediums, data centers Equipment.The usable medium can be magnetic medium (such as:Floppy disk, hard disk, tape), optical medium (such as:Digital versatile disc (Digital Versatile Disc, DVD)) or semiconductor medium (such as:Solid state hard disc (Solid State Disk, SSD)) etc..
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (10)

1. one kind applies method for restarting, it is characterised in that methods described includes:
When detecting that intended application exits extremely, based on intended application described in the information inquiry stored in default memory space Restart interval duration;
Wherein, the intended application is any application of installation, and the default memory space is used to store is directed to installation in advance Using setting and can indicate to restart the information of interval duration;
When inquire the intended application restart interval duration when, it is described restart interval duration after, restart the target should With.
2. the method as described in claim 1, it is characterised in that described based on the information inquiry institute stored in default memory space That states intended application restarts interval duration, including:
When being stored with the application identities of the intended application in the default memory space, predetermined interval duration is arranged to institute That states intended application restarts interval duration.
3. the method as described in claim 1, it is characterised in that described based on the information inquiry institute stored in default memory space That states intended application restarts interval duration, including:
Based on the application identities of the intended application, the application identities stored from the default memory space with interval duration it Between corresponding relation in search corresponding to interval duration;
When finding corresponding interval duration, the interval duration found is defined as when restarting interval of the intended application It is long.
4. method as claimed in claim 1 or 2, it is characterised in that described to be looked into based on the information stored in default memory space Ask the intended application restart interval duration before, in addition to:
When receiving the first setting instruction, the application identities of the application of installation are shown;
When receive for display application identities at least one application identities selection operation when, will it is described it is at least one answer Stored with mark into the default memory space.
5. the method as described in claim 1 or 3, it is characterised in that described to be looked into based on the information stored in default memory space Ask the intended application restart interval duration before, in addition to:
Receive second and instruction is set, when carrying the application identities of the intended application in the second setting instruction and restart interval It is long;
By the application identities of the intended application, duration is corresponding stores into the default memory space with interval is restarted.
6. the method as described in claim 1-3 is any, it is characterised in that described based on the information stored in default memory space Restarting before being spaced duration for the intended application is inquired about, in addition to:
The reception server send setting request, it is described set request in carry configuration information, carried in the configuration information to Few application identities, or carry at least one application identities and corresponding at least one restart interval duration;
When the configuration information carries at least one application identities, at least one application identities are stored to described In default memory space;
When the configuration information carry at least one application identities and it is corresponding it is described it is at least one restart interval duration when, By at least one application identities and it is described it is at least one restart interval duration correspondingly store into the default memory space.
7. one kind applies rebooting device, it is characterised in that described device includes:
Enquiry module, for when detecting that intended application exits extremely, based on the information inquiry stored in default memory space The intended application restarts interval duration;
Wherein, the intended application is any application of installation, and the default memory space is used to store is directed to installation in advance Using setting and can indicate to restart the information of interval duration;
Restart module, for when inquire the intended application restart interval duration when, it is described restart interval duration after, weight Open the intended application.
8. device as claimed in claim 7, it is characterised in that the enquiry module includes:
Submodule is set, for that when being stored with the application identities of the intended application in the default memory space, will preset What interval duration was arranged to the intended application restarts interval duration.
9. device as claimed in claim 7, it is characterised in that the enquiry module includes:
Search submodule, for the application identities based on the intended application, the application stored from the default memory space Identify interval duration corresponding lookup in the corresponding relation being spaced between duration;
Determination sub-module, for when finding corresponding interval duration, the interval duration found to be defined as into the target Interval duration is restarted in application.
10. a kind of computer-readable recording medium, it is characterised in that the storage medium internal memory contains computer program, described Claim 1-6 any described methods are realized when computer program is executed by processor.
CN201710857525.0A 2017-09-21 2017-09-21 Application restarting method and device and computer readable storage medium Active CN107463419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710857525.0A CN107463419B (en) 2017-09-21 2017-09-21 Application restarting method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710857525.0A CN107463419B (en) 2017-09-21 2017-09-21 Application restarting method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107463419A true CN107463419A (en) 2017-12-12
CN107463419B CN107463419B (en) 2021-01-26

Family

ID=60552850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710857525.0A Active CN107463419B (en) 2017-09-21 2017-09-21 Application restarting method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107463419B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595238A (en) * 2018-04-10 2018-09-28 Oppo广东移动通信有限公司 The display control method and device of application interface
CN111367698A (en) * 2018-12-26 2020-07-03 北京微播视界科技有限公司 Application program flash back detection and processing method and device and electronic equipment
CN117827546A (en) * 2024-03-05 2024-04-05 四川华鲲振宇智能科技有限责任公司 Restarting supervision system and method for control server under Linux system
CN117827546B (en) * 2024-03-05 2024-05-31 四川华鲲振宇智能科技有限责任公司 Restarting supervision system and method for control server under Linux system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8245019B2 (en) * 2004-08-27 2012-08-14 Intel Corporation Method, program and system to update files in a computer system
CN103416040A (en) * 2012-08-29 2013-11-27 华为终端有限公司 Terminal control method, apparatus and terminal
US20140047425A1 (en) * 2012-08-07 2014-02-13 Microsoft Corporation Initiating update operations
CN103597796A (en) * 2011-06-05 2014-02-19 苹果公司 Activation solution
CN103870747A (en) * 2014-03-31 2014-06-18 可牛网络技术(北京)有限公司 Method and device for monitoring and processing application program
CN105591892A (en) * 2015-09-16 2016-05-18 杭州华三通信技术有限公司 Graceful Restart (GR) process starting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8245019B2 (en) * 2004-08-27 2012-08-14 Intel Corporation Method, program and system to update files in a computer system
CN103597796A (en) * 2011-06-05 2014-02-19 苹果公司 Activation solution
US20140047425A1 (en) * 2012-08-07 2014-02-13 Microsoft Corporation Initiating update operations
CN103416040A (en) * 2012-08-29 2013-11-27 华为终端有限公司 Terminal control method, apparatus and terminal
CN103870747A (en) * 2014-03-31 2014-06-18 可牛网络技术(北京)有限公司 Method and device for monitoring and processing application program
CN105591892A (en) * 2015-09-16 2016-05-18 杭州华三通信技术有限公司 Graceful Restart (GR) process starting method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595238A (en) * 2018-04-10 2018-09-28 Oppo广东移动通信有限公司 The display control method and device of application interface
CN108595238B (en) * 2018-04-10 2021-08-06 Oppo广东移动通信有限公司 Display control method and device of application interface
CN111367698A (en) * 2018-12-26 2020-07-03 北京微播视界科技有限公司 Application program flash back detection and processing method and device and electronic equipment
CN117827546A (en) * 2024-03-05 2024-04-05 四川华鲲振宇智能科技有限责任公司 Restarting supervision system and method for control server under Linux system
CN117827546B (en) * 2024-03-05 2024-05-31 四川华鲲振宇智能科技有限责任公司 Restarting supervision system and method for control server under Linux system

Also Published As

Publication number Publication date
CN107463419B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN104159275B (en) Method for connecting network and device
CN107370772A (en) Account login method, device and computer-readable recording medium
CN107391063A (en) Method for information display, device and computer-readable recording medium
CN106775615A (en) The method and apparatus of notification message management
CN104580637B (en) Telephone number labeling method, terminal and Cloud Server
CN105549849A (en) Method and device for processing misoperation instruction
CN104793846A (en) Displaying method and device for interface of application program
CN105488112A (en) Information pushing method and device
CN103916829A (en) Desktop message notifying method and device
CN106598395A (en) Method and device for executing task
CN104679599A (en) Application program duplicating method and device
CN105516270A (en) Information push method and device
CN105808050A (en) Information search method and device
CN107423394A (en) Page display method and device
CN106126272A (en) File system discharging method and device
CN105447109A (en) Key word searching method and apparatus
CN105892805A (en) Instant message processing method and device
CN107357613A (en) Using update method, device and computer-readable recording medium
CN106648730A (en) Processing method and device of abnormal application
CN105515923A (en) Equipment control method and device
CN107402767A (en) The method and apparatus for showing PUSH message
CN107608714A (en) Byte-aligned method, apparatus and computer-readable recording medium
CN107463419A (en) Using method for restarting, device and computer-readable recording medium
CN105096162A (en) Content item display method and apparatus
CN104899058A (en) Pre-downloading method and apparatus

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
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder