CN109976823A - A kind of application program launching method, device and terminal device - Google Patents
A kind of application program launching method, device and terminal device Download PDFInfo
- Publication number
- CN109976823A CN109976823A CN201711447341.3A CN201711447341A CN109976823A CN 109976823 A CN109976823 A CN 109976823A CN 201711447341 A CN201711447341 A CN 201711447341A CN 109976823 A CN109976823 A CN 109976823A
- Authority
- CN
- China
- Prior art keywords
- application program
- interface
- application
- historical usage
- identification
- 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/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
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
The present invention is suitable for technical field of data processing, provides a kind of application program launching method, device and terminal device, comprising: receive the enabled instruction of application program;Judge in database whether include and the associated historical usage interface identification of application program;If including and the associated historical usage interface identification of application program in database, then startup interface is set by the corresponding Application Program Interface of historical usage interface identification, and start application program, wherein historical usage interface identification be application program it is upper once exit when Application Program Interface corresponding application interface mark.In the embodiment of the present invention, even if application program is accidentally closed on way to user in use, also the interface accidentally closed can be opened quick, intelligently when starting next time, without carrying out being operated into interface when accidentally closing to application program again, therefore the use for greatly facilitating user, improves the intelligence degree of application program launching.
Description
Technical field
The invention belongs to technical field of data processing more particularly to a kind of application program launching method, device and terminal to set
It is standby.
Background technique
In the prior art, technical staff, can be by some in application program in the application program of developing intellectual resource terminal
Immobile interface is set as main interface, and when application program is activated, using the main interface as the startup interface of application program into
Row starting.Therefore, in the prior art, no matter user is to start application program or after powering for the first time after intelligent terminal booting
Repeated priming application program can only all be started using main interface.But in real life, due to user hand accidentally or its
The influence of his factor, application program can be in user using being closed halfway, if the function before user wants to continue at this time makes sometimes
With, application program can only be operated again after application program starts again by main interface, intelligence degree is low,
User's use is inconvenient.
Summary of the invention
In view of this, the embodiment of the invention provides application program launching method, device and terminal device, it is existing to solve
The low problem of application program launching intelligence degree in technology.
The first aspect of the embodiment of the present invention provides a kind of application program launching method, comprising:
Receive the enabled instruction of application program;
Judge in database whether comprising with the associated historical usage interface identification of the application program, wherein the history
Application interface be identified as the application program it is upper once exit when Application Program Interface corresponding application interface mark;
If in the database comprising with the associated historical usage interface identification of the application program, gone through described
History application interface identifies corresponding Application Program Interface and is set as startup interface, and starts the application program.
The second aspect of the embodiment of the present invention provides a kind of application program launching device, comprising:
Command reception module, for receiving the enabled instruction of application program;
Identify determining module, for judge in database whether include and the associated historical usage interface of the application program
Mark, wherein the historical usage interface identification be the application program it is upper once exit when Application Program Interface it is corresponding
Application interface mark;
First interface starting module, if for including to be answered with the associated history of the application program in the database
With interface identification, then startup interface is set by the corresponding Application Program Interface of the historical usage interface identification, and starts institute
State application program.
The third aspect of the embodiment of the present invention provides a kind of application program launching terminal device, comprising:
Including memory, processor and store the computer that can be run in the memory and on the processor
Program, which is characterized in that the processor realizes application program launching method as described above when executing the computer program
The step of.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, comprising: is stored with computer
Program, which is characterized in that the computer program realizes the application program launching of method as described above when being executed by processor
The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: when by exiting each time to application program
Application Program Interface recorded, and in application program launching, automatic application when last application program being called to exit
Program interface as startup interface start application program, even if so that user in use way close application program, also can be under
The interface for opening last time closing when one-shot quick, intelligently is operated into last time pass without carrying out again to application program
Interface when closing, therefore the use of user is greatly facilitated, improve the intelligence degree of application program launching.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of application program launching method provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention three provides;
Fig. 4 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention four provides;
Fig. 5 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention five provides;
Fig. 6 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention six provides;
Fig. 7 is the implementation process schematic diagram for the application program launching method that the embodiment of the present invention seven provides;
Fig. 8 is the schematic diagram for the application program launching device that the embodiment of the present invention eight provides;
Fig. 9 is the schematic diagram for the application program launching terminal device that the embodiment of the present invention nine provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation flow chart of the application program launching method of the offer of the embodiment of the present invention one, and details are as follows:
S101 receives the enabled instruction of application program.
Due to application program is activated in an intelligent terminal mode may there are many, both may be such as that user clicks manually
Start after application icon or application shortcut, it is also possible to starting when other applications are called application program, because
This, the enabled instruction received in the embodiment of the present invention both may be to be inputted from user to intelligent terminal, it is also possible to be by
It is generated when other applications are called in intelligent terminal, herein without limiting.
S102, judge in database whether comprising with the associated historical usage interface identification of application program, wherein history is answered
With interface identification be application program it is upper once exit when the corresponding application interface mark of Application Program Interface.
In actual conditions, each application program may include simultaneously multiple and different interfaces, such as answering for social category
With in program at least can include session interface, contact person interface and set interface, in order to search when can be by these interface areas
It separates, it, can be to each of application program interface all in the embodiment of the present invention to facilitate subsequent accurate setting startup interface
Setting one unique corresponding application interface mark, during considering practical R & D design, in single application program
Interface name all follows unique nomenclature principle, therefore can set interface title to its corresponding application interface mark.
In the embodiment of the present invention, the corresponding application interface mark in interface when can exit to application program is recorded, and
Labeled as historical usage interface identification, while when application program exits next time, then to the historical usage interface identification of storage
It is updated, so that interface shown when application program exits every time is saved, for subsequent query use.
It should illustrate, since historical usage interface identification is only can just exist in application program non-initial start,
Therefore not each application program launching when can related historical usage interface identification, simultaneously because an intelligent terminal
In often simultaneously multiple application programs are installed, in embodiments of the present invention, can be by application program all in intelligent terminal
The storage of historical usage interface identification in the database, therefore may be gone through simultaneously comprising multiple and different application programs in database
History application interface mark, therefore, every time in application program launching, it is necessary to first search whether that it is associated from database
Historical usage interface identification, with determine how startup interface is configured.Wherein, opening in the embodiment of the present invention for the first time
It is dynamic, refer to first time starting of the application program after intelligent terminal is installed.
S103, if in database comprising with the associated historical usage interface identification of application program, by historical usage interface
It identifies corresponding Application Program Interface and is set as startup interface, and start application program.
When in database including historical usage interface identification associated with application program, illustrate that this time starting not is this
The starting for the first time of application program, the use of user for convenience at this time, interface when realization intelligent skip to last time is closed, this
It will recognise that interface corresponding with historical usage interface identification in inventive embodiments, and the page carried out as startup interface
The starting of application program, so that interface of application program when last close can be directly displayed by starting.
As an embodiment of the present invention, it is marked if not including in database with the associated historical usage interface of application program
Know, then sets startup interface for default application interface, and start application program.When in database do not include historical usage
When interface identification, then explanation this time starting is the starting for the first time of the application program, and there is no jump to one in application program at this time
The user demand at interface when secondary closing.For such situation, journey can applied in advance by technical staff in the embodiment of the present invention
An interface is specified to start for the first time as default application interface, and in application program in all interfaces included in sequence
When, start using the default application interface as startup interface.It preferably, can be using the main interface of application program as silent
Recognize Application Program Interface.
In the embodiment of the present invention, Application Program Interface when by exiting each time to application program is recorded, and
When application program launching, Application Program Interface when the automatic last application program of calling exits starts as startup interface to be applied
Program, even if so that user application program is closed on way in use, also can when starting next time quick, intelligent ground either on or off
Interface, without be operated into application program interface when closing again, therefore greatly facilitate making for user
With improving the intelligence degree of application program launching.
As the embodiment of the present invention two, as shown in Fig. 2, after application program launching, comprising:
Whether S104, monitoring application program close.
S105, the corresponding application of Application Program Interface when monitoring closing application program, when by closing application program
Interface identification carries out storage update as historical usage interface identification.
Interface when exiting to realize to each application program records, can be in application program in the embodiment of the present invention
After starting, whether real-time monitoring application program is closed, and records interface when closing when application program is closed,
The application interface flag at interface when will be closed be historical usage interface identification, with to historical usage interface identification into
Row storage.In the embodiment of the present invention, since the historical usage interface identification at interface when closing is stored, to ensure that next
When secondary application program launching, this pent interface can be rapidly and accurately opened.
Wherein, method that whether monitoring is closed with application program and that log history application interface identifies, including but it is unlimited
Yu Ru: come the boundary of the application program to the currently running application program of intelligent terminal and display using prefixed time interval as the period
Face is identified, the interface of the currently running application program of an intelligent terminal and display is such as identified every 0.5s.If it was found that
This currently running application program identified is not identical as the last time, then determines that application program to exit, can incite somebody to action at this time
The interface when interface of the application program of last time record is exited as application program, and its corresponding application interface mark is referred to
It is set to the storage of historical usage interface identification information, if having there is historical usage corresponding with the application program in database at this time
Interface identification then deletes the original historical usage interface identification stored in database, and the history that storage is obtained
Application interface mark is stored, to the update of historical usage interface identification when realizing each closing application program.
As the embodiment of the present invention three, as shown in figure 3, after S101, comprising:
S301 judges that interface intelligent starting identifies whether to open.
S302 sets startup interface for default application interface, and open if intelligent starting mark in interface is not opened
Dynamic application program.
In view of in actual conditions, and when not all user has demand application program launching, jumps to last time when closing
Interface, meanwhile, even if all jumping to the interface when last time closing when same user may also not need each application program launching.
Therefore, in order to sufficiently meet the different actual demands of user, an interface intelligent starting mark can be set in the embodiment of the present invention,
Whether the automatic turn function for managing in the embodiment of the present invention one starts, when interface intelligent starting, which identifies, to be opened, starting
Automatic turn function can carry out the starting of Application Program Interface according to the method for one kind of the embodiment of the present invention at this time, and work as interface
When intelligent starting mark is not opened, then default application circle of technical staff's setting is directly opened when controlling application program launching
Face.Wherein, the default application interface in the embodiment of the present invention can both be answered with the default of embodiments of the present invention one kind
It is identical with program interface, can also be different, it can specifically be set by technical staff according to actual user's demand.Meanwhile the present invention
In embodiment, it can identify whether to open by user's sets itself interface intelligent starting, to meet the actual demand of user.
When intelligent starting mark in interface is not opened, illustrates that user does not need to start automatic turn function, do not need to jump
To last time close when interface, at this point, the embodiment of the present invention can directly by default application interface be set as startup interface into
Row application program launching.
Whether S303 executes and judges in database comprising being associated with application program if intelligent starting mark in interface is opened
Historical usage interface identification the step of.
When interface intelligent starting, which identifies, to be opened, illustrate that user needs to start automatic turn function, at this point, the present invention is implemented
Regular meeting jumps in step S102, to realize the setting to the starting page, automatic jumps to interface when last time closing.
As the embodiment of the present invention four, as shown in Figure 4, comprising:
S401 carries out Application Program Interface parsing to application program, determines the Application Program Interface that application program includes.
S402 carries out data analysis to application program, determines the corresponding application interface of each Application Program Interface
Data, and generated and the unique corresponding executable file of each Application Program Interface, executable file based on application interface data
It transfers at runtime and its unique corresponding Application Program Interface is set as startup interface.
Wherein, application interface data include composition code data, associated multi-medium data and the correspondence at interface itself
Configuration file.Since each application program includes multiple and different interface, in order to realize quickly setting to startup interface
It is fixed, interface parsing can be carried out to application program first in the embodiment of the present invention, determine all interfaces that application program is included,
And behind all interfaces for determining to be included, application interface data corresponding to each interface are analyzed and handled, it is raw
At the required unique corresponding executable file with interface, so that subsequent need to carry out to be called when startup interface setting.
As the embodiment of the present invention five, as a kind of specific implementation of the embodiment of the present invention four, as shown in figure 5, packet
It includes:
S501 carries out dis-assembling processing to the installation kit of application program, with the code data for the program that is applied, multimedia
Data and configuration file.
For running different systems for intelligent terminal, it can be transported to realize using its corresponding disassemblers
The dis-assembling of capable application program installation kit operates, and its corresponding disassemblers belong to it is known in those skilled in the art
Technology, therefore this is not described in detail in the embodiment of the present invention.By taking the intelligent terminal for running Android system as an example, it can use
Apktool tool carries out dis-assembling to the application installation package of Android application program, to obtain the smali generation of required application program
Code, multimedia file and XML configuration file.
S502 carries out the code of application program, multi-medium data and configuration file as unit of Application Program Interface
It divides and extracts, obtain the corresponding application interface data of each Application Program Interface.
As a kind of optional application interface data extracting mode of the embodiment of the present invention, the code with program can obtained
After data, multi-medium data and configuration file, it is screened to realize using the title at interface, to realize to application
The extraction of the application interface data of program.
S503 is handled using interface data, is generated and the unique corresponding executable text of each Application Program Interface
Part.
In the application interface data for the program that is applied and then recompility conversion is carried out to using interface data, with
Executable file needed for generating, wherein the compiling crossover tool actually used can be selected according to actual needs by technical staff
It is fixed.It is still illustrated, can be utilized in the interface data that is applied by taking the intelligent terminal for running Android system as an example
Smali2java tool is converted into java file, and is compiled into jar packet, recycle BndTools plug-in unit, jar order and
Bnd tool carries out processing conversion to jar packet, to obtain final required bundle executable file corresponding with interface.
In the embodiment of the present invention, by the processing of application program installation kit, obtain each interface respectively it is unique it is corresponding can
File is executed, so that application program installation kit is rearranged, and is obtained in the form of interface uniquely corresponding executable file
With storage.So that application program is on startup, history run application interface is only needed to identify the executable file at corresponding interface, i.e.,
It can be achieved setting to startup interface, solve and be only capable of being started using homepage as startup interface in the prior art
Problem.
As the embodiment of the present invention six, as shown in fig. 6, startup interface is arranged according to historical usage interface identification in S103,
And application program launching is carried out, it specifically includes:
S1031 finds out the executable file of the corresponding Application Program Interface of historical usage interface identification.
Since in the embodiment of the present invention, application interface mark and interface are unique corresponding relations, as interface unique name is referred to as
It is identified for application interface, while interface is also unique corresponding with executable file, therefore is directly marked according to historical usage interface
Knowledge is inquired, that is, can determine that the executable file of required operation.
S1032 starts application program and runs the executable file of Application Program Interface.
As having contained all application interface data needed for interface in executable file, in executable file
Application interface data can be called directly when operation and generate corresponding interface, and are directly shown in application program launching, from
And realize that historical usage interface identification, which is corresponded to interface, is set as startup interface progress application program launching.Therefore, in completion pair
Application program installation kit is rearranged, and obtains interface uniquely after corresponding executable file, when needing historical usage interface identification
When corresponding interface is set as startup interface progress application program launching, it is only necessary to find out the corresponding executable file in interface and transport
Row.
As the embodiment of the present invention seven, as shown in fig. 7, comprises
S701 carries out interface to application program and updates parsing, determines whether is Application Program Interface that application program includes
There are updates.
In view of the version of application program can be constantly updated, the interface for being included can also be constantly updated, may will increase,
Its interface for being included is deleted or changed, if still rearranging the executable file of generation at this time with the application program of legacy version to carry out
The starting of application program, it is most likely that will lead to application program launching and mistake occur.Therefore, in order to guarantee the normal of application program
Starting, the embodiment of the present invention, which can update application program with the presence or absence of interface, to be detected, and is detecting application program presence
Interface is updated executable file when updating.Wherein it can judge that interface whether there is according to the version number of application program
It updates.
It should be noted that the embodiment of the present invention does not carry out application program with the presence or absence of the detection opportunity that interface updates
Any restriction, including but not limited to such as: it is real detect in the enabled instruction for receiving application program either intelligent terminal
When backstage detected, belong within the protection scope of the application.
S702 updates if existing in Application Program Interface, and the Application Program Interface updated using the presence parsed is corresponding
Application interface data, executable file is updated.
When determine interface deposit in the updated, to application program carry out dis-assembling obtain needed for update interface apply boundary
Face data, then application interface data is carried out to be converted to corresponding executable file, and utilize obtained executable file pair
The executable file of storage is updated.Due in the embodiment of the present invention to the dis-assembling method of application program, and to application
The method that interface data be converted to corresponding executable file is identical as the method in the embodiment of the present invention five, herein not
Give detailed description.
In embodiments of the present invention, by rearranging to application program installation kit, it is uniquely corresponding to obtain each interface
Executable file, the Application Program Interface when exiting each time are recorded, and in application program launching, in automatic running
The executable file at interface when closing application program, to realize that the interface for closing the last time starts as startup interface
Application program, even if so that user's closing application program in way in use, can also open quick, intelligently when starting next time
The interface that last time closes, without be operated into application program interface when last time closing, therefore greatly place again
User use, improve the intelligence degree of application program launching.
Corresponding to method described in foregoing embodiments, Fig. 8 shows application program launching provided in an embodiment of the present invention
Structural block diagram, for ease of description, only parts related to embodiments of the present invention are shown.The exemplary application program launching of Fig. 8
Device can be the executing subject of the application program launching method of the offer of previous embodiment one.
Referring to Fig. 8, which includes:
Command reception module 81, for receiving the enabled instruction of application program.
Identify determining module 82, for judge in database whether include and associated historical usage circle of the application program
Face mark, wherein the historical usage interface identification be the application program it is upper once exit when Application Program Interface it is corresponding
Application interface mark.
First interface starting module 83, if for including and the associated history of the application program in the database
Application interface mark, then set startup interface for the corresponding Application Program Interface of the historical usage interface identification, and start
The application program.
Further, the application program launching device further include:
Function opening module, for judging that interface intelligent starting identifies whether to open.
Second contact surface starting module, if not opened for interface intelligent starting mark, by default application circle
Face is set as startup interface, and starts the application program.
Jump module executes if opening for interface intelligent starting mark and described judges whether wrap in database
The step of containing historical usage interface identification associated with the application program.
Further, the application program launching device further include:
Interface parsing module is determined described using journey for carrying out Application Program Interface parsing to the application program
The Application Program Interface that sequence includes.
File generating module determines each application program circle for carrying out data analysis to the application program
The corresponding application interface data in face, and it is unique with each Application Program Interface based on application interface data generation
Corresponding executable file, the executable file are transferred at runtime and its unique corresponding Application Program Interface conduct are arranged
Startup interface.
First interface starting module, comprising:
File search module, for finding out the executable of the corresponding Application Program Interface of the historical usage interface identification
File.
File start module, for starting the application program and running the executable file of the Application Program Interface.
Further, the application program launching device further include:
Parsing module is updated, parsing is updated for carrying out interface to the application program, determines the application package
The Application Program Interface contained is with the presence or absence of update.
File update module is updated if updating for existing in the Application Program Interface using the presence parsed
The corresponding application interface data of the Application Program Interface, are updated the executable file.
Each module realizes the process of respective function in application program launching device provided in an embodiment of the present invention, can specifically join
The description of embodiment illustrated in fig. 1 one is stated before examination, and details are not described herein again.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 9 is the schematic diagram for the application program launching terminal device that one embodiment of the invention provides.As shown in figure 9, the reality
The application program launching terminal device 9 for applying example includes: processor 90, memory 91 and is stored in the memory 91 and can
The computer program 92 run on the processor 90.The processor 90 is realized above-mentioned when executing the computer program 92
Step in each application program launching method embodiment, such as step 101 shown in FIG. 1 is to 103.Alternatively, the processor
The function of each module/unit in above-mentioned each Installation practice, such as mould shown in Fig. 8 are realized when the 90 execution computer program 92
The function of block 81 to 83.
The application program launching terminal device 9 can be the calculating such as desktop PC, notebook and palm PC
Equipment.The application program launching terminal device may include, but be not limited only to, processor 90, memory 91.Those skilled in the art
Member is appreciated that Fig. 9 is only the example of application program launching terminal device 9, does not constitute and sets to application program launching terminal
Standby 9 restriction may include components more more or fewer than diagram, perhaps combine certain components or different components, such as
The application program launching terminal device can also include input-output equipment, network access equipment, bus etc..
Alleged processor 90 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 91 can be the internal storage unit of the application program launching terminal device 9, such as using journey
The hard disk or memory of sequence starting terminal device 9.The memory 91 is also possible to the outer of the application program launching terminal device 9
The plug-in type hard disk being equipped in portion's storage equipment, such as the application program launching terminal device 9, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further,
The memory 91 can also both including the application program launching terminal device 9 internal storage unit and also including external storage
Equipment.The memory 91 is for storing needed for the computer program and the application program launching terminal device other
Program and data.The memory 91 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed terminal device and method can pass through it
Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the module or list
Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or
Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown
The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit
Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of application program launching method characterized by comprising
Receive the enabled instruction of application program;
Judge in database whether comprising with the associated historical usage interface identification of the application program, wherein the historical usage
Interface identification be the application program it is upper once exit when Application Program Interface corresponding application interface mark;
If in the database comprising with the associated historical usage interface identification of the application program, the history is answered
It is set as startup interface with the corresponding Application Program Interface of interface identification, and starts the application program.
2. application program launching method as described in claim 1, which is characterized in that in the starting for receiving application program
After instruction, further includes:
Judge that interface intelligent starting identifies whether to open;
If the interface intelligent starting mark is not opened, startup interface is set by default application interface, and start institute
State application program;
If interface intelligent starting mark is opened, execute it is described judge in database whether include and application program pass
The step of historical usage interface identification of connection.
3. application program launching method as claimed in claim 1 or 2, which is characterized in that further include:
Application Program Interface parsing is carried out to the application program, determines the Application Program Interface that the application program includes;
Data analysis is carried out to the application program, determines the corresponding application interface number of each Application Program Interface
According to, and based on the application interface data generate with the unique corresponding executable file of each Application Program Interface, it is described
Executable file is transferred at runtime and its unique corresponding Application Program Interface is arranged as startup interface.
4. application program launching method as claimed in claim 3, which is characterized in that described by the historical usage interface identification
Corresponding Application Program Interface is set as startup interface, and starts the application program, comprising:
Find out the executable file of the corresponding Application Program Interface of the historical usage interface identification;
Start the application program and runs the executable file of the Application Program Interface.
5. application program launching method as claimed in claim 3, which is characterized in that further include:
Interface is carried out to the application program and updates parsing, the Application Program Interface for determining that the application program includes is
It is no to there is update;
It is updated if existing in the Application Program Interface, the Application Program Interface updated using the presence parsed is corresponding
The application interface data, are updated the executable file.
6. a kind of application program launching device characterized by comprising
Command reception module, for receiving the enabled instruction of application program;
Determining module is identified, for whether judging in database comprising marking with the associated historical usage interface of the application program
Know, wherein the historical usage interface identification be the application program it is upper once exit when Application Program Interface corresponding answer
Use interface identification;
First interface starting module, if for including and associated historical usage circle of the application program in the database
Face mark then sets startup interface for the corresponding Application Program Interface of the historical usage interface identification, and answers described in starting
Use program.
7. application program launching device as claimed in claim 6, which is characterized in that further include:
Function opening module, for judging that interface intelligent starting identifies whether to open;
Second contact surface starting module sets default application interface if not opening for interface intelligent starting mark
It is set to startup interface, and starts the application program;
Jump module, if being opened for interface intelligent starting mark, execute it is described judge in database whether include with
The step of application program associated historical usage interface identification.
8. application program launching device as claimed in claims 6 or 7, which is characterized in that further include:
Interface parsing module determines the application package for carrying out Application Program Interface parsing to the application program
The Application Program Interface contained;
File generating module determines each Application Program Interface point for carrying out data analysis to the application program
Not corresponding application interface data, and it is uniquely corresponding with each Application Program Interface based on application interface data generation
Executable file, the executable file transfers at runtime and its unique corresponding Application Program Interface is arranged as starting
Interface;
First interface starting module, comprising:
File search module, for finding out the executable text of the corresponding Application Program Interface of the historical usage interface identification
Part;
File start module, for starting the application program and running the executable file of the Application Program Interface.
9. a kind of application program launching terminal device, including memory, processor and storage are in the memory and can be
The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program
The step of any one of claim 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711447341.3A CN109976823A (en) | 2017-12-27 | 2017-12-27 | A kind of application program launching method, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711447341.3A CN109976823A (en) | 2017-12-27 | 2017-12-27 | A kind of application program launching method, device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109976823A true CN109976823A (en) | 2019-07-05 |
Family
ID=67071109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711447341.3A Pending CN109976823A (en) | 2017-12-27 | 2017-12-27 | A kind of application program launching method, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109976823A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442416A (en) * | 2019-08-09 | 2019-11-12 | 上海连尚网络科技有限公司 | For showing method, electronic equipment and the computer-readable medium of information |
CN111580923A (en) * | 2020-05-18 | 2020-08-25 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN112596729A (en) * | 2020-12-28 | 2021-04-02 | 深圳市欢太科技有限公司 | Target application interface generation method and device, readable medium and electronic equipment |
CN112732375A (en) * | 2019-10-28 | 2021-04-30 | 北京达佳互联信息技术有限公司 | Method and device for determining starting page, storage medium and server |
CN113448627A (en) * | 2020-03-25 | 2021-09-28 | 北京京东振世信息技术有限公司 | Method for running application program, robot operation system and robot |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101371250A (en) * | 2006-01-12 | 2009-02-18 | 微软公司 | Capturing and restoring application state after unexpected application shutdown |
CN101876912A (en) * | 2009-04-30 | 2010-11-03 | 鸿富锦精密工业(深圳)有限公司 | System and method for storing and starting working data of electronic equipment |
US20140280153A1 (en) * | 2013-03-13 | 2014-09-18 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing a group command with a predictive query interface |
CN104199676A (en) * | 2014-02-24 | 2014-12-10 | 无锡天脉聚源传媒科技有限公司 | Method and device for restoring interface content |
CN104932885A (en) * | 2015-06-11 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105955748A (en) * | 2016-05-06 | 2016-09-21 | 青岛海信电器股份有限公司 | Return scene processing method and device of application program |
CN106201499A (en) * | 2016-07-05 | 2016-12-07 | 中国石油集团渤海钻探工程有限公司 | Software framework implementation method and system |
CN106802803A (en) * | 2017-01-06 | 2017-06-06 | 腾讯科技(深圳)有限公司 | The method and apparatus of application data treatment |
CN106872996A (en) * | 2017-01-23 | 2017-06-20 | 北京奇虎科技有限公司 | The optimization method of alignment system performance, device and mobile terminal |
CN106888432A (en) * | 2017-01-23 | 2017-06-23 | 北京奇虎科技有限公司 | The optimization method of alignment system performance, device and mobile terminal |
-
2017
- 2017-12-27 CN CN201711447341.3A patent/CN109976823A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101371250A (en) * | 2006-01-12 | 2009-02-18 | 微软公司 | Capturing and restoring application state after unexpected application shutdown |
CN101876912A (en) * | 2009-04-30 | 2010-11-03 | 鸿富锦精密工业(深圳)有限公司 | System and method for storing and starting working data of electronic equipment |
US20140280153A1 (en) * | 2013-03-13 | 2014-09-18 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing a group command with a predictive query interface |
CN104199676A (en) * | 2014-02-24 | 2014-12-10 | 无锡天脉聚源传媒科技有限公司 | Method and device for restoring interface content |
CN104932885A (en) * | 2015-06-11 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105955748A (en) * | 2016-05-06 | 2016-09-21 | 青岛海信电器股份有限公司 | Return scene processing method and device of application program |
CN106201499A (en) * | 2016-07-05 | 2016-12-07 | 中国石油集团渤海钻探工程有限公司 | Software framework implementation method and system |
CN106802803A (en) * | 2017-01-06 | 2017-06-06 | 腾讯科技(深圳)有限公司 | The method and apparatus of application data treatment |
CN106872996A (en) * | 2017-01-23 | 2017-06-20 | 北京奇虎科技有限公司 | The optimization method of alignment system performance, device and mobile terminal |
CN106888432A (en) * | 2017-01-23 | 2017-06-23 | 北京奇虎科技有限公司 | The optimization method of alignment system performance, device and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442416A (en) * | 2019-08-09 | 2019-11-12 | 上海连尚网络科技有限公司 | For showing method, electronic equipment and the computer-readable medium of information |
CN110442416B (en) * | 2019-08-09 | 2022-12-09 | 上海连尚网络科技有限公司 | Method, electronic device and computer-readable medium for presenting information |
CN112732375A (en) * | 2019-10-28 | 2021-04-30 | 北京达佳互联信息技术有限公司 | Method and device for determining starting page, storage medium and server |
CN113448627A (en) * | 2020-03-25 | 2021-09-28 | 北京京东振世信息技术有限公司 | Method for running application program, robot operation system and robot |
CN111580923A (en) * | 2020-05-18 | 2020-08-25 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN112596729A (en) * | 2020-12-28 | 2021-04-02 | 深圳市欢太科技有限公司 | Target application interface generation method and device, readable medium and electronic equipment |
CN112596729B (en) * | 2020-12-28 | 2024-05-31 | 深圳市欢太科技有限公司 | Target application interface generation method and device, readable medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109976823A (en) | A kind of application program launching method, device and terminal device | |
CN110245220A (en) | Electronic document signs method, apparatus and server, storage medium | |
CN109344153A (en) | The processing method and terminal device of business datum | |
CN104520815A (en) | Method, device and equipment for task scheduling | |
CN106201811B (en) | The fault recovery method and terminal of application program | |
CN109582325A (en) | Method for upgrading software, robot and the computer readable storage medium of robot | |
CN109885452A (en) | Method for monitoring performance, device and terminal device | |
CN109298951A (en) | The execution method and terminal device of Celery task | |
CN107357718A (en) | One kind structure method of testing and device | |
CN105653620B (en) | Log analysis method and device of intelligent question-answering system | |
CN111563075B (en) | Service verification system, method and equipment and storage medium | |
CN109754072A (en) | Processing method, artificial intelligence process device and the Related product of internet off-line model | |
CN108804175A (en) | Multilingual adaptation method, mobile terminal and computer readable storage medium | |
CN107506494B (en) | Document handling method, mobile terminal and computer readable storage medium | |
CN109542462A (en) | A kind of system environments dispositions method, storage medium and server | |
CN109358927A (en) | The method, apparatus and terminal device that application program is shown | |
CN113190427A (en) | Caton monitoring method and device, electronic equipment and storage medium | |
CN108830596A (en) | The acquisition device and terminal device of a kind of acquisition methods of information, information | |
CN104834958B (en) | A kind of method and apparatus judged the step of answer | |
CN110362294A (en) | Development task executes method, apparatus, electronic equipment and storage medium | |
CN109104481A (en) | file integrity detection method, file integrity detection device and terminal device | |
CN105551500B (en) | A kind of acoustic signal processing method and device | |
CN114474149A (en) | Automatic testing method, device, server and readable storage medium | |
CN103914304A (en) | Method for converting different structure type parameters on basis of SAP (service access point) platforms | |
CN116149978A (en) | Service interface testing method and device, electronic equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |