Nothing Special   »   [go: up one dir, main page]

CN108958824A - Starting method, apparatus, electronic equipment and the storage medium of application program - Google Patents

Starting method, apparatus, electronic equipment and the storage medium of application program Download PDF

Info

Publication number
CN108958824A
CN108958824A CN201710353648.0A CN201710353648A CN108958824A CN 108958824 A CN108958824 A CN 108958824A CN 201710353648 A CN201710353648 A CN 201710353648A CN 108958824 A CN108958824 A CN 108958824A
Authority
CN
China
Prior art keywords
application program
memory
running environment
starting
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710353648.0A
Other languages
Chinese (zh)
Inventor
张强
彭飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN201710353648.0A priority Critical patent/CN108958824A/en
Publication of CN108958824A publication Critical patent/CN108958824A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

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 embodiment of the invention provides a kind of starting methods of application program, comprising: in terminal starting, constructs the running environment of the application program in memory;When receiving the enabled instruction for the application program, based on memory described in the running environment of application program start the application program.In embodiments of the present invention, by constructing the running environment of application program in memory after terminal starting up.When receive user for application program start-up operation when, based on memory in running environment start application program.Since running environment has been completed before the start-up operation of user, the start-up course time-consuming after the start-up operation of user is relatively short.For a user, the starting time that user feels has obtained substantially shortening, and improves user experience.

Description

Starting method, apparatus, electronic equipment and the storage medium of application program
Technical field
The present invention relates to field of terminal technology, starting method, a kind of application program more particularly to a kind of application program Starter, a kind of electronic equipment and a kind of storage medium.
Background technique
The starting of application program is divided into cold start-up and two kinds of thermal starting.Cold start-up refers to corresponding after terminal booting enters system With the starting for the first time of program;It is all that application program is again started up before thermal starting as restarts system next time.Due to cold The relative program of application program is remained with after starting, in memory, to be again started up application program i.e. thermal starting opposite so subsequent Comparatively fast, cold start-up is not due to being resident any relative program in memory, so the speed of cold start-up is general with respect to thermal starting speed It is relatively slow and more obvious.
The cold start speed for how improving application program is already known to a technical problem anxious to be resolved.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of starting method of the application program to solve the above problems, a kind of starter of application program, a kind of electronics are set accordingly Standby and a kind of storage medium.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of starting methods of application program, comprising:
In terminal starting, the running environment of the application program is constructed in memory;
When receiving the enabled instruction for the application program, based on memory described in application program running environment Start the application program.
Preferably, described when receiving the enabled instruction for the application program, based on memory described in apply journey The running environment of sequence starts the step of application program and includes:
When receiving the enabled instruction for the application program, the fortune for constructing the application program in memory is deleted The lock file generated when row environment;
The running environment of application program described in based on memory starts the application program.
Preferably, the step of running environment for constructing the application program in memory includes:
Start the silent mode of application program, to construct the running environment of the application program in memory.
Preferably, further includes:
After the running environment for constructing the application program in memory, retain related to the running environment of the application program Host process.
The embodiment of the invention also discloses a kind of starters of application program, comprising:
Running environment constructs module, for constructing the running environment of the application program in memory in terminal starting;
Starting module, for when receiving the enabled instruction for the application program, based on memory described in apply The running environment of program starts the application program.
Preferably, the starting module includes:
It locks file and deletes submodule, for deleting in memory when receiving the enabled instruction for the application program The lock file generated when the running environment of the middle building application program;
Promoter module, the running environment for application program described in based on memory start the application program.
Preferably, the running environment building module includes:
Silent promoter module, for starting the silent mode of application program, to construct the application program in memory Running environment.
Preferably, further includes:
Reservation module after the running environment for constructing the application program in memory, retains and the application program The relevant host process of running environment.
It include memory and one or more than one the embodiment of the invention also discloses a kind of electronic equipment Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them It includes the instruction for performing the following operation that device, which executes the one or more programs:
In terminal starting, the running environment of the application program is constructed in memory;
When receiving the enabled instruction for the application program, based on memory described in application program running environment Start the application program.
The embodiment of the invention also discloses a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by electronic equipment Processor execute when so that electronic equipment is able to carry out the application journey as described in one or more in claim to a method 1-4 The starting method of sequence.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, by constructing the running environment of application program in memory after terminal starting up. When receive user for application program start-up operation when, based on memory in running environment start application program.Due to fortune Row environment has been completed before the start-up operation of user, and the start-up course time-consuming after the start-up operation of user is relatively It is short.For a user, the starting time that user feels has obtained substantially shortening, and improves user experience.
Detailed description of the invention
Fig. 1 is the cold start-up mode of red fox browser;
Fig. 2 is a kind of step flow chart of the starting embodiment of the method 1 of application program of the invention;
Fig. 3 is a kind of step flow chart of the starting embodiment of the method 2 of application program of the invention;
Fig. 4 is a kind of structural block diagram of the starter embodiment of application program of the invention;
Fig. 5 is a kind of structural frames of the electronic equipment of starting for application program shown according to an exemplary embodiment Figure.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
When application program is cold-started, due to there is no to retain the relative program of application program, starting in the memory of terminal Speed is slower.Hereinafter, with microprocessor (the Microprocessor without interlocked of no inner interlocked pipelining-stage Piped stages, MIPS) on platform in Linux system, to the cold start-up side of application program for Firefox red fox browser Formula is illustrated.It is as shown in Figure 1 the cold start-up mode of red fox browser.After initialization starts, binary system generation is first carried out Code constructs the running environment of bottom, explains and executes upper layer extensible markup language ui language XUL (XML User Interface Language) come the interfaces of construction procedures, it explains and executes the function that JavaScript code carrys out construction procedures, from Alternative document needed for load starting in memory.
In red fox browser only have bottom running environment use binary code, the XUL on upper layer and JavaScript is to explain to execute, and since red fox browser is one process, red fox browser start speed compared with Slowly, especially cold start speed.
Therefore, in the case where terminal configures fixed, raising red fox browser cold start speed is most important, directly affects User experience effect.
It is general to improve the cold start speed of red fox browser using preload program is preloaded in existing method.Specifically Are as follows: the system library file for during the system startup process needing the starting of red fox browser program loads in advance into memory or delays Deposit cache.In this way, clicking browser icon for the first time after system starting and starting red fox browser, it is only necessary to from in-memory scanning plus Published article part, and do not have to from hard disk through I/O operation come load document.This scheme is to reduce in red fox browser start-up course I/O read-write operation come reach promoted red fox browser cold start speed.
But this method has the drawback that
System library file required for Firefox is started is preloaded into memory, to evade in next Cold Start I/O read-write operation does not bring the promotion of substantially cold start speed.Because according to red fox browser Booting sequence (as schemed 1) and analysis is verified, I/O read-write operation time accounting in entire start-up course is very small, and the time-consuming mainly consumption of starting is in fire The building (such as Fig. 1) of fox browser execution environment.Also, preload program as third equation, after system starting just always Exist as process, occupies CPU and memory source is bigger, the overall performance after influencing subsequent red fox browser starting.
One of the core concepts of the embodiments of the present invention is, in the system starting of terminal, it is clear to construct red fox in memory It lookes at the running environment of device, achievees the purpose that acceleration.
Referring to Fig. 2, a kind of step flow chart of the starting embodiment of the method 1 of application program of the invention is shown, specifically It may include steps of:
Step 101, when terminal starts, the running environment of the application program is constructed in memory;
In embodiments of the present invention, as terminal starting up, the fortune of application program is constructed in advance in the memory of terminal Row environment.
The running environment of application program is constructed in memory, mainly by application program institute dynamic link library text to be used Part is loaded into memory.
One application program is usually required using multiple dynamic link library files, and dynamic link library file is a kind of general Modularization file, for the use of multiple application programs.For example, building red fox is clear in advance in memory in terminal starting up Look at the running environment of device.
Step 102, when receiving the enabled instruction for the application program, based on memory described in application program Running environment starts the application program.
Enabled instruction for application program can be the generation when user clicks the application program, be also possible at other It is generated when the application call application program.
When receiving enabled instruction, based on preparatory running environment built in memory to start application program.
By taking red fox browser as an example, the running environment of bottom is constructed in advance in memory.When the starting for receiving user When operation, based on memory in running environment, explain that executing upper layer XUL comes the interfaces of construction procedures, explains and executes JavaScript code carrys out the function of construction procedures, the alternative document needed for load starting from memory, so that it is clear to complete red fox Look at the starting of device.
In embodiments of the present invention, by constructing the running environment of application program in memory after terminal starting up. When receive user for application program start-up operation when, based on memory in running environment start application program.Due to fortune Row environment has been completed before the start-up operation of user, and the start-up course time-consuming after the start-up operation of user is relatively It is short.For a user, the starting time that user feels has obtained substantially shortening, and improves user experience.
Referring to Fig. 3, a kind of step flow chart of the starting embodiment of the method 2 of application program of the invention is shown, specifically It may include steps of:
Step 201, when terminal starts, start the silent mode of application program, it is described using journey to construct in memory The running environment of sequence;Silent mode refers to application hides in running background, the operational mode not shown on foreground.Work as application When program is started with silent mode, user will not perceive application program and run.
In embodiments of the present invention, as terminal starting up, application program is started with silent mode.It is opened with silent mode After dynamic application program, the running environment of application program can be constructed in memory.
It realizes in terminal booting, application program is started with silent mode, it can be by the self-starting road of terminal system The desktop icons file .desktop for increasing application program in diameter, can be set the starting of application program in desktop icons file Path and start-up mode (such as silent mode, normal mode).When terminal is switched on, the file under automatic startup item path can be detected, And file content is executed, realize that backstage silent mode starts application program.
As needed to construct the running environment of multiple application programs in terminal booting.It can be by the table of multiple application programs Face icon file is added in self-starting path, and application program can be set in the corresponding desktop icons file of each application program Starting path, and be set as silent mode starting.
When terminal is switched in this way, so that it may realize the self-starting of multiple application programs.The sequence of self-starting can be according to pre- The configuration file that first sets determines, the boot sequence of application program is set in configuration file.When terminal booting when, system according to According to the boot sequence in configuration file, successively start corresponding application program.
By taking the red fox browser Firefox in mips platform as an example, first in the automatic startup item path of terminal system Increase the desktop icons file Firefox.desktop of red fox browser, and uses silent mode.
Starting up's catalogue is different in different operating system, in 64 Fedora21 systems, automatic startup item path Be :/etc/xdg/autostart/ under the path in the following, increase Firefox.desktop, and Exec is arranged hereof =/usr/lib64/firefox/firefox-silent (the specified program that executes of Exec parameter starts path), wherein/usr/ Lib64/firefox/firefox is Firefox browser executable file path;- silent is identified as silent mode starting. - silent mark is not added, then it is assumed that is to start in the normal mode.
When terminal starting up's system, the file under automatic startup item path can be detected, and execute file content, realized Backstage silent mode starts red fox browser.
After the starting of red fox browser silence, the main operation module of red fox browser executes binary code to construct bottom Running environment, to realize the purpose for constructing red fox browser execution environment in memory.
In embodiments of the present invention, the method can also include: to construct the operation of the application program in memory After environment, retain host process relevant to the running environment of the application program, closes the process unrelated with running environment.
Specifically, can be in the silent mode of starting application program, to construct the running environment of application program in memory Afterwards, process unrelated with running environment in all processes of application program is closed, the operation ring with the application program is only retained The relevant host process in border.
Host process relevant to the running environment of application program is for safeguarding running environment built in memory.Work as reception To the enabled instruction for application program when starting application program, application program will not call formerly retain and running environment Relevant host process, but the middle running environment constructed is started based on memory.
Such as after red fox browser is with silent mode start completion, the operation of red fox browser is had existed in memory at this time Environment, therefore process unrelated with running environment in all processes of red fox browser can be closed, only retain and is browsed with red fox The relevant host process of the running environment of device.
Step 202, when receiving the enabled instruction for the application program, deletion constructs the application in memory The lock file generated when the running environment of program;
In embodiments of the present invention, the running environment for constructing application program in memory simultaneously, can be generated for using journey The lock file of sequence.
When application program launching (either silent mode starting or normal mode starting), system is application program One copy of creation.If application program is repeatedly started, system can generate multiple copies.In order to avoid multiple copies can be with The configuration file of access application simultaneously.When a copy accesses configuration file, application program can generate lock file, forbid Other copies access configuration file.
When application program is started with silent mode, system is that application program creates a copy, when application program also exists It during silent mode starts, does not complete when exiting, if terminal has received the enabled instruction of user, system can be for using journey Sequence creates a copy again, and due to the presence of lock file.The copy generated afterwards can not access application configuration file.Cause This, the instruction of user launches application will not respond, and can not normally start.
Such as the profile mechanism of red fox browser, if system is that red fox browser creates multiple copies, profile machine System only allows a copy of application program to access active user's red fox configuration file simultaneously.Specifically: when system user starts It, can be in active user red fox config directory (~/.mozilla/firefox/* during (including silent starting) Firefox .default/ lock and .parentlock is generated under) and locks file, and content is sky, when starting has not been completed in the process, together When the process of sample is again started up, it can decide whether to allow according to the presence or absence for locking file under active user's red fox config directory Same process initiation is worked as presence, is then lockked, and prompts user.
Since the purpose of silent mode starting is intended merely to the running environment of building red fox browser, main operation module is stayed Memory is stayed, so profile mechanism has little significance in this process.It can be by clicking desktop or starting column red fox browsing Device icon deletes lock and .parentlock lock file and solves above-mentioned potential conflict before starting browser.
It is operation/usr/ in script by execution/usr/bin/firefox script that icon is clicked on mips platform Lilb64/firefox/firefox starts red fox browser, so executing following two preset lives before running the order Order can delete lock file:
Rm-rf~/.mozilla/firefox/*.default/lock (lock locks file and deletes instruction)
(.parentlock locks file and deletes rm-rf~/.mozilla/firefox/*.default/.parentlock Instruction)
Step 203, based on memory described in the running environment of application program start the application program.
In embodiments of the present invention, by starting application program with silent mode, in memory after terminal starting up The running environment of middle building application program.When receive user for application program start-up operation when, based on memory in fortune Row environment starts application program.Since running environment has been completed before the start-up operation of user, in the start-up operation of user Start-up course time-consuming later is relatively short.For a user, the starting time that user feels has obtained substantially shortening, and mentions High user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the starter embodiment of application program of the invention is shown, it specifically can be with Including following module:
Running environment constructs module 301, for constructing the operation ring of the application program in memory in terminal starting Border;
Starting module 302, for when receiving the enabled instruction for the application program, based on memory described in answer Start the application program with the running environment of program.
In embodiments of the present invention, the starting module 302 may include:
It locks file and deletes submodule, for deleting in memory when receiving the enabled instruction for the application program The lock file generated when the running environment of the middle building application program;
Promoter module, the running environment for application program described in based on memory start the application program.
In embodiments of the present invention, the running environment building module 301 may include:
Silent promoter module, for starting the silent mode of application program, to construct the application program in memory Running environment.
In embodiments of the present invention, the device can also include:
Reservation module after the running environment for constructing the application program in memory, retains and the application program The relevant host process of running environment.
In embodiments of the present invention, by constructing the running environment of application program in memory after terminal starting up. When receive user for application program start-up operation when, based on memory in running environment start application program.Due to fortune Row environment has been completed before the start-up operation of user, and the start-up course time-consuming after the start-up operation of user is relatively It is short.For a user, the starting time that user feels has obtained substantially shortening, and improves user experience.
Fig. 5 is a kind of knot of the electronic equipment 500 of starting for application program shown according to an exemplary embodiment Structure block diagram.For example, electronic equipment 500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, electronic equipment 500 may include following one or more components: processing component 502, memory 504, Power supply module 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, And communication component 516.
The integrated operation of the usual controlling electronic devices 500 of processing component 502, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing element 502 may include one or more processors 520 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more moulds Block, convenient for the interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, with Facilitate the interaction between multimedia component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in equipment 500.These data are shown Example includes the instruction of any application or method for operating on electronic equipment 500, contact data, telephone directory number According to, message, picture, video etc..Memory 504 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Electric power assembly 504 provides electric power for the various assemblies of electronic equipment 500.Electric power assembly 504 may include power supply pipe Reason system, one or more power supplys and other with for electronic equipment 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between the electronic equipment 500 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 508 includes a front camera and/or rear camera.When electronic equipment 500 is in operation mode, as clapped When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when electronic equipment 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 504 or via logical Believe that component 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, for providing the state of various aspects for electronic equipment 500 Assessment.For example, sensor module 514 can detecte the state that opens/closes of equipment 500, the relative positioning of component, such as institute The display and keypad that component is electronic equipment 500 are stated, sensor module 514 can also detect electronic equipment 500 or electronics The position change of 500 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 500,500 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 500.Sensor module 514 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between electronic equipment 500 and other equipment. Electronic equipment 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 514 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 514 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 500 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of electronic equipment 500 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row, enable the terminal to execute a kind of method for starting application program, which comprises in terminal starting, in memory The running environment of the middle building application program;
When receiving the enabled instruction for the application program, based on memory described in application program running environment Start the application program.
Optionally, when receiving the enabled instruction for the application program, deletion constructs the application in memory The lock file generated when the running environment of program;
The running environment of application program described in based on memory starts the application program.
Optionally, start the silent mode of application program, to construct the running environment of the application program in memory.
Optionally, after the running environment for constructing the application program in memory, retain the operation with the application program The host process of environmental correclation.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of starting method of end application provided by the present invention, a kind of starting of end application Device, a kind of electronic equipment and a kind of storage medium, are described in detail, and specific case used herein is to the present invention Principle and embodiment be expounded, method and its core of the invention that the above embodiments are only used to help understand Thought is thought;At the same time, for those skilled in the art in specific embodiment and applies model according to the thought of the present invention Place that there will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of starting method of application program characterized by comprising
In terminal starting, the running environment of the application program is constructed in memory;
When receiving the enabled instruction for the application program, based on memory described in application program running environment starting The application program.
2. the method according to claim 1, wherein described refer to when receiving the starting for the application program When enabling, based on memory described in application program running environment start the application program the step of include:
When receiving the enabled instruction for the application program, the operation ring for constructing the application program in memory is deleted The lock file generated when border;
The running environment of application program described in based on memory starts the application program.
3. method according to claim 1 or 2, which is characterized in that the fortune for constructing the application program in memory The step of row environment includes:
Start the silent mode of application program, to construct the running environment of the application program in memory.
4. according to the method described in claim 3, it is characterized by further comprising:
After the running environment for constructing the application program in memory, retain master relevant to the running environment of the application program Process.
5. a kind of starter of application program characterized by comprising
Running environment constructs module, for constructing the running environment of the application program in memory in terminal starting;
Starting module, for when receiving the enabled instruction for the application program, based on memory described in application program Running environment start the application program.
6. device according to claim 5, which is characterized in that the starting module includes:
It locks file and deletes submodule, for deleting structure in memory when receiving the enabled instruction for the application program The lock file generated when building the running environment of the application program;
Promoter module, the running environment for application program described in based on memory start the application program.
7. device according to claim 5 or 6, which is characterized in that the running environment constructs module and includes:
Silent promoter module, for starting the silent mode of application program, to construct the fortune of the application program in memory Row environment.
8. device according to claim 7, which is characterized in that further include:
Reservation module after the running environment for constructing the application program in memory, retains the fortune with the application program The host process of row environmental correclation.
9. a kind of electronic equipment, which is characterized in that include memory and one or more than one program, wherein one A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor A or more than one program includes the instruction for performing the following operation:
In terminal starting, the running environment of the application program is constructed in memory;
When receiving the enabled instruction for the application program, based on memory described in application program running environment starting The application program.
10. a kind of readable storage medium storing program for executing, which is characterized in that when the instruction in the storage medium is held by the processor of electronic equipment When row, so that electronic equipment is able to carry out the starting side of the application program as described in one or more in claim to a method 1-4 Method.
CN201710353648.0A 2017-05-18 2017-05-18 Starting method, apparatus, electronic equipment and the storage medium of application program Pending CN108958824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710353648.0A CN108958824A (en) 2017-05-18 2017-05-18 Starting method, apparatus, electronic equipment and the storage medium of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710353648.0A CN108958824A (en) 2017-05-18 2017-05-18 Starting method, apparatus, electronic equipment and the storage medium of application program

Publications (1)

Publication Number Publication Date
CN108958824A true CN108958824A (en) 2018-12-07

Family

ID=64462686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710353648.0A Pending CN108958824A (en) 2017-05-18 2017-05-18 Starting method, apparatus, electronic equipment and the storage medium of application program

Country Status (1)

Country Link
CN (1) CN108958824A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651218A (en) * 2020-05-26 2020-09-11 北京百度网讯科技有限公司 Applet reservation method and device, electronic equipment and storage medium
CN112835656A (en) * 2019-11-01 2021-05-25 科美诊断技术股份有限公司 Client starting method and device
CN113568748A (en) * 2021-07-27 2021-10-29 Oppo广东移动通信有限公司 Application process processing method and device, storage medium and electronic equipment

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252726A (en) * 2008-03-29 2008-08-27 青岛海信移动通信技术股份有限公司 Method for starting up mobile terminal
CN101335723A (en) * 2008-08-04 2008-12-31 腾讯科技(深圳)有限公司 Instant communication system, window establishing method and system
CN101639787A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Method and device for starting application program
CN101814038A (en) * 2010-03-23 2010-08-25 杭州顺网科技股份有限公司 Method for increasing booting speed of computer
CN102375850A (en) * 2010-08-23 2012-03-14 联想(北京)有限公司 File arrangement method and starting method of electronic equipment and electronic equipment
CN103150186A (en) * 2013-03-15 2013-06-12 腾讯科技(深圳)有限公司 Optimization method and device for operating speed of equipment
CN103365668A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Loading and linking method and device of dynamic link library
CN103530552A (en) * 2013-09-29 2014-01-22 广州华多网络科技有限公司 Method and device for reconstruction of Native API function
CN103677922A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method and device for starting application software
CN103885776A (en) * 2014-03-24 2014-06-25 广州华多网络科技有限公司 Program accelerating method and device thereof
CN104102500A (en) * 2013-04-03 2014-10-15 腾讯科技(深圳)有限公司 Method for starting process of application and computer system
CN104239102A (en) * 2014-09-15 2014-12-24 腾讯科技(深圳)有限公司 Operation method and device of application program
CN104750553A (en) * 2013-12-30 2015-07-01 广州华多网络科技有限公司 Application operating method and device
CN105138899A (en) * 2015-07-27 2015-12-09 北京金山安全软件有限公司 Application program starting method and device
CN105630543A (en) * 2015-12-21 2016-06-01 北京奇虎科技有限公司 Application cold start acceleration method and apparatus
CN106127029A (en) * 2016-06-22 2016-11-16 北京金山安全软件有限公司 Starting method and device of security application program and electronic equipment
CN106372465A (en) * 2016-08-30 2017-02-01 北京深思数盾科技股份有限公司 Safety management method and system for dynamic link library and electronic equipment
CN106445512A (en) * 2016-09-12 2017-02-22 浪潮软件股份有限公司 Method for realizing dynamic expansion and contraction of operating environment
CN106502745A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of function calling method and device
CN106649595A (en) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 Method, device and terminal for accelerating starting of web page based on object pool

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252726A (en) * 2008-03-29 2008-08-27 青岛海信移动通信技术股份有限公司 Method for starting up mobile terminal
CN101335723A (en) * 2008-08-04 2008-12-31 腾讯科技(深圳)有限公司 Instant communication system, window establishing method and system
CN101639787A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Method and device for starting application program
CN101814038A (en) * 2010-03-23 2010-08-25 杭州顺网科技股份有限公司 Method for increasing booting speed of computer
CN102375850A (en) * 2010-08-23 2012-03-14 联想(北京)有限公司 File arrangement method and starting method of electronic equipment and electronic equipment
CN103365668A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Loading and linking method and device of dynamic link library
CN103150186A (en) * 2013-03-15 2013-06-12 腾讯科技(深圳)有限公司 Optimization method and device for operating speed of equipment
CN104102500A (en) * 2013-04-03 2014-10-15 腾讯科技(深圳)有限公司 Method for starting process of application and computer system
CN103530552A (en) * 2013-09-29 2014-01-22 广州华多网络科技有限公司 Method and device for reconstruction of Native API function
CN103677922A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method and device for starting application software
CN104750553A (en) * 2013-12-30 2015-07-01 广州华多网络科技有限公司 Application operating method and device
CN103885776A (en) * 2014-03-24 2014-06-25 广州华多网络科技有限公司 Program accelerating method and device thereof
CN104239102A (en) * 2014-09-15 2014-12-24 腾讯科技(深圳)有限公司 Operation method and device of application program
CN105138899A (en) * 2015-07-27 2015-12-09 北京金山安全软件有限公司 Application program starting method and device
CN105630543A (en) * 2015-12-21 2016-06-01 北京奇虎科技有限公司 Application cold start acceleration method and apparatus
CN106127029A (en) * 2016-06-22 2016-11-16 北京金山安全软件有限公司 Starting method and device of security application program and electronic equipment
CN106372465A (en) * 2016-08-30 2017-02-01 北京深思数盾科技股份有限公司 Safety management method and system for dynamic link library and electronic equipment
CN106445512A (en) * 2016-09-12 2017-02-22 浪潮软件股份有限公司 Method for realizing dynamic expansion and contraction of operating environment
CN106502745A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of function calling method and device
CN106649595A (en) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 Method, device and terminal for accelerating starting of web page based on object pool

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835656A (en) * 2019-11-01 2021-05-25 科美诊断技术股份有限公司 Client starting method and device
CN111651218A (en) * 2020-05-26 2020-09-11 北京百度网讯科技有限公司 Applet reservation method and device, electronic equipment and storage medium
CN113568748A (en) * 2021-07-27 2021-10-29 Oppo广东移动通信有限公司 Application process processing method and device, storage medium and electronic equipment
CN113568748B (en) * 2021-07-27 2024-06-18 Oppo广东移动通信有限公司 Application process processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
RU2600106C2 (en) Application switcher
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
WO2021082739A1 (en) Multi-task interface management method and electronic device
RU2706951C2 (en) Method and device for providing a graphical user interface
CN104281478B (en) The method and device of more new application
CN105930213B (en) Using operation method and device
CN110704053B (en) Style information processing method and device
WO2020253386A1 (en) Application processing method and apparatus, electronic device, and storage medium
CN104616241A (en) Video screen-shot method and device
US20150199058A1 (en) Information processing method and electronic device
CN106897937A (en) A kind of method and apparatus for showing social sharing information
CN107688477B (en) Setting item processing method and device for setting item processing
CN111966410B (en) Start-up processing method and device, electronic equipment and storage medium
CN108958824A (en) Starting method, apparatus, electronic equipment and the storage medium of application program
CN116048724A (en) Mirror image creation method and device, electronic equipment and storage medium
CN111427449A (en) Interface display method, device and storage medium
RU2632396C2 (en) Method and device to control router plug-in module
CN109725943A (en) A kind of programming jump method, apparatus, electronic equipment and storage medium
CN110798521B (en) File sharing method and device, electronic equipment and storage medium
CN104391742B (en) Optimizing application method and apparatus
KR102468164B1 (en) Layered content selection
CN116048757A (en) Task processing method, device, electronic equipment and storage medium
WO2016188227A1 (en) Intelligent terminal shortcut establishment method and device
CN109669764B (en) Processing method, apparatus, device and machine readable medium
US11606457B2 (en) Technology and method for selectively providing network function to application of device

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
CB02 Change of applicant information

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication