CN103677922B - The method and apparatus started to application software - Google Patents

The method and apparatus started to application software Download PDF

Info

Publication number
CN103677922B
CN103677922B CN201310684108.2A CN201310684108A CN103677922B CN 103677922 B CN103677922 B CN 103677922B CN 201310684108 A CN201310684108 A CN 201310684108A CN 103677922 B CN103677922 B CN 103677922B
Authority
CN
China
Prior art keywords
application software
icon
configuration table
operating system
components
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.)
Expired - Fee Related
Application number
CN201310684108.2A
Other languages
Chinese (zh)
Other versions
CN103677922A (en
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310684108.2A priority Critical patent/CN103677922B/en
Publication of CN103677922A publication Critical patent/CN103677922A/en
Application granted granted Critical
Publication of CN103677922B publication Critical patent/CN103677922B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a kind of method and apparatus started to application software.This method includes:NameSpace icon corresponding to the application software is generated for application software, and the preloading allocation list of the application software is set;Wherein the NameSpace icon shortcut be configured in os starting or operating system desktop refresh when, according to preload allocation list load the application software component and/or resource file into the internal memory of operating system;The component and/or resource file of the application software preloaded in internal memory are invoked at when starting application software.By the invention it is possible to save the time that the members and/or resource file are loaded when software starts, the toggle speed of application software is lifted, and is applied to all application software, Consumer's Experience can be lifted.

Description

Method and device for starting application software
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for starting application software.
Background
With the development of computer technology, the functions of application software are more and more. When the application software is started, the general process is as follows:
after a user clicks an icon of the application software, an executable file corresponding to the icon runs, initialization is carried out through a main function, and each component and resource file required to be used by the application software are loaded so as to finish starting of the application software.
But as the function of application software becomes more powerful, more and more components and resource files need to be loaded. Although the processor of the current computer has stronger capability, the starting of the application software is slow due to the fact that the size of the file needing to be loaded is too large.
In summary, the current starting mode of the application software is slow in starting speed, and affects user experience.
Disclosure of Invention
In view of the above, the present invention has been developed to provide a method and a corresponding apparatus adapted to start up application software that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a method for starting application software, including:
generating a namespace icon corresponding to the application software for the application software, and setting a preloading configuration table of the application software;
the namespace icon shortcut is configured to load the components and/or resource files of the application software into the memory of the operating system according to the preloading configuration table when the operating system is started or the desktop of the operating system is refreshed;
when the application software is started, the components and/or resource files of the application software which are pre-loaded in the memory are called.
Optionally, generating a namespace icon corresponding to the application software for the application software, including:
when the application software is installed, generating a corresponding namespace icon;
binding the namespace icon to an icon handling dynamic link library corresponding to the icon, wherein the icon handling dynamic link library is arranged for reading the pre-loaded configuration table.
Optionally, the manner of loading the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table includes:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
Optionally, finding a namespace icon corresponding to the application software includes:
when the resource manager process of the operating system is started, all the icons on the local desktop are traversed through the resource manager process to search the space named icon corresponding to the application software.
Optionally, the icon handling dynamic link library supports a plurality of different application software, and is used for reading the pre-loaded configuration table.
Optionally, the method further comprises: the pre-loaded configuration table is updated.
Optionally, the updating manner of the preloaded configuration table includes:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
Optionally, the method further comprises:
counting the use frequency of the application software by the user;
determining the priority of each application software according to the use frequency;
and loading the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
Optionally, the method further comprises:
counting the calling frequency of the components and/or resources in the preloading configuration table;
determining the priority of the components and/or resources in the preloading configuration table according to the calling frequency;
and loading the components and/or the resource files into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
According to an aspect of the present invention, there is also provided an apparatus for starting application software, including:
the icon generating module is configured to generate a namespace icon corresponding to the application software for the application software;
a configuration table setting module configured to set a preloaded configuration table of the application software;
the configuration table loading module is configured to load the components and/or resource files of the application software into the memory of the operating system according to the pre-loaded configuration table when the namespace icon shortcut is started in the operating system or the desktop of the operating system is refreshed;
and the file calling module is configured to call the preloaded components and/or resource files of the application software in the memory when the application software is started.
Optionally, the icon generating module is configured to generate a namespace icon corresponding to the application software for the application software as follows:
when the application software is installed, generating a corresponding namespace icon;
binding the namespace icon to an icon handling dynamic link library corresponding to the icon, wherein the icon handling dynamic link library is arranged for reading the pre-loaded configuration table.
Optionally, the configuration table loading module is configured to load the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table as follows:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
Optionally, the configuration table loading module is configured to search for the namespace icon corresponding to the application software as follows:
when the resource manager process of the operating system is started, all the icons on the local desktop are traversed through the resource manager process to search the space named icon corresponding to the application software.
Optionally, the icon handling dynamic link library supports a plurality of different application software, and is used for reading the pre-loaded configuration table.
Optionally, the apparatus further comprises:
an update module configured to update the pre-loaded configuration table.
Optionally, the updating module is configured to update the preloaded configuration table according to any one of the following manners:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
Optionally, the apparatus further comprises:
the first statistical module is configured to count the use frequency of the application software by a user;
the first priority setting module is configured to determine the priority of each application software according to the use frequency;
the configuration table loading module is also configured to load the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
Optionally, the apparatus further comprises:
a second statistical module configured to count the calling frequency of the components and/or resources in the preloading configuration table;
a second priority setting module configured to determine a priority of the components and/or resources in the pre-loaded configuration table according to the call frequency;
the configuration table loading module is further configured to load the components and/or the resource files into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
The invention provides a method and a device for starting application software, which are characterized in that a namespace icon corresponding to the application software is generated for the application software, a preloading configuration table of the application software is set, and when an operating system is started or a desktop is refreshed, components and/or resource files of the application software are loaded into a memory of the operating system according to the preloading configuration table, so that the purpose of preloading the components and/or resource files required to be used by the application software before the application software is started is achieved, the time for loading part of the components and/or resource files when the software is started can be saved, the starting speed of the application software is improved, the method and the device are suitable for all application software, and the user experience can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram of a method for launching application software, according to one embodiment of the invention;
FIG. 2 is a flowchart of a particular method for launching application software, according to one embodiment of the invention;
fig. 3 is a block diagram of an apparatus for launching application software according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
The embodiment of the invention provides a method for starting application software. The method improves a device for starting application software. The apparatus in this embodiment may be installed on a client capable of executing software operations, for example, the client may be a user terminal such as a PC (Personal Computer), a mobile phone, and a handheld Computer.
Fig. 1 is a flowchart of a method for starting application software according to an embodiment of the present invention, and the method includes steps S102 to S106.
S102, generating a name space icon corresponding to the application software for the application software, and setting a preloading configuration table of the application software;
s104, loading the components and/or resource files of the application software into a memory of the operating system according to the preloading configuration table when the operating system is started or the desktop of the operating system is refreshed;
and S106, calling the preloaded components and/or resource files of the application software in the memory when the application software is started.
The embodiment of the invention provides a method for starting application software, which comprises the steps of generating a namespace icon corresponding to the application software for the application software, setting a preloading configuration table of the application software, loading components and/or resource files of the application software into a memory of an operating system according to the preloading configuration table when the operating system is started or a desktop is refreshed, so that the purpose of preloading the components and/or resource files required to be used by the application software before the application software is started is achieved, the time for loading part of the components and/or resource files when the software is started can be saved, the starting speed of the application software is increased, the method is suitable for all the application software, and the user experience can be improved.
Example two
The embodiment is a specific application scenario of the first embodiment, and the method provided by the present invention can be more clearly and specifically explained through the embodiment.
Fig. 2 is a flowchart of a specific method for starting application software according to an embodiment of the present invention, and the method includes steps S201 to S206.
The method provided by the embodiment can be used for various terminals, such as personal computers, notebook computers and the like, and can be used for starting and accelerating the application software installed in the operating system of the terminal.
First, step S201 is executed, the operating system is started, and the resource manager process is started.
Taking a Windows system as an example, the resource manager process is explorer, exe, and is used for managing Windows graphic shells, including a start menu, a taskbar, a desktop and file management, wherein the resource manager manages the desktop, including loading all icons on the desktop.
Next, step S202 is performed, i.e. the icons on the desktop are traversed by the resource manager to find the spatially named icons of the application software.
It should be noted that, the application software installed by the user is usually displayed with an icon, i.e. a shortcut, on the desktop. Each icon corresponds to one application software, and in the embodiment of the invention, a namespace icon is configured in advance for each application software.
Further, in order to achieve the purpose of accelerating the starting of the application software, the invention carries out the following processing when each application software is installed:
(1) and generating a namespace icon corresponding to the application software for the application software.
In particular, the namespace icon may be namespace icon, such as when a user installs a browser, generating a namespace icon for the browser.
(2) And binding the namespace icon with the corresponding icon processing dynamic link library.
In the windows system, for a namespace icon, when an operating system is started or a desktop is refreshed, an icon dynamic link library corresponding to the namespace icon is operated.
The icon dynamic link library can be icon handle.dll, and the icon handle.dll is used for executing an operation of reading the preloaded configuration table and reading files such as components and/or resources recorded in the preloaded configuration table into the memory of the operating system.
It should be noted that, in order to speed up the start of the application software, the present invention adopts a manner of loading the components and/or resource files to be used by the application software into the memory in advance, and for each type of application software, the required components and/or resource files are different. And recording the required component and/or resource files in a preloading configuration table, and reading through iconhandle.
For example, when a browser is started, the WinMain entry function of its executable file is in the chrome _ exe _ main.cc file of the chrome. exe project, after some initialization code, the chrome.dll kernel file is loaded, and then the startup is completed after a series of calls are made. Therefore, we can record the chrome.dll in the corresponding pre-loading configuration list of the browser, and when the operating system or the desktop is refreshed, the chrome.dll file is loaded, so as to save the loading time when the browser is started.
After the space-named icon of the application software is found, step S203 is executed. In step S203, the dynamic icon processing library corresponding to the designated namespace icon is loaded.
The icon dynamic link library is icon handle.dll described in step S202, and is bound to the namespace icon in advance.
For example, when 3 namespace icons coexist on the desktop of the operating system, and the correspondence between the namespace icons and the icon dynamic processing library is as follows:
A namespace icon------a icon handle.dll;
B namespace icon------b icon handle.dll;
C namespace icon------c icon handle.dll。
then the a, b, and c icon handles are loaded and run, respectively.
Then, step S204 is executed to read the corresponding preloaded configuration file from the dynamic icon processing library.
The pre-loading configuration file records the path of the component and/or resource file which is required to be loaded to the memory when the corresponding application software is started.
For example, for a browser, we can set its preloaded configuration file to include the following paths:
C:\Users\username\AppData\Roaming\360se\bin\chrome.dll;
C:\Users\huahua\AppData\Roaming\360se\bin\Pages\pages.dll。
and so on.
After the configuration file is read and preloaded, step S205 is executed to load the components and/or resource files of the application software into the memory of the operating system according to the preloaded configuration table.
In this step, after the components and/or resource files of the application software are loaded into the memory of the operating system, the time for loading the files can be saved when the application software is subsequently started, so that the starting is accelerated.
The above steps S201 to S205 complete the preloading operation of the application software before the start-up. After that, the startup operation is performed on the application software by step S206. In step S206, the preloaded components and/or resource files of the application software in the memory are called when the application software is started.
In this step S206, when loading the components and/or resource files of the application software, the following first and second ways may also be adopted.
In a first mode
Counting the use frequency of the application software by a user, and determining the priority of each application software according to the use frequency;
for example, if the user has installed application software A, B, C, D, E at the same time, but application software a and B are used much more frequently than the other application software, then the priority level of application software A, B may be set to the highest.
And loading the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
Mode two
Counting the calling frequency of the components and/or resources in the preloading configuration table, and determining the priority of the components and/or resources in the preloading configuration table according to the calling frequency;
and loading the components and/or the resource files into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
Through the two modes, when the number of the components and/or resource files needing to be loaded is large, the components and/or the resource files can be loaded according to the priority order, so that the memory space resources are saved, and the user experience is improved.
It should be noted that, in this embodiment, due to addition of application software or software update installed by a user, a component and/or a resource file loaded when the user starts may change, and optionally, the preloaded configuration file may also be updated in the method.
Wherein, updating the preloaded configuration file at least comprises the following two modes:
(1) when new application software is installed or version updating is carried out on installed application software, component and/or resource files required for starting current application software are obtained, and for the obtained components and/or resources, if the component and/or resource files are not recorded in the preloading configuration table, the components and/or resources are recorded in the preloading configuration table.
The method can be applied to new installation or update of software, and solves the problem that the components and/or files which must be loaded are possibly changed.
(2) And recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
In this way, the server updates the local pre-loaded configuration table, and the update instruction sent by the server may carry the address of the component and/or resource file to be recorded.
The embodiment of the invention provides a method for starting application software, which comprises the steps of generating a namespace icon corresponding to the application software for the application software, setting a preloading configuration table of the application software, loading components and/or resource files of the application software into a memory of an operating system according to the preloading configuration table when the operating system is started or a desktop is refreshed, so that the purpose of preloading the components and/or resource files required to be used by the application software before the application software is started is achieved, the time for loading part of the components and/or resource files when the software is started can be saved, the starting speed of the application software is increased, the method is suitable for all the application software, and the user experience can be improved.
EXAMPLE III
Fig. 3 is a block diagram of an apparatus for starting application software according to an embodiment of the present invention, where the apparatus 300 includes:
an icon generating module 301 configured to generate a namespace icon corresponding to application software for the application software;
a configuration table setting module 302 configured to set a preloaded configuration table of the application software;
a configuration table loading module 303, configured to load the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table when the namespace icon shortcut is started in the operating system or the desktop of the operating system is refreshed;
the file calling module 304 is configured to call the preloaded components and/or resource files of the application software in the memory when the application software is started.
Optionally, the icon generating module 301 is configured to generate a namespace icon corresponding to the application software for the application software according to the following manner:
when the application software is installed, generating a corresponding namespace icon;
binding the namespace icon to an icon handling dynamic link library corresponding to the icon, wherein the icon handling dynamic link library is arranged for reading the pre-loaded configuration table.
Optionally, the configuration table loading module 303 is configured to load the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table as follows:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
Optionally, the configuration table loading module 303 is configured to find the namespace icon corresponding to the application software as follows:
when the resource manager process of the operating system is started, all the icons on the local desktop are traversed through the resource manager process to search the space named icon corresponding to the application software.
Optionally, the icon handling dynamic link library supports a plurality of different application software, and is used for reading the pre-loaded configuration table.
Optionally, the apparatus 300 further comprises:
an update module 305 configured to update the pre-loaded configuration table.
Optionally, the updating module 305 is configured to update the pre-loaded configuration table according to any one of the following manners:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
Optionally, the apparatus 300 further comprises:
a first statistical module 306 configured to count the usage frequency of the application software by the user;
a first priority setting module 307 configured to determine the priority of each application software according to the frequency of use;
the configuration table loading module 303 is further configured to load the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
Optionally, the apparatus 300 further comprises:
a second statistics module 308 configured to count the calling frequency of the components and/or resources in the preload configuration table;
a second priority setting module 309 configured to determine a priority of the components and/or resources in the preloaded configuration table according to the call frequency;
the configuration table loading module 303 is further configured to load the component and/or resource file into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
The embodiment of the invention provides a device for starting application software, which is characterized in that a namespace icon corresponding to the application software is generated for the application software, a preloading configuration table of the application software is set, and when an operating system is started or a desktop is refreshed, components and/or resource files of the application software are loaded into a memory of the operating system according to the preloading configuration table, so that the purpose of preloading the components and/or resource files required to be used by the application software before the application software is started is achieved, the time for loading part of the components and/or resource files when the software is started can be saved, the starting speed of the application software is increased, the device is suitable for all the application software, and the user experience can be improved.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the apparatus for launching application software according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.
The embodiment of the invention also discloses A1. a method for starting the application software, which comprises the following steps:
generating a namespace icon corresponding to the application software for the application software, and setting a preloading configuration table of the application software;
the namespace icon shortcut is configured to load the components and/or resource files of the application software into the memory of the operating system according to the preloading configuration table when the operating system is started or the desktop of the operating system is refreshed;
and calling the preloaded components and/or resource files of the application software in the memory when the application software is started.
A2. The method according to a1, wherein the generating a namespace icon corresponding to the application software for the application software includes:
when the application software is installed, generating a corresponding namespace icon;
binding the namespace icon to an icon handling dynamic link library corresponding to the icon, wherein the icon handling dynamic link library is configured for reading the preloaded configuration table.
A3. The method according to a2, wherein the manner of loading the components and/or resource files of the application software into the memory of the operating system according to the preloaded configuration table includes:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
A4. The method according to a3, wherein the finding of the namespace icon corresponding to the application software comprises:
when the resource manager process of the operating system is started, traversing all the icons on the local desktop through the resource manager process to search the space naming icon corresponding to the application software.
A5. The method of any of a 2-a 4, wherein the icon handling dynamic link library supports multiple different applications, the icon handling dynamic link library being used to read preloaded configuration tables.
A6. The method of any one of a2 to a5, further comprising:
updating the pre-loaded configuration table.
A7. The method according to a6, wherein the updating manner of the preloaded configuration table includes:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
A8. The method of any one of a1 to a7, further comprising:
counting the use frequency of the application software by the user;
determining the priority of each application software according to the use frequency;
and loading the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
A9. The method of any one of a1 to A8, further comprising:
counting the calling frequency of the components and/or resources in the preloading configuration table;
determining the priority of the components and/or resources in the preloading configuration table according to the calling frequency;
and loading the component and/or the resource file into a memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
The embodiment of the invention also discloses a B10. an apparatus for starting application software, which comprises:
the icon generating module is configured to generate a namespace icon corresponding to the application software for the application software;
a configuration table setting module configured to set a preloaded configuration table of the application software;
the configuration table loading module is configured to load the components and/or resource files of the application software into the memory of the operating system according to the pre-loading configuration table when the namespace icon shortcut is started in the operating system or the desktop of the operating system is refreshed;
and the file calling module is configured to call the components and/or resource files of the application software which are preloaded in the memory when the application software is started.
B11. The apparatus according to B10, wherein the icon generating module is configured to generate a namespace icon corresponding to the application software for the application software as follows:
when the application software is installed, generating a corresponding namespace icon;
binding the namespace icon to an icon handling dynamic link library corresponding to the icon, wherein the icon handling dynamic link library is configured for reading the preloaded configuration table.
B12. The apparatus according to B11, wherein the configuration table loading module is configured to load the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table as follows:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
B13. The apparatus of B12, wherein the configuration table loading module is configured to look up the namespace icon corresponding to the application software as follows:
when the resource manager process of the operating system is started, traversing all the icons on the local desktop through the resource manager process to search the space naming icon corresponding to the application software.
B14. The device according to any one of B11-B13, wherein the icon processing dynamic link library supports a plurality of different application software and is used for reading a preloading configuration table.
B15. The apparatus of any one of B11-B14, wherein the apparatus further comprises:
an update module configured to update the pre-loaded configuration table.
B16. The apparatus of B15, wherein the update module is configured to update the pre-loaded configuration table according to any one of the following:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
B17. The apparatus of any one of B10-B16, wherein the apparatus further comprises:
the first statistical module is configured to count the use frequency of the application software by a user;
the first priority setting module is configured to determine the priority of each application software according to the use frequency;
and the configuration table loading module is also configured to load the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
B18. The apparatus of any one of B10-B17, wherein the apparatus further comprises:
a second statistical module configured to count the calling frequency of the components and/or resources in the pre-loading configuration table;
a second priority setting module configured to determine a priority of components and/or resources in the pre-loaded configuration table according to the call frequency;
and the configuration table loading module is also configured to load the component and/or the resource file into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.

Claims (16)

1. A method of launching application software, comprising:
generating a namespace icon corresponding to the application software for the application software, and setting a preloading configuration table of the application software;
the namespace icon shortcut is configured to load the components and/or resource files of the application software into the memory of the operating system according to the preloading configuration table when the operating system is started or the desktop of the operating system is refreshed;
calling the preloaded components and/or resource files of the application software in the memory when the application software is started;
the generating of the namespace icon corresponding to the application software for the application software includes:
when the application software is installed, generating a corresponding namespace icon;
and binding the namespace icon to an icon processing dynamic link library corresponding to the icon, wherein the icon processing dynamic link library is set to be used for reading the preloading configuration table and reading the components and/or resource files recorded in the preloading configuration table into an internal memory of an operating system.
2. The method of claim 1, wherein loading the components and/or resource files of the application software into the memory of the operating system according to the preloaded configuration table comprises:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
3. The method of claim 2, wherein the finding the namespace icon corresponding to the application software comprises:
when the resource manager process of the operating system is started, traversing all the icons on the local desktop through the resource manager process to search the name space icon corresponding to the application software.
4. The method of any of claims 1 to 3, wherein the icon handling dynamic link library supports a plurality of different application software, the icon handling dynamic link library being used to read preloaded configuration tables.
5. The method of any of claims 1 to 3, further comprising:
updating the pre-loaded configuration table.
6. The method of claim 5, wherein the preloading configuration table is updated in a manner comprising:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
7. The method of any of claims 1 to 3, further comprising:
counting the use frequency of the application software by the user;
determining the priority of each application software according to the use frequency;
and loading the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
8. The method of any of claims 1 to 3, further comprising:
counting the calling frequency of the components and/or resources in the preloading configuration table;
determining the priority of the components and/or resources in the preloading configuration table according to the calling frequency;
and loading the component and/or the resource file into a memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
9. An apparatus for launching application software, comprising:
the icon generating module is configured to generate a namespace icon corresponding to the application software for the application software;
a configuration table setting module configured to set a preloaded configuration table of the application software;
the configuration table loading module is configured to load the components and/or resource files of the application software into the memory of the operating system according to the pre-loading configuration table when the namespace icon shortcut is started in the operating system or the desktop of the operating system is refreshed;
the file calling module is configured to call the preloaded components and/or resource files of the application software in the memory when the application software is started;
the icon generation module is configured to generate a namespace icon corresponding to the application software for the application software according to the following mode:
when the application software is installed, generating a corresponding namespace icon;
and binding the namespace icon to an icon processing dynamic link library corresponding to the icon, wherein the icon processing dynamic link library is set to be used for reading the preloading configuration table and reading the components and/or resource files recorded in the preloading configuration table into an internal memory of an operating system.
10. The apparatus of claim 9, wherein the configuration table loading module is configured to load the component and/or resource file of the application software into the memory of the operating system according to the preloaded configuration table as follows:
searching a name space icon corresponding to the application software;
acquiring an icon processing dynamic link library pre-bound with the name space icon;
and reading the preloading configuration table through the icon processing dynamic link library, and acquiring a component and/or a resource file corresponding to the name space icon to a memory of an operating system.
11. The apparatus of claim 10, wherein the configuration table loading module is configured to look up the namespace icon corresponding to the application software as follows:
when the resource manager process of the operating system is started, traversing all the icons on the local desktop through the resource manager process to search the name space icon corresponding to the application software.
12. The apparatus of any of claims 9 to 11, wherein the icon handling dynamic link library supports a plurality of different application software, the icon handling dynamic link library being used to read a pre-loaded configuration table.
13. The apparatus of any of claims 9 to 11, wherein the apparatus further comprises:
an update module configured to update the pre-loaded configuration table.
14. The apparatus of claim 13, wherein the update module is configured to update the pre-loaded configuration table in any one of:
when new application software is installed or the version of the installed application software is updated, acquiring components and/or resources required by starting the current application software;
for the obtained component and/or resource, if the component and/or resource is not recorded in the preloading configuration table, recording the component and/or resource to the preloading configuration table;
or,
and recording the components and/or resources corresponding to the instructions to the preloading configuration table according to the updating instructions sent by the server.
15. The apparatus of any of claims 9 to 11, wherein the apparatus further comprises:
the first statistical module is configured to count the use frequency of the application software by a user;
the first priority setting module is configured to determine the priority of each application software according to the use frequency;
and the configuration table loading module is also configured to load the components and/or resource files of the application software into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
16. The apparatus of any of claims 9 to 11, wherein the apparatus further comprises:
a second statistical module configured to count the calling frequency of the components and/or resources in the pre-loading configuration table;
a second priority setting module configured to determine a priority of components and/or resources in the pre-loaded configuration table according to the call frequency;
and the configuration table loading module is also configured to load the component and/or the resource file into the memory according to the priority when the operating system is started or the desktop of the operating system is refreshed.
CN201310684108.2A 2013-12-13 2013-12-13 The method and apparatus started to application software Expired - Fee Related CN103677922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310684108.2A CN103677922B (en) 2013-12-13 2013-12-13 The method and apparatus started to application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310684108.2A CN103677922B (en) 2013-12-13 2013-12-13 The method and apparatus started to application software

Publications (2)

Publication Number Publication Date
CN103677922A CN103677922A (en) 2014-03-26
CN103677922B true CN103677922B (en) 2018-01-09

Family

ID=50315579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310684108.2A Expired - Fee Related CN103677922B (en) 2013-12-13 2013-12-13 The method and apparatus started to application software

Country Status (1)

Country Link
CN (1) CN103677922B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12118339B2 (en) 2019-10-24 2024-10-15 Huawei Technologies Co., Ltd. Image file obtaining method and apparatus

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035802A (en) * 2014-06-20 2014-09-10 可牛网络技术(北京)有限公司 Application interface displaying method, an application interface displaying device, and terminal
CN105389174A (en) * 2014-09-04 2016-03-09 Tcl集团股份有限公司 Application program acceleration starting method and system based on mobile operating system
CN105808697A (en) * 2016-03-03 2016-07-27 北京东方车云信息技术有限公司 Local storage based data preloading method
CN105930058A (en) * 2016-04-21 2016-09-07 青岛海信移动通信技术股份有限公司 Application starting method and apparatus for mobile terminal and mobile terminal
CN106066805B (en) * 2016-05-31 2020-03-17 宇龙计算机通信科技(深圳)有限公司 Method and device for starting terminal application program and terminal
CN107678791A (en) * 2016-08-02 2018-02-09 中兴通讯股份有限公司 A kind of method and apparatus of information processing
CN106502737B (en) * 2016-10-20 2019-07-30 广州酷狗计算机科技有限公司 A kind of method and terminal improving application program launching speed
CN106648811A (en) * 2017-01-23 2017-05-10 努比亚技术有限公司 Method for starting application of terminal and terminal
CN107122214B (en) * 2017-04-28 2020-08-04 Oppo广东移动通信有限公司 Application program preprocessing method and device and terminal
CN108958824A (en) * 2017-05-18 2018-12-07 龙芯中科技术有限公司 Starting method, apparatus, electronic equipment and the storage medium of application program
CN107193610A (en) * 2017-05-31 2017-09-22 广东欧珀移动通信有限公司 A kind of loading method of dynamic base, device, terminal device and storage medium
CN109254801A (en) * 2017-07-12 2019-01-22 阿里巴巴集团控股有限公司 Starting, configuration method, device, equipment, medium and operating system
CN107423092A (en) * 2017-07-20 2017-12-01 珠海市魅族科技有限公司 Using startup method, apparatus, terminal device and storage medium
CN109471671B (en) * 2017-09-06 2023-03-24 武汉斗鱼网络科技有限公司 Program cold starting method and system
CN109582458A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 Resource information loading method, device, storage medium and processor
CN107613386B (en) * 2017-09-30 2019-09-27 烽火通信科技股份有限公司 A kind of the starting method and activation system of IPTV application
CN109947495A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal
CN108415735B (en) * 2018-02-01 2022-04-05 麒麟软件有限公司 Quick starting method of Web browser
CN108334383B (en) * 2018-03-30 2021-09-14 联想(北京)有限公司 Information processing method and electronic equipment
CN108595228B (en) 2018-05-10 2021-03-12 Oppo广东移动通信有限公司 Application program prediction model establishing method and device, storage medium and mobile terminal
CN108595227A (en) 2018-05-10 2018-09-28 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal
CN108710513B (en) 2018-05-15 2020-07-21 Oppo广东移动通信有限公司 Application program starting method and device, storage medium and terminal
CN108829456A (en) * 2018-05-29 2018-11-16 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108845838B (en) * 2018-05-30 2021-07-09 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN108804157A (en) 2018-06-05 2018-11-13 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN109086101B (en) * 2018-07-26 2021-08-10 南昌努比亚技术有限公司 Terminal application software starting method, terminal and computer readable storage medium
CN110941588A (en) * 2018-09-21 2020-03-31 北京国双科技有限公司 File configuration method and device
CN109766144B (en) * 2019-01-22 2021-09-24 湖北亿咖通科技有限公司 Control event response method and device
CN110083416B (en) * 2019-03-25 2021-10-15 华为技术有限公司 Resource loading method and device
CN110187925B (en) * 2019-05-30 2023-10-17 努比亚技术有限公司 Desktop pre-starting control method, device and computer readable storage medium
CN110442380B (en) * 2019-07-03 2021-11-09 武汉深之度科技有限公司 Data preheating method and computing equipment
CN114228745B (en) * 2021-12-24 2024-05-10 北京百度网讯科技有限公司 Driving system module control method, device, equipment, medium, product and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339511A (en) * 2007-07-02 2009-01-07 国际商业机器公司 Method and system for controlling and self-adaptively preloading dynamic link libraries
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN103002138A (en) * 2012-11-21 2013-03-27 中兴通讯股份有限公司 Method and system for starting mobile phone applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339511A (en) * 2007-07-02 2009-01-07 国际商业机器公司 Method and system for controlling and self-adaptively preloading dynamic link libraries
CN101610316A (en) * 2009-07-24 2009-12-23 中兴通讯股份有限公司 The startup methods, devices and systems of application program of mobile phone
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN103002138A (en) * 2012-11-21 2013-03-27 中兴通讯股份有限公司 Method and system for starting mobile phone applications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12118339B2 (en) 2019-10-24 2024-10-15 Huawei Technologies Co., Ltd. Image file obtaining method and apparatus

Also Published As

Publication number Publication date
CN103677922A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103677922B (en) The method and apparatus started to application software
WO2018103550A1 (en) Application program page processing method and apparatus
US9307342B2 (en) Dynamic rendering for software applications
CN109918166B (en) Applet processing method and device and electronic equipment
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN108228321B (en) Android system application closing method and device
US9038019B2 (en) Paige control for enterprise mobile applications
CN106598662B (en) Android-based application loading method and device
WO2018040270A1 (en) Method and device for loading linux-system elf file in windows system
CN107479868B (en) Interface loading method, device and equipment
CN110851204B (en) Application starting method and device and application packaging method and device
JP2015507298A (en) Dynamic code insertion into a running process
US10365798B1 (en) Feedback manager for integration with an application
US8935402B2 (en) Resource launch from application within application container
JP5518884B2 (en) Flexible hierarchical settings registry for operating systems
CN111949297B (en) Block chain intelligent contract upgrading method and device and electronic equipment
WO2021057411A1 (en) Component loading method, device, and system
CN110502251B (en) Application installation method and device
CN106775608B (en) Method and device for realizing independent system process
JP2019523480A (en) Preemptive decompression scheduling for NAND storage devices
CN111797270A (en) Audio playing method and device, electronic equipment and computer readable storage medium
US10452838B2 (en) Providing joint access to an isolated computer object by both an isolated computer application and a non-isolated computer application
US20170286072A1 (en) Custom class library generation method and apparatus
CN105631318B (en) A kind of acquisition methods and device of registration table key assignments
CN111142972A (en) Method, apparatus, system, and medium for extending functions of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180109

Termination date: 20211213