CN105786511A - Implementation method for terminal device Web application management - Google Patents

Implementation method for terminal device Web application management Download PDF

Info

Publication number
CN105786511A
CN105786511A CN201610111130.1A CN201610111130A CN105786511A CN 105786511 A CN105786511 A CN 105786511A CN 201610111130 A CN201610111130 A CN 201610111130A CN 105786511 A CN105786511 A CN 105786511A
Authority
CN
China
Prior art keywords
application
web application
webappmanager
url
terminal unit
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
CN201610111130.1A
Other languages
Chinese (zh)
Other versions
CN105786511B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610111130.1A priority Critical patent/CN105786511B/en
Publication of CN105786511A publication Critical patent/CN105786511A/en
Application granted granted Critical
Publication of CN105786511B publication Critical patent/CN105786511B/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/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of computer software and provides an implementation method for terminal device Web application management. The method comprises the steps that a browser function is configured to a terminal device, and in a browser kernel of the terminal device, extension is performed in a JS extension mode to achieve a webappManager JS object managed by a Web application; automatic packaging is performed through an application packaging tool according to a user-defined application installation package format and an application upgrading package format to generate the Web application; a Web application package server is set up, a Web application installation package and a Web application upgrading package are uniformly deployed in the Web application package server, and the terminal device acquires the version, the installation package and the upgrading package information from the Web application package server through a http protocol. The terminal device in the implementation method can perform operation such as management, installation, unloading and upgrading on the Web application, and thus the Internet operation experience of users is improved.

Description

Terminal unit Web application management realize method
Technical field
The invention belongs to computer software technical field, realize method particularly to a kind of terminal unit Web application management.
Background technology
At present, on market, the embedded device of application is generally with browser function, and the application based on browser is also more more and more, but, owing to not supporting web application management function in browser kernel, therefore Web application cannot be managed by user by embedded device.
Current practices well is prefabricated conventional application or passes through high in the clouds homepage in-let dimple, but adopts the method cannot realize the management of web application, peace loading, unloading, upgrading etc. preferably, it is impossible to meet this locality Web application management demand.
Summary of the invention
[solving the technical problem that]
What it is an object of the invention to provide a kind of terminal unit Web application management realizes method, Web application to be managed at terminal unit.
[technical scheme]
The present invention is achieved by the following technical solutions.
What the present invention relates to a kind of terminal unit Web application management realizes method, comprises the following steps:
Terminal equipment configuration browser function, based on browser execution environment, provides JS interface to application layer in Web application layer;
In terminal unit browser kernel, realizing the WebappManagerJS object of Web application management according to the extension of JS extended mode, described WebappManagerJS object provides peace loading, unloading, obtains the function of list of application;
Develop application strapping tool according to default installation kit form and application upgrade bag form, automatically packed generation Web application according to self-defining application installation kit form and application upgrade bag form by described application strapping tool;
Build Web application packet server, by Web application installation kit and Web application upgrade bag unified plan in Web application packet server, terminal unit obtains the version of Web application, installation kit and AKU information by http agreement from Web application packet server, and by display interface, above-mentioned information is supplied to user.
As one preferred embodiment, described default application installation kit form includes explanation of field, field definition and field data, and described explanation of field includes application ID, Apply Names, application type, application developer information, application installation path URL, application icon file URL, application main-inlet URL, application signature file URL, application version information, applied cryptography, application access rights and application state.
As another preferred embodiment, described default application upgrade bag form includes explanation of field, field definition and field data, and described explanation of field includes application ID, Apply Names, application type, application developer information, application bag icon file URL, application main-inlet URL, application icon file URL, application bag path URL, application signature file URL, application version information, applied cryptography and application access rights.
As another preferred embodiment, described installation kit and AKU unified plan under the same catalogue of Web application packet server.
As another preferred embodiment, described catalogue is:
__|_____xxx1.tar
|_____xxx1.sig
|_____xxx2.tar
|_____xxx2.sig
|_____package.db
|_____icon\
Wherein, tar file is software assembly compressed package, and sig is file software signing messages package.db is all packet-related informations, and icon is software icon icon catalogue.
As another preferred embodiment, the browser of described configuration is Webkit browser.
As another preferred embodiment, described realize Web application management according to the extension of JS extended mode WebappManagerJS object be:
WebappManager.startAppByID (ri_appId, rstr_args);
WebappManager.startAppByURL (rstr_url, rstr_args);
WebappManager.listLocalApps();
WebappManager.listCloudApps();
WebappManager.InstallLocalApp(ri_appID,rstr_installpath);
WebappManager.UpdateLocalApp(appID,installpath);
WebappManager.UnInstallLocalApp(appID);
WebappManager.listReleaseLocalApps();
WebappManager.listReleaseCloudApps()。
[beneficial effect]
The technical scheme that the present invention proposes has the advantages that
By the present invention, Web application can be managed, pacify the operation such as loading, unloading, upgrading by terminal unit, improves user's internetwork operation and experiences.
Accompanying drawing explanation
The Web application navigation flow process that Fig. 1 provides for embodiments of the invention one.
The locally applied installation procedure that Fig. 2 provides for embodiments of the invention one.
The locally applied unloading flow process that Fig. 3 provides for embodiments of the invention one.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, the specific embodiment of the present invention will be carried out clear, complete description below.
Embodiment one
What embodiment one provided a kind of terminal unit Web application management realizes method, comprises the following steps:
(1) terminal equipment configuration browser function, based on browser execution environment, provides JS interface to application layer in Web application layer.Wherein, the browser of the present embodiment configuration is Webkit browser.
(2) in terminal unit browser kernel, the WebappManagerJS object of Web application management is realized according to the extension of JS extended mode, wherein WebappManagerJS object provides peace loading, unloading, obtains the function of list of application, for Webkit browser, the WebappManagerJS object realizing Web application management according to the extension of JS extended mode is:
WebappManager.startAppByID (ri_appId, rstr_args)
WebappManager.startAppByURL (rstr_url, rstr_args)
WebappManager.listLocalApps()
WebappManager.listCloudApps()
WebappManager.InstallLocalApp(ri_appID,rstr_installpath)
WebappManager.UpdateLocalApp(appID,installpath)
WebappManager.UnInstallLocalApp(appID)
WebappManager.listReleaseLocalApps()
WebappManager.listReleaseCloudApps()
(3) develop application strapping tool according to default installation kit form and application upgrade bag form, automatically pack generation Web application according to self-defining application installation kit form and application upgrade bag form by applying strapping tool.Specifically, the application installation kit form preset includes explanation of field, field definition and field data, described explanation of field includes application ID, Apply Names, application type, application developer information, application installation path URL, application icon file URL, application main-inlet URL, application signature file URL, application version information, applied cryptography, application access rights and application state, as shown in table 1.
The application installation kit form that table 1 is preset
The application upgrade bag form preset includes explanation of field, field definition and field data, described explanation of field includes application ID, Apply Names, application type, application developer information, application bag icon file URL, application main-inlet URL, application icon file URL, application bag path URL, application signature file URL, application version information, applied cryptography and application access rights, as shown in table 2.
The application upgrade bag form that table 2 is preset
(4) Web application packet server is built, by Web application installation kit and Web application upgrade bag unified plan in Web application packet server, terminal unit obtains the version of Web application, installation kit and AKU information by http agreement from Web application packet server, and by display interface, above-mentioned information is supplied to user.Specifically, installation kit in the present embodiment and AKU unified plan are under the same catalogue of Web application packet server, and catalogue format is as follows:
__|_____xxx1.tar
|_____xxx1.sig
|_____xxx2.tar
|_____xxx2.sig
|_____package.db
|_____icon\
Wherein, tar file is software assembly compressed package, and sig is file software signing messages package.db is all packet-related informations, and icon is software icon icon catalogue.
(5) after completing the procedure, Web application can be imported at local terminal, specifically guiding flow is as shown in Figure 1, including: start Lauch application after start, obtain the list of application in Web application packet server and details, dynamically generate Lauch navigation page, if receiving user to enter the instruction of certain application, then carry out this application, if without instruction, then rest on Lauch navigation page, after user enters certain application, if receiving user to return the instruction of Lauch navigation page, then return Lauch navigation page, otherwise rest on this application.
(6) after importing Web application, application or unloading application can be installed at local terminal, the idiographic flow of application is installed with reference to Fig. 2, first installable application and mounted application message are obtained, comprehensive analysis provides the optional installation and upgrade list of user, if user sends installation or upgrade command, download the software kit of correspondence, if downloading successfully, software is installed to appointment position, if installing successfully, provide upgrade tip information, if user selects to upgrade, delete the legacy version of this software, update application data base simultaneously.The idiographic flow of unloading application, with reference to Fig. 3, first obtains mounted application message, and list of application has been installed in display, if receiving user to delete application instruction, then deleting designated software, if deleting successfully, updating application data base.
As can be seen from the above embodiments, by the embodiment of the present invention, Web application can be managed, pacify the operation such as loading, unloading, upgrading by terminal unit, improves user's internetwork operation and experiences.
It is to be appreciated that the embodiment of foregoing description is a part of embodiment of the present invention, rather than whole embodiment, neither limitation of the present invention.Based on embodiments of the invention, the every other embodiment that those of ordinary skill in the art obtain under not paying creative work premise, broadly fall into protection scope of the present invention.

Claims (7)

1. a terminal unit Web application management realize method, it is characterised in that including:
Terminal equipment configuration browser function, based on browser execution environment, provides JS interface to application layer in Web application layer;
In terminal unit browser kernel, realizing the WebappManagerJS object of Web application management according to the extension of JS extended mode, described WebappManagerJS object provides peace loading, unloading, obtains the function of list of application;
Develop application strapping tool according to default installation kit form and application upgrade bag form, automatically packed generation Web application according to self-defining application installation kit form and application upgrade bag form by described application strapping tool;
Build Web application packet server, by Web application installation kit and Web application upgrade bag unified plan in Web application packet server, terminal unit obtains the version of Web application, installation kit and AKU information by http agreement from Web application packet server, and by display interface, above-mentioned information is supplied to user.
2. terminal unit Web application management according to claim 1 realize method, it is characterized in that described default application installation kit form includes explanation of field, field definition and field data, described explanation of field includes application ID, Apply Names, application type, application developer information, application installation path URL, application icon file URL, application main-inlet URL, application signature file URL, application version information, applied cryptography, application access rights and application state.
3. terminal unit Web application management according to claim 1 realize method, it is characterized in that described default application upgrade bag form includes explanation of field, field definition and field data, described explanation of field includes application ID, Apply Names, application type, application developer information, application bag icon file URL, application main-inlet URL, application icon file URL, application bag path URL, application signature file URL, application version information, applied cryptography and application access rights.
4. terminal unit Web application management according to claim 1 realize method, it is characterised in that described installation kit and AKU unified plan are under the same catalogue of Web application packet server.
5. terminal unit Web application management according to claim 4 realize method, it is characterised in that described catalogue is:
__|_____xxx1.tar
|_____xxx1.sig
|_____xxx2.tar
|_____xxx2.sig
|_____package.db
|_____icon\
Wherein, tar file is software assembly compressed package, and sig is file software signing messages package.db is all packet-related informations, and icon is software icon icon catalogue.
6. terminal unit Web application management according to claim 1 realize method, it is characterised in that the browser of described configuration is Webkit browser.
7. terminal unit Web application management according to claim 6 realize method, it is characterised in that described realize the WebappManagerJS object of Web application management according to the extension of JS extended mode and be:
WebappManager.startAppByID (ri_appId, rstr_args);
WebappManager.startAppByURL (rstr_url, rstr_args);
WebappManager.listLocalApps();
WebappManager.listCloudApps();
WebappManager.InstallLocalApp(ri_appID,rstr_installpath);
WebappManager.UpdateLocalApp(appID,installpath);
WebappManager.UnInstallLocalApp(appID);
WebappManager.listReleaseLocalApps();
WebappManager.listReleaseCloudApps()。
CN201610111130.1A 2016-02-29 2016-02-29 The implementation method of terminal device Web application management Active CN105786511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610111130.1A CN105786511B (en) 2016-02-29 2016-02-29 The implementation method of terminal device Web application management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610111130.1A CN105786511B (en) 2016-02-29 2016-02-29 The implementation method of terminal device Web application management

Publications (2)

Publication Number Publication Date
CN105786511A true CN105786511A (en) 2016-07-20
CN105786511B CN105786511B (en) 2019-05-07

Family

ID=56403840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610111130.1A Active CN105786511B (en) 2016-02-29 2016-02-29 The implementation method of terminal device Web application management

Country Status (1)

Country Link
CN (1) CN105786511B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665304A (en) * 2016-07-29 2018-02-06 北京邮电大学 The monitoring and managing method and device of software upgrading
CN107786630A (en) * 2017-09-06 2018-03-09 阿里巴巴集团控股有限公司 A kind of web applications packet processing method, device and equipment
CN108614709A (en) * 2016-11-29 2018-10-02 北京明朝万达科技股份有限公司 A kind of method and system of control Android applications secure access network
CN108897550A (en) * 2018-06-08 2018-11-27 江苏中威科技软件系统有限公司 The system and method for program deployment, access, upgrading is realized by encapsulation browser
CN109271173A (en) * 2018-09-18 2019-01-25 广州视源电子科技股份有限公司 Platform application management method and device, storage medium and terminal equipment
CN113204351A (en) * 2021-07-06 2021-08-03 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693280A (en) * 2012-04-28 2012-09-26 广州市动景计算机科技有限公司 Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN102929638A (en) * 2012-11-07 2013-02-13 广州市动景计算机科技有限公司 Method and system for expanding Web application (App) functions
US20140281904A1 (en) * 2013-03-13 2014-09-18 International Business Machines Corporation Mobile enablement of existing web sites
CN104199695A (en) * 2014-08-27 2014-12-10 浪潮软件股份有限公司 Automatic upgrading method of Web applications
CN104808971A (en) * 2014-01-24 2015-07-29 北京三星通信技术研究有限公司 Network application program manager, method, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693280A (en) * 2012-04-28 2012-09-26 广州市动景计算机科技有限公司 Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN102929638A (en) * 2012-11-07 2013-02-13 广州市动景计算机科技有限公司 Method and system for expanding Web application (App) functions
US20140281904A1 (en) * 2013-03-13 2014-09-18 International Business Machines Corporation Mobile enablement of existing web sites
CN104808971A (en) * 2014-01-24 2015-07-29 北京三星通信技术研究有限公司 Network application program manager, method, device and mobile terminal
CN104199695A (en) * 2014-08-27 2014-12-10 浪潮软件股份有限公司 Automatic upgrading method of Web applications

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665304A (en) * 2016-07-29 2018-02-06 北京邮电大学 The monitoring and managing method and device of software upgrading
CN108614709A (en) * 2016-11-29 2018-10-02 北京明朝万达科技股份有限公司 A kind of method and system of control Android applications secure access network
CN108614709B (en) * 2016-11-29 2021-08-03 北京明朝万达科技股份有限公司 Method and system for controlling Android application to safely access network
CN107786630A (en) * 2017-09-06 2018-03-09 阿里巴巴集团控股有限公司 A kind of web applications packet processing method, device and equipment
US11157254B2 (en) 2017-09-06 2021-10-26 Advanced New Technologies Co., Ltd. Method, apparatus, and device for processing web application package
CN108897550A (en) * 2018-06-08 2018-11-27 江苏中威科技软件系统有限公司 The system and method for program deployment, access, upgrading is realized by encapsulation browser
CN108897550B (en) * 2018-06-08 2021-07-30 江苏中威科技软件系统有限公司 System and method for realizing program deployment, access and upgrade through packaging browser
CN109271173A (en) * 2018-09-18 2019-01-25 广州视源电子科技股份有限公司 Platform application management method and device, storage medium and terminal equipment
CN113204351A (en) * 2021-07-06 2021-08-03 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof
CN113204351B (en) * 2021-07-06 2021-10-22 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof

Also Published As

Publication number Publication date
CN105786511B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN105786511A (en) Implementation method for terminal device Web application management
EP2717542B1 (en) Application management method and application platform
JP5241440B2 (en) System and method for creating and communicating with component-based wireless applications
CN109165050B (en) Program running method and device, computing equipment and storage medium
CN102129378B (en) A kind of software menu updating method and device
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN107741844B (en) Method and device for generating application installation package
CN102291437A (en) System and method for realizing application of cross-platform internet
CN105302587A (en) Data updating method and apparatus
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN106997298A (en) A kind of application resource acquisition methods and device
CN104077160A (en) Android software upgrading method, device and system
WO2016041322A1 (en) Method of forwarding in-application traffic on smart mobile terminal
WO2017185550A1 (en) Method and system for remotely controlling android terminal applications
CN106293696A (en) Display application program downloads method and the corresponding intrument thereof of installment state
EP3313041A1 (en) Application download method and device
CN104536752A (en) Method and device for automatically generating APK files
CN103207802B (en) Operation system of software and method
CN111679850B (en) Application program hot update processing method, device and system
WO2018032573A1 (en) Data processing method, apparatus, server and terminal
CN110493644A (en) TV applications upgrade method, television terminal and server
CN105848130A (en) Data traffic management method and terminal
CN112379938A (en) Cross-browser safe local application calling method based on domestic operating system
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
WO2023020071A1 (en) Upgrade package acquisition method and smart device

Legal Events

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

Application publication date: 20160720

Assignee: Sichuan Changhong Xinwang Technology Co.,Ltd.

Assignor: SICHUAN CHANGHONG ELECTRIC Co.,Ltd.

Contract record no.: X2023980043949

Denomination of invention: Implementation Method for Web Application Management of Terminal Devices

Granted publication date: 20190507

License type: Common License

Record date: 20231030

EE01 Entry into force of recordation of patent licensing contract