CN110321178A - Starting processing method, device, equipment and the storage medium of attached application end - Google Patents
Starting processing method, device, equipment and the storage medium of attached application end Download PDFInfo
- Publication number
- CN110321178A CN110321178A CN201910572561.1A CN201910572561A CN110321178A CN 110321178 A CN110321178 A CN 110321178A CN 201910572561 A CN201910572561 A CN 201910572561A CN 110321178 A CN110321178 A CN 110321178A
- Authority
- CN
- China
- Prior art keywords
- application end
- attached application
- attached
- page
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000009877 rendering Methods 0.000 claims abstract description 32
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000004044 response Effects 0.000 claims abstract description 22
- 230000001960 triggered effect Effects 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 119
- 238000009434 installation Methods 0.000 claims description 61
- 238000012544 monitoring process Methods 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 31
- 230000036316 preload Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 7
- 238000007667 floating Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims 1
- 239000002344 surface layer Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 230000005291 magnetic effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for 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)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses starting processing method, device, equipment and the storage mediums of a kind of attached application end.Wherein, this method comprises: host's application end is when determining includes the first attached application end in the resource results page in display area, backstage preloading is carried out to the first attached application end;It include objective function in first attached application end, objective function is triggered execution when the first attached application end is in and prefetches life cycle, so that the first attached application end is when incoming environment description information meets preset condition, the business datum of the attached application end of pre-download first;In response to the selection operation to the first attached application end, the first attached application end is opened on foreground, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page.The embodiment of the present disclosure can not opened in attached application end or start-up time etc. relatively early the stage prefetches business datum, the second that attached application end may be implemented opens.
Description
Technical field
The present embodiments relate to application program launching technology more particularly to a kind of starting processing sides of attached application end
Method, device, equipment and storage medium.
Background technique
Small routine itself rides in large-scale application client.The method of application client starting small routine
It include: that application client receives the corresponding enabled instruction of current small routine that user sends;In response to current small routine pair
The enabled instruction answered starts current small routine.
In the prior art, the initial period generally after small routine starting carries out business datum and prefetches for subsequent use,
Small routine business datum can not be prefetched before small routine is inactive, and then the acquisition time of business datum can be made, accounted for
The displaying time that the page is shown with small routine opens small routine from user and brings unavoidably to the display page for entering small routine
Time loss, can not from data acquisition level reduce small routine presentation time, in addition, also can not be according to small routine entrance
State notifies the developer of small routine, the developer of small routine that can not realize various control plans based on small routine entrance in turn in time
Slightly.
Summary of the invention
The present invention provides starting processing method, device, equipment and the storage medium of a kind of attached application end, to realize attached
Belong to application end do not open or start-up time etc. relatively early the stage prefetches the business datum of attached application end, thus real
The second of existing attached application end opens.
In a first aspect, the embodiment of the invention provides a kind of starting processing methods of attached application end, comprising:
Host's application end is when determining includes the first attached application end in the resource results page in display area, to first
Attached application end carries out backstage preloading;
It wherein, include objective function in the first attached application end, objective function is in the first attached application end and prefetches life
It is triggered executions when ordering the period, so that the first attached application end is when the environment description information being passed to meets preset condition, under pre-
Carry the business datum of the first attached application end;
Host's application end opens the first attached application end in response to the selection operation to the first attached application end, foreground, with
Make the first attached application end according to the business datum of pre-download, rendering generates the starting display page.
Second aspect, the embodiment of the invention also provides a kind of starting processing methods of attached application end, comprising:
After attached application end is preloaded from the background, life cycle that the attached application end of real-time monitoring is presently in;
Wherein, determine in the resource results page shown in display display area to include attached application end in host's application end
When, backstage preloading is carried out to attached application end;
When monitoring to prefetch life cycle, triggering executes the objective function for including in the first attached application end, and will be attached
The environment description information for belonging to application end is passed to objective function as input parameter;
Through objective function when detecting that environment description information meets preset condition, the business of the attached application end of pre-download
Data;
According to the business datum of pre-download, the starting that rendering generates attached application end shows the page.
The third aspect, the embodiment of the invention also provides a kind of starting processing units of attached application end, comprising:
Code preloaded components, for determining in display area including the first attached application end in the resource results page
When, backstage preloading is carried out to the first attached application end;
It wherein, include objective function in the first attached application end, objective function is in the first attached application end and prefetches life
It is triggered executions when ordering the period, so that the first attached application end is when the environment description information being passed to meets preset condition, under pre-
Carry the business datum of the first attached application end;
Application end opening module, in response to the selection operation to the first attached application end, it is attached that foreground opens first
Application end, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page.
Fourth aspect, the embodiment of the invention also provides a kind of starting processing units of attached application end, comprising:
Life cycle monitoring modular, for after attached application end is preloaded from the background, the attached application end of real-time monitoring to be worked as
Preceding locating life cycle;
Wherein, determine in the resource results page shown in display display area to include attached application end in host's application end
When, backstage preloading is carried out to attached application end;
Parameter afferent module, for including in triggering the first attached application end of execution when monitoring to prefetch life cycle
Objective function, and using the environment description information of attached application end as input parameter be passed to objective function;
Data pre-download module, for passing through objective function when detecting that environment description information meets preset condition, in advance
Download the business datum of attached application end;
Page generation module, for the business datum according to pre-download, the starting that rendering generates attached application end shows page
Face.
5th aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in
It is realized on memory and when processor described in the computer program that can run on a processor executes described program as the present invention is real
Apply the starting processing method of attached application end described in example.
6th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the starting processing side of attached application end as described in the embodiments of the present invention when the computer program is executed by processor
Method.
The technical solution of the embodiment of the present invention is determining to include the resource results page in display area by host's application end
In attached application end when, to attached application end carry out backstage preloading;It is attached to answer after attached application end is preloaded from the background
The life cycle being presently in the end attached application end of real-time monitoring, when monitoring to prefetch life cycle, triggering executes first
The objective function for including in attached application end, and target letter is passed to using the environment description information of attached application end as input parameter
Number, through objective function when detecting that environment description information meets preset condition, the business datum of the attached application end of pre-download;
For host's application end in response to the selection operation to attached application end, attached application end is opened on foreground, and attached application end is according under pre-
The business datum of load, the starting that rendering generates attached application end show the page, can not open or open in attached application end
Moment etc., relatively early the stage prefetched the business datum of attached application end, to reach into after attached application end
The starting that directly rendering generates attached application end shows the perfect condition of the page, realizes that the second of attached application end opens.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention one provides;
Fig. 2 a is a kind of flow chart of the starting processing method of attached application end provided by Embodiment 2 of the present invention;
Fig. 2 b is a kind of schematic diagram of the starting treatment process of attached application end provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram of the starting processing unit for attached application end that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram of the starting processing unit for attached application end that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention one provides.This implementation
Example is applicable to carry out attached application end the case where starting processing, and this method attached can be answered by provided in an embodiment of the present invention
It is executed with the starting processing unit at end, the mode which can be used software and/or hardware is realized, and can generally be integrated in peace
Loaded in the application program (host's application end) that one in computer equipment can carry and run attached application end, with one
Or multiple attached application ends are used cooperatively.
As shown in Figure 1, the method for the present embodiment specifically includes:
Step 101, host's application end are determining in display area including the first attached application end in the resource results page
When, backstage preloading is carried out to the first attached application end.
It wherein, include objective function in the first attached application end, objective function is in the first attached application end and prefetches life
It is triggered executions when ordering the period, so that the first attached application end is when the environment description information being passed to meets preset condition, under pre-
Carry the business datum of the first attached application end.
Wherein, attached application end is the small routine client ridden in large-scale application client.For example, host
Application end is large-scale application client.Display area is the region for showing information to user.By resource results page
Face is shown in display area, so that user may browse through the information in the resource results page.
In a specific embodiment, host's application end determine include in display area in the resource results page the
When one attached application end, before the first attached application end progress backstage preloading, further includes: host's application end is according to input
Search inquiry request obtains result of page searching and is shown in display area as the resource results page.Search inquiry is asked
Ask to be the search type of user's input.Result of page searching is the page returned for the search type of user.Host's application end
It in the case where searching for scene, is requested according to the search inquiry of input, obtains result of page searching as the resource results page in viewing area
It is shown in domain, and when determining includes the first attached application end in result of page searching in display area, it is attached to first
Belong to application end and carries out backstage preloading.
In another specific embodiment, determining in display area to include in the resource results page in host's application end
When the first attached application end, before the first attached application end progress backstage preloading, further includes: host's application end is according to information
Trigger request is flowed, information flow results page is obtained and is shown in display area as the resource results page.Information flow is place
Main application end continuous updating and the recommendation information being presented to the user.Host's application end explores user according to information flow trigger request
Point of interest, analysis user data, obtain the recommendation information that user is interested, needs, and generate information flow results page.Information flow knot
It include the recommendation information that user is interested, needs in the fruit page.Recommendation information can be attached application end.Host's application end is being divided
Send out under scene, according to information flow trigger request, obtain information flow results page as the resource results page in display area into
Row is shown, and when determining includes the first attached application end in information flow results page in display area, attached is answered to first
Backstage preloading is carried out with end.
Optionally, backstage preloading is carried out to the first attached application end, may include: the judgement of host's application end it is current whether
Backstage preloading is not carried out to any attached application end.Host's application end is not if it is determined that current carry out any attached application end
Backstage preloads, then continues to test the application framework preloading whether being completed for attached application end.If host's application end
Detect the application framework preloading being completed for attached application end, then under the application framework for attached application end, from
First installation kit of the attached application end of attached application end platform pre-download first, and setting in the first installation kit is preloaded on backstage
Determine startup file.If host's application end detects the application framework preloading not completed for attached application end, answered
After the preloading of frame, under the application framework that load is completed, from the attached application end of attached application end platform pre-download first
The first installation kit, and backstage preload the first installation kit in setting startup file.
Host's application end is if it is determined that it is attached then currently to unload other to other attached application ends progress backstage preloadings
It is attached from attached application end platform pre-download first under current application framework after startup file in the installation kit of application end
Belong to the first installation kit of application end, and preloads the startup file in the first installation kit on backstage.
Optionally, startup file is app.js file.It include the operation code of the first attached application end in app.js file.
The app.js file in the first installation kit is preloaded on backstage, i.e., preloads the first attached application end on backstage.
It include objective function in first attached application end, objective function is in the first attached application end and prefetches life cycle
When be triggered execution so that the first attached application end is when incoming environment description information meets preset condition, pre-download first
The business datum of attached application end.
Optionally, objective function can be to prefetch life cycle Hook Function (onPrefetch (state)).Host's application
When monitoring to prefetch life cycle, triggering executes the objective function for including in the first attached application end, and attached by first at end
The environment description information of application end is passed to objective function as input parameter.Objective function is detecting environment description information satisfaction
When preset condition, tectonic network resource acquisition request is sent to attached application end platform.Then objective function receives attached application
The business datum of the attached application end of end platform feedback is stored.
Optionally, the life cycle that prefetches of the attached application end of target includes at least one of following: the attached application end of target exists
Sliding mode in display area, floating state and target attached application end of the attached application end of target in display area exist
Click state in display area.
Optionally, environment description information includes at least one of following: the attached application end of target currently shows state, target
The page-describing information of the page to be presented of the attached application end of access information and target of attached application end.
Optionally, the state that currently shows of the attached application end of target includes: visible, invisible, hovering or clicks;Target
The access information of attached application end includes: search scene or distribution scene;And the page to be presented of the attached application end of target
Page-describing information include: first level pages, or at least one junior's subpage frame under first level pages level.
Optionally, the state that currently shows that preset condition can be the attached application end of target is to preset to show state.For example,
Preset condition is that the state that currently shows of the attached application end of target is to click.Determine user click the attached application end of target it
Afterwards, prefetching for the business datum of attached application end is carried out, it can be in attached application end start-up time to the business of attached application end
Data are prefetched, and are reached optimal and are prefetched hit rate (100%), realize 100% income for prefetching cost.
Optionally, it is default access information that preset condition, which can be the access information of the attached application end of target,.For example, default
Condition is that the access information of the attached application end of target is search scene.
Optionally, it is default page that preset condition, which can be the page-describing information of the page to be presented of the attached application end of target,
Face description information.For example, the page-describing information that preset condition is the page to be presented of the attached application end of target is first level pages.
The processing logic prefetched in life cycle Hook Function is write by developer.It can flexibly define when target is attached
Which kind of category application end is in and shows under state, is under which kind of scene (search scene either distributes scene), the page to be presented
When for which kind of page, tectonic network resource acquisition request is sent to attached application end platform, then receives attached application end platform
The business datum of the attached application end of feedback is stored.
In response to the selection operation to the first attached application end, foreground unlatching first is attached to be answered for step 102, host's application end
With end, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page.
Optionally, the selection operation of the first attached application end can be answered for the attached to first in display area of user
With the clicking operation at end.In response to the clicking operation to the first attached application end in display area of user, foreground opens the
One attached application end, so that business datum of the first attached application end according to pre-download, rendering generates the first attached application end
The starting display page, and show that the starting of generation shows the page.
The embodiment of the invention provides a kind of starting processing methods of attached application end, by host's application end determining aobvious
When showing in region including the first attached application end in the resource results page, backstage preloading is carried out to the first attached application end;
It wherein, include objective function in the first attached application end, objective function is when the first attached application end is in and prefetches life cycle
Be triggered execution, so that the first attached application end is when incoming environment description information meets preset condition, pre-download first is attached
Belong to the business datum of application end;Then host's application end is in response to the selection operation to the first attached application end, and foreground opens the
One attached application end, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page, can be with
Before the first attached application end is not opened, backstage preloading is carried out to the first attached application end, it can be by the mesh in preloading
Scalar functions realize the first attached application end when incoming environment description information meets preset condition, and pre-download first is attached to answer
With the business datum at end, realize the first attached application end do not open or start-up time etc. relatively early the stage is attached to first
The business datum of application end is prefetched, and can be rendered according to the business datum of pre-download and be generated opening for the first attached application end
The dynamic display page, realizes that the second of the first attached application end opens, and can flexibly carry out the tune for prefetching strategy according to environment description information
It is whole, so that control prefetches the income of cost.
Embodiment two
Fig. 2 a is a kind of flow chart of the starting processing method of attached application end provided by Embodiment 2 of the present invention.This implementation
Example can be in conjunction with each optinal plan in said one or multiple embodiments, in the present embodiment, and host's application end is to the
One attached application end carries out backstage preloading, comprising: host's application end is not if it is determined that current carry out any attached application end
Backstage preloads, then continues to test the application framework preloading whether being completed for attached application end;If it is not, then host applies
End carries out preloading host's application end of the application framework under the application framework that load is completed, pre- from attached application end platform
The first installation kit of the first attached application end is downloaded, and preloads the setting startup file in the first installation kit on backstage.
And host's application end carries out backstage preloading to the first attached application end, if may include: host's application end
It determines and backstage preloading currently has been carried out to other attached application ends, then unload the starting in the installation kit of other attached application ends
File;Host's application end is under current application framework, from the first of the attached application end of attached application end platform pre-download first
Installation kit, and the startup file in the first installation kit is preloaded on backstage.
As shown in Fig. 2, the method for the present embodiment specifically includes:
Step 201, host's application end are determining in display area including the first attached application end in the resource results page
When, whether judgement is current does not carry out backstage preloading to any attached application end: if so, thening follow the steps 202;If it is not, then holding
Row step 206.
It wherein, include objective function in the first attached application end, objective function is in the first attached application end and prefetches life
It is triggered executions when ordering the period, so that the first attached application end is when the environment description information being passed to meets preset condition, under pre-
Carry the business datum of the first attached application end.
Step 202, host's application end detect whether that the application framework preloading for attached application end is completed: if so,
Then follow the steps 203;If it is not, thening follow the steps 204.
Wherein, host's application end to any attached application end progress backstage preloading if it is determined that currently do not continue then to examine
Survey the application framework preloading whether being completed for attached application end.
Host's application end can access attached application end platform corresponding with each attached application end by application framework.Using
The preloading of frame occurs over just host's application end when opening attached application end for the first time, later host's application end show it is new attached
When belonging to application end, then being loaded with to application framework again is not needed.
Step 203, host's application end are under the application framework for attached application end, from attached application end platform pre-download
First installation kit of the first attached application end, and the setting startup file in the first installation kit is preloaded on backstage.
Wherein, if host's application end detects the application framework preloading being completed for attached application end, in needle
To under the application framework of attached application end, from the first installation kit of the attached application end of attached application end platform pre-download first, and
The setting startup file in the first installation kit is preloaded on backstage.
Optionally, startup file is app.js file.It include the operation code of the first attached application end in app.js file.
The app.js file in the first installation kit is preloaded on backstage, i.e., preloads the first attached application end on backstage.
Step 204, host's application end carry out the preloading of application framework.
Step 205, host's application end are attached from attached application end platform pre-download first under the application framework that load is completed
Belong to the first installation kit of application end, and preloads the setting startup file in the first installation kit on backstage.
Wherein, advanced if host's application end detects the application framework preloading not completed for attached application end
The preloading of row application framework, it is attached from attached application end platform pre-download first then under the application framework that load is completed
First installation kit of application end, and the setting startup file in the first installation kit is preloaded on backstage.
Step 206, host's application end unload the startup file in the installation kit of other attached application ends.
Step 207, host's application end are answered under current application framework from attached application end platform pre-download first is attached
The startup file in the first installation kit is preloaded with first installation kit at end, and on backstage.
Wherein, host's application end is if it is determined that currently then first unload other attached application ends progress backstage preloadings
Startup file in the installation kit of other attached application ends, then the startup file in the installation kit of other attached application ends unloads
After the completion of load, under current application framework, from the first installation kit of the attached application end of attached application end platform pre-download first,
And the startup file in the first installation kit is preloaded on backstage.
In response to the selection operation to the first attached application end, foreground unlatching first is attached to be answered for step 208, host's application end
With end, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page.
Simultaneously as can also additionally save startup file having preloaded the startup file in the first installation kit from the background
Load time (80 quartile load time 400ms), network library C/S network for the first time can be saved and shaken hands and business data transmission
Time (80 quartiles are about 600ms).Thus, it is possible to the page of the first attached application end be generated the nearly 1s of time promotion, thus real
The second of existing first attached application end opens.
Optionally, the resource results page is obtained in host's application end to be shown in display area, and show determining
When including the first attached application end in the resource results page in region, backstage preloading is carried out to the first attached application end
Later, further includes: host's application end is in response to sliding processing operation, to display content of the resource results page in display area
It is updated;Host's application end includes the second attached application end in determining the updated resource results page and does not include first
When attached application end, the startup file in the first installation kit is unloaded;Host's application end is answered under current application framework from attached
With end the attached application end of platform pre-download second the second installation kit, and backstage preload the second installation kit in starting text
Part.
Wherein, host's application end in response to user sliding processing operation, to the resource results page in display area
Display content is updated.Host's application end includes the second attached application end and not in determining the updated resource results page
When including the first attached application end, i.e., after the first attached application end is moved out display area, and the second attached application end is small
When program is shown in the display area, need first to unload the startup file in the first installation kit, then host's application end is being worked as
Under preceding application framework, from the second installation kit of the attached application end of attached application end platform pre-download second, and in backstage pre-add
Carry the startup file in the second installation kit.The startup file in the second installation kit is preloaded on backstage, i.e., preloads the on backstage
Two attached application ends.It include objective function in second attached application end, objective function is in the second attached application end and prefetches life
It is triggered executions when ordering the period, so that the second attached application end is when the environment description information being passed to meets preset condition, under pre-
Carry the business datum of the second attached application end.
Host's application end opens the second attached application end in response to the selection operation to the second attached application end, foreground, with
Make the second attached application end according to the business datum of pre-download, rendering generates the starting display page.
Thus, it is possible to guarantee to carry out business datum only for the attached application end in Current resource results page
Pre-download reduces unnecessary EMS memory occupation.
Fig. 2 b is a kind of schematic diagram of the starting treatment process of attached application end provided by Embodiment 2 of the present invention.Attached
In the preparation link of the starting treatment process of application end, after host's application end carries out the preloading of application framework, completed in load
Application framework under, from the installation kit of the attached attached application end of application end platform pre-download, and backstage preload installation kit in
App.js file.
When the display content in display area is updated, including attached application end hair in the updated resource results page
After changing more, under current application framework, the installation kit of the attached application end after pre-download change has prepared link in unloading
App.js text after the useless app.js file of load, in the installation kit that backstage preloads the attached application end after change
Part.
After attached application end is preloaded from the background, life that the attached attached application end of application end real-time monitoring is presently in
In the period, when monitoring to prefetch life cycle, triggering executes the expection life cycle Hook Function for including in operation code
App.js onPrefetch (data), and using the environment description information of attached application end as the incoming expected life of input parameter
Period Hook Function app.js onPrefetch (data) passes through expected life cycle Hook Function app.js onPrefetch
(data) when detecting that environment description information data meets preset condition, the business datum of the attached application end of pre-download.
Environment description information data include attached application end currently show state " state " and attached application end wait open up
Show the page-describing information " launchScheme " of the page.Currently showing state " state " can be " hovering " or " click ".
Page-describing information " launchScheme " can for routing information " path? query ".
In prefetching life cycle Hook Function, opened in advance in addition to user interface (User Interface, UI) function
Repertoire except energy.For example, obtaining the function of system information, or obtain the function of device identification.Developer can be pre-
Take the calling realized in life cycle Hook Function to above-mentioned function.Optionally, at least one open application in objective function
Routine interface;Wherein, application programming interfaces include: the application programming interfaces for obtaining host's application end system information, are used for
Obtain the application programming interfaces of the device identifying information of the configured equipment of host's application end.
The processing logic prefetched in life cycle Hook Function is write by developer.It can flexibly define when target is attached
Belong to application end which kind of be in and show under state, when which kind of page the page to be presented be, tectonic network resource acquisition is requested, and is sent to
Attached application end platform, the business datum for then receiving the attached application end of attached application end platform feedback are stored.
Host's application end in response to the clicking operation to the attached application end in display area of user, open attached by foreground
Application end.Attached application end triggering rendering (setData), according to the business datum of pre-download, rendering generates attached application end
The starting display page, and show that the starting of generation shows the page.
The embodiment of the invention provides a kind of starting processing methods of attached application end, are judged by host's application end current
Whether backstage preloading is not carried out to any attached application end, backstage preloading is not carried out to any attached application end currently
When, under the application framework for attached application end, from the first peace of the attached application end of attached application end platform pre-download first
Dress packet, and the startup file in the first installation kit is preloaded on backstage;It is pre- that backstage is carried out to other attached application ends currently
Load, then after unloading the startup file in the installation kit of other attached application ends, under current application framework, from attached application
The first installation kit of the attached application end of platform pre-download first is held, and preloads the startup file in the first installation kit on backstage,
Situation can be preloaded according to application end attached in host's application end before the first attached application end is not opened, it is attached to first
Application end carries out backstage preloading.
Embodiment three
Fig. 3 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention three provides.This implementation
Example is applicable to carry out attached application end the case where starting processing, and this method attached can be answered by provided in an embodiment of the present invention
It is executed with the starting processing unit at end, the mode which can be used software and/or hardware is realized, and can generally be integrated in peace
Loaded in the attached application end in computer equipment, attached application end is carried and is operated in host's application end.
As shown in figure 3, the method for the present embodiment specifically includes:
Step 301, after attached application end is preloaded from the background, Life Cycle that the attached application end of real-time monitoring is presently in
Phase;Wherein, right when it includes attached application end that host's application end, which determines in the resource results page shown in display display area,
Attached application end carries out backstage preloading.
Wherein, host's application end obtains the resource results page and is shown in display area, and is determining display area
When the interior attached application end including in the resource results page, backstage preloading is carried out to attached application end.
Life cycle refer to the process of program since creation, to, suspend, arouse, suspend and unload.In attached application
It holds after being preloaded from the background, the life cycle that the attached application end of real-time monitoring is presently in.
Step 302, when monitoring to prefetch life cycle, triggering execute the first attached application end in include target letter
Number, and objective function is passed to using the environment description information of attached application end as input parameter.
Wherein, it is preset according to business demand and prefetches life cycle.Optionally, attached application end prefetches life cycle
Including at least one of following: sliding mode of the attached application end in display area, attached application end are outstanding in display area
Stop the click state of state and attached application end in display area.
When the life cycle for monitoring that attached application end is presently in is to prefetch life cycle, i.e., attached application end operation
To when prefetching life cycle, triggering executes the objective function for including in the first attached application end, and by the environment of attached application end
Description information is passed to objective function as input parameter.
Optionally, objective function can be to prefetch life cycle Hook Function (onPrefetch (state)).Host's application
When monitoring to prefetch life cycle, triggering executes the objective function for including in the first attached application end, and by attached application at end
The environment description information at end is passed to objective function as input parameter.
Optionally, environment description information includes at least one of following: attached application end currently shows state, attached application
The page-describing information of the access information at end and the page to be presented of attached application end.
Optionally, the state that currently shows of attached application end includes: visible, invisible, hovering or clicks;Attached application
The access information at end includes: search scene or distribution scene;And the page-describing letter of the page to be presented of attached application end
Breath includes: first level pages, or at least one junior's subpage frame under first level pages level.
In prefetching life cycle Hook Function, the repertoire other than user interface capabilities has been opened in advance.Example
Such as, the function of system information is obtained, or obtains the function of device identification.Developer can prefetch in life cycle Hook Function
Realize the calling to above-mentioned function.Optionally, at least one open application programming interfaces in objective function;Wherein, using journey
Sequence interface includes: the application programming interfaces for obtaining host's application end system information, is configured for obtaining host's application end
The application programming interfaces of the device identifying information of equipment.
The processing logic prefetched in life cycle Hook Function is write by developer.It can flexibly define when target is attached
Which kind of category application end is in and shows under state, is under which kind of scene (search scene either distributes scene), the page to be presented
When for which kind of page, tectonic network resource acquisition request is sent to attached application end platform, then receives attached application end platform
The business datum of the attached application end of feedback is stored.
Step 303, by objective function when detecting that environment description information meets preset condition, the attached application of pre-download
The business datum at end.
Optionally, the state that currently shows that preset condition can be the attached application end of target is to preset to show state.For example,
Preset condition is that the state that currently shows of the attached application end of target is to click.Determine user click the attached application end of target it
Afterwards, prefetching for the business datum of attached application end is carried out, it can be in attached application end start-up time to the business of attached application end
Data are prefetched, and are reached optimal and are prefetched hit rate (100%), realize 100% income for prefetching cost.Optionally, in advance
If the access information that condition can be the attached application end of target is default access information.It is answered for example, preset condition is that target is attached
It is search scene with the access information at end.
Optionally, it is default page that preset condition, which can be the page-describing information of the page to be presented of the attached application end of target,
Face description information.For example, the page-describing information that preset condition is the page to be presented of the attached application end of target is first level pages.
Optionally, through objective function when detecting that environment description information meets preset condition, the attached application of pre-download
The business datum at end may include: the tectonic network through objective function when detecting that environment description information meets preset condition
Resource acquisition request, is sent to attached application end platform, then receives the attached of attached application end platform feedback by objective function
The business datum for belonging to application end is stored.
Step 304, the business datum according to pre-download, the starting that rendering generates attached application end show the page.
Optionally, preceding in host's application end in response to the clicking operation to the attached application end in display area of user
When platform opens attached application end, according to the business datum of pre-download, the starting that rendering generates attached application end shows the page, and shows
Show that the starting of generation shows the page.
The embodiment of the invention provides a kind of starting processing methods of attached application end, by attached application end quilt backstage
After preloading, life cycle that the attached application end of real-time monitoring is presently in;Wherein, display viewing area is determined in host's application end
When including attached application end in the resource results page shown in domain, backstage preloading is carried out to attached application end;It is monitoring
When prefetching life cycle, triggering executes the objective function for including in the first attached application end, and the environment of attached application end is retouched
Information is stated as input parameter and is passed to objective function, the default item of environment description information satisfaction is then being detected by objective function
When part, the business datum of the attached application end of pre-download, and according to the business datum of pre-download, rendering generates opening for attached application end
The dynamic display page, can be after attached application end be preloaded from the background, Life Cycle that the attached application end of real-time monitoring is presently in
Phase can trigger the objective function for executing and including in the first attached application end, pass through target when monitoring to prefetch life cycle
Function is when detecting that environment description information meets preset condition, the business datum of the attached application end of pre-download, realizes attached
Application end do not open or start-up time etc. relatively early the stage prefetches the business datum of attached application end, can basis
The business datum of pre-download, the starting that rendering generates attached application end show the page, realize that the second of attached application end opens, Ke Yigen
According to environment description information, the adjustment for prefetching strategy is flexibly carried out, so that control prefetches the income of cost.
Example IV
Fig. 4 is a kind of flow chart of the starting processing method for attached application end that the embodiment of the present invention four provides.This implementation
Example in the present embodiment, can be existed in conjunction with each optinal plan in said one or multiple embodiments by objective function
When detecting that environment description information meets preset condition, the business datum of the attached application end of pre-download, may include: to pass through target
For function when detecting that environment description information meets preset condition, tectonic network resource acquisition request is sent to attached application end
Platform;It is stored by the business datum that objective function receives the attached application end of attached application end platform feedback.
As shown in figure 4, the method for the present embodiment specifically includes:
Step 401, after attached application end is preloaded from the background, Life Cycle that the attached application end of real-time monitoring is presently in
Phase;Wherein, right when it includes attached application end that host's application end, which determines in the resource results page shown in display display area,
Attached application end carries out backstage preloading.
Step 402, when monitoring to prefetch life cycle, triggering execute the first attached application end in include target letter
Number, and objective function is passed to using the environment description information of attached application end as input parameter.
Step 403, by objective function when detecting that environment description information meets preset condition, tectonic network resource obtains
Request is taken, attached application end platform is sent to.
Wherein, Internet resources acquisition request is used for the business datum of the attached application end of request.
Step 404 is carried out by the business datum that objective function receives the attached application end of attached application end platform feedback
Storage.
Wherein, the business datum of the attached application end of attached application end platform feedback is stored to local.
Step 405, the business datum according to pre-download, the starting that rendering generates attached application end show the page.
The embodiment of the invention provides a kind of starting processing methods of attached application end, are detecting ring by objective function
When border description information meets preset condition, tectonic network resource acquisition request is sent to attached application end platform, then passes through mesh
The business datum that scalar functions receive the attached application end of attached application end platform feedback is stored, and can monitor to prefetch life
When ordering the period, triggering executes the objective function for including in the first attached application end, is detecting environment description by objective function
When information meets preset condition, the business datum of the attached application end of pre-download is stored to local, and realization is not opened in attached application end
Open or start-up time etc. relatively early the stage prefetches the business datum of attached application end.
Embodiment five
Fig. 5 is a kind of structural schematic diagram of the starting processing unit for attached application end that the embodiment of the present invention five provides, such as
Shown in Fig. 5, described device includes: code preloaded components 501 and application end opening module 502.
Wherein, code preloaded components 501, for determining in display area to include first attached in the resource results page
When belonging to application end, backstage preloading is carried out to the first attached application end;It wherein, include objective function in the first attached application end,
Objective function is triggered executions when the first attached application end is in and prefetches life cycle, so that the first attached application end is being passed to
Environment description information when meeting preset condition, the business datum of the attached application end of pre-download first;Application end opening module
502, for host's application end in response to the selection operation to the first attached application end, the first attached application end is opened on foreground, with
Make the first attached application end according to the business datum of pre-download, rendering generates the starting display page.
The embodiment of the invention provides a kind of starting processing units of attached application end, by determining display area Nei Bao
When including the first attached application end in the resource results page, backstage preloading is carried out to the first attached application end;Wherein, first is attached
Belonging to includes objective function in application end, and objective function is triggered execution when the first attached application end is in and prefetches life cycle,
So that the first attached application end is when incoming environment description information meets preset condition, the industry of the attached application end of pre-download first
Business data;Then host's application end opens the first attached application end in response to the selection operation to the first attached application end, foreground,
So that business datum of the first attached application end according to pre-download, rendering generates the starting display page, attached can answer first
Before not opened with end, backstage preloading is carried out to the first attached application end, can realize the by the objective function in preloading
One attached application end is when incoming environment description information meets preset condition, the business number of the attached application end of pre-download first
According to realizing and do not opened or the relatively early business of the stage to the first attached application end such as start-up time in the first attached application end
Data are prefetched, and can render the starting display page for generating the first attached application end according to the business datum of pre-download, real
The second of existing first attached application end opens, and the adjustment for prefetching strategy can be flexibly carried out according to environment description information, so that control is pre-
Take the income of cost.
On the basis of the various embodiments described above, the life cycle that prefetches of the attached application end of target may include following at least one
: sliding mode of the attached application end of target in display area, floating state of the attached application end of target in display area
And click state of the attached application end of target in display area;Environment description information may include at least one of following: mesh
Mark attached application end currently show the attached application end of state, target access information and the attached application end of target it is to be presented
The page-describing information of the page.
On the basis of the various embodiments described above, the attached application end of target currently show state may include: it is visible, can not
See, hover or clicks;The access information of the attached application end of target may include: search scene or distribution scene;And mesh
The page-describing information for marking the page to be presented of attached application end may include: first level pages, or be located at first level pages level
Under at least one junior's subpage frame.
It, can be on the basis of the various embodiments described above further include: the first display module, for the search inquiry according to input
Request obtains result of page searching and is shown in display area as the resource results page;And/or second display module,
For obtaining information flow results page and being opened up in display area as the resource results page according to information flow trigger request
Show.
On the basis of the various embodiments described above, code preloaded components 501 may include: frame detection unit, for such as
Whether fruit, which determines, does not currently carry out backstage preloading to any attached application end, then continue to test and be completed for attached application end
Application framework preload;Frame loading unit, for if it is not, then host's application end carries out the preloading of application framework;First
File loading unit, for load complete application framework under, from the attached application end of attached application end platform pre-download first
The first installation kit, and backstage preload the first installation kit in setting startup file.
On the basis of the various embodiments described above, code preloaded components 501 may include: the first file unloading unit, use
In if it is determined that currently to other attached application ends progress backstage preloadings, then in the installation kit for unloading other attached application ends
Startup file;Second file loading unit, under current application framework, from attached application end platform pre-download first
First installation kit of attached application end, and the startup file in the first installation kit is preloaded on backstage.
On the basis of the various embodiments described above, code preloaded components 501 can be with further include: display content update unit,
For being updated to display content of the resource results page in display area in response to sliding processing operation;Second file
Unloading unit, in determining the updated resource results page including the second attached application end and not including first attached answering
When with end, the startup file in the first installation kit is unloaded;Third file loading unit, under current application framework, from
Second installation kit of the attached application end of attached application end platform pre-download second, and opening in the second installation kit is preloaded on backstage
Dynamic file.
Attached application end provided by any embodiment of the invention can be performed in the starting processing unit of above-mentioned attached application end
Starting processing method, have the corresponding functional module of starting processing method and beneficial effect for executing attached application end.
Embodiment six
Fig. 6 is a kind of structural schematic diagram of the starting processing unit for attached application end that the embodiment of the present invention six provides, such as
Shown in Fig. 6, described device include: life cycle monitoring modular 601, parameter afferent module 602, data pre-download module 603 with
And page generation module 604.
Wherein, life cycle monitoring modular 601, for after attached application end is preloaded from the background, real-time monitoring to be attached
The life cycle that application end is presently in;Wherein, the resource results page shown in display display area is determined in host's application end
When including attached application end in face, backstage preloading is carried out to attached application end;Parameter afferent module 602, for monitoring
When prefetching life cycle, triggering executes the objective function for including in the first attached application end, and the environment of attached application end is retouched
Information is stated as input parameter and is passed to objective function;Data pre-download module 603, for detecting environment by objective function
When description information meets preset condition, the business datum of the attached application end of pre-download;Page generation module 604, for according to pre-
The business datum of downloading, the starting that rendering generates attached application end show the page.
The embodiment of the invention provides a kind of starting processing units of attached application end, by attached application end quilt backstage
After preloading, life cycle that the attached application end of real-time monitoring is presently in;Wherein, display viewing area is determined in host's application end
When including attached application end in the resource results page shown in domain, backstage preloading is carried out to attached application end;It is monitoring
When prefetching life cycle, triggering executes the objective function for including in the first attached application end, and the environment of attached application end is retouched
Information is stated as input parameter and is passed to objective function, the default item of environment description information satisfaction is then being detected by objective function
When part, the business datum of the attached application end of pre-download, and according to the business datum of pre-download, rendering generates opening for attached application end
The dynamic display page, can be after attached application end be preloaded from the background, Life Cycle that the attached application end of real-time monitoring is presently in
Phase can trigger the objective function for executing and including in the first attached application end, pass through target when monitoring to prefetch life cycle
Function is when detecting that environment description information meets preset condition, the business datum of the attached application end of pre-download, realizes attached
Application end do not open or start-up time etc. relatively early the stage prefetches the business datum of attached application end, can basis
The business datum of pre-download, the starting that rendering generates attached application end show the page, realize that the second of attached application end opens, Ke Yigen
According to environment description information, the adjustment for prefetching strategy is flexibly carried out, so that control prefetches the income of cost.
On the basis of the various embodiments described above, the life cycle that prefetches of attached application end may include at least one of following:
Sliding mode of the attached application end in display area, floating state and attached application of the attached application end in display area
The click state of end within the display area;Environment description information may include at least one of following: attached application end is worked as
Before show state, the access information of attached application end and attached application end the page to be presented page-describing information.
On the basis of the various embodiments described above, attached application end currently show state may include: it is visible, invisible,
Hovering is clicked;The access information of attached application end may include: search scene or distribution scene;And attached application end
The page-describing information of the page to be presented may include: first level pages, or at least one under first level pages level
Junior's subpage frame.
On the basis of the various embodiments described above, further includes: interface opening module, in objective function open at least one
A application programming interfaces;Wherein, application programming interfaces include: to connect for obtaining the application program of host's application end system information
Mouthful, and/or, the application programming interfaces of the device identifying information for obtaining the configured equipment of host's application end.
On the basis of the various embodiments described above, data pre-download module 603 may include: request transmitting unit, for leading to
Objective function is crossed when detecting that environment description information meets preset condition, tectonic network resource acquisition request is sent to attached
Application end platform;Data storage cell, for receiving by objective function the attached application end of attached application end platform feedback
Business datum is stored.
Attached application end provided by any embodiment of the invention can be performed in the starting processing unit of above-mentioned attached application end
Starting processing method, have the corresponding functional module of starting processing method and beneficial effect for executing attached application end.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used to
Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 7 is shown is only one
Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor 16, memory 28 connect different system components (including memory 28 and place
Manage device 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include other removable/nonremovable
, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not removable
Dynamic, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, can provide
Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product,
The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown, network adapter 20 is logical by other modules of bus 18 and computer equipment 12
Letter.It should be understood that other hardware and/or software module, packet can be used in conjunction with computer equipment 12 although being not shown in Fig. 7
It includes but is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive
Device and data backup storage system etc..
The program that processor 16 is stored in memory 28 by operation, at various function application and data
Reason, realize the starting processing method of attached application end provided by the embodiment of the present invention: host's application end is determining display area
When interior the first attached application end including in the resource results page, backstage preloading is carried out to the first attached application end;Wherein,
It include objective function in one attached application end, objective function is triggered when the first attached application end is in and prefetches life cycle and holds
Row, so that the first attached application end is when incoming environment description information meets preset condition, the attached application end of pre-download first
Business datum;Host's application end opens the first attached application end in response to the selection operation to the first attached application end, foreground,
So that business datum of the first attached application end according to pre-download, rendering generates the starting display page.
Alternatively, realizing the starting processing method of attached application end provided by the embodiment of the present invention: in attached application end quilt
After backstage preloads, life cycle that the attached application end of real-time monitoring is presently in;Wherein, determine that display is aobvious in host's application end
When showing in the resource results page shown in region including attached application end, backstage preloading is carried out to attached application end;It is supervising
It measures when prefetching life cycle, triggering executes the objective function for including in the first attached application end, and by the ring of attached application end
Border description information is passed to objective function as input parameter;The default item of environment description information satisfaction is being detected by objective function
When part, the business datum of the attached application end of pre-download;According to the business datum of pre-download, rendering generates the starting of attached application end
Show the page.
Embodiment eight
The embodiment of the present invention eight provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
When sequence is executed by processor, the starting processing method of attached application end provided by the embodiment of the present invention: host's application end is realized
When determining includes the first attached application end in the resource results page in display area, backstage is carried out to the first attached application end
It preloads;It wherein, include objective function in the first attached application end, objective function is in the first attached application end and prefetches life
Be triggered execution when the period, so that the first attached application end is when incoming environment description information meets preset condition, pre-download
The business datum of first attached application end;Host's application end is opened in response to the selection operation to the first attached application end, foreground
First attached application end, so that business datum of the first attached application end according to pre-download, rendering generates the starting display page.
Alternatively, realizing the starting processing method of attached application end provided by the embodiment of the present invention: in attached application end quilt
After backstage preloads, life cycle that the attached application end of real-time monitoring is presently in;Wherein, determine that display is aobvious in host's application end
When showing in the resource results page shown in region including attached application end, backstage preloading is carried out to attached application end;It is supervising
It measures when prefetching life cycle, triggering executes the objective function for including in the first attached application end, and by the ring of attached application end
Border description information is passed to objective function as input parameter;The default item of environment description information satisfaction is being detected by objective function
When part, the business datum of the attached application end of pre-download;According to the business datum of pre-download, rendering generates the starting of attached application end
Show the page.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating
Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (16)
1. a kind of starting processing method of attached application end characterized by comprising
Host's application end is when determining includes the first attached application end in the resource results page in display area, to described first
Attached application end carries out backstage preloading;
It wherein, include objective function in the described first attached application end, the objective function is at the described first attached application end
Be triggered execution when prefetching life cycle, presets so that the first attached application end meets in incoming environment description information
When condition, the business datum of the attached application end of pre-download first;
In response to the selection operation to the described first attached application end, foreground unlatching described first is attached to answer host's application end
With end, so that the business datum of the first attached application end according to pre-download, rendering generates the starting display page.
2. the method according to claim 1, wherein the life cycle that prefetches of the attached application end of the target includes
It is at least one of following: the sliding mode of the attached application end of target within the display area, the attached application end of target
The click state of floating state and the attached application end of the target within the display area within the display area;
The environment description information includes at least one of following: the attached application end of target currently shows state, the mesh
Mark the page-describing information of the access information of attached application end and the page to be presented of the attached application end of the target.
3. according to the method described in claim 2, it is characterized by:
The state that currently shows of the attached application end of target includes: visible, invisible, hovering or clicks;
The access information of the attached application end of target includes: search scene or distribution scene;And
The page-describing information of the page to be presented of the attached application end of target includes: first level pages, or is located at described one
At least one junior's subpage frame under grade page level.
4. method according to claim 1 to 3, which is characterized in that determining display area Nei Bao in host's application end
When including the first attached application end in the resource results page, before carrying out backstage preloading to the described first attached application end, also
Include:
Host's application end is requested according to the search inquiry of input, obtains result of page searching as the resource results page
It is shown in display area;And/or
Host's application end obtains information flow results page and exists as the resource results page according to information flow trigger request
It is shown in display area.
5. the method according to claim 1, wherein host's application end to the described first attached application end into
Row backstage preloads, comprising:
Host's application end if it is determined that current do not carry out backstage preloading to any attached application end, then continue to test whether
The application framework being completed for attached application end preloads;
If it is not, then host's application end carries out the preloading of the application framework;
Host's application end is attached from described in attached application end platform pre-download first under the application framework that load is completed
Belong to the first installation kit of application end, and preloads the setting startup file in first installation kit from the background.
6. the method according to claim 1, wherein host's application end to the described first attached application end into
Row backstage preloads, comprising:
Host's application end if it is determined that current carry out backstage preloading to other attached application ends, then unloading it is described other
Startup file in the installation kit of attached application end;
Host's application end is under current application framework, from the first attached application end described in attached application end platform pre-download
The first installation kit, and preloading the startup file in first installation kit from the background.
7. according to the method described in claim 5, it is characterized in that, obtaining the resource results page in viewing area in host's application end
It is shown in domain, and when determining includes the first attached application end in the resource results page in the display area,
After the described first attached application end progress backstage preloading, further includes:
Host's application end is in response to sliding processing operation, to the display of the resource results page within the display area
Content is updated;
Host's application end includes the second attached application end in determining the updated resource results page and does not include
When the first attached application end, the startup file in first installation kit is unloaded;
Host's application end is under current application framework, from the second attached application end described in attached application end platform pre-download
The second installation kit, and preloading the startup file in second installation kit from the background.
8. a kind of starting processing method of attached application end characterized by comprising
After attached application end is preloaded from the background, attached application end is presently in described in real-time monitoring life cycle;
Wherein, determine in the resource results page shown in display display area to include the attached application end in host's application end
When, backstage preloading is carried out to the attached application end;
When monitoring to prefetch life cycle, triggering executes the objective function for including in the first attached application end, and by institute
The environment description information for stating attached application end is passed to the objective function as input parameter;
Through the objective function when detecting that the environment description information meets preset condition, attached application described in pre-download
The business datum at end;
According to the business datum of pre-download, the starting that rendering generates the attached application end shows the page.
9. according to the method described in claim 8, it is characterized by:
The life cycle that prefetches of the attached application end includes at least one of following: the attached application end is in the display area
Interior sliding mode, attached application end floating state within the display area and the attached application end are described
Click state in display area;
The environment description information includes at least one of following: the attached application end currently shows state, described attached answers
With the page-describing information of the page to be presented of the access information and attached application end at end.
10. according to the method described in claim 9, it is characterized by:
The state that currently shows of the attached application end includes: visible, invisible, hovering or clicks;
The access information of the attached application end includes: search scene or distribution scene;And
The page-describing information of the page to be presented of the attached application end includes: first level pages, or is located at the level-one page
At least one junior's subpage frame under surface layer grade.
11. according to the method described in claim 8, it is characterized by:
At least one open application programming interfaces in the objective function;
Wherein, the application programming interfaces include: the application programming interfaces for obtaining host's application end system information,
And/or the application programming interfaces of the device identifying information for obtaining the configured equipment of host's application end.
12. according to the described in any item methods of claim 8-11, which is characterized in that by the objective function detecting
When stating environment description information and meeting preset condition, the business datum of attached application end described in pre-download, comprising:
Through the objective function when detecting that the environment description information meets preset condition, tectonic network resource acquisition is asked
It asks, is sent to attached application end platform;
It is carried out by the business datum that the objective function receives the attached application end of the attached application end platform feedback
Storage.
13. a kind of starting processing unit of attached application end characterized by comprising
Code preloaded components, for determine in display area include the resource results page in the first attached application end when,
Backstage preloading is carried out to the described first attached application end;
It wherein, include objective function in the described first attached application end, the objective function is at the described first attached application end
Be triggered execution when prefetching life cycle, presets so that the first attached application end meets in incoming environment description information
When condition, the business datum of the attached application end of pre-download first;
Application end opening module, in response to the selection operation to the described first attached application end, foreground to open described first
Attached application end, so that the business datum of the first attached application end according to pre-download, rendering generates starting display page
Face.
14. a kind of starting processing unit of attached application end characterized by comprising
Life cycle monitoring modular, for after attached application end is preloaded from the background, attached application end described in real-time monitoring to be worked as
Preceding locating life cycle;
Wherein, determine in the resource results page shown in display display area to include the attached application end in host's application end
When, backstage preloading is carried out to the attached application end;
Parameter afferent module, for including in the triggering execution first attached application end when monitoring to prefetch life cycle
Objective function, and using the environment description information of the attached application end as input parameter be passed to the objective function;
Data pre-download module, for detecting that the environment description information meets preset condition by the objective function
When, the business datum of attached application end described in pre-download;
Page generation module, for the business datum according to pre-download, the starting that rendering generates the attached application end is aobvious
Show the page.
15. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor is realized as described in any in claim 1-7 when executing the computer program
Attached application end starting processing method, or the starting processing of attached application end as described in any in claim 8-12
Method.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The starting processing method of the attached application end as described in any in claim 1-7 is realized when processor executes, or such as right
It is required that the starting processing method of the attached application end described in any in 8-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572561.1A CN110321178A (en) | 2019-06-28 | 2019-06-28 | Starting processing method, device, equipment and the storage medium of attached application end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572561.1A CN110321178A (en) | 2019-06-28 | 2019-06-28 | Starting processing method, device, equipment and the storage medium of attached application end |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110321178A true CN110321178A (en) | 2019-10-11 |
Family
ID=68121296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910572561.1A Pending CN110321178A (en) | 2019-06-28 | 2019-06-28 | Starting processing method, device, equipment and the storage medium of attached application end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321178A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750284A (en) * | 2019-10-15 | 2020-02-04 | Oppo(重庆)智能科技有限公司 | Application quick starting method, terminal and computer readable storage medium |
CN110990075A (en) * | 2019-11-18 | 2020-04-10 | 北京小米移动软件有限公司 | Starting method, device and equipment of fast application and storage medium |
CN111078324A (en) * | 2019-12-16 | 2020-04-28 | 百度在线网络技术(北京)有限公司 | Method and apparatus for prefetching page data |
CN111158799A (en) * | 2019-12-31 | 2020-05-15 | 北京百度网讯科技有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111597027A (en) * | 2020-05-15 | 2020-08-28 | 北京百度网讯科技有限公司 | Application program starting method, device, equipment and storage medium |
CN112988170A (en) * | 2019-12-17 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Application display method and device |
CN113760396A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Application running method and device, electronic equipment and storage medium |
CN113765979A (en) * | 2020-11-20 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information transmission method, system and device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090113496A1 (en) * | 2007-10-31 | 2009-04-30 | Echostar Technologies Corporation | Processes and systems for pre-downloading of video event data |
US20110067024A1 (en) * | 2009-09-15 | 2011-03-17 | Inventec Corporation | System and method of downloading add-on elements to extend software functions |
US20110145794A1 (en) * | 2009-12-14 | 2011-06-16 | Sap Ag | Enterprise javabeans explorer |
CN104021016A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Method and browser for loading browser plug-in icons |
CN104090787A (en) * | 2014-06-25 | 2014-10-08 | 可牛网络技术(北京)有限公司 | Starting method and starting device for home page of application software |
US20150286552A1 (en) * | 2007-11-12 | 2015-10-08 | Interactive TKO, Inc. | Spreadsheet Data Transfer Objects |
CN106598655A (en) * | 2016-12-05 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Application page processing method and apparatus |
CN108491198A (en) * | 2018-04-12 | 2018-09-04 | 珠海横琴盛达兆业科技投资有限公司 | A kind of implementation method based on the search of wechat small routine platform intelligent |
CN108769234A (en) * | 2018-06-07 | 2018-11-06 | Oppo广东移动通信有限公司 | Using method for down loading, device, storage medium and electronic equipment |
CN109271579A (en) * | 2018-11-16 | 2019-01-25 | 珠海市魅族科技有限公司 | A kind of application recommended method, electronic equipment and storage medium based on input information |
CN109388453A (en) * | 2018-09-07 | 2019-02-26 | Oppo广东移动通信有限公司 | Methods of exhibiting, device, storage medium and the electronic equipment of application page |
CN109408150A (en) * | 2018-10-30 | 2019-03-01 | 维沃移动通信有限公司 | It is a kind of to apply loading method and mobile terminal fastly |
CN109542043A (en) * | 2018-10-31 | 2019-03-29 | 武汉华中数控股份有限公司 | A kind of digital control system management method and device based on plug-in unit |
-
2019
- 2019-06-28 CN CN201910572561.1A patent/CN110321178A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090113496A1 (en) * | 2007-10-31 | 2009-04-30 | Echostar Technologies Corporation | Processes and systems for pre-downloading of video event data |
US20150286552A1 (en) * | 2007-11-12 | 2015-10-08 | Interactive TKO, Inc. | Spreadsheet Data Transfer Objects |
US20110067024A1 (en) * | 2009-09-15 | 2011-03-17 | Inventec Corporation | System and method of downloading add-on elements to extend software functions |
US20110145794A1 (en) * | 2009-12-14 | 2011-06-16 | Sap Ag | Enterprise javabeans explorer |
CN104021016A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Method and browser for loading browser plug-in icons |
CN104090787A (en) * | 2014-06-25 | 2014-10-08 | 可牛网络技术(北京)有限公司 | Starting method and starting device for home page of application software |
CN106598655A (en) * | 2016-12-05 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Application page processing method and apparatus |
CN108491198A (en) * | 2018-04-12 | 2018-09-04 | 珠海横琴盛达兆业科技投资有限公司 | A kind of implementation method based on the search of wechat small routine platform intelligent |
CN108769234A (en) * | 2018-06-07 | 2018-11-06 | Oppo广东移动通信有限公司 | Using method for down loading, device, storage medium and electronic equipment |
CN109388453A (en) * | 2018-09-07 | 2019-02-26 | Oppo广东移动通信有限公司 | Methods of exhibiting, device, storage medium and the electronic equipment of application page |
CN109408150A (en) * | 2018-10-30 | 2019-03-01 | 维沃移动通信有限公司 | It is a kind of to apply loading method and mobile terminal fastly |
CN109542043A (en) * | 2018-10-31 | 2019-03-29 | 武汉华中数控股份有限公司 | A kind of digital control system management method and device based on plug-in unit |
CN109271579A (en) * | 2018-11-16 | 2019-01-25 | 珠海市魅族科技有限公司 | A kind of application recommended method, electronic equipment and storage medium based on input information |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750284A (en) * | 2019-10-15 | 2020-02-04 | Oppo(重庆)智能科技有限公司 | Application quick starting method, terminal and computer readable storage medium |
CN110750284B (en) * | 2019-10-15 | 2023-03-28 | Oppo(重庆)智能科技有限公司 | Application quick starting method, terminal and computer readable storage medium |
CN110990075A (en) * | 2019-11-18 | 2020-04-10 | 北京小米移动软件有限公司 | Starting method, device and equipment of fast application and storage medium |
CN110990075B (en) * | 2019-11-18 | 2023-08-29 | 北京小米移动软件有限公司 | Method, device, equipment and storage medium for starting fast application |
CN111078324A (en) * | 2019-12-16 | 2020-04-28 | 百度在线网络技术(北京)有限公司 | Method and apparatus for prefetching page data |
CN112988170A (en) * | 2019-12-17 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Application display method and device |
CN112988170B (en) * | 2019-12-17 | 2023-09-26 | 腾讯科技(深圳)有限公司 | Application display method and device |
CN111158799A (en) * | 2019-12-31 | 2020-05-15 | 北京百度网讯科技有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111597027A (en) * | 2020-05-15 | 2020-08-28 | 北京百度网讯科技有限公司 | Application program starting method, device, equipment and storage medium |
CN113760396A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Application running method and device, electronic equipment and storage medium |
CN113765979A (en) * | 2020-11-20 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information transmission method, system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110321178A (en) | Starting processing method, device, equipment and the storage medium of attached application end | |
US11947986B2 (en) | Tenant-side detection, classification, and mitigation of noisy-neighbor-induced performance degradation | |
US10990644B2 (en) | Systems and methods for contextual vocabularies and customer segmentation | |
US10430253B2 (en) | Updating workflow nodes in a workflow | |
CN106649084A (en) | Function call information obtaining method and apparatus, and test device | |
US20120131480A1 (en) | Management of virtual machine snapshots | |
US20230259416A1 (en) | Providing application programming interface endpoints for machine learning models | |
CN112199296B (en) | Page testing method and device, computer equipment and storage medium | |
CN109474847A (en) | Searching method, device, equipment and storage medium based on video barrage content | |
JP7411856B2 (en) | Systems and methods for providing virtual reality environment-based training and certification | |
US20110307792A1 (en) | Accessing elements in an operating system | |
US10814229B2 (en) | Fragment-based mobile device application streaming utilizing crowd-sourcing | |
CN110515647A (en) | A kind of static resource management method, device, equipment and storage medium | |
US9210203B2 (en) | Resource based mobile device application streaming | |
CN111124920A (en) | Equipment performance testing method and device and electronic equipment | |
US11221881B2 (en) | Computer resource leak detection | |
US11565183B2 (en) | Method and apparatus for awarding trophies | |
CN109240928A (en) | Test method, device, equipment and storage medium | |
CN116756016A (en) | Multi-browser testing method, device, equipment, medium and program product | |
CN111507471A (en) | Model training method, device, equipment and storage medium | |
US8892693B2 (en) | Enabling fragment-based mobile device application streaming | |
US20220374935A1 (en) | Method of deep learning user interface and automatically recommending winner of different variants for user interface based experiments | |
CN115858556A (en) | Data processing method and device, storage medium and electronic equipment | |
CN112732542A (en) | Information processing method, information processing device and terminal equipment | |
CN113760317A (en) | Page display method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191011 |
|
RJ01 | Rejection of invention patent application after publication |