CN104598258A - Application software starting method and device - Google Patents

Application software starting method and device Download PDF

Info

Publication number
CN104598258A
CN104598258A CN201310530397.0A CN201310530397A CN104598258A CN 104598258 A CN104598258 A CN 104598258A CN 201310530397 A CN201310530397 A CN 201310530397A CN 104598258 A CN104598258 A CN 104598258A
Authority
CN
China
Prior art keywords
data
application software
file data
starting
hard drive
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.)
Granted
Application number
CN201310530397.0A
Other languages
Chinese (zh)
Other versions
CN104598258B (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 Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310530397.0A priority Critical patent/CN104598258B/en
Publication of CN104598258A publication Critical patent/CN104598258A/en
Application granted granted Critical
Publication of CN104598258B publication Critical patent/CN104598258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses an application software starting method. The application software starting method comprises the steps of receiving a starting command used for starting an application software; loading file data used for starting the application software from a local hard disk according to the starting command; starting the application software according to the file data. Accordingly, the embodiment of the invention further discloses an application software starting device. By means of the application software starting method and device, the starting speed of the application software can be increased.

Description

A kind of application software initiated method and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of application software initiated method and device.
Background technology
Increasing application software is applied at present, such as, and game application software, chat application software, Video Applications software etc.And present application software initiated time be all by the data in loading of databases, to complete the startup of this application software.And to read data from database be slow, so just cause application software initiated speed can be slow.
Summary of the invention
Embodiments provide a kind of application software initiated method and device, the toggle speed of application software can be improved.
First aspect, the embodiment of the present invention provides a kind of application software initiated method, comprising:
Receive the startup command for starting application software;
From local hard drive, the file data for starting described application software is loaded according to described startup command;
Described application software is started according to described file data.
Second aspect, the embodiment of the present invention provides a kind of application software initiated device, comprising: receiving element, the first loading unit and start unit, wherein:
Described receiving element, for receiving the startup command for starting application software;
Described first loading unit, for loading the file data for starting described application software from local hard drive according to described startup command;
Described start unit, for starting described application software according to described file data.
In technique scheme, receive the startup command for starting application software; From local hard drive, the file data for starting described application software is loaded according to described startup command; Described application software is started according to described file data.Owing to being from local hard drive load document data, load data from database compared to existing technology, the embodiment of the present invention can improve the toggle speed of application software.
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 a kind of application software initiated method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the application software initiated method of another kind that the embodiment of the present invention provides;
Fig. 3 is a kind of example schematic that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of application software initiated device that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the application software initiated device of another kind that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, 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 the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, application software is not construed as limiting, such as: application software can be chat application software, Video Applications software, game application software or office application software.
Fig. 1 is the schematic flow sheet of a kind of application software initiated method that the embodiment of the present invention provides, and as shown in Figure 1, comprises the following steps:
S101, receive startup command for starting application software.
Can be specifically the above-mentioned startup command receiving user's input, such as: user clicks the icon of application software; Can also be specifically the above-mentioned startup command that system generates automatically, such as: the above-mentioned application software of starting up.
S102, from local hard drive, load the file data for starting described application software according to described startup command.
Can be specifically just can load above-mentioned file data according to this startup command from local hard drive when receiving above-mentioned startup command.In the present embodiment file data is not construed as limiting, and the file data starting different application software also can be different.Such as: above-mentioned file data can comprise following at least one item:
Configuration data, quick links data, site map data etc.
S103, start described application software according to described file data.
Starting described application software according to described file data can be specifically that the file data that step S102 loads is carried out start treatment, such as: display, data configuration and network connection etc.
Said method specifically can be applied to the equipment of any support application software, and namely this equipment can be to implement the above described method.Such as: panel computer, mobile phone, electronic reader, telepilot, personal computer (PersonalComputer, PC), notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.Wherein, above-mentioned mobile phone can be specifically the mobile phone of window phone operating system.
In technique scheme, receive the startup command for starting application software; From local hard drive, the file data for starting described application software is loaded according to described startup command; Described application software is started according to described file data.Owing to being from local hard drive load document data, load data from database compared to existing technology, the embodiment of the present invention can improve the toggle speed of application software.
Fig. 2 is the schematic flow sheet of the application software initiated method of another kind that the embodiment of the present invention provides, and as shown in Figure 2, comprises the following steps:
S201, receive startup command for starting application software.
Can be specifically the above-mentioned startup command receiving user's input, such as: user clicks the icon of application software; Can also be specifically the above-mentioned startup command that system generates automatically, such as: the above-mentioned application software of starting up.
S202, from local hard drive, load the file data for starting described application software according to described startup command.
Optionally, above-mentioned file data can be specifically the data being stored in local hard drive according to preset format, such as: the file data stored with the form of file, or with the file data that the form of compressed package stores.And above-mentioned loading also can load above-mentioned file data by the load mode corresponding according to above-mentioned preset format.Such as: before step S202, described method can also comprise:
Obtain the file data for starting described application software, and described file data is stored to described local hard drive with preset format.
Wherein, above-mentioned acquisition can be specifically the database data obtained from database for starting above-mentioned application software, then this database data is stored to local hard drive according to above-mentioned preset format.Certainly can also be that alternate manner obtains, such as: by Network Capture.
Step S202 specifically can comprise:
From described local hard drive, described file data is loaded according to the load mode that described preset format is corresponding according to described startup command.
Such as: above-mentioned file data stores with the form of file, that step S202 loads above-mentioned file data by information such as the marks of file from this file; Such as: above-mentioned file data is the file data stored with the form of compressed package, that step S202 carries out decompress(ion) to load above-mentioned file data by information such as the marks of compressed package to this compressed package.
S203, start described application software according to described file data.
Optionally, after step S203, described method can also comprise:
For starting the database data of described application software in S204, loading of databases, and judging whether described database data comprises inconsistent data, if so, then performing step S205; Wherein, described inconsistent data refers to the data different from described file data that described database data comprises.
S205, described inconsistent data is updated to described application software.
Because database possesses data recovery function, the correctness of the database data for starting described application software namely stored in database can compare the file data be stored in local hard drive and want high.Judge whether database data comprises above-mentioned inconsistent data by above-mentioned steps like this, just can judge whether file data damages (such as: damaging appears in file data in read-write process).When database data comprises above-mentioned inconsistent data, just this inconsistent data can be updated in above-mentioned application software.Wherein, described inconsistent data being updated to described application software can be specifically upgrade the user interface (User Interface, UI) corresponding with this inconsistent data or information configuration etc. in this application software.
Optionally, after judging that described database data comprises described inconsistent data, described method can also comprise:
Described inconsistent data is stored to described local hard drive, and replaces the data different from described database data that described file data comprises.
Can be specifically the position above-mentioned inconsistent data being stored to the data place different from described database data that local hard drive file data comprise according to above-mentioned preset format, and the data different from described database data that deleting file data comprises.
Just can realize when damaging appears in file data by above-mentioned steps, updating file data, so that above-mentioned application software starts next time.
Optionally, after judging that described database data comprises described inconsistent data, described method can also comprise:
Described database data is stored to described local hard drive, and replaces described file data.
Can realize like this, when file data damages, directly database data being stored to local hard drive, and replacing described file data.
In technique scheme, above embodiment basis on add the embodiment of plurality of optional, and the toggle speed improving application software can be realized.
Be illustrated with a concrete example below, as shown in Figure 3:
S301, start to start application software, namely receive the startup command starting application software.
S302, from file, read related data, namely from the file that local hard drive stores, load related data.
S303, UI represent and information configuration, and the related data being about to read carries out representing and configuring.When step S303 completes, i.e. application software initiated end.
S304, from database, read related data.Step S304 specifically can perform after step S303.
Whether S305, the related data judged in database be consistent with the related data in file, if not, then performs step S306, if so, then terminate.
S306, variance data is write into file, by variance data writing in files different from the related data in file in the related data in database.
S307, renewal UI and information configuration.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to two, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one and embodiment two.
Fig. 4 is the structural representation of a kind of application software initiated device that the embodiment of the present invention provides, and as shown in Figure 4, comprising: receiving element 41, first loading unit 42 and start unit 43, wherein:
Receiving element 41, for receiving the startup command for starting application software.
Can be specifically the above-mentioned startup command receiving user's input, such as: user clicks the icon of application software; Can also be specifically the above-mentioned startup command that system generates automatically, such as: the above-mentioned application software of starting up.
First loading unit 42, for loading the file data for starting described application software from local hard drive according to described startup command.
Can be specifically just can load above-mentioned file data according to this startup command from local hard drive when receiving above-mentioned startup command.In the present embodiment file data is not construed as limiting, and the file data starting different application software also can be different.Such as: above-mentioned file data can comprise following at least one item:
Configuration data, quick links data, site map data etc.
Start unit 43, for starting described application software according to described file data.
Starting described application software according to described file data can be specifically that the file data that step S102 loads is carried out start treatment, such as: display, data configuration and network connection etc.
Said apparatus specifically can be applied to the equipment of any support application software, and namely this equipment can comprise said apparatus.Such as: panel computer, mobile phone, electronic reader, telepilot, PC, notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.Wherein, above-mentioned mobile phone can be specifically the mobile phone of window phone operating system.
In technique scheme, receive the startup command for starting application software; From local hard drive, the file data for starting described application software is loaded according to described startup command; Described application software is started according to described file data.Owing to being from local hard drive load document data, load data from database compared to existing technology, the embodiment of the present invention can improve the toggle speed of application software.
Fig. 5 is the structural representation of the application software initiated device of another kind that the embodiment of the present invention provides, and as shown in Figure 5, comprising: receiving element 51, first loading unit 52 and start unit 53, wherein:
Receiving element 51, for receiving the startup command for starting application software.
First loading unit 52, for loading the file data for starting described application software from local hard drive according to described startup command.
Optionally, above-mentioned file data can be specifically the data being stored in local hard drive according to preset format, such as: the file data stored with the form of file, or with the file data that the form of compressed package stores.And above-mentioned loading also can load above-mentioned file data by the load mode corresponding according to above-mentioned preset format.Such as: described device can also comprise:
Acquiring unit (attached not shown in FIG.), for obtaining the file data for starting described application software, and is stored to described local hard drive by described file data with preset format.
Wherein, above-mentioned acquisition can be specifically the database data obtained from database for starting above-mentioned application software, then this database data is stored to local hard drive according to above-mentioned preset format.Certainly can also be that alternate manner obtains, such as: by Network Capture.
First loading unit 52 specifically may be used for from described local hard drive, loading described file data according to the load mode that described preset format is corresponding according to described startup command.
Such as: above-mentioned file data stores with the form of file, that first loading unit 52 can be just from this file, load above-mentioned file data by information such as the marks of file; Such as: above-mentioned file data is the file data stored with the form of compressed package, that first loading unit 52 can be just carry out decompress(ion) to load above-mentioned file data by information such as the marks of compressed package to this compressed package.
Start unit 53, for starting described application software according to described file data.
Starting described application software according to described file data can be specifically that the file data that step S102 loads is carried out start treatment, such as: display, data configuration and network connection etc.
Optionally, described device can also comprise:
Second loading unit 54, in loading of databases for starting the database data of described application software, and judge whether described database data comprises inconsistent data, if so, then described inconsistent data be updated to described application software; Wherein, described inconsistent data refers to the data different from described file data that described database data comprises.
Because database possesses data recovery function, the correctness of the database data for starting described application software namely stored in database can compare the file data be stored in local hard drive and want high.Judge whether database data comprises above-mentioned inconsistent data by above-mentioned steps like this, just can judge whether file data damages (such as: damaging appears in file data in read-write process).When database data comprises above-mentioned inconsistent data, just this inconsistent data can be updated in above-mentioned application software.Wherein, described inconsistent data being updated to described application software can be specifically upgrade corresponding with this inconsistent data UI or information configuration etc. in this application software.
Optionally, described device can also comprise:
First replacement unit (attached not shown in FIG.), for when the second loading unit 54 judges that described database data comprises described inconsistent data, described inconsistent data is stored to described local hard drive, and replaces the data different from described database data that described file data comprises.
Can be specifically the position above-mentioned inconsistent data being stored to the data place different from described database data that local hard drive file data comprise according to above-mentioned preset format, and the data different from described database data that deleting file data comprises.
Just can realize when damaging appears in file data by the first replacement unit (attached not shown in FIG.), updating file data, so that above-mentioned application software starts next time.
Optionally, described device can also comprise:
Second replacement unit (attached not shown in FIG.), for when the second loading unit 54 judges that described database data comprises described inconsistent data, is stored to described local hard drive by described database data, and replaces described file data.
Can realize like this, when file data damages, directly database data being stored to local hard drive, and replacing described file data.
In technique scheme, above embodiment basis on add the embodiment of plurality of optional, and the toggle speed improving application software can be realized.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (8)

1. an application software initiated method, is characterized in that, comprising:
Receive the startup command for starting application software;
From local hard drive, the file data for starting described application software is loaded according to described startup command;
Described application software is started according to described file data.
2. the method for claim 1, is characterized in that, described from local hard drive, load the file data for starting described application software according to described startup command before, described method also comprises:
Obtain the file data for starting described application software, and described file data is stored to described local hard drive with preset format;
Describedly from described local hard drive, loading file data for starting described application software according to described startup command, comprising:
From described local hard drive, described file data is loaded according to the load mode that described preset format is corresponding according to described startup command.
3. method as claimed in claim 1 or 2, is characterized in that, described start described application software according to described file data after, described method also comprises:
For starting the database data of described application software in loading of databases, and judging whether described database data comprises inconsistent data, if so, then described inconsistent data being updated to described application software; Wherein, described inconsistent data refers to the data different from described file data that described database data comprises.
4. method as claimed in claim 3, it is characterized in that, after the described database data of described judgement comprises described inconsistent data, described method also comprises:
Described inconsistent data is stored to described local hard drive, and replaces the data different from described database data that described file data comprises; Or
Described database data is stored to described local hard drive, and replaces described file data.
5. an application software initiated device, is characterized in that, comprising: receiving element, the first loading unit and start unit, wherein:
Described receiving element, for receiving the startup command for starting application software;
Described first loading unit, for loading the file data for starting described application software from local hard drive according to described startup command;
Described start unit, for starting described application software according to described file data.
6. device as claimed in claim 5, it is characterized in that, described device also comprises:
Acquiring unit, for obtaining the file data for starting described application software, and is stored to described local hard drive by described file data with preset format;
Described first loading unit specifically for loading described file data according to the load mode that described preset format is corresponding according to described startup command from described local hard drive.
7. the device as described in claim 5 or 6, is characterized in that, described device also comprises:
Second loading unit, in loading of databases for starting the database data of described application software, and judge whether described database data comprises inconsistent data, if so, then described inconsistent data be updated to described application software; Wherein, described inconsistent data refers to the data different from described file data that described database data comprises.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
First replacement unit, for when described second loading unit judges that described database data comprises described inconsistent data, described inconsistent data is stored to described local hard drive, and replaces the data different from described database data that described file data comprises; Or
Second replacement unit, for when described second loading unit judges that described database data comprises described inconsistent data, is stored to described local hard drive by described database data, and replaces described file data.
CN201310530397.0A 2013-10-31 2013-10-31 Application software starting method and device Active CN104598258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310530397.0A CN104598258B (en) 2013-10-31 2013-10-31 Application software starting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530397.0A CN104598258B (en) 2013-10-31 2013-10-31 Application software starting method and device

Publications (2)

Publication Number Publication Date
CN104598258A true CN104598258A (en) 2015-05-06
CN104598258B CN104598258B (en) 2020-05-26

Family

ID=53124077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530397.0A Active CN104598258B (en) 2013-10-31 2013-10-31 Application software starting method and device

Country Status (1)

Country Link
CN (1) CN104598258B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8091084B1 (en) * 2006-04-28 2012-01-03 Parallels Holdings, Ltd. Portable virtual machine
CN102567525A (en) * 2011-12-29 2012-07-11 深圳市万兴软件有限公司 Method and system for modifying files stored in electronic terminals
CN102736962A (en) * 2012-06-07 2012-10-17 深圳市万兴软件有限公司 Method and device of recovering data
CN102760063A (en) * 2011-04-25 2012-10-31 联想(北京)有限公司 File loading method and device
CN102902566A (en) * 2012-09-29 2013-01-30 广东欧珀移动通信有限公司 Method and device for installing and starting application software
CN102968366A (en) * 2012-11-30 2013-03-13 广东欧珀移动通信有限公司 Local storage method and device of logs of blu-ray player
US8429422B1 (en) * 2007-03-31 2013-04-23 Actioneer, Inc. Method and apparatus for an improved access system
US8506402B2 (en) * 2009-06-01 2013-08-13 Sony Computer Entertainment America Llc Game execution environments

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8091084B1 (en) * 2006-04-28 2012-01-03 Parallels Holdings, Ltd. Portable virtual machine
US8429422B1 (en) * 2007-03-31 2013-04-23 Actioneer, Inc. Method and apparatus for an improved access system
US8506402B2 (en) * 2009-06-01 2013-08-13 Sony Computer Entertainment America Llc Game execution environments
CN102760063A (en) * 2011-04-25 2012-10-31 联想(北京)有限公司 File loading method and device
CN102567525A (en) * 2011-12-29 2012-07-11 深圳市万兴软件有限公司 Method and system for modifying files stored in electronic terminals
CN102736962A (en) * 2012-06-07 2012-10-17 深圳市万兴软件有限公司 Method and device of recovering data
CN102902566A (en) * 2012-09-29 2013-01-30 广东欧珀移动通信有限公司 Method and device for installing and starting application software
CN102968366A (en) * 2012-11-30 2013-03-13 广东欧珀移动通信有限公司 Local storage method and device of logs of blu-ray player

Also Published As

Publication number Publication date
CN104598258B (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN102035936B (en) Implementation method of terminal task manager and terminal
CN103309709A (en) Firmware upgrading method, device and communication equipment
CN104375933A (en) Unit testing method and device
CN104461504A (en) Managing method of terminal application program
CN104704468A (en) Cross system installation of WEB applications
CN104991705A (en) Interface display method and terminal
CN103914320A (en) Display method and electronic device
CN104572348A (en) Terminal
CN104298523A (en) Component loading method and device and terminal
CN104461505A (en) Terminal
KR100923161B1 (en) Portable storage apparatus for providing working environment migration service, and method for providing working environment migration service in that
CN106484779B (en) File operation method and device
CN104598281A (en) Method for upgrading system of electronic device
CN105718136A (en) Handheld mobile terminal control method and handheld mobil terminal
CN105183603A (en) Terminal display screen effect debugging method and system
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN105279164A (en) File processing method and device based on IOS system
CN111273982A (en) Method, device, electronic equipment and medium for confirming default font of operating system
CN105511904A (en) Method and apparatus for automatically updating shortcut window
CN104156666A (en) Method and device for adding color attributes into filename extensions to distinguish file types
CN102760063A (en) File loading method and device
CN104598258A (en) Application software starting method and device
CN104572349A (en) Data backup method
CN104281452A (en) Terminal
CN110750742B (en) Page optimization method, system, medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant