CN104809011B - A kind of management method of application program - Google Patents

A kind of management method of application program Download PDF

Info

Publication number
CN104809011B
CN104809011B CN201510172597.2A CN201510172597A CN104809011B CN 104809011 B CN104809011 B CN 104809011B CN 201510172597 A CN201510172597 A CN 201510172597A CN 104809011 B CN104809011 B CN 104809011B
Authority
CN
China
Prior art keywords
application program
application
file
version
managed
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
CN201510172597.2A
Other languages
Chinese (zh)
Other versions
CN104809011A (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.)
Zhengzhou Xinrand Network Technology Co ltd
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201510172597.2A priority Critical patent/CN104809011B/en
Publication of CN104809011A publication Critical patent/CN104809011A/en
Application granted granted Critical
Publication of CN104809011B publication Critical patent/CN104809011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of management method of application program, this method includes:The page using shop is loaded into by browser component;When browser component receives the download request of application program, to the download request of application shop sending application program, with the download path of application program;According to the download path of application program, application file is downloaded;Application program is managed.The present invention realizes the operation such as peace loading, unloading of the application program in embedded device, renewal, startup, termination, greatly improves user experience.

Description

A kind of management method of application program
Technical field
The present invention relates to Web application fields, more particularly to a kind of management method of application program.
Background technology
With the development of HTML5, the function and performance of Web are greatly improved.Web is capable of providing more various Function selection, including be locally stored, the function such as multimedia, meanwhile, the performance of Web is higher and higher, and the experience of user is increasingly Smoothness, the flow degree of many Web application and locally applied equally matched.What is more important, Web, which is applied, has cross-platform spy Property, it is possible to achieve primary development, runs everywhere, while is applied compared to native, and the exploitation threshold of Web applications is low.Web is applied Deployment and renewal it is also more convenient compared to native applications.Based on above advantage, the support to Web applications is each flat The development trend of platform.
The current situation of Web applications at present is all to provide the Web service abilities of application in PC ends, major browser, can To meet many demands of user, but on embedded device, for example mobile phone, tablet computer, set-top box etc., Web is applied Degree of support it is perfect not enough.
In current mobile phone, tablet computer, set-top box, mostly using android system, provided in android system WebView components, the component are the browser component of lightweight, can be used for parsing rendering the page, but be not enough to support Web The use of application.
The content of the invention
The purpose of the present invention is to solve deficiencies of the prior art, there is provided and it is a kind of by browser component, Incrementally, the support to Web applications is completed with less cost, is adapted to store in embedded device, system resource is limited Situation, realizes the method that can support Web applications in mobile terminal.
To achieve the above object, the present invention provides a kind of management method of application program, this method to include:
The page using shop is loaded into by browser component;
When the browser component receives the download request of application program, the application is sent to the application shop The download request of program, to obtain the download path of the application program;
According to the download path of the application program, the application file is downloaded;
The application program is managed.
Preferably, the download path according to the application program, the step of downloading the application file, include:
The signature of the application program is verified;
When the authentication succeeds, the installation kit of the application program is downloaded, and by decompressing the installation kit, obtains described answer Use program file.
Alternatively, described the step of being managed to the application program, includes:The application program step, the step are installed It is rapid to be specially:
The configuration file of the application program is parsed, obtains the application information;
The application information is registered.
Alternatively, described the step of being managed to the application program, includes:Unload the application program step, the step It is rapid to be specially:
Judge whether the application program is installed, if the application program has been installed, determine whether described to apply journey Whether sequence is currently running, if the application program is currently running, stops the application program;
Delete the application file;
Delete the log-on message of the application program.
Alternatively, described the step of being managed to the application program, includes:Update the application program step, the step It is rapid to be specially:
From the version information that the application program is obtained using shop;
By by the version information of local application and the application program the version information using shop into Row compares, and determines whether the application program has renewable version;
If the application program has the version of renewal, the application program of new version is downloaded, is installed;
Installation is complete, updates the log-on message of the application program.
Preferably, described the step of being managed to the application program, includes:Manage the application program startup, temporarily Stop, recover or terminate operation.
Preferably, the application program includes the metamessage of application, and the metamessage is the ID of application, icon, title, version This number, renewal time, using brief introduction and installation kit path.
Preferably, the installation kit of the application program, includes the data and resource of application.
Preferably, the browser component includes:WebView components.
Preferably, the application program includes:Web application, the web application are developed using HTML5.
Browser component WebView of the invention according to lightweight, with incrementally, with the completion of less cost to Web Situations such as support of application, is adapted to store in embedded device, and system resource is limited.Application program is realized in embedded device In peace loading, unloading, renewal, startup, the operation such as termination, greatly improve user experience.
Brief description of the drawings
Fig. 1 is a kind of management method flow chart of application program provided in an embodiment of the present invention;
Fig. 2 is the management method flow chart of another application program provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram for installing application program provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram for unloading application program provided in an embodiment of the present invention;
Fig. 5 is a kind of method flow diagram of more new application provided in an embodiment of the present invention;
Embodiment
To make what the technical solution of the embodiment of the present invention and advantage expressed to become apparent from, below by drawings and examples, Technical scheme is described in further detail.
Fig. 1 is a kind of management method flow chart of application program provided in an embodiment of the present invention, as shown in Figure 1, this method Including:
S101 is loaded into the page using shop by browser component;
S102 is when browser component receives the download request of application program, under application shop sending application program Request is carried, to obtain the download path of application program;
S103 downloads application file according to the download path of application program;
S104 is managed application program.
Specifically, application program includes the metamessage of application, and metamessage is the ID of application, icon, title, version number, more The new time, using brief introduction and installation kit path.
Specifically, the installation kit of application program, includes the data and resource of application.
Specifically, browser component includes:WebView components.
Specifically, application program includes:Web application, web application are developed using HTML5.
It should be noted that the present embodiment is chosen at the set-top box for carrying android system as platform specific. In android system, the WebView of Development Framework of system offer can be selected as browser component, there is provided parsing display The ability of the page.Web is applied to be developed using HTML5, and main script is HTML/JavaScript/CSS.
Browser component WebView of the invention according to lightweight, with incrementally, with the completion of less cost to Web Situations such as support of application, is adapted to store in embedded device, and system resource is limited.Application program is realized in embedded device In peace loading, unloading, renewal, startup, the operation such as termination, greatly improve user experience.
Fig. 2 is the management method flow chart of another application program provided in an embodiment of the present invention, as shown in Fig. 2, the party Method includes:
According to the download path of application program, the step of downloading application file, includes:
S201 verifies the signature of application program;
S202 when the authentication succeeds, downloads the installation kit of application program;
In down operation, the installation kit of application program is downloaded, is downloaded to by the download path of application shop offer In local download path.When there is SD Card in system, the SD Card storages of prioritizing selection system, otherwise download to system Flash in.
S203 obtains application file by decompressing installation kit.
After the installation kit of application program has been downloaded, decompression operations are performed.By the configuration file of application, HTML/ The resource file such as JavaScript/CSS scripts and picture decompresses.
It should be noted that when the verification is not successful, prompting authentication error, do not allow the application program is installed, terminate to touch Send out down operation.
S101 is loaded into the page using shop by browser component;
S102 is when browser component receives the download request of application program, under application shop sending application program Request is carried, to obtain the download path of application program;
S103 downloads application file according to the download path of application program;
S104 is managed application program.
Specifically, application program includes the metamessage of application, and metamessage is the ID of application, icon, title, version number, more The new time, using brief introduction and installation kit path.
Specifically, the installation kit of application program, includes the data and resource of application.
Specifically, browser component includes:WebView components.
Specifically, application program includes:Web application, web application are developed using HTML5.
It should be noted that the present embodiment is chosen at the set-top box for carrying android system as platform specific. In android system, the WebView of Development Framework of system offer can be selected as browser component, there is provided parsing display The ability of the page.Web is applied to be developed using HTML5, and main script is HTML/JavaScript/CSS.
Fig. 3 is a kind of method flow diagram for installing application program provided in an embodiment of the present invention, as shown in figure 3, this method Including:
The step of being managed to application program includes:Application program step is installed, which is specially:
S301 parses the configuration file of application program, obtains application information;
S302 is registered application information.
The configuration file of application is parsed, configuration file can be xml forms or json forms.In the present embodiment, match somebody with somebody It is json forms to put file.
It should be noted that configuration file includes:Apply Names name, using description description, version number Version, links url, starts page launch, icon icon, authority permission.For example, configuration file can be with For manifest.json, its content is:
S101 is loaded into the page using shop by browser component;
S102 is when browser component receives the download request of application program, under application shop sending application program Request is carried, to obtain the download path of application program;
S103 downloads application file according to the download path of application program;
S104 is managed application program.
Specifically, application program includes the metamessage of application, and metamessage is the ID of application, icon, title, version number, more The new time, using brief introduction and installation kit path.
Specifically, the installation kit of application program, includes the data and resource of application.
Specifically, browser component includes:WebView components.
Specifically, application program includes:Web application, web application are developed using HTML5.
It should be noted that the present embodiment is chosen at the set-top box for carrying android system as platform specific. In android system, the WebView of Development Framework of system offer can be selected as browser component, there is provided parsing display The ability of the page.Web is applied to be developed using HTML5, and main script is HTML/JavaScript/CSS.
Specifically, according to the download path of application program, the step of downloading application file, includes:
S201 verifies the signature of application program;
S202 when the authentication succeeds, downloads the installation kit of application program;
In down operation, the installation kit of application program is downloaded, is downloaded to by the download path of application shop offer In local download path.When there is SD Card in system, the SD Card storages of prioritizing selection system, otherwise download to system Flash in.
S203 obtains application file by decompressing installation kit.
After application program installation kit has been downloaded, decompression operations are performed.By the configuration file of application, HTML/ The resource file such as JavaScript/CSS scripts and picture decompresses.
It should be noted that when the verification is not successful, prompting authentication error, do not allow the application program is installed, terminate to touch Send out down operation.
So far, the download installation process of a Web application is completed, which can be included in user interface On, user can use the Web applications just installed.When user click on already installed Web in application, by WebView Lai Render and perform Web applications.
Fig. 4 is a kind of method flow diagram for unloading application program provided in an embodiment of the present invention, as shown in figure 4, this method Including:
The step of being managed to application program includes:Application program step is unloaded, which is specially:
S401 judges whether application program is installed;
If application program is not installed, into done state.
If s402 application programs have been installed, determine whether application program is currently running;
If application program has been installed, determine whether application program is currently running, if be currently running, stop The application, if do not run, is directly entered step s404.
If s403 application programs are currently running, stop application program;
S404 deletes application file;
It should be noted that finding the installation path of application, when preparing to delete the installation file of application, user is reminded to be It is no to need to retain user data or resource, according to the selection of user, some or all data are applied to delete.
S405 deletes the log-on message of application program.
S101 is loaded into the page using shop by browser component;
S102 is when browser component receives the download request of application program, under application shop sending application program Request is carried, to obtain the download path of application program;
S103 downloads application file according to the download path of application program;
S104 is managed application program.
Specifically, application program includes the metamessage of application, and metamessage is the ID of application, icon, title, version number, more The new time, using brief introduction and installation kit path.
Specifically, the installation kit of application program, includes the data and resource of application.
Specifically, browser component includes:WebView components.
Specifically, application program includes:Web application, web application are developed using HTML5.
It should be noted that the present embodiment is chosen at the set-top box for carrying android system as platform specific. In android system, the WebView of Development Framework of system offer can be selected as browser component, there is provided parsing display The ability of the page.Web is applied to be developed using HTML5, and main script is HTML/JavaScript/CSS.
Specifically, according to the download path of application program, the step of downloading application file, includes:
S201 verifies the signature of application program;
S202 when the authentication succeeds, downloads the installation kit of application program;
In down operation, the installation kit of application program is downloaded, is downloaded to by the download path of application shop offer In local download path.When there is SD Card in system, the SD Card storages of prioritizing selection system, otherwise download to system Flash in.
S203 obtains application file by decompressing installation kit.
After application program installation kit has been downloaded, decompression operations are performed.By the configuration file of application, HTML/ The resource file such as JavaScript/CSS scripts and picture decompresses.
It should be noted that when the verification is not successful, prompting authentication error, do not allow the application program is installed, terminate to touch Send out down operation.
Alternatively, the step of being managed to application program includes:Application program step is installed, which is specially:
S301 parses the configuration file of application program, obtains application information;
S302 is registered application information.
The configuration file of application is parsed, configuration file can be xml forms or json forms.In the present embodiment, match somebody with somebody It is json forms to put file.
It should be noted that configuration file includes:Apply Names name, using description description, version number Version, links url, starts page launch, icon icon, authority permission.For example, configuration file can be with For manifest.json, its content is:
Fig. 5 is a kind of method flow diagram of more new application provided in an embodiment of the present invention, as shown in figure 5, this method Including:
The step of being managed to application program includes:More new application step, the step are specially:
S501 obtains the version information of application program from application shop;
Version information can be issued with xml or json forms.In the present embodiment, version information is deposited in into app_ In list.json, the ID and corresponding version number, app_list.json script file examples of storage Web applications are as follows:
S502 is by the way that the version information of local application and version information of the application program in application shop are compared Compared with determining whether application program has renewable version;
If s503 application programs have the version of renewal, the application program of new version is downloaded, is installed;
Installation is complete by s504, the log-on message of more new application, and the application message in refresh page.
It should be noted that in embodiments of the present invention, user can also carry out automatically more in addition to it can carry out renewal manually New operation.
S101 is loaded into the page using shop by browser component;
S102 is when browser component receives the download request of application program, under application shop sending application program Request is carried, to obtain the download path of application program;
S103 downloads application file according to the download path of application program;
S104 is managed application program.
Specifically, application program includes the metamessage of application, and metamessage is the ID of application, icon, title, version number, more The new time, using brief introduction and installation kit path.
Specifically, the installation kit of application program, includes the data and resource of application.
Specifically, browser component includes:WebView components.
Specifically, application program includes:Web application, web application are developed using HTML5.
It should be noted that the present embodiment is chosen at the set-top box for carrying android system as platform specific. In android system, the WebView of Development Framework of system offer can be selected as browser component, there is provided parsing display The ability of the page.Web is applied to be developed using HTML5, and main script is HTML/JavaScript/CSS.
Specifically, according to the download path of application program, the step of downloading application file, includes:
S201 verifies the signature of application program;
S202 when the authentication succeeds, downloads the installation kit of application program;
In down operation, the installation kit of application program is downloaded, is downloaded to by the download path of application shop offer In local download path.When there is SD Card in system, the SD Card storages of prioritizing selection system, otherwise download to system Flash in.
S203 obtains application file by decompressing installation kit.
After application program installation kit has been downloaded, decompression operations are performed.By the configuration file of application, HTML/ The resource file such as JavaScript/CSS scripts and picture decompresses.
It should be noted that when the verification is not successful, prompting authentication error, do not allow the application program is installed, terminate to touch Send out down operation.
Alternatively, the step of being managed to application program includes:Application program step is installed, which is specially:
S301 parses the configuration file of application program, obtains application information;
S302 is registered application information.
The configuration file of application is parsed, configuration file can be xml forms or json forms.In the present embodiment, match somebody with somebody It is json forms to put file.
It should be noted that configuration file includes:Apply Names name, using description description, version number Version, links url, starts page launch, icon icon, authority permission.For example, configuration file can be with For manifest.json, its content is:
Alternatively, the step of being managed to application program includes:Application program step is unloaded, which is specially:
S401 judges whether application program is installed;
If application program is not installed, into done state.
If s402 application programs have been installed, determine whether application program is currently running;
If application program has been installed, determine whether application program is currently running, if be currently running, stop The application, if do not run, is directly entered step s404.
If s403 application programs are currently running, stop application program;
S404 deletes application file;
It should be noted that finding the installation path of application, when preparing to delete the installation file of application, user is reminded to be It is no to need to retain user data or resource, according to the selection of user, some or all data are applied to delete.
S405 deletes the log-on message of application program.
Browser component WebView of the invention according to lightweight, with incrementally, with the completion of less cost to Web Situations such as support of application, is adapted to store in embedded device, and system resource is limited.Application program is realized in embedded device In peace loading, unloading, renewal, startup, the operation such as termination, greatly improve user experience.
Above-described embodiment, has carried out the purpose of the present invention, technical solution and beneficial effect further Describe in detail, it should be understood that the foregoing is merely the embodiment of the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution, improvement and etc. done, should all include Within protection scope of the present invention.

Claims (8)

1. a kind of management method of application program, it is characterised in that this method includes:
The page using shop is loaded into by browser component;
When the browser component receives the download request of application program, the application program is sent to the application shop Download request, to obtain the download path of the application program;The browser component includes:WebView components, it is described WebView components, which are used to render, performs Web applications;
According to the download path of the application program, the application file is downloaded;
The application program is managed;
The management includes:Pacify loading, unloading and renewal;
Described the step of being managed to the application program, includes:The application program step is installed, which is specially:
The configuration file of the application program is parsed, obtains the application information;The configuration file includes:Application name Claim, using description, version number, link, the startup page, icon and authority;
The application information is registered.
2. according to the method described in claim 1, it is characterized in that, the download path according to the application program, is downloaded The step of application file, includes:
The signature of the application program is verified;
When the authentication succeeds, the installation kit of the application program is downloaded, and by decompressing the installation kit, acquisition is described to apply journey Preface part.
3. method according to claim 1 or 2, it is characterised in that described the step of being managed to the application program Including:The application program step is unloaded, which is specially:
Judge whether the application program is installed, if the application program has been installed, determine whether that the application program is It is no to be currently running, if the application program is currently running, stop the application program;
Delete the application file;
Delete the log-on message of the application program.
4. method according to claim 1 or 2, it is characterised in that described the step of being managed to the application program Including:The application program step is updated, which is specially:
From the version information that the application program is obtained using shop;
By the way that the version information of local application is compared with the application program described using the version information in shop Compared with determining whether the application program has renewable version;
If the application program has the version of renewal, the application program of new version is downloaded, is installed;
Installation is complete, updates the log-on message of the application program.
5. method according to claim 1 or 2, it is characterised in that described the step of being managed to the application program Including:Manage startup, pause, recovery or the termination operation of the application program.
6. method according to claim 1 or 2, it is characterised in that the application program includes the metamessage of application, described Metamessage for application ID, icon, title, version number, renewal time, using brief introduction and installation kit path.
7. according to the method described in claim 2, it is characterized in that, the installation kit of the application program, include the data of application And resource.
8. according to the method described in claim 1, it is characterized in that, the application program includes:Web application, the Web Application program is developed using HTML5.
CN201510172597.2A 2015-04-13 2015-04-13 A kind of management method of application program Active CN104809011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510172597.2A CN104809011B (en) 2015-04-13 2015-04-13 A kind of management method of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510172597.2A CN104809011B (en) 2015-04-13 2015-04-13 A kind of management method of application program

Publications (2)

Publication Number Publication Date
CN104809011A CN104809011A (en) 2015-07-29
CN104809011B true CN104809011B (en) 2018-04-27

Family

ID=53693862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510172597.2A Active CN104809011B (en) 2015-04-13 2015-04-13 A kind of management method of application program

Country Status (1)

Country Link
CN (1) CN104809011B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9772930B2 (en) * 2015-06-22 2017-09-26 Adobe Systems Incorporated Techniques for evaluating applications through use of an auxiliary application
CN106959968A (en) * 2016-01-12 2017-07-18 广州市动景计算机科技有限公司 Website icon promotion method and device
CN106713460B (en) * 2016-12-26 2019-12-10 武汉斗鱼网络科技有限公司 Version control method and system for flash application
CN107809470B (en) * 2017-10-12 2020-12-22 北京京东尚科信息技术有限公司 Method and device for automatically deploying application program
CN110502245A (en) * 2018-05-16 2019-11-26 华为技术有限公司 Data processing method, terminal, server and application and development equipment
CN112153064B (en) * 2020-09-28 2022-11-22 上海缓存命中科技有限公司 Application store and use method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638572A (en) * 2012-03-19 2012-08-15 北京邮电大学 Short-message sending service system based on Web Element mechanism and operating method thereof
CN104158896A (en) * 2014-08-22 2014-11-19 百度在线网络技术(北京)有限公司 Application recommendation method and system as well as application store server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317878B2 (en) * 2012-06-10 2016-04-19 Apple Inc. User interface for accessing an applet in a browser on a mobile device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638572A (en) * 2012-03-19 2012-08-15 北京邮电大学 Short-message sending service system based on Web Element mechanism and operating method thereof
CN104158896A (en) * 2014-08-22 2014-11-19 百度在线网络技术(北京)有限公司 Application recommendation method and system as well as application store server

Also Published As

Publication number Publication date
CN104809011A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104809011B (en) A kind of management method of application program
US9032383B2 (en) Automatically updating applications on a client's device without interrupting the user's experience
CN105867947B (en) Data processing method and device after preset application program updating
US9792623B2 (en) Advertisement processing method and apparatus
CN106658475B (en) Method and device for upgrading over-the-air technology
JP6253110B2 (en) Using the application cache to update installed application resources
CN103092665B (en) Immediate updating device and immediate updating method
CN102761623B (en) Resource self-adaptive joins method for down loading, system, data storage server and communication system
US20140351807A1 (en) Method and communication device for updating web application
US20120317233A1 (en) Mobile web app infrastructure
CN107256161B (en) Client upgrading method based on electron technology
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN102541604B (en) The terminal device of a kind of remote upgrade method, remote upgrade and remote update system
US20160170735A1 (en) Operating system updating method by using a checklist
AU2010358328A1 (en) Processing devices and methods for transmitting and receiving data
CN104052769A (en) Method, apparatus and system for updating resources contained by mobile terminal application
CN108322540A (en) Customized data lead-in method, terminal and computer readable storage medium
CN101980503B (en) Method, device and system for managing widget application
CN105094919A (en) Application program starting method
CN105430435B (en) The method and system of pushing video file download in a kind of IOS system
CN114296753A (en) File publishing method and device, storage medium and electronic device
CN108182030B (en) Player control hiding method and device
CN112788084B (en) Application program installation package downloading method, application program installation package pushing device and computer equipment
CN111279312A (en) Alternative service paths for service applications
CN105045801A (en) Login avatar displaying method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210804

Address after: Room 1601, 16th floor, East Tower, Ximei building, No. 6, Changchun Road, high tech Industrial Development Zone, Zhengzhou, Henan 450001

Patentee after: Zhengzhou xinrand Network Technology Co.,Ltd.

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

TR01 Transfer of patent right