CN104899052A - Startup method and startup device of application software home page - Google Patents

Startup method and startup device of application software home page Download PDF

Info

Publication number
CN104899052A
CN104899052A CN201410084263.5A CN201410084263A CN104899052A CN 104899052 A CN104899052 A CN 104899052A CN 201410084263 A CN201410084263 A CN 201410084263A CN 104899052 A CN104899052 A CN 104899052A
Authority
CN
China
Prior art keywords
application software
module
initialization
thread
homepage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410084263.5A
Other languages
Chinese (zh)
Inventor
颜伽艺
吕继树
金正宝
张志和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Conew Network Technology Beijing Co Ltd
Original Assignee
Conew Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Conew Network Technology Beijing Co Ltd filed Critical Conew Network Technology Beijing Co Ltd
Priority to CN201410084263.5A priority Critical patent/CN104899052A/en
Publication of CN104899052A publication Critical patent/CN104899052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a startup method and a startup device of an application software home page, relates to the technical field of the startup of application software and can effectively improve the startup speed of the application software home page. The startup method of the application software home page comprises the following steps: optimally receiving an instruction for starting the application software; and according to the instruction and a preset hierarchical relationship, carrying out layer-by-layer initialization on a module which needs to be initialized in a startup process of the application software home page. The startup device of the application software home page comprises an instruction receiving unit and an initialization unit, wherein the instruction receiving unit is used for receiving the instruction for starting the application software; the initialization unit is used for carrying out the layer-by-layer initialization on the module which needs to be initialized in the startup process of the application software home page according to the instruction and the preset hierarchical relationship. The startup method and the startup device are suitable for the startup of the application software.

Description

A kind of starting method of application software homepage and starter gear
Technical field
The present invention relates to the start-up technique field of application software, particularly relate to a kind of starting method and starter gear of application software homepage.
Background technology
A application software generally includes subscriber interface module and kernel module, and what have also comprises network service module etc.When application software initiated, need these modules to carry out initialization.
In prior art, when application software initiated, that multiple module of application software and the picture utilized thereof or database resource data are loaded simultaneously, this cause described application software homepage to start and show slower, time serious also can because of when multiple module of described application software and the resource data utilized thereof load at the same time occur block, cause described application software start time stagnation or collapse.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of starting method and starter gear of application software homepage, effectively can improve the toggle speed of application software homepage.
On the one hand, the embodiment of the present invention provides a kind of starting method of application software homepage, comprising: receive the instruction starting application software; According to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
Alternatively, described according to described instruction, and according to the hierarchical relationship preset, to in the start-up course of described application software homepage want initialized module to carry out successively initialization to comprise: according to described instruction, and according to the hierarchical relationship preset, initialization is carried out to the subscriber interface module of described application software homepage; After described subscriber interface module initialization is completed, initialization is carried out to the kernel module of described application software; After the kernel module initialization of described application software is completed, initialization is carried out to the network service module of described application software.
Alternatively, the described subscriber interface module to described application software homepage carries out initialization and comprises: load the basic module of the user interface of described application software homepage; After the basic module of described user interface is loaded, then the data required for described user interface are loaded.
Alternatively, the described subscriber interface module to described application software homepage carries out initialization and comprises: adopt the basic module of the first thread to the user interface of described application software homepage to load; Adopt the second thread to load the data that the load time in the data required for described user interface exceedes threshold value, adopt the 3rd thread to load the data that the load time in the data required for described user interface is no more than threshold value.
Alternatively, described first thread, the second thread and the 3rd thread are same threads; Or described first thread and the 3rd thread are same threads, the second thread be independent of the first thread and the 3rd thread outside thread; Or described second thread and the 3rd thread are same threads, the first thread be independent of the second thread and the 3rd thread outside thread.
Alternatively, described application software homepage comprises the page data at least needing two screen displays to show; The starting method of described application software homepage also comprises: preferentially load the current screen page data that will show on screen; After having been loaded by current screen page data, reload next screen page data; Or after sliding into next screen, reload next screen page data.
Alternatively, described application software is browser.
On the other hand, the embodiment of the present invention provides a kind of starter gear of application software homepage, comprising: instruction reception unit, for receiving the instruction starting application software; Initialization unit, for according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
Alternatively, described initialization unit comprises: interface initialization module, for according to the hierarchical relationship preset, carries out initialization to subscriber interface module; Kernel initialization module, for according to described hierarchical relationship, after described subscriber interface module initialization completes, carries out initialization to the kernel module of described application software; Netinit module, for after described kernel module initialization completes, carries out initialization to the network service module of described application software.
Alternatively, described interface initialization module comprises: first loads submodule, loads for adopting the basic module of the first thread to the user interface of described application software homepage; Second loads submodule, after the basic module of described first loading submodule to user interface loads, loads the data that the load time in the data of described user interface exceedes threshold value for adopting the second thread; 3rd loads submodule, after the basic module of described first loading submodule to user interface loads, loads the data that the load time in the data of described user interface does not exceed threshold value for adopting the 3rd thread.
Alternatively, described initialization unit also comprises: Loading Control module, preferentially load for the current screen page data controlled showing on screen, after current screen page data has been loaded, reload next screen page data, or after sliding into next screen, reload next screen page data.
Alternatively, the starter gear of described application software homepage, also comprises: storage unit, for store in the start-up course of described application software homepage want between initialized each module hierarchical relationship.
The technical scheme that the embodiment of the present invention provides, according to the hierarchical relationship preset, to application software home page start-up course in want initialized module to carry out successively initialization, like this, can prevent from occurring in initialization procedure blocking, thus effectively improve the toggle speed of described application software homepage.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of starting method one embodiment of application software homepage of the present invention;
Fig. 2 is the schematic flow sheet of S2 in another embodiment of starting method of application software homepage of the present invention;
Fig. 3 is the schematic flow sheet of S21 in the another embodiment of starting method of application software homepage of the present invention;
Fig. 4 is the structural representation of starter gear one embodiment of application software homepage of the present invention;
Fig. 5 is the structural representation of another embodiment of starter gear of application software homepage of the present invention;
Fig. 6 is the structural representation of initialization unit in starter gear one embodiment of application software homepage of the present invention;
Fig. 7 is the structural representation of the starter gear one embodiment median surface initialization module of application software homepage of the present invention;
Fig. 8 is the structural representation of initialization unit in another embodiment of starter gear of application software homepage of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the starting method of a kind of application software homepage of the embodiment of the present invention and starter gear are described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the starting method of a kind of application software homepage of the present invention, comprising:
The instruction of S1, reception startup application software;
S2, according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
The starting method of the homepage of application software described in the present embodiment, by in the start-up course to described application software homepage want initialized module successively to carry out initialization, can prevent from occurring in initialization procedure blocking, thus effectively improve the toggle speed of described application software homepage, and good experience can be brought to user.
In order to accelerate the display of described application software homepage, alternatively, as shown in Figure 2, described according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization (S2) to comprise:
S21, according to described instruction, and according to the hierarchical relationship preset, initialization is carried out to the subscriber interface module of described application software homepage;
S22, described subscriber interface module initialization is completed after, initialization is carried out to the kernel module of described application software;
S23, after the kernel module initialization of described application software is completed, initialization is carried out to the network service module of described application software.
Optionally, in an embodiment of the present invention, described subscriber interface module may be used for the mutual and message exchange between application software and user; Described kernel module may be used for query interface and shows the content of user's request; Described network service module may be used for network call.
Such as, if described application software is browser, above-mentioned subscriber interface module can refer to that user can see, except browser main window other parts, as address field, back/forward button, bookmark directory etc.; Described kernel module can be the English full name of html(being responsible for parsing user request: HyperText Markup Language, HTML (Hypertext Markup Language)), and the English full name of css(is: Cascading Style Sheets, cascading style list) part; Network service module can be carry out the English full name of http(to be with other equipment: Hypertext transfer protocol, HTTP) mutual part.
In this example, using subscriber interface module as successively initialized ground floor, using kernel module as the successively initialized second layer, using network service module as successively initialized third layer.Be appreciated that in actual applications, above-mentioned hierarchical relationship is flexibly, and can set according to specific circumstances, embodiments of the invention are not construed as limiting this.
Further alternative, the described hierarchical relationship preset can be preserved, when starting described application software homepage so that each, automatically perform corresponding operation according to described hierarchical relationship.
In the present embodiment, when receiving the instruction starting application software, according to the hierarchical relationship pre-set first initialising subscriber interface module, then can load kernel module, network service module and other functional module successively, thus contribute to rapid loading and go out described application software homepage.
In the embodiment of the starting method of aforementioned applications software home page, in order to go out described application software homepage by rapid loading, alternatively, as shown in Figure 3, the described subscriber interface module to described application software homepage carries out initialization (S21) and comprising:
S211, the basic module of the user interface of described application software homepage to be loaded;
Optionally, the basic module of the first thread to the user interface of described application software homepage can be adopted to load.
S212, after the basic module of described user interface is loaded, the data required for described user interface to be loaded.
Exemplary, the data required for described user interface can refer to picture, database data resource that described application software homepage needs.When loading these data resources, some relatively short (as database) consuming time, some is consuming time then can relatively grow (as picture).
Optionally, the second thread can be adopted to load to the data (as picture) that the load time in the data required for described user interface exceedes threshold value, the data (as database) not exceeded to threshold value those load times adopt the 3rd thread to load.
In the optional realization of the one of the embodiment of the present invention, above-mentioned first thread, the second thread and the 3rd thread can be same threads; And in the optional realization of the another kind of the embodiment of the present invention, the first thread and the 3rd thread can be same threads, the second thread be independent of the first thread and the 3rd thread outside thread; In another optional realization of the embodiment of the present invention, described second thread and the 3rd thread are same threads, the first thread be independent of the second thread and the 3rd thread outside thread.The flexible use of thread, can improve startup and the response speed of described application software homepage.
In the embodiment of the starting method of aforementioned applications software home page, described application software homepage comprises the page data at least needing two screen displays to show sometimes, in order to improve the display speed in described application software homepage on screen, alternatively, describedly (S212) is loaded to the data required for described user interface comprise: the data preferentially loading the current screen page that will show on screen; After being completed by the Data import of the current screen page, reload next screen page data; Or after sliding into next screen, reload next screen page data.Thus decrease user and wait for the time that the current screen display of described application software homepage is shown.
As shown in Figure 4, the embodiment of the present invention also provides a kind of starter gear of application software homepage, comprising:
Instruction reception unit 1, for receiving the instruction starting application software;
Initialization unit 2, for according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
In the present embodiment, the starter gear of described application software homepage is after receiving the instruction starting application software, according to described instruction, and according to the hierarchical relationship preset, to in the start-up course of described application software homepage want initialized module to carry out successively initialization, like this, by in the start-up course to described application software homepage want initialized module successively to carry out initialization, can prevent from occurring in initialization procedure blocking, thus effectively improve the toggle speed of described application software homepage, and bring good experience to user.
Optionally, in the embodiment of the starter gear of aforementioned applications software home page, as shown in Figure 5, the starter gear of described application software homepage can also comprise:
Storage unit 3, for store in the start-up course of described application software homepage want between initialized each module hierarchical relationship.Automatically corresponding action is performed according to described hierarchical relationship when starting described application software homepage so that each.
In the embodiment of the starter gear of aforementioned applications software home page, as shown in Figure 6, alternatively, described initialization unit 2 comprises:
Interface initialization module 21, for according to described hierarchical relationship, carries out initialization to subscriber interface module;
Kernel initialization module 22, for according to described hierarchical relationship, after described subscriber interface module initialization completes, carries out initialization to the kernel module of described application software;
Netinit module 23, for after described kernel module initialization completes, carries out initialization to the network service module of described application software.
In the embodiment of the starter gear of aforementioned applications software home page, as shown in Figure 7, alternatively, described interface initialization module 21 comprises:
First loads submodule 211, loads for adopting the basic module of the first thread to the user interface of described application software homepage;
Second loads submodule 212, after the described first basic module loading submodule 211 pairs of user interfaces loads, loads the data that the load time in the data of described user interface exceedes threshold value for adopting the second thread;
3rd loads submodule 213, after the described first basic module loading submodule 211 pairs of user interfaces loads, loads the data that the load time in the data of described user interface does not exceed threshold value for adopting the 3rd thread.
In order to improve the display speed of the page that will show in described application software homepage, as shown in Figure 8, alternatively, described initialization unit 2 can also comprise:
Loading Control module 24, preferentially load for the current screen page data controlled showing on screen, after having been loaded by current screen page data, reload next screen page data, or after sliding into next screen, reload next screen page data.
The starting method of the application software homepage described in the embodiment of the present invention and starter gear, be applicable to the startup of browser homepage, but the present invention is not limited thereto, and is also applicable to other application software.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (12)

1. a starting method for application software homepage, is characterized in that, comprising:
Receive the instruction starting application software;
According to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
2. the starting method of application software homepage according to claim 1, it is characterized in that, described according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization to comprise:
According to described instruction, and according to the hierarchical relationship preset, initialization is carried out to the subscriber interface module of described application software homepage;
After described subscriber interface module initialization is completed, initialization is carried out to the kernel module of described application software;
After the kernel module initialization of described application software is completed, initialization is carried out to the network service module of described application software.
3. the starting method of application software homepage according to claim 2, is characterized in that, the described subscriber interface module to described application software homepage carries out initialization and comprises:
The basic module of the user interface of described application software homepage is loaded;
After the basic module of described user interface is loaded, the data required for described user interface are loaded.
4. the starting method of application software homepage according to claim 2, is characterized in that, the described subscriber interface module to described application software homepage carries out initialization and comprises:
The basic module of the first thread to the user interface of described application software homepage is adopted to load;
The second thread is adopted to load the data that the load time in the data required for described user interface exceedes threshold value;
The 3rd thread is adopted to load the data that the load time in the data required for described user interface is no more than threshold value.
5. the starting method of application software homepage according to claim 4, is characterized in that, described first thread, the second thread and the 3rd thread are same threads; Or,
Described first thread and the 3rd thread are same threads, the second thread be independent of the first thread and the 3rd thread outside thread; Or,
Described second thread and the 3rd thread are same threads, the first thread be independent of the second thread and the 3rd thread outside thread.
6. the starting method of application software homepage according to claim 1, is characterized in that, described application software homepage comprises the page data at least needing two screen displays to show;
The starting method of described application software homepage also comprises:
The current screen page data that preferential loading will show on screen;
After having been loaded by current screen page data, reload next screen page data; Or
Next screen page data is reloaded after sliding into next screen.
7. the starting method of the application software homepage according to any one of claim 1-6, is characterized in that, described application software is browser.
8. a starter gear for application software homepage, is characterized in that, comprising:
Instruction reception unit, for receiving the instruction starting application software;
Initialization unit, for according to described instruction, and according to the hierarchical relationship preset, in the start-up course of described application software homepage want initialized module to carry out successively initialization.
9. the starter gear of application software homepage according to claim 8, is characterized in that, described initialization unit comprises:
Interface initialization module, for according to the hierarchical relationship preset, carries out initialization to subscriber interface module;
Kernel initialization module, for according to described hierarchical relationship, after described subscriber interface module initialization completes, carries out initialization to the kernel module of described application software;
Netinit module, for after described kernel module initialization completes, carries out initialization to the network service module of described application software.
10. the starter gear of application software homepage according to claim 9, is characterized in that, described interface initialization module comprises:
First loads submodule, loads for adopting the basic module of the first thread to the user interface of described application software homepage;
Second loads submodule, after the basic module of described first loading submodule to user interface loads, loads the data that the load time in the data of described user interface exceedes threshold value for adopting the second thread;
3rd loads submodule, after the basic module of described first loading submodule to user interface loads, loads the data that the load time in the data of described user interface does not exceed threshold value for adopting the 3rd thread.
The starter gear of 11. application software homepages according to claim 9, it is characterized in that, described initialization unit also comprises:
Loading Control module, preferentially loads for the current screen page data controlled showing on screen, after having been loaded by current screen page data, reloads next screen page data, or after sliding into next screen, reloaded next screen page data.
The starter gear of 12. application software homepages according to claim 8, is characterized in that, also comprise: storage unit, for store in the start-up course of described application software homepage want between initialized each module hierarchical relationship.
CN201410084263.5A 2014-03-07 2014-03-07 Startup method and startup device of application software home page Pending CN104899052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410084263.5A CN104899052A (en) 2014-03-07 2014-03-07 Startup method and startup device of application software home page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410084263.5A CN104899052A (en) 2014-03-07 2014-03-07 Startup method and startup device of application software home page

Publications (1)

Publication Number Publication Date
CN104899052A true CN104899052A (en) 2015-09-09

Family

ID=54031730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410084263.5A Pending CN104899052A (en) 2014-03-07 2014-03-07 Startup method and startup device of application software home page

Country Status (1)

Country Link
CN (1) CN104899052A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019011141A1 (en) * 2017-07-12 2019-01-17 阿里巴巴集团控股有限公司 Startup and configuration method, apparatus and device, medium, and operating system
CN109558184A (en) * 2015-09-28 2019-04-02 北京奇虎科技有限公司 Browser starts method and apparatus
CN109948085A (en) * 2017-11-23 2019-06-28 广州市动景计算机科技有限公司 Browser kernel initial method, calculates equipment and storage medium at device
CN110286990A (en) * 2019-06-28 2019-09-27 百度在线网络技术(北京)有限公司 User interface presentation method, apparatus, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102760133A (en) * 2011-04-28 2012-10-31 腾讯科技(深圳)有限公司 Webpage loading method, webpage loading system, browser, terminal and server
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
CN103345405A (en) * 2013-06-09 2013-10-09 贝壳网际(北京)安全技术有限公司 Application program starting method and device and client
US20130297923A1 (en) * 2012-05-07 2013-11-07 Fujitsu Limited Method of starting performed by computer and computer apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102760133A (en) * 2011-04-28 2012-10-31 腾讯科技(深圳)有限公司 Webpage loading method, webpage loading system, browser, terminal and server
US20130297923A1 (en) * 2012-05-07 2013-11-07 Fujitsu Limited Method of starting performed by computer and computer apparatus
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
CN103345405A (en) * 2013-06-09 2013-10-09 贝壳网际(北京)安全技术有限公司 Application program starting method and device and client

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558184A (en) * 2015-09-28 2019-04-02 北京奇虎科技有限公司 Browser starts method and apparatus
WO2019011141A1 (en) * 2017-07-12 2019-01-17 阿里巴巴集团控股有限公司 Startup and configuration method, apparatus and device, medium, and operating system
CN109254801A (en) * 2017-07-12 2019-01-22 阿里巴巴集团控股有限公司 Starting, configuration method, device, equipment, medium and operating system
CN109948085A (en) * 2017-11-23 2019-06-28 广州市动景计算机科技有限公司 Browser kernel initial method, calculates equipment and storage medium at device
CN110286990A (en) * 2019-06-28 2019-09-27 百度在线网络技术(北京)有限公司 User interface presentation method, apparatus, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
US10666758B2 (en) Browser resource pre-pulling method, terminal and storage medium
CN103631958B (en) A kind of page automatic adaptation realizes the method that content multi-screen is shown
US8972486B2 (en) Terminal apparatus, processing system, processing method, and program
CN104090787A (en) Starting method and starting device for home page of application software
CN107679214B (en) Link positioning method, device, terminal and computer readable storage medium
CN103034517A (en) Method and device for loading browser control tool
CN105095280A (en) Caching method and apparatus for browser
CN104899052A (en) Startup method and startup device of application software home page
CN102033935A (en) Preloading method, preloading device and preloading system of mobile terminal browser
CN103530160A (en) Page loading method and device
CN102298599A (en) Method and system for browsing web pages in offline state
CN104965914A (en) Page display method and apparatus
US11070608B2 (en) Expedited sub-resource loading
CN104902327A (en) Method for updating and issuing page content, smart television and system
CN108629032A (en) A kind of page fast response method and device based on delay load
US20140280699A1 (en) Method and apparatus for enabling discovery and communications between unrelated browser sessions
CN103034518A (en) Method and browser for loading browser control tool
CN105976420A (en) Online rendering method and system
CN104615670A (en) Method for supporting multiple rendering engines in android browser and browser
CN108900627B (en) Network request method, terminal device and storage medium
US20150324479A1 (en) Identifying a browser for rendering an electronic document
KR102289996B1 (en) Data storage method and device
US20140245124A1 (en) System and method thereof for browser agnostic extension models
CN102521373A (en) Method for cross-site search and website system for same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150909