CN108804138A - application operating optimization method, device, storage medium and terminal device - Google Patents
application operating optimization method, device, storage medium and terminal device Download PDFInfo
- Publication number
- CN108804138A CN108804138A CN201810577387.5A CN201810577387A CN108804138A CN 108804138 A CN108804138 A CN 108804138A CN 201810577387 A CN201810577387 A CN 201810577387A CN 108804138 A CN108804138 A CN 108804138A
- Authority
- CN
- China
- Prior art keywords
- application program
- operational order
- application
- terminal device
- operating system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30181—Instruction operation extension or modification
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of application operating optimization method, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by when operating system receives the extraneous operational order inputted, determining the corresponding application program of the operational order;If the present situation meets setting condition, the operational order is replaced by the operating system;The operational order after the replacement is transmitted to the application program by the operating system, to be responded.By using above-mentioned technical proposal, it can be judged according to the present situation when receiving the operational order of extraneous input, operational order can be replaced by operating system if necessary, operational order is avoided to cause maloperation.
Description
Technical field
The invention relates to terminal device technical field more particularly to a kind of application operating optimization method, device, deposit
Storage media and terminal device.
Background technology
The application program (application) for realizing various functions is installed in the system of terminal device, is made for convenience
With application program, user can input various operational orders to control application program.E.g., including for using journey
Return or forward operational order are carried out in sequence, and application program is exited or is placed in the operational order of running background.And user has
When can accidentally input the operational order of non-user original idea, can be because accidentally for example, when user does not notice screen
Touching and input maloperation instruction;Alternatively, user is just look at screen, but refer to because operating maloperation that is too fast and inputting
It enables.Maloperation instruction can make troubles or even bring loss to the use of user, so the operation to application program is needed to carry out
Optimization.
Invention content
A kind of application operating optimization method, device, storage medium and terminal device provided by the embodiments of the present application, Ke Yiyou
Change operation of the user to application program.
In a first aspect, the embodiment of the present application provides a kind of application operating optimization method, including:
When operating system receives the operational order of extraneous input, the corresponding application program of the operational order is determined;
If the present situation meets setting condition, the operational order is replaced by the operating system;
The operational order after the replacement is transmitted to the application program by the operating system, to be responded.
Second aspect, the embodiment of the present application provide a kind of application operating optimization device, including:
Operational order receiving module, for when operating system receives the extraneous operational order inputted, determining the behaviour
Make to instruct corresponding application program;
Module is replaced in instruction, if meeting setting condition for the present situation, by the operating system by the behaviour
Make instruction to be replaced;
Respond module is instructed, for the operational order after the replacement to be transmitted to the application by the operating system
Program, to be responded.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the application operating optimization method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage
It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real
Apply the application operating optimization method described in example.
A kind of application operating prioritization scheme provided in the embodiment of the present application, by receiving extraneous input in operating system
Operational order when, determine the corresponding application program of the operational order;If the present situation meets setting condition, pass through institute
Operating system is stated to replace the operational order;The operational order after the replacement is transmitted to by the operating system
The application program, to be responded.It, can be in the operational order for receiving extraneous input by using above-mentioned technical proposal
When, judged according to the present situation, can be replaced operational order by operating system if necessary, operation is avoided to refer to
Order causes maloperation.
Description of the drawings
Fig. 1 is a kind of flow diagram of application operating optimization method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 7 is the flow diagram of another application operating optimization method provided by the embodiments of the present application;
Fig. 8 is the structure diagram that a kind of application operating provided by the embodiments of the present application optimizes device;
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific implementation mode
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating
, illustrate only for ease of description, in attached drawing and the relevant part of the application rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
The return operation button for returning to a upper operation interface in application program is typically provided on terminal device,
But if user continuously carries out return operation button, return operation is especially clicked under the main interface state of application program
Button then may result in application program and exit or switch to background operation state, and the application program switchs to running background shape
State, which still exits, to be determined by application program itself.For the application program exited according to operational order is returned, user needs
Restart application program and the again content of loading application programs.But if user maloperation at this time returns to operation and presses
Key, then can the continuity that uses of interrupted application program.The embodiment of the present application can replace maloperation input by user, excellent
Change operation of the user to application program.
Fig. 1 is a kind of flow diagram of application operating optimization method provided by the embodiments of the present application, and this method can be by
Application operating optimizes device and executes, and wherein the device can generally be integrated in terminal device by software and or hardware realization
In, other can also be integrated in and be equipped in the equipment of operating system.As shown in Figure 1, this method includes:
S110, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
Wherein, the operating system is the operating system in terminal device.The terminal device may include mobile phone, tablet electricity
Brain and other equipment with corresponding operating system, the operating system can be Android (Android) system.
The operational order of the extraneous input includes the operational order that user is inputted by terminal device the machine hardware, example
Property can be user by the physical button on terminal device, or the virtual key by being arranged on terminal device touch screen
The operational order inputted.Operational order can also be that user is transmitted to the operational order of terminal device, example by other equipment
If user is by being remotely controlled the operational order inputted.
The operational order is directed toward application program, and in operating system not running application program, the operational order can be with
It is the instruction for starting application program;In operating system application program, the operational order can be for corresponding to
The operational order accordingly controlled with program.
The application program (APP, application) is the computer journey for completing one or more specific functions
Sequence.Application program is mounted in the operating system of terminal device, and application program can interact specific to complete its with user
Function, application program generally comprise graphical user interface (GUI, Graphical User Interface), and user can root
Corresponding operational order is inputted according to graphical user interface, accordingly to be controlled application program.
When receiving the operational order of extraneous input, can be determined according to the application program pointed by the operational order
Its corresponding application program.
If S111, the present situation meet setting condition, the operational order is carried out more by the operating system
It changes.
Described the present situation is the interaction condition for reacting active user and corresponding application program, may include terminal
At least one of the situation of the situation of equipment, the situation of the operating system of terminal device and application program.Illustratively, if
The screen of terminal device is that cease the operating mode of screen state or operating system be low-power consumption mode, then it represents that user does not have and institute
State application program interaction.
The setting condition can be for judging whether user to application program or terminal device has corresponding interactive item
Part, the corresponding interaction and operational order are corresponding;If the present situation meets setting condition, then it represents that user and application program
Or terminal device does not interact accordingly, the operational order is outdated, can be carried out the operational order by operating system
It replaces.Illustratively, if application program is the phone application in terminal device, the operational order is to execute to call some connection
It is the operational order of people, and if determining user's not using terminal equipment according to the present situation, pass through the operating system
The operational order is converted.
The operational order can be replaced to will not be impacted to the operation of the application program by operating system
Operational order;For example, if application program is phone, operational order can be changed to the operation for keeping terminal device standby and referred to
It enables.The operational order can also be changed to do-nothing instruction, i.e., will not play the instruction of any influence to application program.Specifically
Replacement operation instruction can be determined according to the operational order of the extraneous input and/or corresponding application program.
S112, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
The operational order is extraneous input, and is received by operating system, and under normal circumstances, operating system can incite somebody to action
It receives operational order and is transferred to corresponding application program, so that application program is responded.So judging the present situation symbol
When closing setting condition, operational order can be replaced by operating system, so that the operational order after replacing to be transferred to
Application program, application program can be responded according to the operational order after replacement.
A kind of application operating optimization method provided in the embodiment of the present application, by receiving extraneous input in operating system
Operational order when, determine the corresponding application program of the operational order;If the present situation meets setting condition, pass through institute
Operating system is stated to replace the operational order;The operational order after the replacement is transmitted to by the operating system
The application program, to be responded.It, can be in the operational order for receiving extraneous input by using above-mentioned technical proposal
When, judged according to the present situation, can be replaced operational order by operating system if necessary, operation is avoided to refer to
Order causes maloperation, operation of the optimization user to application program.
Fig. 2 is the flow diagram of another application operating optimization method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of the technical solution that is provided of example, if a pair the present situation meets setting condition, by the operating system by institute
It states the operation that operational order is replaced to be optimized, optionally, as shown in Fig. 2, this method includes:
S120, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
Specific implementation mode can refer to associated description above, and details are not described herein.
S121, the athletic posture information for obtaining terminal device, and judge that the terminal is set according to the athletic posture information
Whether standby be user's operation state.
Wherein, the athletic posture information is the information of the posture and/or motion state that embody terminal device;It can pass through
Motion sensor in terminal device obtains posture information, and motion sensor may include gyroscope, acceleration transducer and magnetic
At least one of power meter.
User's operation state is the state that user's hand-held terminal device is operated, and is typically in the end of user's operation state
End equipment can keep the angle (such as keeping 45 degree or so of angle with ground) for being suitble to user's operation.It is moved even if user is in
Dynamic state operating terminal equipment also hand-held terminal device and can keep the angle for being suitble to operation to be operated, it is possible to according to
The athletic posture information obtained judges whether the terminal device is user's operation state.
If S122, terminal device are user's operation state, the operational order is carried out according to the application program
It replaces.
If terminal device is user's operation state, the operational order is converted, to avoid operational order
Lead to maloperation.The specific implementation mode for being replaced the operational order according to the application program can refer to above
Associated description, details are not described herein.
Correspondingly, if the terminal device non-user mode of operation, ignores the operational order.
If the terminal device is non-user mode of operation, the operational order can be ignored;It can be by the behaviour
Make instruction to be intercepted, is not transmitted to application program, or the operational order is changed to do-nothing instruction.
Wherein, if user is in operating terminal equipment, ignore operational order and may result in user and think terminal device
System the problem of crashing, so operational order is replaced, application program can be responded accordingly to, but will not
Lead to maloperation.And if when terminal device is non-user mode of operation, it can directly ignore the operational order.
S123, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
Specific implementation mode can refer to associated description above, and details are not described herein.
The embodiment of the present application by judging whether the terminal device is user's operation state according to athletic posture information, and
According to the state of terminal device come to the external world input operational order handle, can improve operating system to operational order into
The efficiency that row is replaced, operating efficiency of the optimization user to application program.
Fig. 3 is the flow diagram of another application operating optimization method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of the technical solution that is provided of example, if a pair the present situation meets setting condition, by the operating system by institute
It states the operation that operational order is replaced to be optimized, optionally, as shown in figure 3, this method includes:
S130, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
Specific implementation mode can refer to associated description above, and details are not described herein.
If S131, the application program are intended application type, it is determined that the operating status of the application program.
The intended application type can be susceptible to maloperation or can lead to serious problems if there is maloperation
Application type, illustratively, the intended application type may include communication class is applied and financial payment class is applied etc..User exists
When using such application program, the problems such as sending out wrong information if may result in because of neglectful maloperation, or lose money.
The intended application type can be systemic presupposition or the pre-set application of user, can be determined by default white list
Whether the application program is application program, and user can be to need pre- fool proof application program that white name is added when selection operation
Nonoculture is intended application type.
Optionally, on the basis of the above embodiments, it can also be when it is user's operation state that terminal device, which is determined,
Further determine that the intended application type and operating status of the application program.
The operating status is operating status of the application program in the system of terminal device, it may include the application
Whether in the particular state for running and running, the operating status includes program:Closed state and operating status run shape
State includes front stage operation state and background operation state.
S132, according to the operating status of the application program, the operational order is carried out more by the operating system
It changes.
Wherein, the different operating statuses of application program have needed the type replaced to the operational order also
It is different.Illustratively, if the application program is front stage operation state, operational order needs are changed in front stage operation state
The operational order that Shi Buhui impacts the operation of the application program;If the application program is running background,
The operation for being changed to impact the operation of the application program in background operation state by operational order is needed to refer to
It enables.
S133, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
Specific implementation mode can refer to associated description above, and details are not described herein.
The embodiment of the present application is by determining the operating status for the application program for belonging to intended application type come to operational order
It is adjusted, the efficiency that operating system replaces operational order, and optimization user can be further increased to applying journey
The operating efficiency of sequence.
Fig. 4 is the flow diagram of another application operating optimization method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of the technical solution that is provided of example, to the operating status according to the application program, by the operating system by institute
It states the operation that operational order is replaced to be optimized, optionally, as shown in figure 4, this method includes:
S140, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
Wherein, the operational order is to return to operational order, and it is for by the current behaviour of application program to return to operational order
Make changing interface to a upper operation interface operational order.Multiple operation interfaces are generally comprised in application program, user uses
When application program, generally it can enter another operation interface from an operation interface to continuity, or return to an operation circle
Face.
The return operational order can be input by user, and illustratively, the screen of terminal device is equipped with for holding
Row returns to the virtual key of operational order, and user can return to operational order by touching virtual key input;Terminal device
On be also provided with for executing the physical button for returning to operational order, user can input by pressing the physical button
Return to the instruction of operational order.
If S141, the application program are intended application type, it is determined that the operating status of the application program.
The intended application type may include:When being restarted within the short time after accidentally being closed, if to restore
Browsing pages before to closing need the application program for loading more data.The application program can be systemic presupposition or root
It is configured according to the selection of user.
Illustratively, the application program can be the subscription such as microblogging and Netease's news browsing class application program;With microblogging
For, application program can load a certain amount of subscription data and user is supplied to browse, user browsed it is current added
After the data of load, it can execute and continue browse operation and (such as execute the hand of sliding from the bottom up on the screen of terminal device
Gesture), application program, which will continue to load more data, is supplied to user, user that can then browse down.User browsing compared with
After more contents, that is, perform repeatedly continue browse operation after, if maloperation causes application program to be closed, user is again
After starting the application program, if it is desired to which the browsing pages being restored to before closing, user, which needs to execute again, repeatedly to continue to browse
Operation.
If the operating status of S142, the application program is front stage operation, it is determined that current operation interface.
If the operating status of the application program is front stage operation, then it represents that described it is corresponding to return to operational order is this
Application program, it is determined that the current operation interface of the application program.The current operation interface is to receive the return behaviour
When instructing, interface that the application program is currently shown.
Each application program includes at least one operation interface, and operation interface is displaying application program preset content
And/or the interface of corresponding contents is shown according to operation input by user;Operation interface can also be input by user for receiving
The interface of operational order;Each operation interface, which can correspond to, realizes different functions.
Illustratively, by taking Android (Android) system as an example, the operation interface of Android is Activity files,
Activity is one of four big components in Android system.One Activity file provides one and is shown on the screen of terminal device
The page shown, the page can be user interfaces, can also be the interface interacted with user.
S143, the acquisition current operation interface execute sequence in the application program.
During the execution sequence is the use after user's unlatching application program, holding for different operation interface is opened successively
Row sequence.
In one application program include at least an operation interface, if an application program include two or two with
On operation interface when, the continuous operation interface of any two has the front and back sequence executed, so opening in the application
Operation interface have a priority execute sequence.
The execution sequence at current operation interface is different, and different operating effects can be realized by returning to operational order.If current
Have before operation interface in the operation interface first carried out, then the return operational order can switch to before current operation interface
Operation interface;And if current operation interface does not have a upper operation interface, closing application program can be made by returning to operational order.
So by obtain current operation interface in the application execute sequence, it may be determined that return operational order pair
The operating effect answered, and then can determine that the corresponding application program that can be directly resulted in of the return operational order is following
Operating status.
So when in order to avoid because of user in order to return to operation interface earlier, and continuously carried out return operation and referred to
It enables, but results in the closing of application program;It can determine that the return operation refers to according to the execution at current operation interface sequence
Enable it is corresponding execute order, avoid application program from accidentally being closed.
S144, sequence is executed according to the current operation interface, to the return operational order progress as operational order
It replaces.
If the operation interface is not the interface of first startup, the return operational order can not be carried out more
It changes, the return operational order can be transmitted to application program, so that application program is responded, be back to current operation circle
A upper operation interface in face.
If the current operation interface is the interface of first startup, the return operational order is changed to and is returned
Begin to instruct;Wherein, the return initial order is used to the application program being placed in running background, and is back to terminal device
System initial interface.
The return operational order is changed to after returning to initial order, is the interface of first startup at current operation interface
When, even if user, which inputs, returns to operational order, terminal device can also be made to be placed in running background, without causing terminal device to move back
Go out.Recognize that maloperation makes application program " closing " in user, and real-life program is to be in running background, user is again
Start application program after, can directly restore to be placed in the operation interface before running background, without expend more data traffic or
Wait for the long time, so that it may to restore the interface before maloperation.
S145, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
Specific implementation mode can refer to associated description above, and details are not described herein.
Optionally, as shown in figure 5, obtaining the operation of execution sequence of the current operation interface in the application program
It can be implemented by following manner:
S1431, obtain the application program operation interface storage stack, and determine the current operation interface described
Store position in the stack of stack.
S1432, sequence is executed according to application program described in location determination in the stack.
User launches application, behind opening operation interface, the operation interface opened can be overlapped it is temporary, such as heap
Stack.Stack (stack) is a kind of linear list that operation is limited, is stated to be stacking from one end insert number of linear list, from linear list
One end output data is known as popping.The data of newest stacking are placed on the stack top of stack, original if the data of stack top are popped
Adjacent data become stack top element.It is post-opening all that startup application program is stored in the storage stack of operation interface
Activity files.
Illustratively, the Activity files of operation interface can successively be folded from bottom to top according to priority boot sequence
Add stacking, the Activity files for the operation interface opened at first are located at the stack bottom of storage stack, most post-opening operation interface
Activity files are stored in the stack top of storage stack.It, then can be by current operation interface when executing return operational order
Activity files take out from storage stack, and the Activity files below current operation interface are shown.Institute
With can according to current operation interface storage stack stack in location determination its execute sequence.
The embodiment of the present application replaces return instruction according to the execution at the current operation interface of application program sequence,
The application program of intended application type is avoided because the too fast operation of user causes to exit, and the page before restoring again will load
Plurality can improve the operating efficiency of user according to this and the problem of delay more time.
Fig. 6 is the flow diagram of another application operating optimization method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of the technical solution that example is provided, to executing sequence according to the current operation interface, to as operational order
It returns to the operation that operational order is replaced to be optimized, optionally, as shown, this method includes:
S150, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
If S151, the application program are intended application type, it is determined that the operating status of the application program.
If the operating status of S152, the application program is front stage operation, it is determined that current operation interface.
S153, the acquisition current operation interface execute sequence in the application program.
If S154, the interface that the current operation interface is first startup, the return operational order is changed to
Return to initial order;Wherein, the return initial order is used to the application program being placed in running background, and is back to terminal
The system initial interface of equipment.
S155, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
If S156, not received in preset time and restoring instruction to the foreground of the application program, close described in
Application program.
If the foreground recovery instruction in preset time to receive to the application program, then it represents that before user
It is not maloperation to return to operational order, and user is not again turned on after the application program " exiting " in preset time and answers
With program, so being placed on the closing application program of running background.Avoid the application program for a long time in the fortune of operating system
Occupied space in row space, and increase system burden.The preset time can be systemic presupposition or user setting, herein not
It is construed as limiting.
The embodiment of the present application is then closed by not receiving the foreground recovery instruction to the application program in preset time
The application program is closed, it can be when user have to be again started up the application program in the short time, when avoiding the application program long
Between be placed in running background and occupy system operation space, can while improving user's operation efficiency, avoid excessively occupy system
System space.
Fig. 7 is the flow diagram of another application operating optimization method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of the technical solution that example is provided, optionally, as shown in fig. 7, this method includes:
When S160, application program launching in terminal device, the first time of the application program upon actuation is monitored
Interior data loading capacity.
The data loading capacity is the amount of communication data of terminal device and internet, including downloading data and upload data;
Application program can be by WLAN and internet communication, can also by the data traffic of such as cellular mobile communication and mutually
Connected network communication.Application program upon actuation, can load corresponding data, as in the initial start of application program from internet
Hold, and if user is after starting application program, actively triggering loads more data within first time, can further increase
The data loading capacity of application program.Illustratively, if the application program is news subscription software, which is starting
Afterwards, the new content that can load default column is pushed to user;If user triggers other columns, can cause application program into
One step loads the content of other columns.Illustratively, the first time can be 10 seconds, i.e., 10 after application program launching
The loading capacity of monitoring application program in second.The first time can be configured according to concrete application, be not limited thereto.
S161, the application program is determined as by intended application type according to the data loading capacity.
If the data loading capacity in the first time of application program upon actuation is more than load threshold value, then it represents that apply journey
The data loading capacity that sequence is given tacit consent to upon actuation is larger or application program can cause data to load because of the triggering of user upon actuation
It measures larger;I.e. if the maloperation of user is by the application program relationship, which needs to reload more data,
Network flow is not only expended, can also be wasted time, it is possible to which the application program is determined as destination application.The load
Threshold value can be configured according to practical application, if data loading capacity is more than load threshold value, then it represents that the number of application program
It is larger according to loading capacity.
Optionally, if the data loading capacity is more than load threshold value, the cumulative of judgment value is carried out, and returns to execution and exists
When application program launching in terminal device, the data loading capacity in the first time of the application program upon actuation is monitored;
If the judgment value is more than default value within the second time, the application program is determined as intended application type.
Wherein, it is understood that there may be some application program is for the first time using more data are loaded the case where, but in making later
More data can't be loaded with process.So further the number larger to application data loading capacity counts;Such as
Fruit judgment value within the second time is more than default value, then it represents that the data in the second time after the application program launching add
The larger number of carrying capacity is more, then the application program is determined as intended application type.Illustratively, second time can
To be 1 day, 2 days or 1 week, the second time, application program started repeatedly within the second time much larger than at the first time, according to
The multiple data loading capacity of application program in second time determines the use habit of application program, can improve and judge that target is answered
With the accuracy of type.
Optionally, after the application program being determined as destination application, can also operate according to the user's choice into
One step determines intended application type.User can adjust the application program in intended application type according to the use demand of oneself.
S162, when operating system receives the operational order of extraneous input, determine the corresponding application of the operational order
Program.
If S163, the application program are intended application type, it is determined that the operating status of the application program.
S164, according to the operating status of the application program, the operational order is carried out more by the operating system
It changes.
S165, the operational order after the replacement is transmitted to by the application program by the operating system, to carry out
Response.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
Application program is determined as mesh by the embodiment of the present application according to application program data loading capacity upon actuation
Application program is marked, the more application program of the data loading capacity after startup is determined as destination application, it can be to avoid such
Application program leads to need after closing because of maloperation consuming network traffic flow, and wastes time.
Fig. 8 is the structure diagram that a kind of application operating provided by the embodiments of the present application optimizes device, which can execute
Application operating optimization method, as shown in figure 8, the device includes:
Operational order receiving module 210, described in when operating system receives the extraneous operational order inputted, determining
The corresponding application program of operational order;
Module 211 is replaced in instruction, will be described by the operating system if meeting setting condition for the present situation
Operational order is replaced;
Respond module 212 is instructed, it is described for being transmitted to the operational order after the replacement by the operating system
Application program, to be responded.
A kind of application operating optimization device provided in the embodiment of the present application, by receiving extraneous input in operating system
Operational order when, determine the corresponding application program of the operational order;If the present situation meets setting condition, pass through institute
Operating system is stated to replace the operational order;The operational order after the replacement is transmitted to by the operating system
The application program, to be responded.It, can be in the operational order for receiving extraneous input by using above-mentioned technical proposal
When, judged according to the present situation, can be replaced operational order by operating system if necessary, operation is avoided to refer to
Order causes maloperation.
Optionally, the operational order of the extraneous input includes that user is referred to by the operation that terminal device the machine hardware inputs
It enables or user is by being remotely controlled the operational order inputted.
Optionally, instruction is replaced module and is specifically used for:
The athletic posture information of terminal device is obtained, and whether the terminal device is judged according to the athletic posture information
For user's operation state;
If terminal device is user's operation state, the operational order is replaced according to the application program.
Optionally, further include:
Module is ignored in instruction, for judging whether the terminal device is user's operation shape according to the athletic posture information
After state, if the terminal device non-user mode of operation, ignores the operational order.
Optionally, instruction is replaced module and is specifically included:
Operating status determining module, if being intended application type for the application program, it is determined that described to apply journey
The operating status of sequence;
Running status instruction replaces module, for the operating status according to the application program, passes through the operating system
The operational order is replaced.
Optionally, running status instruction is replaced module and is specifically included:
Current interface determining module, if the operating status for the application program is front stage operation, it is determined that current
Operation interface;
Execution sequence acquisition module executes sequence for obtaining the current operation interface in the application program;
It executes sequential instructions and replaces module, for executing sequence according to the current operation interface, to referring to as operation
The return operational order of order is replaced.
Optionally, sequential instructions replacement module is executed to be specifically used for:
If the current operation interface is the interface of first startup, the return operational order is changed to and is returned
Begin to instruct;Wherein, the return initial order is used to the application program being placed in running background, and is back to terminal device
System initial interface.
Optionally, further include:
Timing closedown module, for the operational order after the replacement to be transmitted to described answer by the operating system
Instruction is restored to the foreground of the application program if do not received in preset time after being responded with program,
Close the application program.
Optionally, execution sequence acquisition module is specifically used for:
The storage stack of the operation interface of the application program is obtained, and determines the current operation interface in the storage stack
Stack in position;
Sequence is executed according to application program described in location determination in the stack.
Optionally, further include:
Data loading capacity determining module, described in when operating system receives the extraneous operational order inputted, determining
Before the corresponding application program of operational order, when application program launching in terminal device, monitors the application program and opening
The data loading capacity in first time after dynamic;
Determination type module, for the application program to be determined as intended application type according to the data loading capacity.
Optionally, determination type module specifically includes:
Judgment value determining module carries out the cumulative of judgment value if being more than load threshold value for the data loading capacity,
And it when returning to application program launching of the execution in terminal device, monitors in the first time of the application program upon actuation
Data loading capacity;
Type determination module is answered if being used for the judgment value within the second time is more than default value by described in
It is determined as intended application type with program.
A kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer are executable
The application operating optimization operation being not limited to the described above is instructed, the application behaviour that the application any embodiment is provided can also be performed
Make the relevant operation in optimization method.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable
When being executed by computer processor for executing application operating optimization method, this method includes for instruction:
When operating system receives the operational order of extraneous input, the corresponding application program of the operational order is determined;
If the present situation meets setting condition, the operational order is replaced by the operating system;
The operational order after the replacement is transmitted to the application program by the operating system, to be responded.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the program instruction that can be executed by one or more processors and (such as implement
For computer program).
The embodiment of the present application provides a kind of terminal device, and provided by the embodiments of the present application answer can be integrated in the terminal device
With operation optimization device.
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one
Kind of terminal device 30, including memory 31, processor 32 and are stored in the computer that can be run on memory 31 and in processor
Program, the processor realize the application operating optimization method described in above-described embodiment when executing the computer program.This Shen
Please embodiment provide terminal device, operation of the user to application program can be optimized.
Figure 10 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in Figure 10, which sets
It is standby to may include:Shell (not shown), touch screen (not shown), touch key-press (not shown), memory
301, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board
(not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds;Institute
It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for being each of the terminal device
A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading
The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with
Realize following steps:
When operating system receives the operational order of extraneous input, the corresponding application program of the operational order is determined;
If the present situation meets setting condition, the operational order is replaced by the operating system;
The operational order after the replacement is transmitted to the application program by the operating system, to be responded.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric
Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls
Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300
Can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device provided in this embodiment for realizing application operating optimization is described in detail below, the end
End equipment is by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 can
Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303
Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312
With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 may include 3091 He of display controller
One or more input controllers 3092 for controlling other input/control devicess 310.Wherein, one or more input controls
Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310,
Other input/control devicess 310 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 3092 can with it is following any one connect:Keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user,
Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312
Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and is shown by display controller 3091
The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312
Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuits 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 305 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311, the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound
And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered
And power management.
Terminal device provided by the embodiments of the present application can optimize operation of the user to application program.
It is arbitrary that application operating optimization device, storage medium and the terminal device provided in above-described embodiment can perform the application
The application operating optimization method that embodiment is provided has and executes the corresponding function module of this method and advantageous effect.Not upper
The technical detail of detailed description in embodiment is stated, reference can be made to the application operating optimization method that the application any embodiment is provided.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (14)
1. a kind of application operating optimization method, which is characterized in that including:
When operating system receives the operational order of extraneous input, the corresponding application program of the operational order is determined;
If the present situation meets setting condition, the operational order is replaced by the operating system;
The operational order after the replacement is transmitted to the application program by the operating system, to be responded.
2. the method as described in claim 1, which is characterized in that the operational order of the extraneous input includes that user passes through terminal
The operational order of equipment the machine hardware input or user are transmitted to the operational order of terminal device by other equipment.
3. the method as described in claim 1, which is characterized in that if the present situation meets setting condition, pass through the behaviour
Make system to replace the operational order, including:
The athletic posture information of terminal device is obtained, and judges whether the terminal device is use according to the athletic posture information
Family mode of operation;
If terminal device is user's operation state, the operational order is replaced according to the application program.
4. method as claimed in claim 3, which is characterized in that judge that the terminal device is according to the athletic posture information
It is no after user's operation state, to further include:
If the terminal device non-user mode of operation, ignores the operational order.
5. the method as described in claim 1 or 3, which is characterized in that if the present situation meets setting condition, according to
Application program replaces the operational order, including:
If the application program is intended application type, it is determined that the operating status of the application program;
According to the operating status of the application program, the operational order is replaced by the operating system.
6. method as claimed in claim 5, which is characterized in that according to the operating status of the application program, pass through the behaviour
Make system by the operational order carry out replace include:
If the operating status of the application program is front stage operation, it is determined that current operation interface;
It obtains the current operation interface and executes sequence in the application program;
Sequence is executed according to the current operation interface, the return operational order as operational order is replaced.
7. method as claimed in claim 6, which is characterized in that sequence is executed according to the current operation interface, to conduct
The return operational order of operational order is replaced, including:
If the current operation interface is the interface of first startup, the return operational order is changed to return starting and is referred to
It enables;Wherein, the system that the return initial order is used to being placed in running background, and being back to terminal device the application program
Initial interface.
8. the method for claim 7, which is characterized in that by the operating system by the operational order after the replacement
It is transmitted to the application program, after being responded, further includes:
Instruction is restored to the foreground of the application program if do not received in preset time, closes the application program.
9. method as claimed in claim 6, which is characterized in that obtain the current operation interface in the application program
Execution sequence include:
The storage stack of the operation interface of the application program is obtained, and determines the current operation interface in the stack for storing stack
Interior position;
Sequence is executed according to application program described in location determination in the stack.
10. such as claim 5 any one of them method, which is characterized in that receive the operation of extraneous input in operating system
When instruction, before determining the corresponding application program of the operational order, further include:
When application program launching in terminal device, the data monitored in the first time of the application program upon actuation add
Carrying capacity;
The application program is determined as intended application type according to the data loading capacity.
11. method as claimed in claim 10, which is characterized in that determined the application program according to the data loading capacity
Include for intended application type:
If the data loading capacity is more than load threshold value, the cumulative of judgment value is carried out, and returns to execution in terminal device
Application program launching when, monitor the data loading capacity in the first time of the application program upon actuation;
If the judgment value is more than default value within the second time, the application program is determined as intended application class
Type.
12. a kind of application operating optimizes device, which is characterized in that including:
Operational order receiving module, for when operating system receives the extraneous operational order inputted, determining that the operation refers to
Enable corresponding application program;
Module is replaced in instruction, if meeting setting condition for the present situation, is referred to the operation by the operating system
Order is replaced;
Respond module is instructed, it is described using journey for being transmitted to the operational order after the replacement by the operating system
Sequence, to be responded.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The application operating optimization method as described in any one of claim 1-11 is realized when execution.
14. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1-11 when executing the computer program
Any one of them application operating optimization method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810577387.5A CN108804138A (en) | 2018-06-05 | 2018-06-05 | application operating optimization method, device, storage medium and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810577387.5A CN108804138A (en) | 2018-06-05 | 2018-06-05 | application operating optimization method, device, storage medium and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108804138A true CN108804138A (en) | 2018-11-13 |
Family
ID=64087383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810577387.5A Pending CN108804138A (en) | 2018-06-05 | 2018-06-05 | application operating optimization method, device, storage medium and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108804138A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976642A (en) * | 2019-03-29 | 2019-07-05 | 维沃移动通信(深圳)有限公司 | A kind of control method and terminal device |
CN110764856A (en) * | 2019-09-29 | 2020-02-07 | 维沃移动通信有限公司 | Application control method and terminal equipment |
WO2021114357A1 (en) * | 2019-12-11 | 2021-06-17 | 惠州Tcl移动通信有限公司 | Application program optimization method, apparatus, storage medium, and electronic device |
CN113251589A (en) * | 2021-04-30 | 2021-08-13 | 青岛海尔空调器有限总公司 | Air conditioner control method and air conditioner |
CN117348576A (en) * | 2023-12-04 | 2024-01-05 | 深圳恒越机电设备有限公司 | Intelligent control system and method applied to test sorting machine |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6760831B2 (en) * | 1998-01-28 | 2004-07-06 | Pts Corporation | Methods and apparatus to support conditional execution in a VLIW-based array processor with subword execution |
CN105549849A (en) * | 2015-12-15 | 2016-05-04 | 小米科技有限责任公司 | Method and device for processing misoperation instruction |
CN105955748A (en) * | 2016-05-06 | 2016-09-21 | 青岛海信电器股份有限公司 | Return scene processing method and device of application program |
CN106020637A (en) * | 2016-05-06 | 2016-10-12 | 北京珠穆朗玛移动通信有限公司 | An application start method and a mobile terminal |
CN106155521A (en) * | 2016-06-28 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of method and apparatus carrying out returning operation in terminal |
CN106598249A (en) * | 2016-12-16 | 2017-04-26 | 广东欧珀移动通信有限公司 | Wrong touch prevention method and device for touch key, and mobile terminal |
CN107729012A (en) * | 2017-10-27 | 2018-02-23 | 深圳前海桔子信息技术有限公司 | A kind of application interface combined arrangement method and device |
-
2018
- 2018-06-05 CN CN201810577387.5A patent/CN108804138A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6760831B2 (en) * | 1998-01-28 | 2004-07-06 | Pts Corporation | Methods and apparatus to support conditional execution in a VLIW-based array processor with subword execution |
CN105549849A (en) * | 2015-12-15 | 2016-05-04 | 小米科技有限责任公司 | Method and device for processing misoperation instruction |
CN105955748A (en) * | 2016-05-06 | 2016-09-21 | 青岛海信电器股份有限公司 | Return scene processing method and device of application program |
CN106020637A (en) * | 2016-05-06 | 2016-10-12 | 北京珠穆朗玛移动通信有限公司 | An application start method and a mobile terminal |
CN106155521A (en) * | 2016-06-28 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of method and apparatus carrying out returning operation in terminal |
CN106598249A (en) * | 2016-12-16 | 2017-04-26 | 广东欧珀移动通信有限公司 | Wrong touch prevention method and device for touch key, and mobile terminal |
CN107729012A (en) * | 2017-10-27 | 2018-02-23 | 深圳前海桔子信息技术有限公司 | A kind of application interface combined arrangement method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976642A (en) * | 2019-03-29 | 2019-07-05 | 维沃移动通信(深圳)有限公司 | A kind of control method and terminal device |
CN110764856A (en) * | 2019-09-29 | 2020-02-07 | 维沃移动通信有限公司 | Application control method and terminal equipment |
WO2021114357A1 (en) * | 2019-12-11 | 2021-06-17 | 惠州Tcl移动通信有限公司 | Application program optimization method, apparatus, storage medium, and electronic device |
CN113251589A (en) * | 2021-04-30 | 2021-08-13 | 青岛海尔空调器有限总公司 | Air conditioner control method and air conditioner |
CN113251589B (en) * | 2021-04-30 | 2022-08-19 | 青岛海尔空调器有限总公司 | Air conditioner control method and air conditioner |
CN117348576A (en) * | 2023-12-04 | 2024-01-05 | 深圳恒越机电设备有限公司 | Intelligent control system and method applied to test sorting machine |
CN117348576B (en) * | 2023-12-04 | 2024-02-13 | 深圳恒越机电设备有限公司 | Intelligent control system and method applied to test sorting machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804138A (en) | application operating optimization method, device, storage medium and terminal device | |
CN108681475B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN108363593B (en) | Application program preloading method and device, storage medium and terminal | |
EP3575961B1 (en) | Method and apparatus for updating application prediction model, storage medium, and terminal | |
CN108614722B (en) | Application program preloading method and device, storage medium and terminal | |
CN108647055B (en) | Application program preloading method and device, storage medium and terminal | |
EP3579104A1 (en) | Method and apparatus for establishing an application prediction model, storage medium and terminal | |
CN108958830B (en) | Application program starting method and device, storage medium and terminal | |
CN107943650B (en) | Application program control method and device, storage medium and terminal | |
EP3570163A1 (en) | Method for launching application, storage medium, and terminal | |
CN108762831B (en) | Application program preloading method and device, storage medium and terminal | |
CN108595224B (en) | Application program prompting method and device, storage medium and terminal | |
CN108804153B (en) | Application program preloading method and device, storage medium and terminal | |
CN108776599B (en) | Management method and device for preloaded application, storage medium and intelligent terminal | |
WO2019218886A1 (en) | Application pre-loading management method, device, storage medium and smart terminal | |
CN108536488B (en) | Application starting optimization method and device, storage medium and terminal equipment | |
CN112672794A (en) | Game page display method and related product | |
CN108845838B (en) | Application program preloading method and device, storage medium and terminal | |
CN112188001A (en) | Shortcut setting method, shortcut setting device and electronic equipment | |
CN108804156A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN111512278B (en) | Method for processing application of terminal equipment and terminal equipment | |
CN109983428A (en) | A kind of operating method and device of application | |
CN108762838B (en) | Application program preloading method and device, storage medium and terminal | |
CN107766218A (en) | system optimization method, device, storage medium and terminal device | |
CN112099682B (en) | Icon display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |