Movatterモバイル変換


[0]ホーム

URL:


CN104598258B - Application software starting method and device - Google Patents

Application software starting method and device
Download PDF

Info

Publication number
CN104598258B
CN104598258BCN201310530397.0ACN201310530397ACN104598258BCN 104598258 BCN104598258 BCN 104598258BCN 201310530397 ACN201310530397 ACN 201310530397ACN 104598258 BCN104598258 BCN 104598258B
Authority
CN
China
Prior art keywords
data
starting
application software
database
file data
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.)
Active
Application number
CN201310530397.0A
Other languages
Chinese (zh)
Other versions
CN104598258A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201310530397.0ApriorityCriticalpatent/CN104598258B/en
Publication of CN104598258ApublicationCriticalpatent/CN104598258A/en
Application grantedgrantedCritical
Publication of CN104598258BpublicationCriticalpatent/CN104598258B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The embodiment of the invention discloses an application software starting method, which comprises the following steps: receiving a starting command for starting application software; loading file data for starting the application software from a local hard disk according to the starting command; and starting the application software according to the file data. Correspondingly, the embodiment of the invention also discloses a corresponding device. The embodiment of the invention can improve the starting speed of the application software.

Description

Application software starting method and device
Technical Field
The invention relates to the technical field of internet, in particular to an application software starting method and device.
Background
More and more applications are currently available, such as game applications, chat applications, video applications, etc. The current application software is started by loading data in a database to finish the starting of the application software. Reading data from the database is slow, which results in slow start-up of the application software.
Disclosure of Invention
The embodiment of the invention provides an application software starting method and device, which can improve the starting speed of application software.
In a first aspect, an embodiment of the present invention provides an application software starting method, including:
receiving a starting command for starting application software;
loading file data for starting the application software from a local hard disk according to the starting command;
and starting the application software according to the file data.
In a second aspect, an embodiment of the present invention provides an application software starting apparatus, including: receiving element, first load unit and start unit, wherein:
the receiving unit is used for receiving a starting command for starting the application software;
the first loading unit is used for loading file data used for starting the application software from a local hard disk according to the starting command;
and the starting unit is used for starting the application software according to the file data.
In the technical scheme, a starting command for starting application software is received; loading file data for starting the application software from a local hard disk according to the starting command; and starting the application software according to the file data. Compared with the prior art that data is loaded from a database, the method and the device for loading the file data from the local hard disk can improve the starting speed of the application software.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an application software starting method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another application software launching method according to an embodiment of the present invention;
FIG. 3 is an exemplary schematic diagram provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application software startup device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another application software startup device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the present invention is not limited to the application software, and examples of the application software include: the application may be a chat application, a video application, a gaming application, or an office application.
Fig. 1 is a schematic flowchart of an application software starting method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
s101, receiving a starting command for starting the application software.
Specifically, the starting command input by the user may be received, for example: clicking an icon of application software by a user; specifically, the starting command may be generated automatically by the system, for example: and starting the application software.
And S102, loading file data for starting the application software from a local hard disk according to the starting command.
Specifically, when the start command is received, the file data may be loaded from the local hard disk according to the start command. In this embodiment, the file data is not limited, and the file data for starting different application software may be different. For example: the file data may include at least one of:
configuration data, quick link data, site navigation data, etc.
S103, starting the application software according to the file data.
Specifically, starting the application software according to the file data may be to perform starting processing on the file data loaded in step S102, for example: display, data configuration, network connection, and the like.
The above method may be applied in particular to any device supporting application software, i.e. the device may implement the above method. For example: the system comprises intelligent equipment with a network function, such as a tablet Computer, a mobile phone, an electronic reader, a remote controller, a Personal Computer (PC), a notebook Computer, vehicle-mounted equipment, a network television, wearable equipment and the like. The mobile phone may specifically be a mobile phone with a window phone operating system.
In the technical scheme, a starting command for starting application software is received; loading file data for starting the application software from a local hard disk according to the starting command; and starting the application software according to the file data. Compared with the prior art that data is loaded from a database, the method and the device for loading the file data from the local hard disk can improve the starting speed of the application software.
Fig. 2 is a schematic flowchart of another application software starting method according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
s201, receiving a starting command for starting the application software.
Specifically, the starting command input by the user may be received, for example: clicking an icon of application software by a user; specifically, the starting command may be generated automatically by the system, for example: and starting the application software.
S202, loading file data for starting the application software from a local hard disk according to the starting command.
Optionally, the file data may specifically be data stored in a local hard disk according to a preset format, for example: file data stored in a folder format, or file data stored in a compressed package format. And the loading can also load the file data according to a loading mode corresponding to the preset format. For example: prior to step S202, the method may further comprise:
and acquiring file data for starting the application software, and storing the file data to the local hard disk in a preset format.
The obtaining may specifically be obtaining database data for starting the application software from a database, and then storing the database data in the local hard disk according to the preset format. Of course, it can be obtained in other ways, for example: obtained through a network.
Step S202 may specifically include:
and loading the file data from the local hard disk according to the starting command and a loading mode corresponding to the preset format.
For example: the file data is stored in a folder format, and then step S202 may load the file data from the folder through information such as file identifier; for example: the file data is stored in a compressed packet format, and then step S202 may be to decompress the compressed packet by using information such as an identifier of the compressed packet to load the file data.
S203, starting the application software according to the file data.
Optionally, after step S203, the method may further include:
s204, loading database data used for starting the application software in a database, judging whether the database data comprises inconsistent data or not, and if so, executing a step S205; wherein the inconsistent data refers to data included in the database data that is different from the file data.
S205, updating the inconsistent data to the application software.
Since the database is provided with a data recovery function, the correctness of the database data stored in the database for starting the application software is higher than that of the file data stored in the local hard disk. Therefore, whether the file data is damaged or not (for example, the file data is damaged in the reading and writing process) can be judged by judging whether the database data comprises the inconsistent data or not through the steps. When the database data comprises the inconsistent data, the inconsistent data can be updated to the application software. The specific step of updating the inconsistent data to the application software may be updating a User Interface (UI) or information configuration corresponding to the inconsistent data in the application software.
Optionally, after determining that the database data includes the inconsistent data, the method may further include:
and storing the inconsistent data to the local hard disk, and replacing the data which is different from the database data and is included in the file data.
Specifically, the inconsistent data may be stored in the local hard disk according to the preset format at a location where data included in the file data and different from the database data are located, and the data included in the file data and different from the database data are deleted.
Through the steps, the file data can be updated when the file data is damaged, so that the application software can be started next time.
Optionally, after determining that the database data includes the inconsistent data, the method may further include:
and storing the database data to the local hard disk, and replacing the file data.
Therefore, when the file data is damaged, the database data can be directly stored in the local hard disk, and the file data is replaced.
In the above technical solution, various optional implementations are added on the basis of the above embodiment, and the starting speed of the application software can be improved.
The following is illustrated by way of a specific example, as shown in FIG. 3:
s301, starting the application software, that is, receiving a start command for starting the application software.
S302, relevant data is read from the file, namely relevant data is loaded from the file stored in the local hard disk.
And S303, displaying and configuring the UI, namely displaying and configuring the read related data. When step S303 is completed, the application software start ends.
And S304, reading related data from the database. Step S304 may be specifically executed after step S303.
S305, judging whether the related data in the database is consistent with the related data in the file, if not, executing the step S306, and if so, ending the step.
S306, writing the difference data into the file, namely writing the difference data which is different from the related data in the file in the related data in the database into the file.
S307, updating the UI and information configuration.
For convenience of description, only the relevant parts of the embodiments of the present invention are shown, and details of the specific technology are not disclosed.
Fig. 4 is a schematic structural diagram of an application software starting apparatus according to an embodiment of the present invention, as shown in fig. 4, including: a receivingunit 41, afirst loading unit 42 and astarting unit 43, wherein:
a receivingunit 41, configured to receive a start command for starting the application software.
Specifically, the starting command input by the user may be received, for example: clicking an icon of application software by a user; specifically, the starting command may be generated automatically by the system, for example: and starting the application software.
And afirst loading unit 42, configured to load, according to the start command, file data for starting the application software from a local hard disk.
Specifically, when the start command is received, the file data may be loaded from the local hard disk according to the start command. In this embodiment, the file data is not limited, and the file data for starting different application software may be different. For example: the file data may include at least one of:
configuration data, quick link data, site navigation data, etc.
Astarting unit 43, configured to start the application software according to the file data.
Specifically, starting the application software according to the file data may be to perform starting processing on the file data loaded in step S102, for example: display, data configuration, network connection, and the like.
The above-described apparatus may be applied in particular to any device supporting application software, i.e. the device may comprise the above-described apparatus. For example: the system comprises intelligent equipment with a network function, such as a tablet personal computer, a mobile phone, an electronic reader, a remote controller, a PC (personal computer), a notebook computer, vehicle-mounted equipment, a network television, wearable equipment and the like. The mobile phone may specifically be a mobile phone with a window phone operating system.
In the technical scheme, a starting command for starting application software is received; loading file data for starting the application software from a local hard disk according to the starting command; and starting the application software according to the file data. Compared with the prior art that data is loaded from a database, the method and the device for loading the file data from the local hard disk can improve the starting speed of the application software.
Fig. 5 is a schematic structural diagram of another application software starting apparatus according to an embodiment of the present invention, as shown in fig. 5, including: a receivingunit 51, afirst loading unit 52 and astarting unit 53, wherein:
a receivingunit 51, configured to receive a start command for starting the application software.
Afirst loading unit 52, configured to load, according to the start command, file data for starting the application software from a local hard disk.
Optionally, the file data may specifically be data stored in a local hard disk according to a preset format, for example: file data stored in a folder format, or file data stored in a compressed package format. And the loading can also load the file data according to a loading mode corresponding to the preset format. For example: the apparatus may further include:
and an obtaining unit (not shown in the drawings) configured to obtain file data used for starting the application software, and store the file data in a preset format to the local hard disk.
The obtaining may specifically be obtaining database data for starting the application software from a database, and then storing the database data in the local hard disk according to the preset format. Of course, it can be obtained in other ways, for example: obtained through a network.
Thefirst loading unit 52 may be specifically configured to load the file data from the local hard disk according to the start command in a loading manner corresponding to the preset format.
For example: the file data is stored in a folder format, and thefirst loading unit 52 may load the file data from the folder through information such as file identification; for example: the file data is stored in a compressed packet format, and thefirst loading unit 52 may decompress the compressed packet by using information such as an identifier of the compressed packet to load the file data.
And thestarting unit 53 is configured to start the application software according to the file data.
Specifically, starting the application software according to the file data may be to perform starting processing on the file data loaded in step S102, for example: display, data configuration, network connection, and the like.
Optionally, the apparatus may further include:
asecond loading unit 54, configured to load database data used for starting the application software in a database, and determine whether the database data includes inconsistent data, and if so, update the inconsistent data to the application software; wherein the inconsistent data refers to data included in the database data that is different from the file data.
Since the database is provided with a data recovery function, the correctness of the database data stored in the database for starting the application software is higher than that of the file data stored in the local hard disk. Therefore, whether the file data is damaged or not (for example, the file data is damaged in the reading and writing process) can be judged by judging whether the database data comprises the inconsistent data or not through the steps. When the database data comprises the inconsistent data, the inconsistent data can be updated to the application software. Specifically, the updating of the inconsistent data to the application software may be updating an application UI or information configuration corresponding to the inconsistent data in the application software.
Optionally, the apparatus may further include:
a first replacing unit (not shown in the drawings) configured to, when thesecond loading unit 54 determines that the database data includes the inconsistent data, store the inconsistent data in the local hard disk, and replace data included in the file data and different from the database data.
Specifically, the inconsistent data may be stored in the local hard disk according to the preset format at a location where data included in the file data and different from the database data are located, and the data included in the file data and different from the database data are deleted.
The first replacement unit (not shown in the figure) can update the file data when the file data is damaged so that the application software can be started next time.
Optionally, the apparatus may further include:
a second replacing unit (not shown in the drawings) configured to, when thesecond loading unit 54 determines that the database data includes the inconsistent data, store the database data to the local hard disk, and replace the file data.
Therefore, when the file data is damaged, the database data can be directly stored in the local hard disk, and the file data is replaced.
In the above technical solution, various optional implementations are added on the basis of the above embodiment, and the starting speed of the application software can be improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (5)

CN201310530397.0A2013-10-312013-10-31Application software starting method and deviceActiveCN104598258B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310530397.0ACN104598258B (en)2013-10-312013-10-31Application software starting method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310530397.0ACN104598258B (en)2013-10-312013-10-31Application software starting method and device

Publications (2)

Publication NumberPublication Date
CN104598258A CN104598258A (en)2015-05-06
CN104598258Btrue CN104598258B (en)2020-05-26

Family

ID=53124077

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310530397.0AActiveCN104598258B (en)2013-10-312013-10-31Application software starting method and device

Country Status (1)

CountryLink
CN (1)CN104598258B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8091084B1 (en)*2006-04-282012-01-03Parallels Holdings, Ltd.Portable virtual machine
US8429422B1 (en)*2007-03-312013-04-23Actioneer, Inc.Method and apparatus for an improved access system
US8506402B2 (en)*2009-06-012013-08-13Sony Computer Entertainment America LlcGame execution environments

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102760063B (en)*2011-04-252015-08-26联想(北京)有限公司A kind of file loading method and device
CN102567525A (en)*2011-12-292012-07-11深圳市万兴软件有限公司Method and system for modifying files stored in electronic terminals
CN102736962A (en)*2012-06-072012-10-17深圳市万兴软件有限公司Method and device of recovering data
CN102902566A (en)*2012-09-292013-01-30广东欧珀移动通信有限公司Method and device for installing and starting application software
CN102968366B (en)*2012-11-302015-10-28广东欧珀移动通信有限公司The local storage means of a kind of Blu-ray player daily record and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8091084B1 (en)*2006-04-282012-01-03Parallels Holdings, Ltd.Portable virtual machine
US8429422B1 (en)*2007-03-312013-04-23Actioneer, Inc.Method and apparatus for an improved access system
US8506402B2 (en)*2009-06-012013-08-13Sony Computer Entertainment America LlcGame execution environments

Also Published As

Publication numberPublication date
CN104598258A (en)2015-05-06

Similar Documents

PublicationPublication DateTitle
KR102497195B1 (en)A mehtod for processing contents, an electronic device and a storage medium therefor
CN105760199B (en)A kind of application resource loading method and its equipment
CN106372102B (en) Electronic device and method for managing objects in folders on the electronic device
US20120260202A1 (en)Customized launching of applications
CN105824836B (en)Screenshot sharing method and device, and information receiving method and device
CN109582402B (en)Page display method and device
CN106648685B (en)Intelligent terminal system application processing method and device and intelligent terminal
CN105988837B (en) Application installation method and device
CN110865837B (en)Method and terminal for system upgrade
CN111158788B (en)Desktop starter control method and device and storage medium
CN103778211A (en)Method and device for switching language of mobile terminal game software
EP3340155A1 (en)Electronic device and method for displaying web page using the same
CN112148395A (en)Page display method, device, equipment and storage medium
CN104572771B (en)Processing state display method and device
KR20160001359A (en)Method for managing data and an electronic device thereof
CN106055210A (en)Method and device for processing icons
CN103346821A (en)Method for transferring address list through bluetooth
US20170131857A1 (en)Wallpaper processing method and electronic device
CN106302821B (en)Data request method and equipment thereof
CN104598258B (en)Application software starting method and device
CN108572985B (en)Page display method and device
CN110704157A (en)Application starting method, related device and medium
KR20210016944A (en)An electronic device for performing media scan and media scan method thereof
CN105867961A (en)System upgrading and degrading method and device
CN103618961A (en)Method, system and browser for displaying video title

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp