CN108459861A - A kind of software installation method and system - Google Patents

A kind of software installation method and system Download PDF

Info

Publication number
CN108459861A
CN108459861A CN201810041567.1A CN201810041567A CN108459861A CN 108459861 A CN108459861 A CN 108459861A CN 201810041567 A CN201810041567 A CN 201810041567A CN 108459861 A CN108459861 A CN 108459861A
Authority
CN
China
Prior art keywords
server
picture resource
picture
application program
obtains
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
CN201810041567.1A
Other languages
Chinese (zh)
Other versions
CN108459861B (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.)
Fujian Tianyi Network Technology Co Ltd
Original Assignee
Fujian Tianyi Network Technology 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 Fujian Tianyi Network Technology Co Ltd filed Critical Fujian Tianyi Network Technology Co Ltd
Priority to CN201810041567.1A priority Critical patent/CN108459861B/en
Publication of CN108459861A publication Critical patent/CN108459861A/en
Application granted granted Critical
Publication of CN108459861B publication Critical patent/CN108459861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present invention relates to data processing field more particularly to a kind of software installation method and systems.The present invention downloads installation kit by client from first server;Client installs application program corresponding with the installation kit;Application program described in client terminal start-up, the application program download picture resource corresponding with the installation kit from second server.Realize the convenience for improving installation mobile terminal large software.

Description

A kind of software installation method and system
Technical field
The present invention relates to data processing field more particularly to a kind of software installation method and systems.
Background technology
The application program type of mobile terminal is various, and required application program is easily downloaded in order to facilitate user, has specially The application platform of door is managed classification to application program.But big multi-application platform is restricted to the installation kit size of software.
Mobile phone Massively Multiplayer Online Role Playing Games (mobile phone MMORPG) refers to the MMORPG specially played on mobile phone, this Class role playing game scene changes are abundant, need to include a large amount of picture resource, cause installation kit big, and general this kind of role plays the part of The installation kit size for drilling game is 500M-600M, and some is even more than 1G.Due to the installation kit size of this kind of role playing game Often beyond the limitation of application platform, user can not be by existing application platform easily download games, and need to go to The page download game that developer specifies, is inconvenient.
Invention content
The technical problem to be solved by the present invention is to:How the convenience of installation mobile terminal large software is improved.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
The present invention provides a kind of software installation method, including:
Client downloads installation kit from first server;
Client installs application program corresponding with the installation kit;
Application program described in client terminal start-up, the application program are downloaded corresponding with the installation kit from second server Picture resource.
The present invention also provides a kind of software installation systems, including:
First download module downloads installation kit for client from first server;
Module is installed, application program corresponding with the installation kit is installed for client;
Second download module, for application program described in client terminal start-up, the application program is downloaded from second server Picture resource corresponding with the installation kit.
The beneficial effects of the present invention are:The present invention by by picture resource with installation application program needed for other resources Separation dramatically reduces the size of installation kit so that the installation kit of mobile terminal large software can be uploaded to by developer First server (application platform) is easily downloaded for user.When client terminal start-up application program, application program is automatically from Two servers (server that i.e. developer provides) download picture resource corresponding with installation kit so that application program can be transported normally Row.For a user, software installation method provided by the invention only needs user to carry out and installation mobile terminal Small Scale Software phase Same operating procedure improves the convenience of installation mobile terminal large software.
Description of the drawings
Fig. 1 is a kind of flow diagram of the specific implementation mode of software installation method provided by the invention;
Fig. 2 is a kind of structure diagram of the specific implementation mode of software installation system provided by the invention;
Label declaration:
1, the first download module;2, module is installed;3, the second download module.
Specific implementation mode
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and coordinate attached Figure is explained.
Fig. 1 and Fig. 2 is please referred to,
As shown in Figure 1, the present invention provides a kind of software installation method, including:
Client downloads installation kit from first server;
Client installs application program corresponding with the installation kit;
Application program described in client terminal start-up, the application program are downloaded corresponding with the installation kit from second server Picture resource.
Further, the application program downloads picture resource corresponding with the installation kit from second server, specifically For:
The application program downloads picture resource compressed package corresponding with the installation kit from second server;
Client obtains installation directory corresponding with the application program;
Client decompresses the picture resource compressed package to the installation directory.
Further, further include:
Third server obtains picture resource corresponding with a projects, obtains the first picture resource set;
Third server chooses more than one picture resource from the first picture resource set, obtains second picture money Gather in source;
Second picture resource collection described in third server compresses, obtains picture resource compressed package;The picture resource pressure Relative path in contracting packet between each picture resource is identical as the relative path between corresponding picture resource in the projects;
Third server uploads the picture resource compressed package to the second server;
Third server deletes picture resource corresponding with the second picture resource collection in the projects;
Third server generates installation kit according to the projects;
Third server uploads the installation kit to the first server.
Seen from the above description, relative path between each picture resource is kept when making picture resource compressed package not Become, and picture resource compressed package solution be depressed into installation directory so that after installation application program the Actual path of picture resource with open Path when hair is identical, application program in the process of running can normal call show corresponding picture resource.
Further, third server chooses more than one picture resource from the first picture resource set, obtains Second picture resource collection, specially:
Third server obtains the picture resource that the application program is shown in start-up course, obtains information resources picture Set;
Third server chooses the figure in addition to the information resources picture set from the first picture resource set Piece resource obtains second picture resource collection.
Seen from the above description, application program is on startup just from second server download pictures resource, therefore installation kit The picture resource during application program launching need to be retained, so that application program can normally start.
Further, the application program downloads picture resource corresponding with the installation kit from second server, specifically For:
Client detects whether there is picture resource corresponding with the installation kit, obtains testing result;The detection knot Fruit includes existing and being not present;
In the absence of the testing result is, the application program is downloaded corresponding with the installation kit from second server Picture resource.
Seen from the above description, only when starting application program for the first time just from second server download pictures resource, section Save flow consumption.
As shown in Fig. 2, the present invention also provides a kind of software installation systems, including:
First download module 1 downloads installation kit for client from first server;
Module 2 is installed, application program corresponding with the installation kit is installed for client;
Second download module 3, for application program described in client terminal start-up, the application program is downloaded from second server Picture resource corresponding with the installation kit.
Further, second download module includes:
First download unit downloads picture money corresponding with the installation kit for the application program from second server Source compressed package;
First acquisition unit obtains installation directory corresponding with the application program for client;
Decompression units decompress the picture resource compressed package to the installation directory for client.
Further, further include:
Acquisition module obtains picture resource corresponding with a projects for third server, obtains the first picture money Gather in source;
Module is chosen, more than one picture resource is chosen from the first picture resource set for third server, Obtain second picture resource collection;
Compression module obtains picture resource compressed package for second picture resource collection described in third server compresses;Institute It states between the relative path picture resource corresponding with the projects in picture resource compressed package between each picture resource Relative path is identical;
First uploading module uploads the picture resource compressed package to the second server for third server;
Removing module is deleted corresponding with the second picture resource collection in the projects for third server Picture resource;
Generation module generates installation kit for third server according to the projects;
Second uploading module uploads the installation kit to the first server for third server.
Further, choosing module includes:
Second acquisition unit obtains the picture money that the application program is shown in start-up course for third server Source obtains information resources picture set;
Selection unit is chosen from the first picture resource set for third server and removes the information resources picture Picture resource except set obtains second picture resource collection.
Further, second download module includes:
Detection unit detects whether there is picture resource corresponding with the installation kit for client, obtains detection knot Fruit;The testing result includes existing and being not present;
Second download unit, for working as in the absence of the testing result is, the application program is under second server Carry picture resource corresponding with the installation kit.
The embodiment of the present invention one is:
The present embodiment provides a kind of software installation methods, including:
S1, third server obtain picture resource corresponding with a projects, obtain the first picture resource set.
Wherein, the picture resource in projects, including picture name, picture road are enumerated according to catalogue hierarchical relationship Diameter, dimension of picture and preview picture etc..
S2, third server choose more than one picture resource from the first picture resource set, obtain the second figure Piece resource collection.Specially:
S21, third server obtain the picture resource that the application program is shown in start-up course, obtain information resources Picture set.
S22, third server are chosen from the first picture resource set in addition to the information resources picture set Picture resource, obtain second picture resource collection.
Wherein it is possible to select single file, multiple files or multiple files can also be selected.Due at the beginning of application program When beginning to start, it can first show that down loading network resource packet interface, this process are also required to read some configurations and display interface, therefore The resource of relevant configuration and interface in start-up course cannot be removed from installation kit.Preferably, only it will enter the main boundary of software The picture resource that can be just shown behind face, such as personage's picture resource, map resource etc. are uploaded to second server.
Second picture resource collection described in S3, third server compresses, obtains picture resource compressed package;The picture resource The relative path phase between relative path picture resource corresponding with the projects in compressed package between each picture resource Together.
For example, projects are stored in D:Under env catalogues, wherein env is projects root, and env also includes such as Under several files:Ini, image, script, map and sound.Picture resource is stored in inside image files, picture money The path in source is D:\env\image.Again comprising several files for storing different classes of picture below image files Resource, including login, role, map and emotion.It has selected and moves all picture resources inside role and map files Except installation kit, while the new route that the storage of role and map files is arranged is D:Optimize, then selected file D:Env image role and D:The picture resource in env image map can be moved on to Xin Lu according to original hierarchical relationship Diameter, i.e. D:Optimize image role and D:Optimize image map, original D:Env image role and D:Env image map be just not present.To D:Optimize this file carry out compression packing, generate compressed file optimize.zip。
S4, third server upload the picture resource compressed package to the second server.
For example, compressed file optimize.zip is uploaded to test servers, network address http can be passed through:// Www.test.com/res/optimize.zip gets the compressed file.
S5, third server delete picture resource corresponding with the second picture resource collection in the projects; Third server generates installation kit according to the projects;Third server uploads the installation kit to the first service Device.
S6, client download installation kit from first server;Client installs application program corresponding with the installation kit.
Application program described in S7, client terminal start-up;Client detects whether that there is picture corresponding with the installation kit provides Source obtains testing result;The testing result includes existing and being not present.
Wherein, it checks with the presence or absence of the mark of download pictures resource compressed package under installation directory, if the not mark Will then illustrates that resource packet is not downloaded also, executes down operation.
S8, in the absence of the testing result is, the application program from second server download with the installation kit Corresponding picture resource.Specially:
S81, the application program download picture resource compressed package corresponding with the installation kit from second server.
For example, being arranged in the configuration file config.ini of application program:
[download]
Url=http://www.test.com/res/optimize.zip
Application program is automatically according to the paths Url download pictures resource compressed package.
S82, client obtain installation directory corresponding with the application program.
S83, client decompress the picture resource compressed package to the installation directory.
Seen from the above description, software installation method provided in this embodiment by by picture resource with installation application program Required other resource separations, can reduce the size of installation kit.For example, a projects are according to conventional installation kit generating mode The installation kit size of generation is 500M, after the method provided through this embodiment detaches the picture resource of 100M with installation kit, Final installation kit size is 400M.By the size for reducing installation kit so that the large software of mobile terminal can be uploaded to and answer Use is easily downloaded for user with platform, is improved user and is downloaded the convenience for using large software.
The embodiment of the present invention two is:
The present embodiment provides a kind of software installation systems, including:
Acquisition module obtains picture resource corresponding with a projects for third server, obtains the first picture money Gather in source.
Module is chosen, more than one picture resource is chosen from the first picture resource set for third server, Obtain second picture resource collection;
Wherein, the selection module includes:
Second acquisition unit obtains the picture money that the application program is shown in start-up course for third server Source obtains information resources picture set;
Selection unit is chosen from the first picture resource set for third server and removes the information resources picture Picture resource except set obtains second picture resource collection.
Compression module obtains picture resource compressed package for second picture resource collection described in third server compresses;Institute It states between the relative path picture resource corresponding with the projects in picture resource compressed package between each picture resource Relative path is identical.
First uploading module uploads the picture resource compressed package to the second server for third server.
Removing module is deleted corresponding with the second picture resource collection in the projects for third server Picture resource.
Generation module generates installation kit for third server according to the projects.
Second uploading module uploads the installation kit to the first server for third server.
First download module downloads installation kit for client from first server.
Module is installed, application program corresponding with the installation kit is installed for client.
Second download module, for application program described in client terminal start-up, the application program is downloaded from second server Picture resource corresponding with the installation kit;
Wherein, second download module includes:
Detection unit detects whether there is picture resource corresponding with the installation kit for client, obtains detection knot Fruit;The testing result includes existing and being not present;
Second download unit passes through first download unit and triggers institute for working as in the absence of the testing result is It states application program and downloads picture resource corresponding with the installation kit from second server;
First acquisition unit obtains installation directory corresponding with the application program for client;
Decompression units decompress the picture resource compressed package to the installation directory for client.
In conclusion a kind of software installation method provided by the invention and system, by the way that picture resource and installation are applied Other resource separations needed for program dramatically reduce the size of installation kit so that developer can be by mobile terminal large size The installation kit of software is uploaded to first server (application platform) and is easily downloaded for user.When client terminal start-up application program When, application program downloads picture resource corresponding with installation kit from second server (server that i.e. developer provides) automatically, So that application program can normal operation.For a user, software installation method provided by the invention only needs user to carry out and pacify The identical operating procedure of mobile terminal Small Scale Software is filled, the convenience of installation mobile terminal large software is improved.Further, It keeps the relative path between each picture resource constant when making picture resource compressed package, and picture resource compressed package is decompressed To installation directory so that the Actual path of picture resource is identical as path when exploitation after installation application program, and application program exists In operational process can normal call show corresponding picture resource.Further, application program is on startup just from second service Device download pictures resource, therefore installation kit need to retain the picture resource during application program launching, so that application program can be just Often start.Further, it only when starting application program for the first time just from second server download pictures resource, saves flow and disappears Consumption.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, include similarly In the scope of patent protection of the present invention.

Claims (10)

1. a kind of software installation method, which is characterized in that including:
Client downloads installation kit from first server;
Client installs application program corresponding with the installation kit;
Application program described in client terminal start-up, the application program download picture corresponding with the installation kit from second server Resource.
2. software installation method according to claim 1, which is characterized in that the application program is downloaded from second server Picture resource corresponding with the installation kit, specially:
The application program downloads picture resource compressed package corresponding with the installation kit from second server;
Client obtains installation directory corresponding with the application program;
Client decompresses the picture resource compressed package to the installation directory.
3. software installation method according to claim 1, which is characterized in that further include:
Third server obtains picture resource corresponding with a projects, obtains the first picture resource set;
Third server chooses more than one picture resource from the first picture resource set, obtains second picture resource set It closes;
Second picture resource collection described in third server compresses, obtains picture resource compressed package;The picture resource compressed package In relative path between each picture resource it is identical as the relative path between corresponding picture resource in the projects;
Third server uploads the picture resource compressed package to the second server;
Third server deletes picture resource corresponding with the second picture resource collection in the projects;
Third server generates installation kit according to the projects;
Third server uploads the installation kit to the first server.
4. software installation method according to claim 3, which is characterized in that third server is from first picture resource More than one picture resource is chosen in set, obtains second picture resource collection, specially:
Third server obtains the picture resource that the application program is shown in start-up course, obtains information resources pictures It closes;
Third server chooses the money of the picture in addition to the information resources picture set from the first picture resource set Source obtains second picture resource collection.
5. software installation method according to claim 1, which is characterized in that the application program is downloaded from second server Picture resource corresponding with the installation kit, specially:
Client detects whether there is picture resource corresponding with the installation kit, obtains testing result;The testing result packet It includes presence and is not present;
In the absence of the testing result is, the application program downloads figure corresponding with the installation kit from second server Piece resource.
6. a kind of software installation system, which is characterized in that including:
First download module downloads installation kit for client from first server;
Module is installed, application program corresponding with the installation kit is installed for client;
Second download module, for application program described in client terminal start-up, the application program is downloaded from second server and institute State the corresponding picture resource of installation kit.
7. software installation system according to claim 6, which is characterized in that second download module includes:
First download unit downloads picture resource pressure corresponding with the installation kit for the application program from second server Contracting packet;
First acquisition unit obtains installation directory corresponding with the application program for client;
Decompression units decompress the picture resource compressed package to the installation directory for client.
8. software installation system according to claim 6, which is characterized in that further include:
Acquisition module obtains picture resource corresponding with a projects for third server, obtains the first picture resource collection It closes;
Module is chosen, more than one picture resource is chosen from the first picture resource set for third server, obtains Second picture resource collection;
Compression module obtains picture resource compressed package for second picture resource collection described in third server compresses;The figure It is opposite between relative path picture resource corresponding with the projects in piece resource compressed package between each picture resource Path is identical;
First uploading module uploads the picture resource compressed package to the second server for third server;
Removing module deletes picture corresponding with the second picture resource collection in the projects for third server Resource;
Generation module generates installation kit for third server according to the projects;
Second uploading module uploads the installation kit to the first server for third server.
9. software installation system according to claim 8, which is characterized in that choosing module includes:
Second acquisition unit obtains the picture resource that the application program is shown in start-up course for third server, obtains To information resources picture set;
Selection unit is chosen from the first picture resource set for third server and removes the information resources picture set Except picture resource, obtain second picture resource collection.
10. software installation system according to claim 6, which is characterized in that second download module includes:
Detection unit detects whether there is picture resource corresponding with the installation kit for client, obtains testing result;Institute It includes existing and being not present to state testing result;
Second download unit, for working as in the absence of the testing result is, the application program from second server download with The corresponding picture resource of the installation kit.
CN201810041567.1A 2018-01-16 2018-01-16 Software installation method and system Active CN108459861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810041567.1A CN108459861B (en) 2018-01-16 2018-01-16 Software installation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810041567.1A CN108459861B (en) 2018-01-16 2018-01-16 Software installation method and system

Publications (2)

Publication Number Publication Date
CN108459861A true CN108459861A (en) 2018-08-28
CN108459861B CN108459861B (en) 2022-02-11

Family

ID=63220274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810041567.1A Active CN108459861B (en) 2018-01-16 2018-01-16 Software installation method and system

Country Status (1)

Country Link
CN (1) CN108459861B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866539A (en) * 2022-07-06 2022-08-05 飞狐信息技术(天津)有限公司 File uploading method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007274B1 (en) * 1999-12-27 2006-02-28 Ge Medical Systems Global Technology Company, Llc Web-based apparatus and method for enhancing and monitoring picture archiving and communication systems
CN102137390A (en) * 2010-12-13 2011-07-27 华为软件技术有限公司 Method, equipment and system for downloading mobile phone software
CN106648770A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Generating method, loading method and device for application program installation package

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007274B1 (en) * 1999-12-27 2006-02-28 Ge Medical Systems Global Technology Company, Llc Web-based apparatus and method for enhancing and monitoring picture archiving and communication systems
CN102137390A (en) * 2010-12-13 2011-07-27 华为软件技术有限公司 Method, equipment and system for downloading mobile phone software
CN106648770A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Generating method, loading method and device for application program installation package

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866539A (en) * 2022-07-06 2022-08-05 飞狐信息技术(天津)有限公司 File uploading method and system

Also Published As

Publication number Publication date
CN108459861B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
JP7423134B2 (en) Interactive scene activation method, device, computer program, client side and server
US8605613B2 (en) Mobile hardware and network environment simulation
CN111683000B (en) Communication device, memory and method for operating an instant messaging service
CN110019081A (en) Data persistence processing method, device, system and readable storage medium storing program for executing
US10860303B2 (en) Selective operating system patching/updating
US10929460B2 (en) Method and apparatus for storing resource and electronic device
CN107454384A (en) A kind of live performance test methods and device
CN111722885B (en) Program running method and device and electronic equipment
CN111049870B (en) Application downloading and sending method, device and system
CN110362338B (en) Game resource packaging and resource quick access method under mobile platform
CN112114849B (en) Resource updating method and device
CN108182129A (en) A kind of digital evidence obtaining system and method based on mobile terminal mirror image restoring data information
CN109660859A (en) A kind of animated show method and mobile terminal
Brossier Developing Android Applications with Adobe AIR
CN110507992A (en) Technical support approach, device, equipment and storage medium in a kind of virtual scene
CN106371706A (en) Method and device for site selection of application shortcuts
CN108062336A (en) Media information processing method and device
CN108459861A (en) A kind of software installation method and system
CN111031117B (en) Multimedia file downloading method and related device
CN108156524A (en) Control method for playing back, device and the computer readable storage medium of multimedia resource
CN109213534A (en) A kind of method and device of extension live streaming software function
CN106844763A (en) A kind of method represented to the Internet media file formula of modifying and its device
CN108874495B (en) Theme resource conversion method and device and electronic equipment
CN100462995C (en) Checking of image document and method for using same
CN108008984A (en) A kind of resource file downloading updating method and device

Legal Events

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