CN103176811B - Third-party application installation method and system - Google Patents

Third-party application installation method and system Download PDF

Info

Publication number
CN103176811B
CN103176811B CN201110442224.4A CN201110442224A CN103176811B CN 103176811 B CN103176811 B CN 103176811B CN 201110442224 A CN201110442224 A CN 201110442224A CN 103176811 B CN103176811 B CN 103176811B
Authority
CN
China
Prior art keywords
party application
resource file
installation
configuration information
mark
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
CN201110442224.4A
Other languages
Chinese (zh)
Other versions
CN103176811A (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 CN201110442224.4A priority Critical patent/CN103176811B/en
Publication of CN103176811A publication Critical patent/CN103176811A/en
Application granted granted Critical
Publication of CN103176811B publication Critical patent/CN103176811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of third-party application installation method, including: obtain the request of user installation third-party application;Initiate the configuration file request of described third-party application to application library, obtain the configuration information of described third-party application;Judge the local resource file that whether there is described third-party application according to described configuration information, the most then according to local resource file, described third-party application is installed.Above-mentioned third-party application installation method, by obtaining the configuration information of the third-party application of user's designated mounting from application library, the local resource file that whether there is described third-party application is judged according to configuration information, if, then according to local resource file, described third-party application is installed, unnecessary download can be avoided, save the time of user, additionally mounted process participates in also without user, thus improves the operation ease of user.Additionally, also provide for a kind of third-party application installation system.

Description

Third-party application installation method and system
[technical field]
The present invention relates to networking technology area, in particular to a kind of third-party application installation method and system.
[background technology]
Along with the development of network technology, the application of open platform is more and more extensive.Open platform refers to that software system can add various application program by open platform by disclosing its application programming interface or function for third party, third party.
Traditional method installing third-party application is: user needs manual request to download third-party application program, asks to search the download address of the resource file of application program according to user, is then downloaded, then is determined whether locally-installed by user.But the method for this installation third-party application, usually may just realize after having downloaded resource file that resource file is unavailable or application program mounted with this locality conflicts mutually during set up applications, waste user time and network traffics, cause inconvenience to the user.
[summary of the invention]
Based on this, it is necessary to provide a kind of third-party application installation method improving user operation convenience.
A kind of third-party application installation method, including:
Obtain the request of user installation third-party application;
Initiate the configuration file request of described third-party application to application library, obtain the configuration information of described third-party application;
Judge the local resource file that whether there is described third-party application according to described configuration information, the most then according to local resource file, described third-party application is installed.
Preferably, before the described step judging the local resource file that whether there is described third-party application according to described configuration information, also include:
Obtain installation environment information and the home environment information of third-party application;
Judge whether described home environment information mates the installation environment information of described third-party application, the most then enter the step judging the local resource file that whether there is described third-party application according to described configuration information, otherwise terminate.
Preferably, described configuration information includes the mark of resource file of third-party application;
Described judge the local resource file that whether there is described third-party application according to described configuration information, the most then installing the step of described third-party application according to local resource file is:
Judge whether the resource file path of this locality exists the resource file that mark is identical with the mark of the resource file of described third-party application, if, then obtain the resource file that mark is identical with the mark of the resource file of described third-party application, according to this resource file, third-party application is installed.
Preferably, the informative abstract value being designated resource file of the resource file of described third-party application.
Preferably, described method also includes:
When this locality does not exist the resource file of described third-party application, then download described resource file according to described configuration information, and according to the resource file after downloading, third-party application is installed.
Based on this, there is a need to provide a kind of third-party application installation system improving user operation convenience.
A kind of third-party application installation system, including:
Mount request module, for obtaining the request of user installation third-party application;
Configuration information acquisition module, for initiating the configuration file request of described third-party application to application library, obtains the configuration information of described third-party application;
Judge module, for judging the local resource file that whether there is described third-party application according to described configuration information;
Module is installed, for when this locality exists the resource file of described third-party application, then according to local resource file, described third-party application is installed.
Preferably, also include environment information acquisition module, for obtaining installation environment information and the home environment information of third-party application;
Described judge module, for judging whether described home environment information mates the installation environment information of described third-party application, judges the local resource file that whether there is described third-party application according to described configuration information the most further, otherwise terminates.
Preferably, described configuration information includes the mark of resource file of third-party application;
Described judge module is additionally operable to judge whether to exist in local resource file path the resource file that mark is identical with the mark of the resource file of described third-party application;
Described installation module is additionally operable to when the resource file that existence mark in local resource file path is identical with the mark of the resource file of described third-party application, obtain the resource file that mark is identical with the mark of the resource file of described third-party application, according to this resource file, third-party application is installed.
Preferably, the informative abstract value being designated resource file of the resource file of described third-party application.
Preferably, described system also includes download module, for when this locality does not exist the resource file of described third-party application, then downloads described resource file according to described configuration information;
Described installation module is additionally operable to install third-party application according to the resource file after downloading.
Above-mentioned third-party application installation method and system, by obtaining the configuration information of the third-party application of user's designated mounting from application library, the local resource file that whether there is described third-party application is judged according to configuration information, if, then according to local resource file, described third-party application is installed, unnecessary download can be avoided, save the time of user, additionally mounted process participates in also without user, thus improves the operation ease of user.
[accompanying drawing explanation]
Fig. 1 is the schematic flow sheet of the third-party application installation method in an embodiment;
Fig. 2 is the schematic flow sheet of the third-party application installation method in another embodiment;
Fig. 3 is the structural representation of the third-party application installation system in an embodiment;
Fig. 4 is the structural representation of the third-party application installation system in another embodiment;
Fig. 5 is the structural representation of the third-party application installation system in another embodiment.
[detailed description of the invention]
As it is shown in figure 1, in one embodiment, a kind of third-party application installation method, including:
Step S101, obtains the request of user installation third-party application.
In one embodiment, the interface showing third-party application can be provided a user with, the third-party application that user need to be able to be installed by the selection of this interface, then can obtain the request of user installation third-party application.
Step S102, initiates the configuration file request of third-party application to application library, obtains the configuration information of third-party application.
Comprising the application program of a lot of third-party application in application library (alternatively referred to as application shop or application market), third-party developer can be by relevant agreement by the application issued of exploitation to application library, for user installation.
Concrete, after getting the request of user installation third-party application, can initiate to obtain the request of the configuration file of the third-party application of user's designated mounting to application library, from the configuration file that application library returns, parse the configuration information of third-party application.This configuration information can include whether the title of third-party application, description information, applicating category, installation environment information and application library exist the information such as the download path of the resource file of this application, the mark of resource file and resource file.Preferably, configuration file can be json file or XML file.
Step S103, judges the local resource file that whether there is this third-party application according to the configuration information of third-party application, the most then installs this third-party application according to local resource file.
In one embodiment, the configuration information of third-party application includes the mark of resource file of third-party application.Preferably, the informative abstract value being designated resource file of the resource file of third-party application, such as, the SHA hash value of resource file or MD5 hashed value etc. can uniquely identify symbol sebolic addressing or the sequence of values of resource file.
In the present embodiment, the detailed process of step S103 is: judge whether to exist in the resource file path of this locality the resource file that mark is identical with the mark of the resource file of third-party application, if, then obtain the resource file that mark is identical with the mark of the resource file of third-party application, according to this resource file, third-party application is installed.
In one embodiment, the attribute information file of resource file can be searched in the store path of local resource file or installation path, and dependence message file parses the mark of this resource file.In another embodiment, if the informative abstract value of the resource file being designated third-party application comprised from the configuration information of the third-party application of application library acquisition, then the informative abstract value of local resource file can be calculated by informative abstract value mapping function.It should be noted that the informative abstract value of the local resource file of calculating wants the informative abstract value of the software resource of the third-party application corresponding to acquisition, e.g., be all SHA hash value or be all MD5 value etc..
Further, judge the mark of local resource file and the resource file of third-party application identify whether identical, if identical, then illustrate that the resource file of this this locality is identical with the resource file of third-party application, then can use the resource file of this this locality that third-party application is installed.
Above-mentioned third-party application installation method, by obtaining the configuration information of the third-party application of user's designated mounting from application library, the local resource file that whether there is third-party application is judged according to configuration information, if, then according to local resource file, third-party application is installed, unnecessary download can be avoided, save the time of user, additionally mounted process participates in also without user, thus improves the operation ease of user.
In one embodiment, above-mentioned third-party application installation method further comprises the steps of: when this locality does not exist the resource file of third-party application, then the configuration information according to third-party application downloads the resource file of third-party application, and installs third-party application according to the resource file after downloading.
Concrete, the download address of resource file can be got according to the configuration information of third-party application, download the resource file of third-party application according to this download address from application library.
Preferably, when third-party application installation, the successful information of installation can be prompted the user with, it is ensured that user knows installation results.In the present embodiment, when there is not the resource file of third-party application in this locality, the resource file of third-party application is then downloaded from application library, use this resource file that third-party application is installed further, both can avoid unnecessary download, can ensure that again the mount request of user, and need not user and participate in installation process, reach the effect of one button installation, improve the operation ease of user.
As in figure 2 it is shown, in another embodiment, a kind of third-party application installation method, including:
Step S201, obtains the request of user installation third-party application.
Step S202, initiates the configuration file request of third-party application to application library, obtains the configuration information of third-party application.
Step S203, obtains installation environment information and the home environment information of third-party application.
Preferably, the installation environment information of third-party application can be parsed from the configuration file of the third-party application that application library returns.In one embodiment, installation environment information includes software environment information and hardware environment information, such as operation system information, CPU information, video card information etc..
Step S204, it is judged that whether home environment information mates the installation environment information of third-party application, the most then enter step S205, otherwise terminate.
Concrete, it is judged that local software environment information and hardware environment information whether with the installation environment information matches of third-party application, if not mating, then can directly terminate, and show relevant information to user, if coupling, further perform step S205.
Step S205, judges the local resource file that whether there is third-party application according to the configuration information of third-party application, the most then enter step S206, otherwise enter step S207.
Step S206, installs third-party application according to local resource file.
Step S207, downloads the resource file of third-party application, and installs third-party application according to the resource file after downloading according to the configuration information of third-party application.
In the present embodiment, after judging the installation environment information matches of home environment information and third-party application, carry out follow-up Matching installation operation again, can avoid installing when home environment information is not mated third-party application with third-party application installation environment information, if it is final or can cause installing unsuccessful to install third-party application in this case, thus this mode has saved the time of user, improves the operation ease of user.
As it is shown on figure 3, in one embodiment, a kind of third-party application installation system, including mount request module 301, configuration information acquisition module 302, judge module 303, module 304 is installed, wherein:
Mount request module 301 is for obtaining the request of user installation third-party application.
In one embodiment, mount request module 301 can provide a user with the interface showing third-party application, and the third-party application that user need to be able to be installed by the selection of this interface, then mount request module 301 can obtain the request of user installation third-party application.
Configuration information acquisition module 302, for initiating the configuration file request of third-party application to application library, obtains the configuration information of third-party application.
Comprising the application program of a lot of third-party application in application library (alternatively referred to as application shop or application market), third-party developer can be by relevant agreement by the application issued of exploitation to application library, for user installation.
Concrete, after getting the request of user installation third-party application, configuration information acquisition module 302 can initiate to obtain the request of the configuration file of the third-party application of user's designated mounting to application library, parses the configuration information of third-party application from the configuration file that application library returns.This configuration information can include whether the title of third-party application, description information, applicating category, installation environment information and application library exist the information such as the download path of the resource file of this application, the mark of resource file and resource file.Preferably, configuration file can be json file or XML file.
Judge module 303 is for judging the local resource file that whether there is this third-party application according to the configuration information of third-party application.
Module 304 is installed be used for when this locality exists the resource file of third-party application, then according to local resource file, this third-party application is installed.
In one embodiment, the configuration information of third-party application includes the mark of resource file of third-party application.Preferably, the informative abstract value being designated resource file of the resource file of third-party application, such as, the SHA hash value of resource file or MD5 hashed value etc. can uniquely identify symbol sebolic addressing or the sequence of values of resource file.
Concrete, in the present embodiment, judge module 303 can determine whether whether to exist in local resource file path the resource file that mark is identical with the mark of the resource file of third-party application, if, module 304 is then installed and obtains the resource file that mark is identical with the mark of the resource file of third-party application, according to this resource file, third-party application is installed.
In one embodiment, it is judged that module 303 can search the attribute information file of resource file in the store path of local resource file or installation path, and parses the mark of this resource file in dependence message file.In another embodiment, if the informative abstract value of the resource file being designated third-party application comprised from the configuration information of the third-party application of application library acquisition, then judge module 303 can calculate the informative abstract value of local resource file by informative abstract value mapping function.It should be noted that the informative abstract value of the local resource file of calculating wants the informative abstract value of the software resource of the third-party application corresponding to acquisition, e.g., be all SHA hash value or be all MD5 value etc..
Further, judge module 303 can be used for the mark judging local resource file and the resource file of third-party application identify whether identical, if it is identical, then illustrate that the resource file of this this locality is identical with the resource file of third-party application, then module 304 is installed and can use the resource file of this this locality that third-party application is installed.
Above-mentioned third-party application installation system, by obtaining the configuration information of the third-party application of user's designated mounting from application library, the local resource file that whether there is third-party application is judged according to configuration information, if, then according to local resource file, third-party application is installed, unnecessary download can be avoided, save the time of user, additionally mounted process participates in also without user, thus improves the operation ease of user.
As shown in Figure 4, in one embodiment, said system may also include download module 305, and download module 305 is not for when this locality exists the resource file of third-party application, then the configuration information according to third-party application downloads the resource file of third-party application.Concrete, download module 305 can get the download address of resource file according to the configuration information of third-party application, downloads the resource file of third-party application from application library according to this download address.In the present embodiment, module 304 is installed and is additionally operable to, according to the resource file after downloading, third-party application is installed.
Preferably, when third-party application installation, installation module 304 can be additionally used in and prompts the user with the successful information of installation, it is ensured that user knows installation results.
In the present embodiment, when there is not the resource file of third-party application in this locality, the resource file of third-party application is then downloaded from application library, use this resource file that third-party application is installed further, both can avoid unnecessary download, can ensure that again the mount request of user, and need not user and participate in installation process, reach the effect of one button installation, improve the operation ease of user.
As it is shown in figure 5, in one embodiment, above-mentioned third-party application installation system also includes environment information acquisition module 306, for obtaining installation environment information and the home environment information of third-party application.
Preferably, environment information acquisition module 306 can parse the installation environment information of third-party application from the configuration file of the third-party application that application returns.In one embodiment, installation environment information includes software environment information and hardware environment information, such as operation system information, CPU information, video card information etc..
In the present embodiment, judge module 303 is additionally operable to judge the installation environment the information whether environmental information of this locality mates third-party application, judge the local resource file that whether there is third-party application according to the configuration information of third-party application the most further, otherwise terminate.
Concrete, judge module 303 for judge local software environmental information and hardware environment information whether with the installation environment information matches of third-party application, if coupling, the local resource file that whether there is third-party application is judged the most further according to the configuration information of third-party application, if not mating, then can directly terminate, and show relevant information to user.
In the present embodiment, after judging the installation environment information matches of home environment information and third-party application, carry out follow-up Matching installation operation again, can avoid installing when home environment information is not mated third-party application with third-party application installation environment information, if it is final or can cause installing unsuccessful to install third-party application in this case, thus this mode has saved the time of user, improves the operation ease of user.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (8)

1. a third-party application installation method, including:
Obtain the request of user installation third-party application;
Initiate the configuration file request of described third-party application to application library, obtain the configuration information of described third-party application;
Obtain installation environment information and the home environment information of third-party application;
Judge whether described home environment information mates the installation environment information of described third-party application, the most then enter the step judging the local resource file that whether there is described third-party application according to described configuration information, otherwise terminate;
Described judge the local resource file that whether there is described third-party application according to described configuration information step be: judge whether this locality exists the resource file of described third-party application according to described configuration information, the most then according to local resource file, described third-party application is installed.
Third-party application installation method the most according to claim 1, it is characterised in that described configuration information includes the mark of the resource file of third-party application;
Described judge the local resource file that whether there is described third-party application according to described configuration information, the most then installing the step of described third-party application according to local resource file is:
Judge whether the resource file path of this locality exists the resource file that mark is identical with the mark of the resource file of described third-party application, if, then obtain the resource file that mark is identical with the mark of the resource file of described third-party application, according to this resource file, third-party application is installed.
Third-party application installation method the most according to claim 2, it is characterised in that the informative abstract value being designated resource file of the resource file of described third-party application.
Third-party application installation method the most according to claim 1, it is characterised in that described method also includes:
When this locality does not exist the resource file of described third-party application, then download described resource file according to described configuration information, and according to the resource file after downloading, third-party application is installed.
5. a third-party application installation system, it is characterised in that including:
Mount request module, for obtaining the request of user installation third-party application;
Configuration information acquisition module, for initiating the configuration file request of described third-party application to application library, obtains the configuration information of described third-party application;
Environment information acquisition module, for obtaining installation environment information and the home environment information of third-party application;
Judge module, for judging whether described home environment information mates the installation environment information of described third-party application, judges the local resource file that whether there is described third-party application according to described configuration information the most further, otherwise terminates;
Module is installed, for when this locality exists the resource file of described third-party application, then according to local resource file, described third-party application is installed.
Third-party application installation system the most according to claim 5, it is characterised in that described configuration information includes the mark of the resource file of third-party application;
Described judge module is additionally operable to judge whether to exist in local resource file path the resource file that mark is identical with the mark of the resource file of described third-party application;
Described installation module is additionally operable to when the resource file that existence mark in local resource file path is identical with the mark of the resource file of described third-party application, obtain the resource file that mark is identical with the mark of the resource file of described third-party application, according to this resource file, third-party application is installed.
Third-party application installation system the most according to claim 6, it is characterised in that the informative abstract value being designated resource file of the resource file of described third-party application.
Third-party application installation system the most according to claim 5, it is characterised in that described system also includes:
Download module, for when this locality does not exist the resource file of described third-party application, then downloads described resource file according to described configuration information;
Described installation module is additionally operable to install third-party application according to the resource file after downloading.
CN201110442224.4A 2011-12-26 2011-12-26 Third-party application installation method and system Active CN103176811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110442224.4A CN103176811B (en) 2011-12-26 2011-12-26 Third-party application installation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110442224.4A CN103176811B (en) 2011-12-26 2011-12-26 Third-party application installation method and system

Publications (2)

Publication Number Publication Date
CN103176811A CN103176811A (en) 2013-06-26
CN103176811B true CN103176811B (en) 2016-08-03

Family

ID=48636716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110442224.4A Active CN103176811B (en) 2011-12-26 2011-12-26 Third-party application installation method and system

Country Status (1)

Country Link
CN (1) CN103176811B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530154A (en) * 2013-10-12 2014-01-22 北京神州绿盟信息安全科技股份有限公司 Method and equipment for product upgrading
CN105204882A (en) * 2014-06-26 2015-12-30 中兴通讯股份有限公司 Application running method and terminal
CN104219323A (en) * 2014-09-18 2014-12-17 深圳市中兴移动通信有限公司 Application downloading method and mobile terminal
CN105912357B (en) * 2016-03-31 2021-08-06 北京奇艺世纪科技有限公司 Starting method and device of hybrid application
CN106095518B (en) * 2016-06-28 2019-05-14 东软集团股份有限公司 Application program installation method and device
CN106201796A (en) * 2016-07-04 2016-12-07 珠海市魅族科技有限公司 The collocation method of a kind of test and device
CN108733391A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and apparatus of dynamic resource allocation
CN107508895A (en) * 2017-08-30 2017-12-22 武汉斗鱼网络科技有限公司 page loading method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459500C (en) * 2006-01-18 2009-02-04 腾讯科技(深圳)有限公司 Method for loading functional extension file of customer end soft ware
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
US8745153B2 (en) * 2009-02-09 2014-06-03 Apple Inc. Intelligent download of application programs
CN102063299A (en) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 Method and device for assessing application running condition of mobile terminal, mobile terminal

Also Published As

Publication number Publication date
CN103176811A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN103176811B (en) Third-party application installation method and system
CN110474896B (en) Data communication method based on Modbus protocol standard and related equipment
KR101923113B1 (en) Method, service server, mobile phone and computer readable recording medium for invitation information processing
CN110869907B (en) Method and terminal for browsing application page
CN103164247B (en) The method and device that system application is repaired automatically
WO2015180601A1 (en) Method and device for starting operation of webapp and generating mirror image file
CN102063299A (en) Method and device for assessing application running condition of mobile terminal, mobile terminal
WO2018054228A1 (en) Method of identifying type of terminal apparatus, and router
CN107957837B (en) Method and device for generating shortcut of webpage application program and terminal equipment
CN108776592B (en) Page construction method, device, equipment and storage medium
CN110865824A (en) Android permeation method and device for realizing silence installation based on barrier-free service
WO2016041499A1 (en) Application downloading method and mobile terminal
CN105653298A (en) Application program update method and terminal
CN103377052A (en) Method and system for automatically downloading adaptive application programs on basis of file synchronization service
CN112968793A (en) Equipment upgrading method, device, equipment and storage medium based on Internet of things
CN105824523A (en) Method for downloading application software and mobile terminal
CN111917842A (en) OTA (over the air) upgrading method and system for automobile instrument and automobile instrument system
WO2017201936A1 (en) Method and apparatus for replacing icon of application installation package, and electronic device
CN104572661A (en) Terminal equipment and information processing method
CN105991727A (en) Content pushing method and apparatus
CN110688136A (en) Application program updating method and device
CN108121545B (en) Application program uninstalling feedback method and device
CN105824656A (en) Method, mobile terminal and server for detecting installation status of application
CN104166554A (en) Software developing method and installation method supporting multiple operation systems
CN103902312B (en) The sending method and device of a kind of application program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant