CN109885355A - A kind of application starting method and relevant apparatus - Google Patents

A kind of application starting method and relevant apparatus Download PDF

Info

Publication number
CN109885355A
CN109885355A CN201910129848.7A CN201910129848A CN109885355A CN 109885355 A CN109885355 A CN 109885355A CN 201910129848 A CN201910129848 A CN 201910129848A CN 109885355 A CN109885355 A CN 109885355A
Authority
CN
China
Prior art keywords
application
user interface
file
rendered
configuration file
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.)
Withdrawn
Application number
CN201910129848.7A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201910129848.7A priority Critical patent/CN109885355A/en
Publication of CN109885355A publication Critical patent/CN109885355A/en
Withdrawn legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a kind of application starting method and relevant apparatus to realize the quick start to application, to promote user to the usage experience of application for promoting the display speed using starting page.The method comprise the steps that obtaining the configuration file of application;According to the configuration file, pre-rendered is executed to the user interface of the application, and pre-rendered intermediate file and the configuration file are executed into associated storage, so that described apply when receiving enabled instruction, quickly display is executed to the user interface of the application.

Description

A kind of application starting method and relevant apparatus
Technical field
The present invention relates to technical field of intelligent equipment, especially a kind of application starting method and relevant apparatus.
Background technique
With the fast development of smart machine and network, there has also been quick hairs for application APP (Application) Exhibition, people gradually get used to the mode surfed the Internet using APP client.
Existing application program is run directly in the operating system of terminal device, for example, user needs to run certain When one application program, need first to download the installation kit of the application program, and parsed to installation kit by operating system.But It is, since the data volume of the installation kit of existing application program is very big, to cause the installation kit download time of application program longer, And the set-up time is also longer.
On the other hand, existing application program during startup, needs to execute the page parsing, layout operation, logic Execution and the drafting of primary control, therefore show that process is also corresponding longer, i.e. the starting of application program is slower.
Summary of the invention
The embodiment of the invention provides a kind of application starting method and relevant apparatus, for promoting user interface in application It shows speed, that is, the quick start to application is realized, to promote user to the usage experience of application.
The embodiment of the present application first aspect provides a kind of application starting method, is applied to application and provides terminal, comprising:
Obtain the configuration file of application;
According to the configuration file, pre-rendered executed to the user interface of the application, and by pre-rendered intermediate file with The configuration file executes associated storage, so that described apply when receiving enabled instruction, to the user interface of the application Execute quickly display.
Preferably, according to the configuration file, pre-rendered is executed to the user interface of the application, and will be among pre-rendered File and the configuration file execute associated storage, comprising:
According to the configuration file, parsing is executed to the User Interface Script of the application, layout operation, logic execute and User interface UI rendering, to obtain the pre-rendered intermediate file using user interface;
The pre-rendered intermediate file and the configuration file are executed into associated storage.
Preferably, the pre-rendered intermediate file includes:
The address URL of the effect map file of the effect map file or user interface UI rendering of user interface UI rendering;
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then described apply is connecing When receiving enabled instruction, the effect map file of the user interface UI rendering is directly acquired, with the user interface to the application Execute quickly display;
When the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then institute It states and applies when receiving enabled instruction, the effect map file of the user interface UI rendering is obtained according to the address URL, with Quickly display is executed to the user interface of the application.
Preferably, the method also includes:
When the application is there are when multiple versions, then pre-rendered is executed to the user interface of each version application, and will be pre- It renders intermediate file and executes associated storage with corresponding configuration file, so that each version is applied and receiving enabled instruction When, quickly display is executed to the user interface of each version application.
The embodiment of the present application second aspect also provides a kind of application program launching method, comprising:
Receive the operating instruction of application;
According to the operating instruction, the pre-rendered intermediate file using user interface is obtained, to the application User interface executes quickly display.
Preferably, after the operating instruction for receiving application, the method also includes:
Judge whether the application is to start for the first time;
If the application is to start for the first time, described according to the operating instruction, in the pre-rendered for obtaining the application Between file, comprising:
According to the operating instruction, obtain respectively the application configuration file resource request address and the pre-rendered The resource request address of intermediate file;
According to the resource request of the resource request address of the application configuration file and the pre-rendered intermediate file Location, the corresponding configuration file and the pre-rendered intermediate file using user interface for obtaining the application.
Preferably, the method also includes:
If the application is not to start for the first time, the pre-rendered intermediate file using user interface is called, with right The user interface of the application executes quickly display.
The embodiment of the present application third aspect provides a kind of application offer terminal, comprising:
First acquisition unit, for obtaining the configuration file of application;
Pre-rendered unit, for executing pre-rendered to the user interface of the application, and will be pre- according to the configuration file It renders intermediate file and the configuration file executes associated storage, so that described apply when receiving enabled instruction, to described The user interface of application executes quickly display.
The embodiment of the present application fourth aspect provides a kind of application framework, which is mounted on using fortune In row terminal, comprising:
Receiving unit, for receiving the operating instruction of application;
Second acquisition unit, for the pre-rendered intermediate file of the application being obtained, to institute according to the operating instruction The user interface for stating application executes quickly display.
The embodiment of the present application also provides a kind of computer installation, including memory and processor, it is stored on memory The computer program that can be executed by processor, when which is executed by processor, for realizing the application first aspect Or the application starting method that second aspect provides.
The embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter Calculation machine program is when being executed by one or more processors, for realizing the application first aspect or the application of second aspect offer Starting method.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
It is corresponding according to the configuration file after the configuration file that application is got using offer terminal in the embodiment of the present application User interface executes pre-rendered, and pre-rendered result and the configuration file of the application are executed associated storage, so that this is answered Start the pre-rendered of page as a result, opening to reduce application used in the application when receiving enabled instruction, can be directly acquired The script parsing of dynamic page, layout operation, logic executes and the drawing process of the primary UI control of user interface, to accelerate application The display speed for starting page, improves the starting speed of application, improves user to the usage experience of application.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram that starting method is applied in the embodiment of the present application;
Fig. 2 is another embodiment schematic diagram that starting method is applied in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram that starting method is applied in the embodiment of the present application;
Fig. 4 is to apply to provide one embodiment schematic diagram of terminal in the embodiment of the present application.
Fig. 5 is one embodiment schematic diagram of application framework in the embodiment of the present application.
Specific embodiment
The embodiment of the invention provides a kind of application starting method and relevant apparatus, for promoting user interface in application It shows speed, that is, the quick start to application is realized, to promote user to the usage experience of application.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.
The application framework operated in application operation terminal in the present embodiment is made a brief description below, with enhancing pair The understanding of the embodiment of the present application.
Existing application program is generally run directly in the operating system of terminal device, for example, user needs to run certain When one application program, need first to download the installation kit of the application program, and parsed to installation kit by operating system.But It is, since the data volume of the installation kit of existing application program is very big, to cause the installation kit download time of application program longer, And the set-up time is also longer.
For this purpose, application framework is arranged on the terminal device to support the operation of application program in the present embodiment.For example, answering It is the software operated in terminal device operating system with program frame, running in the operating system of terminal device has using journey Sequence frame, also, existing application program can also be run in operating system.It is appreciated that application framework and existing Common applications be all run directly in operating system, and by operating system support run.Therefore, the present embodiment In, application framework, which can be downloaded in advance, to be configured on terminal device, can also be configured to terminal together with operating system and be set It is standby upper.
In application framework operational process, place similar with common application program is that application framework can Behaviour can be called according to demand directly to use resource provided by operating system and service, such as when application framework operation Make various interfaces provided by system, the primary control using operating system, message and broadcast can also be received from operating system Deng, can also by operating system to application program etc. send message.
In order to avoid existing application program is during downloading installation kit, installation, what user needed to fall into a long wait Problem, what the application program operated on application framework needed to download before activation is the configuration file of application program rather than Installation kit, configuration file download to after terminal device, are parsed by application framework, therefore operate in application program frame Application program on frame is supported to run by application framework.
The requirement for needing to download installation kit before installing application program is different from the prior art, operates in application framework On application program to need download be configuration file, rather than installation kit, and the configuration file downloaded by application framework into Row parsing.And in order to reduce waiting time when user's download configuration file, the data volume of configuration file is much smaller than installation kit Data volume, for example, only the description including the application program page is believed in page info included in the configuration file of application program Breath, without include the page rendering after partial data, for the interface of calling required for application program, the configuration of application program File simply shows the title of the various interfaces called required for application program and the rule of calling, but does not provide specific tune With the function of interface.In this way, the profile data amount for operating in the application program on application framework is seldom, usually in 1M Below.Terminal device can complete the configuration file downloading of application program in a very short period of time.
Further, user can also directly run the application program of a not download configuration file, such as apply journey The icon of multiple application programs is shown on the homepage of sequence frame, these application programs include the application of download configuration file The application program of program and non-download configuration file, user can click directly on the application journey of a not download configuration file The icon of sequence, the application management module in application framework can download from a server the configuration file of the application program, And configuration file is parsed, starting runs the application program.
And in order to further speed up the display process for operating in the application program in application framework, present applicant proposes A kind of application starting method and relevant apparatus, with the display speed for promoting user interface in application, with realization to application Quick start.
For convenience of understanding, the angle of terminal first is provided to retouching in the application using starting method from application below It states, referring to Fig. 1, applying one embodiment of starting method in the application, comprising:
101, the configuration file of application is obtained;
In the embodiment of the present application, using terminal (such as server or cloud) is provided when providing application program, in order to mention Rise apply when being activated, the display speed of user interface, using provide terminal can after getting the configuration file of application, Step 102 is executed, shows speed to achieve the purpose that accelerate user interface in application.
Wherein, the user interface applied in the application refers to that application program during with user interaction, is presented to use All display pages at family, user interface herein either application program the starting page, it is aobvious to be also possible to application program Show to any page of user, the content of user interface is not particularly limited herein.
Further, the mode for obtaining application configuration file using terminal is provided uploads either receiving application developer Application configuration file, be also possible to from third party download application configuration file, herein to application configuration file acquisition side Formula is not particularly limited.
102, according to the configuration file, pre-rendered is executed to the user interface of the application, and will be literary among pre-rendered Part and the configuration file execute associated storage, so that described apply when receiving enabled instruction, to the user of the application Interface executes quickly display.
Using terminal is provided after getting configuration file, in order to accelerate using at runtime, the display of user interface is fast Degree executes pre-rendered to the user interface of application using providing terminal according to the configuration file, and by pre-rendered intermediate file with The configuration file executes associated storage, so that described apply when receiving enabled instruction, to the user interface of the application Execute quickly display.
Specifically, the configuration file of application program includes multiple components, operation logic and description information etc., wherein configuring The component of file is the preset component of requirement according to application framework, and the operating system of component and terminal device There are corresponding relationships for primary control, that is, can determine the primary control of the corresponding operating system of the component by the mark of the component The title etc. of part.The operation logic of configuration file is used to determine logic when application program operation, such as upper and lower between the page Grade relationship enters the next stage page from some page or returns to upper level page relation of plane, and indicates on the page not With the effect of key, such as click the logical relation that next page is jumped to after a certain key.And description information then includes It is layout information, color, font, resource, the various statements etc. of the page.
And the configuration file of major applications program is write using JS (Java Script) language at present, and according to application The configuration file of program refers to the script execution solution to user interface in application configuration file to the pre-rendered process of user interface Analysis, layout operation, logic executes and the process of user interface UI rendering, with the pre-rendered text for the user interface in program of being applied Part obtains corresponding user interface so that this is applied when receiving enabled instruction from pre-rendered intermediate file, to reach pair Using the purpose quickly shown.
Further, the pre-rendered intermediate file in the embodiment of the present application can be the effect picture and text of user interface UI rendering The address URL or other available effects to user interface UI rendering of part or the effect map file of user interface UI rendering The on-link mode (OLM) of fruit map file is herein not particularly limited the form of pre-rendered intermediate file.
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then applies and receiving When enabled instruction, the effect picture of user interface UI rendering is obtained, directly from pre-rendered intermediate file with the user to the application Interface executes quickly display.
When the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then answer Used in when receiving enabled instruction, according to the address URL of pre-rendered intermediate file, the effect picture of user interface UI rendering is obtained, To execute quickly display to the user interface of the application.
It is corresponding according to the configuration file after the configuration file that application is got using offer terminal in the embodiment of the present application User interface executes pre-rendered, and pre-rendered result and the configuration file of the application are executed associated storage, so that this is answered Start the pre-rendered of page as a result, opening to reduce application used in the application when receiving enabled instruction, can be directly acquired The script parsing of dynamic page, layout operation, logic executes and the drawing process of the primary UI control of user interface, to accelerate application The display speed for starting page, improves the starting speed of application, improves user to the usage experience of application.
It is easily understood that in the escalation process of application, it may appear that the application of different editions, if the same application has When multiple versions, then application provides terminal (such as server or cloud) and needs according to each configuration file using different editions, The user interface of different editions application is rendered, to obtain the pre-rendered intermediate file of corresponding version, and will be in pre-rendered Between the configuration file of file and corresponding version execute associated storage, can be fast to realize the applying when being activated of corresponding version The purpose of speed display user interface.
Below then from the angle of application framework to being described using starting method in the application, wherein answer It is mounted on program frame using in operation terminal, referring specifically to Fig. 2, is implemented in the application using another of starting method Example, comprising:
201, operating instruction is received;
When user's expectation is run at the terminal in application, needing to download at the terminal first and installing the application, and distinguish Application framework is installed in advance, all applications can in the operation terminal in commonly operation terminal, the present embodiment To operate under application framework, application framework is the software operated in terminal device operating system, also, is operated Existing application program can also be run in system.It is appreciated that application framework and existing common applications are all It is to run directly in operating system, and support to run by operating system.
The problem of being different from ordinary terminal and need to download installation kit when downloading application, and waiting the long period, this implementation Application framework is installed in advance, and all applications all operate under application framework in the operation terminal in example, and What the application program operated on application framework needed to download before activation is the configuration file of application program, configuration file It downloads to after terminal device, is parsed by application framework, and support to run.
Also, user can run the application program of a not download configuration file directly under application framework, Such as the icon of multiple application programs is shown on the homepage of application framework, these application programs include having downloaded to match The application program of file and the application program of non-download configuration file are set, for a not download configuration can be clicked directly on The icon of the application program of file, application management module can be provided on terminal (such as server or cloud) from application program and be downloaded The configuration file of the application program, and configuration file is parsed, starting runs the application program.
And it is all apply before operation, require first receive operating instruction, wherein the operating instruction can be user To the single-click operation of terminal, double click operation, long press operation or phonetic control command, the reception mode of operating instruction is not done herein Concrete restriction.
202, according to the operating instruction, the pre-rendered intermediate file using user interface is obtained, to answer described User interface executes quickly display.
It when the application operated on application framework receives operating instruction, is different from the prior art, using needing The problem of being rendered one by one according to user interface of the configuration file to application and leading to user interface delay display, the application In application framework when receiving operating instruction, the pre-rendered intermediate file of the application can be directly acquired, to reach The purpose that the user interface of application is quickly shown.Wherein, which is previously according to configuration file pair The intermediate file that user interface is rendered, the intermediate file can be the rendering effect figure of user interface, be also possible to user The address URL of interface rendering effect figure or available other on-link mode (OLM)s to user interface rendering figure, do not do herein Concrete restriction.
In the embodiment of the present application, application framework, according to operating instruction, is obtained in the operating instruction for receiving application Quickly display is executed to user interface to the user interface pre-rendered intermediate file of the application, and according to pre-rendered intermediate file. Because in the present embodiment, in the operating instruction for receiving application, quickly display can be executed to the user interface of application, thus Accelerate the starting speed of application.
Based on Fig. 2 the embodiment described, after step 201, following steps can also be performed, referring specifically to Fig. 3, originally Apply for another embodiment that starting method is applied in embodiment, comprising:
301, judge whether the application is to start for the first time, if so, 302 are thened follow the steps, if it is not, thening follow the steps 304;
Applying when receiving operating instruction on application framework is operated in, application framework judges that the application is It is no, if the application is to start for the first time, to then follow the steps 302 to start for the first time, if the application is not to start for the first time, hold Row step 304.
302, according to the operating instruction, the resource request address of the application configuration file and described pre- is obtained respectively Render the resource request address of intermediate file;
When the application operated on application framework is to start for the first time, such as user is directly in application framework It is lower operation one not the application program of download configuration file when, application framework from application program provide terminal (server Or cloud) configuration file and pre-rendered intermediate file of the application are obtained, specifically, can be user is clicking application program image When mark, return to a description file, this describe include in file the Apply Names, version number, configuration file resource request Location and the resource request address of pre-rendered intermediate file, and in the resource request for getting configuration file and pre-rendered intermediate file Behind address, step 303 is executed.
303, according to the resource request address of the application configuration file and the resource request of the pre-rendered intermediate file Address, the corresponding configuration file and the pre-rendered intermediate file using user interface for obtaining the application, to answer described User interface executes quickly display;
The resource request address of application configuration file and the resource of pre-rendered intermediate file are got when application framework After request address, the configuration file of application and the pre-rendered of application user interface can be got according to corresponding address Intermediate file, so as to the purpose when receiving enabled instruction, quickly shown to the user interface of needs.
304, the pre-rendered intermediate file of the application is called, to execute quickly display to the user interface of the application.
If it is to start for the first time that application framework, which judges the application not, i.e., application framework is got in advance The configuration file of the application and the pre-rendered intermediate file of the application, then directly transfer the pre-rendered intermediate file of the application, with Quickly display is executed to the user interface of application.
In the embodiment of the present application, when application is to start for the first time, then application configuration file is obtained respectively and applies pre- wash with watercolours The resource request address of intermediate file is contaminated, and is obtained in corresponding configuration file and pre-rendered according to respective resource request address Between file, and when application be not for the first time start when, then the pre-rendered intermediate file of application is called directly, with the user to application Interface executes quickly display, improves the exploitativeness of the embodiment of the present application.
Described above is starting method is applied in the embodiment of the present application, then the application in the application is provided eventually below End is described, referring to Fig. 4, the application in the application provides terminal, comprising:
First acquisition unit 401, for obtaining the configuration file of application;
Pre-rendered unit 402, for executing pre-rendered to the user interface of the application according to the configuration file, and Pre-rendered intermediate file and the configuration file are executed into associated storage, so that described apply when receiving enabled instruction, it is right The user interface of the application executes quickly display.
Preferably, pre-rendered unit 402 is specifically used for:
According to the configuration file, parsing is executed to the User Interface Script of the application, layout operation, logic execute and User interface UI rendering, to obtain the pre-rendered intermediate file using user interface;
The pre-rendered intermediate file and the configuration file are executed into associated storage.
Preferably, the pre-rendered intermediate file includes:
The address URL of the effect map file of the effect map file or user interface UI rendering of user interface UI rendering;
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then described apply is connecing When receiving enabled instruction, the effect map file of the user interface UI rendering is directly acquired, with the user interface to the application Execute quickly display;
When the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then institute It states and applies when receiving enabled instruction, the effect map file of the user interface UI rendering is obtained according to the address URL, with Quickly display is executed to the user interface of the application.
Preferably, pre-rendered unit 402 is also used to:
When the application is there are when multiple versions, then pre-rendered is executed to the user interface of each version application, and will be pre- It renders intermediate file and executes associated storage with corresponding configuration file, so that each version is applied and receiving enabled instruction When, quickly display is executed to the user interface of each version application.
It should be noted that the effect of each unit is similar with described in embodiment described in Fig. 1 in the present embodiment, herein not It repeats again.
In the embodiment of the present application, after the configuration file for getting application by first acquisition unit 401 using offer terminal, By pre-rendered unit 402 according to the configuration file, pre-rendered is executed to the user interface of application, and by pre-rendered result and be somebody's turn to do The configuration file of application executes associated storage and can directly acquire the application so that this is applied when receiving enabled instruction and open The pre-rendered of dynamic page is as a result, the script parsing to application starting page, layout operation, logic executes and user interface to reduce The drawing process of primary UI control improves the starting speed of application to accelerate the display speed using starting page, is promoted Usage experience of the user to application.
Then the application framework being mounted in application operation terminal in the application is described below, please refers to figure 5, the application framework in the application, comprising:
Receiving unit 501, for receiving the operating instruction of application;
Second acquisition unit 502, for obtaining the pre-rendered intermediate file of the application according to the operating instruction, with Quickly display is executed to the user interface of the application.
Preferably, the application framework further include:
Judging unit 503, for judging whether the application is to start for the first time;
Preferably, the second acquisition unit 502, comprising:
First obtains module 5021, for according to the operating instruction, obtaining respectively when the application is the first starting The resource request address of the application configuration file and the resource request address of the pre-rendered intermediate file;
Second obtain module 5022, for according to the application configuration file resource request address and the pre-rendered The resource request address of intermediate file corresponds in the configuration file and the pre-rendered using user interface that obtain the application Between file.
Third obtains module 5023, for calling using the pre- of user interface when the application is not to start for the first time Intermediate file is rendered, to execute quickly display to the user interface of the application.
It should be noted that the application framework in the present embodiment and class described in embodiment described in Fig. 2 and Fig. 3 Seemingly, details are not described herein again.
In the embodiment of the present application, when application is to start for the first time, is then obtained and answered respectively by the first acquisition module 5021 With configuration file and using the resource request address of pre-rendered intermediate file, and is obtained and corresponded to according to respective resource request address Configuration file and pre-rendered intermediate file, and when application be not for the first time start when, then by third obtain module 5023 directly The pre-rendered intermediate file for calling application is connect, to execute quickly display to the user interface of application, improves the embodiment of the present application Exploitativeness.
Terminal and application program frame are provided to the application in the embodiment of the present invention from the angle of modular functionality entity above Frame is described, and the computer installation in the embodiment of the present invention is described from the angle of hardware handles below:
The computer installation provides the function of terminal side, computer installation one in the embodiment of the present invention for realizing application A embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program To realize following steps:
Obtain the configuration file of application;
According to the configuration file, pre-rendered executed to the user interface of the application, and by pre-rendered intermediate file with The configuration file executes associated storage, so that described apply when receiving enabled instruction, to the user interface of the application Execute quickly display.
In some embodiments of the invention, processor can be also used for realizing following steps:
According to the configuration file, parsing is executed to the User Interface Script of the application, layout operation, logic execute and User interface UI rendering, to obtain the pre-rendered intermediate file using user interface;
The pre-rendered intermediate file and the configuration file are executed into associated storage.
Preferably, the pre-rendered intermediate file includes:
The address URL of the effect map file of the effect map file or user interface UI rendering of user interface UI rendering;
In some embodiments of the invention, processor can be also used for realizing following steps:
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then described apply is connecing When receiving enabled instruction, the effect map file of the user interface UI rendering is directly acquired, with the user interface to the application Execute quickly display;
When the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then institute It states and applies when receiving enabled instruction, the effect map file of the user interface UI rendering is obtained according to the address URL, with Quickly display is executed to the user interface of the application.
In some embodiments of the invention, processor can be also used for realizing following steps:
When the application is there are when multiple versions, then pre-rendered is executed to the user interface of each version application, and will be pre- It renders intermediate file and executes associated storage with corresponding configuration file, so that each version is applied and receiving enabled instruction When, quickly display is executed to the user interface of each version application.
The computer installation is for realizing the function of application framework side, and computer installation is another in the embodiment of the present invention One embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program To realize following steps:
Receive the operating instruction of application;
According to the operating instruction, the pre-rendered intermediate file using user interface is obtained, to the application User interface executes quickly display.
In some embodiments of the invention, processor can be also used for realizing following steps:
Judge whether the application is to start for the first time;
If the application is to start for the first time, according to the operating instruction, the application configuration file is obtained respectively Resource request address and the resource request address of the pre-rendered intermediate file;
According to the resource request of the resource request address of the application configuration file and the pre-rendered intermediate file Location, the corresponding configuration file and the pre-rendered intermediate file using user interface for obtaining the application.
In some embodiments of the invention, processor can be also used for realizing following steps:
If the application is not to start for the first time, the pre-rendered intermediate file using user interface is called, with right The user interface of the application executes quickly display.
It is understood that either application provides terminal side or application framework side, above explained meter When processor in calculation machine device executes the computer program, each list in above-mentioned corresponding each Installation practice also may be implemented The function of member, details are not described herein again.Illustratively, the computer program can be divided into one or more module/units, One or more of module/units are stored in the memory, and are executed by the processor, to complete this hair It is bright.One or more of module/units can be the series of computation machine program instruction section that can complete specific function, this refers to Section is enabled to provide the implementation procedure in terminal/application framework in the application for describing the computer program.For example, institute The each unit that computer program can be divided into above-mentioned application offer terminal is stated, each unit may be implemented accordingly to answer as above-mentioned The concrete function illustrated with offer terminal.
The computer installation can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The computer installation may include, but are not limited to processor, memory.It will be understood by those skilled in the art that processor, Memory is only the example of computer installation, does not constitute the restriction to computer installation, may include more or fewer Component perhaps combines certain components or different components, such as the computer installation can also be set including input and output Standby, network access equipment, bus etc..
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable GateArray, 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 processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of computer installation.The memory can mainly include storing program area and storage data area, wherein storage program It area can application program needed for storage program area, at least one function etc.;Storage data area can store the use according to terminal The data etc. created.In addition, memory may include high-speed random access memory, it can also include non-volatile memories Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid State memory device.
The present invention also provides a kind of computer readable storage mediums, and the computer readable storage medium is for realizing application The function of terminal side is provided, computer program is stored thereon with, when computer program is executed by processor, processor can be with For executing following steps:
Obtain the configuration file of application;
According to the configuration file, pre-rendered executed to the user interface of the application, and by pre-rendered intermediate file with The configuration file executes associated storage, so that described apply when receiving enabled instruction, to the user interface of the application Execute quickly display.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
According to the configuration file, parsing is executed to the User Interface Script of the application, layout operation, logic execute and User interface UI rendering, to obtain the pre-rendered intermediate file using user interface;
The pre-rendered intermediate file and the configuration file are executed into associated storage.
Preferably, the pre-rendered intermediate file includes:
The address URL of the effect map file of the effect map file or user interface UI rendering of user interface UI rendering;
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then described apply is connecing When receiving enabled instruction, the effect map file of the user interface UI rendering is directly acquired, with the user interface to the application Execute quickly display;
When the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then institute It states and applies when receiving enabled instruction, the effect map file of the user interface UI rendering is obtained according to the address URL, with Quickly display is executed to the user interface of the application.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
When the application is there are when multiple versions, then pre-rendered is executed to the user interface of each version application, and will be pre- It renders intermediate file and executes associated storage with corresponding configuration file, so that each version is applied and receiving enabled instruction When, quickly display is executed to the user interface of each version application.
The present invention also provides another computer readable storage medium, the computer readable storage medium is for realizing answering With the function of program frame side, it is stored thereon with computer program, when computer program is executed by processor, processor can For executing following steps:
Receive the operating instruction of application;
According to the operating instruction, the pre-rendered intermediate file using user interface is obtained, to the application User interface executes quickly display.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
Judge whether the application is to start for the first time;
If the application is to start for the first time, according to the operating instruction, the application configuration file is obtained respectively Resource request address and the resource request address of the pre-rendered intermediate file;
According to the resource request of the resource request address of the application configuration file and the pre-rendered intermediate file Location, the corresponding configuration file and the pre-rendered intermediate file using user interface for obtaining the application.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
If the application is not to start for the first time, the pre-rendered intermediate file using user interface is called, with right The user interface of the application executes quickly display.
It is understood that if the integrated unit is realized in the form of SFU software functional unit and as independent production Product when selling or using, can store in a corresponding computer-readable storage medium.Based on this understanding, this hair The bright all or part of the process realized in above-mentioned corresponding embodiment method, can also be instructed relevant by computer program Hardware is completed, and the computer program can be stored in a computer readable storage medium, which is being located It manages when device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program generation Code, the computer program code can be source code form, object identification code form, executable file or certain intermediate forms Deng.The computer-readable medium may include: any entity or device, record that can carry the computer program code It is medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-OnlyMemory), random Access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs It is noted that the content that the computer-readable medium includes can be according to making laws in jurisdiction and patent practice is wanted It asks and carries out increase and decrease appropriate, such as in certain jurisdictions, do not include according to legislation and patent practice, computer-readable medium Electric carrier signal and telecommunication signal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to 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.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, 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.

Claims (11)

1. a kind of application starts method, which is characterized in that be applied to application and provide terminal, comprising:
Obtain the configuration file of application;
According to the configuration file, pre-rendered executed to the user interface of the application, and by pre-rendered intermediate file with it is described Configuration file executes associated storage, so that described apply when receiving enabled instruction, executes to the user interface of the application Quickly display.
2. the method according to claim 1, wherein according to the configuration file, to user circle of the application Face executes pre-rendered, and pre-rendered intermediate file and the configuration file are executed associated storage, comprising:
According to the configuration file, parsing, layout operation, logic execution and user are executed to the User Interface Script of the application Interface UI rendering, to obtain the pre-rendered intermediate file using user interface;
The pre-rendered intermediate file and the configuration file are executed into associated storage.
3. according to the method described in claim 2, it is characterized in that, the pre-rendered intermediate file includes:
The address URL of the effect map file of the effect map file or user interface UI rendering of user interface UI rendering;
When the pre-rendered intermediate file is the effect map file of user interface UI rendering, then described apply is receiving When enabled instruction, the effect map file of the user interface UI rendering is directly acquired, to execute to the user interface of the application Quickly display;
It is when the address URL for the effect map file that the pre-rendered intermediate file is user interface UI rendering, then described to answer Used in when receiving enabled instruction, the effect map file of the user interface UI rendering is obtained according to the address URL, to institute The user interface for stating application executes quickly display.
4. according to the method in any one of claims 1 to 3, which is characterized in that the method also includes:
When the application is there are when multiple versions, then pre-rendered executed to the user interface of each version application, and by pre-rendered Intermediate file executes associated storage with corresponding configuration file, so that each version is applied when receiving enabled instruction, Quickly display is executed to the user interface of each version application.
5. a kind of application starts method, which is characterized in that be applied to application framework, the application framework, which is mounted on, answers With in operation terminal, comprising:
Receive the operating instruction of application;
According to the operating instruction, the pre-rendered intermediate file using user interface is obtained, with the user to the application Interface executes quickly display.
6. according to the method described in claim 5, it is characterized in that, it is described receive application operating instruction after, the side Method further include:
Judge whether the application is to start for the first time;
It is described according to the operating instruction if the application is to start for the first time, obtain text among the pre-rendered of the application Part, comprising:
According to the operating instruction, obtained among resource request address and the pre-rendered of the application configuration file respectively The resource request address of file;
It is right according to the resource request address of the application configuration file and the resource request address of the pre-rendered intermediate file The configuration file and the pre-rendered intermediate file using user interface of the application should be obtained.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If the application is not to start for the first time, the pre-rendered intermediate file using user interface is called, to described The user interface of application executes quickly display.
8. a kind of application provides terminal characterized by comprising
First acquisition unit, for obtaining the configuration file of application;
Pre-rendered unit executes pre-rendered to the user interface of the application for according to the configuration file, and by pre-rendered Intermediate file and the configuration file execute associated storage, so that described apply when receiving enabled instruction, to the application User interface execute quickly display.
9. a kind of application framework, the application framework is mounted on using in operation terminal characterized by comprising
Receiving unit, for receiving the operating instruction of application;
Second acquisition unit, for the pre-rendered intermediate file of the application being obtained, to answer described according to the operating instruction User interface executes quickly display.
10. a kind of computer installation, including processor and memory, which is characterized in that being stored on the memory can be located The computer program that device executes is managed, when the computer program is executed by the processor, for realizing in Claims 1-4 Or starting method is applied described in any one of 5 to 7.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by one or more processors, for realizing starting side is applied in Claims 1-4 or described in any one of 5 to 7 Method.
CN201910129848.7A 2019-02-21 2019-02-21 A kind of application starting method and relevant apparatus Withdrawn CN109885355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910129848.7A CN109885355A (en) 2019-02-21 2019-02-21 A kind of application starting method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910129848.7A CN109885355A (en) 2019-02-21 2019-02-21 A kind of application starting method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109885355A true CN109885355A (en) 2019-06-14

Family

ID=66928708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910129848.7A Withdrawn CN109885355A (en) 2019-02-21 2019-02-21 A kind of application starting method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109885355A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176745A (en) * 2019-12-02 2020-05-19 华迪计算机集团有限公司 Application implementation method and device based on mobile terminal
CN112667310A (en) * 2020-12-23 2021-04-16 上海米哈游天命科技有限公司 Game engine editor starting method and device, electronic equipment and storage medium
CN112667315A (en) * 2020-12-23 2021-04-16 上海米哈游天命科技有限公司 Game engine editor starting method and device, electronic equipment and storage medium
CN112732365A (en) * 2021-01-28 2021-04-30 北京字跳网络技术有限公司 Method and device for starting pre-installed application program, electronic equipment and storage medium
CN112860357A (en) * 2019-11-26 2021-05-28 上海哔哩哔哩科技有限公司 Animation resource rendering method and device, computer equipment and storage medium
CN113434233A (en) * 2021-06-28 2021-09-24 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN114706621A (en) * 2019-09-26 2022-07-05 华为技术有限公司 Method for starting fast application and related device
CN114760289A (en) * 2022-03-28 2022-07-15 一汽解放汽车有限公司 Vehicle data acquisition method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533350A (en) * 2009-04-03 2009-09-16 深圳市宝捷信科技有限公司 Quick switching method for pages
US20110055823A1 (en) * 2009-08-27 2011-03-03 Microsoft Corporation Logical Migration Of Applications And Data
CN103970534A (en) * 2014-04-15 2014-08-06 百度在线网络技术(北京)有限公司 Method and equipment for supplying rendered page in mobile application
US20170046144A1 (en) * 2015-08-14 2017-02-16 Aeris Communications, Inc. Aercloud application express and aercloud application express launcher
CN106708583A (en) * 2016-12-30 2017-05-24 广州华多网络科技有限公司 Application loading method and device
CN107066631A (en) * 2017-05-26 2017-08-18 北京三快在线科技有限公司 Display methods, device and the electronic equipment of the page
CN108804153A (en) * 2018-05-21 2018-11-13 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the terminal of application program
CN108829856A (en) * 2018-06-21 2018-11-16 青岛海信电器股份有限公司 The resource of web application preloads method and device in display terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533350A (en) * 2009-04-03 2009-09-16 深圳市宝捷信科技有限公司 Quick switching method for pages
US20110055823A1 (en) * 2009-08-27 2011-03-03 Microsoft Corporation Logical Migration Of Applications And Data
CN103970534A (en) * 2014-04-15 2014-08-06 百度在线网络技术(北京)有限公司 Method and equipment for supplying rendered page in mobile application
US20170046144A1 (en) * 2015-08-14 2017-02-16 Aeris Communications, Inc. Aercloud application express and aercloud application express launcher
CN106708583A (en) * 2016-12-30 2017-05-24 广州华多网络科技有限公司 Application loading method and device
CN107066631A (en) * 2017-05-26 2017-08-18 北京三快在线科技有限公司 Display methods, device and the electronic equipment of the page
CN108804153A (en) * 2018-05-21 2018-11-13 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the terminal of application program
CN108829856A (en) * 2018-06-21 2018-11-16 青岛海信电器股份有限公司 The resource of web application preloads method and device in display terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706621A (en) * 2019-09-26 2022-07-05 华为技术有限公司 Method for starting fast application and related device
CN112860357A (en) * 2019-11-26 2021-05-28 上海哔哩哔哩科技有限公司 Animation resource rendering method and device, computer equipment and storage medium
CN112860357B (en) * 2019-11-26 2023-06-16 上海哔哩哔哩科技有限公司 Animation resource rendering method and device, computer equipment and storage medium
CN111176745A (en) * 2019-12-02 2020-05-19 华迪计算机集团有限公司 Application implementation method and device based on mobile terminal
CN112667310A (en) * 2020-12-23 2021-04-16 上海米哈游天命科技有限公司 Game engine editor starting method and device, electronic equipment and storage medium
CN112667315A (en) * 2020-12-23 2021-04-16 上海米哈游天命科技有限公司 Game engine editor starting method and device, electronic equipment and storage medium
CN112732365A (en) * 2021-01-28 2021-04-30 北京字跳网络技术有限公司 Method and device for starting pre-installed application program, electronic equipment and storage medium
CN113434233A (en) * 2021-06-28 2021-09-24 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN113434233B (en) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 Interface jump method and device, storage medium and electronic device
CN114760289A (en) * 2022-03-28 2022-07-15 一汽解放汽车有限公司 Vehicle data acquisition method and device, computer equipment and storage medium
CN114760289B (en) * 2022-03-28 2024-02-23 一汽解放汽车有限公司 Vehicle data acquisition method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109885355A (en) A kind of application starting method and relevant apparatus
CN107391114B (en) Page visual rendering method and device
De Andrade et al. Cross platform app: a comparative study
CN109542427B (en) System customization method and device, electronic equipment and storage medium
CN107741844B (en) Method and device for generating application installation package
US11422785B2 (en) Container orchestration framework
CN1979476A (en) Method and system for rendering asynchronous portal page
CN110457038B (en) Card display method, device and equipment of auxiliary application terminal and storage medium
CN111145745B (en) Conversation process customizing method and device
CN105204917B (en) The method and device of loading configuration file in application program launching
CN107430514A (en) Use the low latency application of multiserver
CN108959605A (en) For the screenshot method of webpage, device, computer equipment and storage medium
CN109144619A (en) Icon font information processing method, apparatus and system
CN114661375A (en) Application integration method and device
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN111880786A (en) Multi-application sharing method, system, device, electronic equipment and storage medium
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN109558182A (en) Information popularization method, electronic equipment and computer storage medium based on plug-in unit
CN115080109A (en) Multi-cloud-end environment joint debugging method, device, system and equipment based on hybrid development
CN110209402B (en) Application installation method, electronic device and computer storage medium
EP3848800B1 (en) Method and apparatus for displaying message box, terminal and storage medium
CN115129339A (en) Small program dynamic updating method, device and medium based on Flutter
CN114385124A (en) Independent page jumping method, device and equipment based on Vue framework
CN113312104A (en) Advertisement conversion method and system based on small program
CN112307379A (en) Page generation method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20190614

WW01 Invention patent application withdrawn after publication