CN110187934A - Application control method, terminal and computer readable storage medium - Google Patents
Application control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110187934A CN110187934A CN201910455675.8A CN201910455675A CN110187934A CN 110187934 A CN110187934 A CN 110187934A CN 201910455675 A CN201910455675 A CN 201910455675A CN 110187934 A CN110187934 A CN 110187934A
- Authority
- CN
- China
- Prior art keywords
- control
- application
- collapse
- father
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of application control methods, are applied to terminal, which comprises collapse in judgement application with the presence or absence of control;If it exists, then the operation screen for applying the last moment before collapse is intercepted;Replacement display interface is generated by the operation screen and floating layer window of interception in the boundary layer of the application;It shows the replacement display interface and the application is restarted simultaneously.The present invention also provides a kind of terminal and computer readable storage medium, by implementing above scheme so that using in the process of running, will not because of local control collapse and close and restart application, realize using the continuity experienced.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of application control methods, terminal and computer-readable storage
Medium.
Background technique
User is when experience application at present, and since user frequently operates, certain controls can in application program
It can will appear to run quickly and burst, once some control collapses, application program can be closed, and application interface can disappear at once, so
User is if it is desired to when continuing to use the application, it is necessary to application is reopened, in addition, the whole process of user experience application
In, due to the collapse of some control, user experience is caused to interrupt, experience is discontinuous, seriously affects user experience.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of application control method, terminal and computer storage medium, so that with
It family, still can continuous experience application when experience application encounters control collapse.
To solve the above problems, being applied to terminal the present invention provides a kind of application control method, which comprises
It is collapsed in judgement application with the presence or absence of control;If it exists, then the operation screen for applying the last moment before collapse is intercepted;?
The boundary layer of the application generates replacement display interface by the operation screen and floating layer window of interception;Show the replacement
Display interface simultaneously simultaneously restarts the application.
Optionally, after the step of judgement application is with the presence or absence of control collapse further include: the control collapsed if it exists,
Then forbid the starting of system crash bullet frame.
Optionally, after the step of judgement application is with the presence or absence of control collapse further include: the control collapsed if it exists,
Then record the identification code of the control of the collapse.
Optionally, the step of display replacement display interface simultaneously simultaneously restarts application packet
It includes: according to the configuration file of the control of collapse described in the identification code narration interspersed with flashbacks of the control of the collapse;By the control of the collapse
Control visibility in configuration file is set as invisible.
Optionally, the step of display replacement display interface simultaneously simultaneously restarts application packet
It includes: obtaining the configuration file of father's control of the control of the collapse by the identification code of the control of the collapse;It is controlled in the father
The routed control of running quickly is removed from the child control of father's control in the configuration file of part.
Optionally, described to control the routed control of running quickly from the son of father's control in the configuration file of father's control
After being removed in part further include: to increase replacement text in the child control of father's control in the configuration file of father's control
Control.
Optionally, the replacement text control only shows that control abnormal prompt information, the replacement text control do not have
Functional entrance.
Optionally, the method also includes: after the replacement text control realizes abnormal prompt information, described in control
Replacement text control is removed from the child control of father's control.
Further, the present invention also provides a kind of terminal, the terminals further include: memory, communication bus and processing
Device, in which: the memory, for storing screenshot program;The communication bus, for realizing between processor and memory
Connection communication;The processor, for executing the utility control program stored in memory, to realize step as described above.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of described in any item application control methods as above.
By implementing above scheme, it can make user when experience application, when certain control collapses in application
The case where, it can not have to close overall applicability, and then guarantee the continuity of user experience.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views
As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and
Unrestricted mode generally shows each embodiment discussed herein.
A kind of hardware structural diagram of Fig. 1 terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of application control method of the present invention;
Fig. 4 is a kind of module diagram of terminal of the present invention;
Fig. 5 is that a kind of terminal of the present invention forms structural schematic diagram.
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.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, terminal, Intelligent bracelet, pedometer etc. are mobile eventually
End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its terminal of each embodiment to realize the present invention, the terminal
100 may include: radio frequency unit (Radio Frequency, RF) 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal shown in Fig. 1
Structure does not constitute the restriction to mobile terminal, and terminal may include components more more or fewer than diagram, or combine certain
Component or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to terminal 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile
Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more
Location 2000 (Code Division Multiple Access 2000, CDMA2000), wideband code division multiple access (Wideband
Code Division Multiple Access, WCDMA), TD SDMA (Time Division-
Synchronous Code Division Multiple Access, TD-SCDMA), frequency division duplex long term evolution
(Frequency Division Duplexing-Long Term Evolution, FDD-LTE) and time division duplex long term evolution
(Time Division Duplexing-Long Term Evolution, TDD-LTE) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module
The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with
It is logically contiguous by power-supply management system and processor 110, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to terminal of the invention are retouched
It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes the user equipment (User of successively communication connection
Equipment, UE) 201, evolved UMTS Terrestrial radio access network (Evolved UMTS Terrestrial Radio
Access Network, E-UTRAN) 202, evolved packet-based core networks (Evolved Packet Core, EPC) 203 and operation
The IP operation 204 of quotient.
Generally, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include mobility management entity (Mobility Management Entity, MME) 2031, ownership
Client server (Home Subscriber Server, HSS) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and policy and rate functional entity
(Policy and Charging Rules Function, PCRF) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IP multimedia subsystem (IP Multimedia
Subsystem, IMS) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.Based on above-mentioned terminal hardware structure and communications network system, this is proposed
The each embodiment of inventive method.
Fig. 3 is the flow diagram of application control of embodiment of the present invention method, is applied to terminal.It is understood that this
Flow chart in embodiment of the method, which is not used in, is defined the sequence for executing step.
As shown in figure 3, the described method comprises the following steps:
Step S300, judge to apply in collapsed with the presence or absence of control.
It in the present embodiment, include multiple controls, institute on application interface for the application being installed in terminal
State the function button for the application interface that control is application, such as " contact person " in wechat, " circle of friends " etc..But these controls
Corresponding functional interface can all be transferred by clicking every time, and then make corresponding response to the click of user.However work as application interface
In control occur running quickly when burst, corresponding functional interface malloc failure malloc at this time, therefore if detect user to some control
Clicking operation is carried out, but system does not detect the event for calling corresponding function interface at this time, has then illustrated that application occurs at this time
Control collapse.
Step S302, and if it exists, then intercept the operation screen for applying the last moment before collapse.
In embodiments of the present invention, if judging that phenomenon of bursting of running quickly occurs in system at this time, this is run quickly before bursting the moment
The operation screen of one frame intercepts, and the operation screen of interception is stored in and is cached.
Step S304, it is aobvious by the operation screen and floating layer window the generation replacement of interception in the boundary layer of the application
Show interface.
In embodiments of the present invention, the operation screen of interception is embedded in the floating layer window of the application, and then generates and replaces
Display interface is changed, wherein the size of replacement display interface is identical as the display interface size of application.
Step S306 shows the replacement display interface and restarts simultaneously to the application.
In the present embodiment, there are controls to after bursting in above-mentioned judgement application, can forbid opening for system crash bullet frame
It is dynamic.In application operational process, system, which is directed to application, can be arranged system crash bullet frame to the event of bursting, and then prompt user that should answer
With there is system crash.Further, it also will record the control of collapse there are after control collapse in judging to apply
Identification code, wherein each control has corresponding identification code, and by identification code unique identification.
In the present embodiment, the display replacement display interface simultaneously simultaneously restarts the application
Step includes: that the configuration file of the control of the collapse is inquired according to the identification code of the control of the collapse;By the collapse
Control visibility in the configuration file of control is set as invisible.Specifically, when showing replacement display interface, this
When the configuration file of the collapse control can be inquired from system according to the identification code of control of collapse, and will be controlled in the configuration file
Part visibility is set as invisible, and then need not call the functional interface of the collapse control.In this way, when there is control collapse
It waits, directly replaces display interface in replacement, while the control for controlling collapse is invisible, do not have to call corresponding function interface, in turn
It avoids the control of collapse from generating interference to replacement display interface, so ensure that the consistency using display, so that user is not easy
Perceive the collapse of control.
In the present embodiment, the display replacement display interface simultaneously simultaneously restarts the application
Step includes: the configuration file that father's control of control of the collapse is obtained by the identification code of the control of the collapse;Institute
It states in the configuration file of father's control and removes the routed control of running quickly from the child control of father's control.Specifically, for eventually
End application, general control all in continuous relationship, such as wechat " it was found that " control, be followed by " circle of friends ", " shake one
Shake " etc. controls, wherein " it was found that " be referred to as father's control, " circle of friends " be " it was found that " child control of control.Such as when wechat application
In " shake " control occur collapse, then based on " shaking " control identification code and its control continuous relationship acquisition " shakes
One shakes " father's control of control " it was found that " configuration file of control, and then according to " it was found that " configuration file control " will be shaken "
From " it was found that " removed in the child control of control, and then when running respective application, so that collapse control is no longer valid,
It ensure that the duration using operation.
It further, can also be in the son of father's control after removing the control of collapse in the child control in father's control
Increase replacement text control in control, so that control abnormal prompt information can be prompted when application operation, wherein on
It states replacement text control and does not have functional entrance, is i.e. user cannot carry out clicking operation to it.In addition, working as above-mentioned replacement text control
After part realizes abnormal prompt information, controls above-mentioned text control and removed from the child control of father's control.
By implementing above-mentioned application control method, so that using the feelings for occurring local control collapse in the process of running
Under condition, it is not necessary to respective application is closed and restart, so that, using the duration of operation, mentioning during user experience respective application
User experience is risen.
Fig. 4 is a kind of module diagram of terminal of the present invention.The terminal include judgment module 400, interception module 402,
Picture generation module 404, control module 406, memory 408 and processor 410, above procedure module is with the hard of program code
It is stored in memory 408, and is executed by processor 410, the step of to realize above-described embodiment or method.
Judgment module 400 collapses in application with the presence or absence of control for judging.
It in the present embodiment, include multiple controls, institute on application interface for the application being installed in terminal
State the function button for the application interface that control is application, such as " contact person " in wechat, " circle of friends " etc..But these controls
Corresponding functional interface can all be transferred by clicking every time, and then make corresponding response to the click of user.However work as application interface
In control occur running quickly when burst, corresponding functional interface malloc failure malloc at this time, therefore if detect user to some control
Clicking operation is carried out, but system does not detect the event for calling corresponding function interface at this time, has then illustrated that application occurs at this time
Control collapse.
Interception module 402 is used to intercept the behaviour for applying the last moment before collapse there are when control collapse in application
Make picture.
In embodiments of the present invention, if judging that phenomenon of bursting of running quickly occurs in system at this time, this is run quickly before bursting the moment
The operation screen of one frame intercepts, and the operation screen of interception is stored in and is cached.
The operation screen and floating layer window that picture generation module 404 is used to pass through interception in the boundary layer of the application
Generate replacement display interface.
In embodiments of the present invention, the operation screen of interception is embedded in the floating layer window of the application, and then generates and replaces
Display interface is changed, wherein the size of replacement display interface is identical as the display interface size of application.
Control module 406 is for showing the replacement display interface and restarting simultaneously to the application.
In the present embodiment, there are controls to after bursting in above-mentioned judgement application, can forbid opening for system crash bullet frame
It is dynamic.In application operational process, system, which is directed to application, can be arranged system crash bullet frame to the event of bursting, and then prompt user that should answer
With there is system crash.Further, it also will record the control of collapse there are after control collapse in judging to apply
Identification code, wherein each control has corresponding identification code, and by identification code unique identification.
In the present embodiment, the control module 406 is further used for: being looked into according to the identification code of the control of the collapse
Ask the configuration file of the control of the collapse;Setting the control visibility in the configuration file of the control of the collapse to can not
See.Specifically, can be inquired from system according to the identification code of the control of collapse at this time when showing replacement display interface
The configuration file of the collapse control, and set invisible for control visibility in the configuration file, and then this need not be called to collapse
The functional interface of routed control.In this way, directly replacing display interface in replacement, while control is collapsed when there is control collapse
Routed control is invisible, does not have to call corresponding function interface, and then the control of collapse is avoided to generate interference to replacement display interface,
It so ensure that the consistency using display, so that user is less likely to be perceived the collapse of control.
In the present embodiment, the control module 406 is further used for: being obtained by the identification code of the control of the collapse
Take the configuration file of father's control of the control of the collapse;In the configuration file of father's control by it is described run quickly routed control from
It is removed in the child control of father's control.Specifically, being directed to terminal applies, general control is all at continuous relationship, such as wechat
In " it was found that " control, the controls such as " circle of friends ", " shaking " are followed by, wherein " it was found that " it is referred to as father's control, " friend
Circle " be " it was found that " child control of control.For example there is collapse when " shaking " control in wechat application, then it is based on " shaking "
The identification code of control and its control continuous relationship obtain " shaking " control father's control " it was found that " configuration file of control, into
And according to " it was found that " configuration file by " shaking " control from " it was found that " remove in the child control of control, and then running
When respective application, so that collapse control is no longer valid, the duration using operation ensure that.
It further, can also be after control module 406 removes the control of collapse in the child control in father's control
Increase replacement text control in the child control of father's control, so that control abnormal prompt can be prompted to believe when application operation
Breath, wherein above-mentioned replacement text control does not have functional entrance, i.e. user cannot carry out clicking operation to it.In addition, when above-mentioned
After replacement text control realizes abnormal prompt information, controls above-mentioned text control and removed from the child control of father's control.
By implementing above-mentioned application control method, so that using the feelings for occurring local control collapse in the process of running
Under condition, it is not necessary to respective application is closed and restart, so that, using the duration of operation, mentioning during user experience respective application
User experience is risen.
Fig. 5 is the composed structure schematic diagram of terminal of the present invention.As shown in figure 5, the terminal includes at least: memory 501,
Communication bus 502 and processor 503.Wherein:
The memory 501, for storing utility control program;
The communication bus 502, for realizing the connection communication between processor and memory;
The processor 503, for executing the utility control program stored in memory, to perform the steps of
It is collapsed in judgement application with the presence or absence of control.
It in the present embodiment, include multiple controls, institute on application interface for the application being installed in terminal
State the function button for the application interface that control is application, such as " contact person " in wechat, " circle of friends " etc..But these controls
Corresponding functional interface can all be transferred by clicking every time, and then make corresponding response to the click of user.However work as application interface
In control occur running quickly when burst, corresponding functional interface malloc failure malloc at this time, therefore if detect user to some control
Clicking operation is carried out, but system does not detect the event for calling corresponding function interface at this time, has then illustrated that application occurs at this time
Control collapse.
If it exists, then the operation screen for applying the last moment before collapse is intercepted.
In embodiments of the present invention, if judging that phenomenon of bursting of running quickly occurs in system at this time, this is run quickly before bursting the moment
The operation screen of one frame intercepts, and the operation screen of interception is stored in and is cached.
Replacement display interface is generated by the operation screen and floating layer window of interception in the boundary layer of the application.
In embodiments of the present invention, the operation screen of interception is embedded in the floating layer window of the application, and then generates and replaces
Display interface is changed, wherein the size of replacement display interface is identical as the display interface size of application.
It shows the replacement display interface and the application is restarted simultaneously.
In the present embodiment, there are controls to after bursting in above-mentioned judgement application, can forbid opening for system crash bullet frame
It is dynamic.In application operational process, system, which is directed to application, can be arranged system crash bullet frame to the event of bursting, and then prompt user that should answer
With there is system crash.Further, it also will record the control of collapse there are after control collapse in judging to apply
Identification code, wherein each control has corresponding identification code, and by identification code unique identification.
In the present embodiment, the display replacement display interface simultaneously simultaneously restarts the application
Step includes: that the configuration file of the control of the collapse is inquired according to the identification code of the control of the collapse;By the collapse
Control visibility in the configuration file of control is set as invisible.Specifically, when showing replacement display interface, this
When the configuration file of the collapse control can be inquired from system according to the identification code of control of collapse, and will be controlled in the configuration file
Part visibility is set as invisible, and then need not call the functional interface of the collapse control.In this way, when there is control collapse
It waits, directly replaces display interface in replacement, while the control for controlling collapse is invisible, do not have to call corresponding function interface, in turn
It avoids the control of collapse from generating interference to replacement display interface, so ensure that the consistency using display, so that user is not easy
Perceive the collapse of control.
In the present embodiment, the display replacement display interface simultaneously simultaneously restarts the application
Step includes: the configuration file that father's control of control of the collapse is obtained by the identification code of the control of the collapse;Institute
It states in the configuration file of father's control and removes the routed control of running quickly from the child control of father's control.Specifically, for eventually
End application, general control all in continuous relationship, such as wechat " it was found that " control, be followed by " circle of friends ", " shake one
Shake " etc. controls, wherein " it was found that " be referred to as father's control, " circle of friends " be " it was found that " child control of control.Such as when wechat application
In " shake " control occur collapse, then based on " shaking " control identification code and its control continuous relationship acquisition " shakes
One shakes " father's control of control " it was found that " configuration file of control, and then according to " it was found that " configuration file control " will be shaken "
From " it was found that " removed in the child control of control, and then when running respective application, so that collapse control is no longer valid,
It ensure that the duration using operation.
It further, can also be in the son of father's control after removing the control of collapse in the child control in father's control
Increase replacement text control in control, so that control abnormal prompt information can be prompted when application operation, wherein on
It states replacement text control and does not have functional entrance, is i.e. user cannot carry out clicking operation to it.In addition, working as above-mentioned replacement text control
After part realizes abnormal prompt information, controls above-mentioned text control and removed from the child control of father's control.
By implementing above-mentioned application control method, so that using the feelings for occurring local control collapse in the process of running
Under condition, it is not necessary to respective application is closed and restart, so that, using the duration of operation, mentioning during user experience respective application
User experience is risen.
The present invention also provides a kind of computer readable storage mediums.Application is stored on the computer readable storage medium
Program is controlled, the utility control program realizes step as described above when being executed by processor.
It should be noted that the description of the above terminal embodiment, be with the description of above method embodiment it is similar, have
The similar beneficial effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to
The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing above-mentioned application control in the form of software function module
Method processed, and when sold or used as an independent product, it also can store in a computer readable storage medium.Base
In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a calculating equipment (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention
The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only
Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention does not limit
It is combined in any specific hardware and software.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of application control method is applied to terminal, which is characterized in that the described method includes:
It is collapsed in judgement application with the presence or absence of control;
If it exists, then the operation screen for applying the last moment before collapse is intercepted;
Replacement display interface is generated by the operation screen and floating layer window of interception in the boundary layer of the application;
It shows the replacement display interface and the application is restarted simultaneously.
2. application control method as described in claim 1, which is characterized in that the judgement application is with the presence or absence of control collapse
After step further include:
The control collapsed if it exists then forbids the starting of system crash bullet frame.
3. application control method as described in claim 1, which is characterized in that the judgement application is with the presence or absence of control collapse
After step further include:
The control collapsed if it exists then records the identification code of the control of the collapse.
4. application control method as claimed in claim 3, which is characterized in that the display replacement display interface and simultaneously
The step of restarting to the application include:
The configuration file of the control of the collapse is inquired according to the identification code of the control of the collapse;
Set invisible for the control visibility in the configuration file of the control of the collapse.
5. application control method as claimed in claim 3, which is characterized in that the display replacement display interface and simultaneously
The step of restarting to the application include:
The configuration file of father's control of the control of the collapse is obtained by the identification code of the control of the collapse;
The routed control of running quickly is removed from the child control of father's control in the configuration file of father's control.
6. application control method as claimed in claim 5, which is characterized in that described to be incited somebody to action in the configuration file of father's control
It is described to run quickly routed control after removing in the child control of father's control further include:
To increase replacement text control in the child control of father's control in the configuration file of father's control.
7. application control method as claimed in claim 6, which is characterized in that the replacement text control only shows control exception
Prompt information, the replacement text control do not have functional entrance.
8. control method the use as claimed in claim 7, which is characterized in that the method also includes:
After the replacement text control realizes abnormal prompt information, the replacement text control is controlled from father's control
It is removed in child control.
9. a kind of terminal, which is characterized in that the terminal is at least further include: memory, communication bus and processor, in which:
The memory, for storing utility control program;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the utility control program stored in memory, to realize as described in claim 1 to 8
The step of application control method.
10. a kind of computer readable storage medium, it is stored with utility control program on the computer readable storage medium, it is described
The step of application control method as described in claim 1 to 8 is realized when utility control program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910455675.8A CN110187934B (en) | 2019-05-29 | 2019-05-29 | Application control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910455675.8A CN110187934B (en) | 2019-05-29 | 2019-05-29 | Application control method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110187934A true CN110187934A (en) | 2019-08-30 |
CN110187934B CN110187934B (en) | 2022-06-28 |
Family
ID=67718548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910455675.8A Active CN110187934B (en) | 2019-05-29 | 2019-05-29 | Application control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110187934B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111599204A (en) * | 2020-04-16 | 2020-08-28 | 维沃移动通信有限公司 | Arrival reminding method and electronic equipment |
EP3886410A1 (en) * | 2020-03-26 | 2021-09-29 | Beijing Xiaomi Mobile Software Co., Ltd. | Message processing method and apparatus, electronic device and computer-readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101416143A (en) * | 2006-04-07 | 2009-04-22 | 微软公司 | User interface morph based on permissions |
US20120102373A1 (en) * | 2010-10-26 | 2012-04-26 | Timothy Mark Waugh | Method and apparatus for error video creation, playback and reporting |
US20130049987A1 (en) * | 2011-08-23 | 2013-02-28 | Verizon Patent And Licensing Inc. | Method and system for providing traffic alerts |
US20140122995A1 (en) * | 2012-10-29 | 2014-05-01 | Dropbox, Inc. | Continuous content item view enhanced through smart loading |
CN104521185A (en) * | 2012-08-07 | 2015-04-15 | 松下知识产权经营株式会社 | Information terminal, information display method, control program and server |
CN105630550A (en) * | 2015-12-22 | 2016-06-01 | 魅族科技(中国)有限公司 | Application launching method and terminal |
CN107678876A (en) * | 2017-09-28 | 2018-02-09 | 努比亚技术有限公司 | Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium |
CN108415734A (en) * | 2018-03-22 | 2018-08-17 | 车智互联(北京)科技有限公司 | A kind of application recovery device, method and mobile terminal |
CN109086164A (en) * | 2018-06-29 | 2018-12-25 | 努比亚技术有限公司 | A kind of application crashes processing method, terminal and computer readable storage medium |
CN109284217A (en) * | 2018-09-28 | 2019-01-29 | 平安科技(深圳)有限公司 | Application exception processing method, device, electronic equipment and storage medium |
-
2019
- 2019-05-29 CN CN201910455675.8A patent/CN110187934B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101416143A (en) * | 2006-04-07 | 2009-04-22 | 微软公司 | User interface morph based on permissions |
US20120102373A1 (en) * | 2010-10-26 | 2012-04-26 | Timothy Mark Waugh | Method and apparatus for error video creation, playback and reporting |
US20130049987A1 (en) * | 2011-08-23 | 2013-02-28 | Verizon Patent And Licensing Inc. | Method and system for providing traffic alerts |
CN104521185A (en) * | 2012-08-07 | 2015-04-15 | 松下知识产权经营株式会社 | Information terminal, information display method, control program and server |
US20140122995A1 (en) * | 2012-10-29 | 2014-05-01 | Dropbox, Inc. | Continuous content item view enhanced through smart loading |
CN105630550A (en) * | 2015-12-22 | 2016-06-01 | 魅族科技(中国)有限公司 | Application launching method and terminal |
CN107678876A (en) * | 2017-09-28 | 2018-02-09 | 努比亚技术有限公司 | Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium |
CN108415734A (en) * | 2018-03-22 | 2018-08-17 | 车智互联(北京)科技有限公司 | A kind of application recovery device, method and mobile terminal |
CN109086164A (en) * | 2018-06-29 | 2018-12-25 | 努比亚技术有限公司 | A kind of application crashes processing method, terminal and computer readable storage medium |
CN109284217A (en) * | 2018-09-28 | 2019-01-29 | 平安科技(深圳)有限公司 | Application exception processing method, device, electronic equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
JIMBO: "《作业部落:zybuluo.com/jimbo/note/149424》", 10 August 2015 * |
KEVIN MORAN ET AL: "Automatically Discovering, Reporting and Reproducing Android Application Crashes", 《 2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST)》 * |
李如中: "移动端应用崩溃信息收集与展示平台的设计与实现", 《中国知网硕士学位论文全文库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3886410A1 (en) * | 2020-03-26 | 2021-09-29 | Beijing Xiaomi Mobile Software Co., Ltd. | Message processing method and apparatus, electronic device and computer-readable storage medium |
US11695616B2 (en) | 2020-03-26 | 2023-07-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Message processing method and apparatus, electronic device and computer-readable storage medium |
CN111599204A (en) * | 2020-04-16 | 2020-08-28 | 维沃移动通信有限公司 | Arrival reminding method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110187934B (en) | 2022-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN109040441A (en) | Using display methods of attending to anything else, mobile terminal and computer readable storage medium | |
CN109224436A (en) | Virtual key based on interface defines method, terminal and storage medium | |
CN109144441A (en) | A kind of screen adjustment method, terminal and computer readable storage medium | |
CN109947248A (en) | Vibration control method, mobile terminal and computer readable storage medium | |
CN108536490A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN109165042A (en) | Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application | |
CN109271227A (en) | False-touch prevention method, apparatus and computer readable storage medium | |
CN110278481A (en) | Picture-in-picture implementing method, terminal and computer readable storage medium | |
CN110418004A (en) | Screenshot processing method, terminal and computer readable storage medium | |
CN109117069B (en) | Interface operation method, terminal and computer readable storage medium | |
CN109976859A (en) | Screenshot method, terminal and computer readable storage medium | |
CN109379777A (en) | A kind of network search method, terminal and computer readable storage medium | |
CN110187934A (en) | Application control method, terminal and computer readable storage medium | |
CN109284110A (en) | Terminal applies replacement method, terminal and computer readable storage medium | |
CN110083294A (en) | Screen interception method, terminal and computer readable storage medium | |
CN110058890A (en) | A kind of Android system starting method, terminal and computer readable storage medium | |
CN108845821A (en) | Application program update method, terminal and computer readable storage medium | |
CN109683796A (en) | A kind of interaction control method, equipment and computer readable storage medium | |
CN109032621A (en) | A kind of application program installation method, mobile terminal and computer storage medium | |
CN108833712A (en) | A kind of message prompt method, terminal and computer readable storage medium | |
CN109189482A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN110083402A (en) | Using starting method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220608 Address after: 462000 No. 100, Fumin Road, Wuquan Town, Wuyang County, Luohe City, Henan Province Applicant after: Chai Sensen Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |