WO2017071191A1 - 在宿主应用页面中展现插件视图元素的方法及装置 - Google Patents
在宿主应用页面中展现插件视图元素的方法及装置 Download PDFInfo
- Publication number
- WO2017071191A1 WO2017071191A1 PCT/CN2016/083051 CN2016083051W WO2017071191A1 WO 2017071191 A1 WO2017071191 A1 WO 2017071191A1 CN 2016083051 W CN2016083051 W CN 2016083051W WO 2017071191 A1 WO2017071191 A1 WO 2017071191A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- plug
- plugin
- view element
- host application
- page
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Definitions
- the present invention relates to the field of smart terminal application technologies, and in particular, to a method and apparatus for presenting plug-in view elements in a host application page.
- plug-in The process by which an application divides the intrinsic logic into two parts, the host and the plug-in, is called plug-in. Since the Android application must be installed, the host is the part that is installed normally. Then, the host reads and displays the plug-in content that can be independently updated externally, so that the function of updating the application without affecting the user can be realized.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
一种在宿主应用页面中展现插件视图元素的方法及装置。其中方法包括:在宿主应用启动时,加载插件(S101);获取所述插件构造的插件视图元素以及能被所述插件视图元素调用的上下文环境(S102);依据所述上下文环境,将所述插件视图元素添加到宿主应用页面中进行展现(S103)。采用所述方法可以使得在宿主应用页面中至少一部分显示插件视图元素,优化插件化解决方案。
Description
相关申请的交叉参考
本申请要求于2015年10月28日提交中国专利局、申请号为201510712954.X、发明名称为“在宿主应用页面中展现插件视图元素的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及智能终端应用技术领域,具体涉及一种在宿主应用页面中展现插件视图元素的方法及装置。
随着智能手机或智能平板电脑近几年的普及,安卓手机应用近年来使用量高速增长,平均每个用户手机中安装的应用总量也大幅增多。数据表明平均每个安卓手机用户会安装95款应用,频繁使用的应用达到35款。
由于用户的热情高涨,绝大多数应用都会每周发布新的版本供用户安装,以及时提供给用户最新的功能,或最稳定的使用体验。但是问题也随之而来。由于需要更新的应用太多,一个普通安卓手机用户每天都会收到不同应用的更新提示,并且每更新一个应用都需要进行确认更新、下载更新包、安装更新包的过程。对于普遍安装包容量大小在15M的应用来说,每个应用的更新可能需要浪费用户2~3分钟的时间,数量众多且无休无止的更新很容易让用户对应用产生厌倦感。因此,不需要用户安装的插件化应用应运而生,其可以在完全静默的情况下更新应用的功能或修复应用的错误,提升用户体验。不干扰到用户的正常使用,让用户不需要为此花费额外精力和时间,并且也能随时让应用保持在最新的状态。
应用将内在逻辑分成宿主和插件两个部分的过程叫做插件化。由于安卓应用的运行必须经过安装,所以宿主即为被正常安装的部分。然后由宿主读取和展示外部能独立更新的插件内容,即可实现不影响到用户即更新应用的功能。
Claims (1)
- 然而,在目前所有的插件化解决方案中都均存在同样的问题,就是插件化的部分只能以页面的形式被宿主打开,这样就决定了宿主与插件在内在逻辑中是完全分离的。图7示出了现有技术中插件化解决方案的实现方式。如图7所示,宿主和插件管理的都是完整页面(Activity,为安卓应用中页面的代称),它们之间没有有效的交互途径,局限性较大,插件不能以更加小的单位与宿主应用融合在一起。即如果需要在宿主页面中的一部分显示插件化的元素,通过现有的插件化解决方案无法实现。发明内容鉴于上述问题,提出了本发明以便提供一种在宿主应用页面中展现插件视图元素的方法及装置,以使得在宿主应用页面中至少一部分显示插件视图元素,优化插件化解决方案。根据本发明的一个方面,提供了一种在宿主应用页面中展现插件视图元素的方法,包括:在宿主应用启动时,加载插件;获取所述插件构造的插件视图元素以及能被所述插件视图元素调用的上下文环境;依据所述上下文环境,将所述插件视图元素添加到宿主应用页面中进行展现。根据本发明的另一方面,提供了一种在宿主应用页面中展现插件视图元素的装置,包括:加载模块,用于在宿主应用启动时,加载插件;获取模块,用于获取所述插件构造的插件视图元素以及能被所述插件视图元素调用的上下文环境;展现模块,用于依据所述上下文环境,将所述插件视图元素添加到宿主应用页面中进行展现。根据本发明提供的方法及装置,通过获取能被插件视图元素调用的上下文环境,在宿主应用页面的加载过程中,依据该上下文环境,将插件视图元
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/242,461 US20170123783A1 (en) | 2015-10-28 | 2016-08-19 | Method for displaying plug-in view elements in host application page and electronic device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510712954.X | 2015-10-28 | ||
| CN201510712954.XA CN105867956A (zh) | 2015-10-28 | 2015-10-28 | 在宿主应用页面中展现插件视图元素的方法及装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/242,461 Continuation US20170123783A1 (en) | 2015-10-28 | 2016-08-19 | Method for displaying plug-in view elements in host application page and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017071191A1 true WO2017071191A1 (zh) | 2017-05-04 |
Family
ID=56623968
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/083051 Ceased WO2017071191A1 (zh) | 2015-10-28 | 2016-05-23 | 在宿主应用页面中展现插件视图元素的方法及装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20170123783A1 (zh) |
| CN (1) | CN105867956A (zh) |
| WO (1) | WO2017071191A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108845839A (zh) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | 应用页面加载方法、装置及计算机可读存储介质 |
| CN113391847A (zh) * | 2020-03-10 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | 应用程序的启动优化方法和装置 |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106331135B (zh) * | 2016-08-31 | 2019-09-03 | 广州品唯软件有限公司 | 一种部分界面更新方法、系统、客户端和服务端 |
| CN106383702A (zh) * | 2016-08-31 | 2017-02-08 | 广州品唯软件有限公司 | 一种活动数据显示方法及设备 |
| CN106559264B (zh) * | 2016-11-15 | 2020-02-11 | 上海斐讯数据通信技术有限公司 | 一种拓扑视图的加载显示方法及系统 |
| CN107045438B (zh) * | 2016-12-16 | 2020-03-27 | 阿里巴巴集团控股有限公司 | 一种应用顶层视图处理方法、装置及组件 |
| CN108874381B (zh) * | 2017-05-09 | 2021-09-07 | 武汉斗鱼网络科技有限公司 | 一种输出页面视图控制器的方法、装置及电子设备 |
| CN107463406A (zh) * | 2017-08-08 | 2017-12-12 | 上海连尚网络科技有限公司 | 发布移动应用的方法和电子设备 |
| CN108845842A (zh) * | 2018-04-18 | 2018-11-20 | 北京奇虎科技有限公司 | 复用视图的方法及装置 |
| US11188353B2 (en) * | 2018-07-12 | 2021-11-30 | Vmware, Inc. | Runtime extension system for bundled web application |
| CN109558182A (zh) * | 2018-11-29 | 2019-04-02 | 掌阅科技股份有限公司 | 基于插件的信息推广方法、电子设备及计算机存储介质 |
| CN110007980B (zh) * | 2019-01-29 | 2022-05-24 | 创新先进技术有限公司 | 多业务服务端的实现方法和装置 |
| CN110297644A (zh) * | 2019-06-24 | 2019-10-01 | 深圳市酷开网络科技有限公司 | 一种首页悬浮应用设置方法、智能终端及存储介质 |
| CN110704767B (zh) * | 2019-09-30 | 2022-02-15 | 北京字节跳动网络技术有限公司 | 页面打开方法、装置、电子设备及存储介质 |
| CN114356441B (zh) * | 2021-12-22 | 2022-09-23 | 北京海泰方圆科技股份有限公司 | 一种插件预加载方法、装置、电子设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101529382A (zh) * | 2006-09-21 | 2009-09-09 | 路透美国公司 | 公共组件框架 |
| US8181111B1 (en) * | 2007-12-31 | 2012-05-15 | Synchronoss Technologies, Inc. | System and method for providing social context to digital activity |
| CN104123151A (zh) * | 2013-04-28 | 2014-10-29 | 百度在线网络技术(北京)有限公司 | 移动终端中应用程序的插件管理方法、装置和移动终端 |
| CN104536776A (zh) * | 2014-11-28 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | 一种在宿主端插件运行环境中运行插件应用的方法与装置 |
| CN104731625A (zh) * | 2015-03-27 | 2015-06-24 | 北京奇虎科技有限公司 | 一种加载插件的方法、装置和移动终端 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130074131A1 (en) * | 2011-09-15 | 2013-03-21 | Milestone Project, Inc. | System and method for integrating and controlling web-based html players in a native context |
| US8887182B2 (en) * | 2012-10-16 | 2014-11-11 | Yahoo! Inc. | Hybrid applications |
| US9170808B2 (en) * | 2013-11-07 | 2015-10-27 | Sap Se | Dynamic containerization |
| US11082499B2 (en) * | 2015-10-19 | 2021-08-03 | Citrix Systems, Inc. | Browser server session transfer |
-
2015
- 2015-10-28 CN CN201510712954.XA patent/CN105867956A/zh active Pending
-
2016
- 2016-05-23 WO PCT/CN2016/083051 patent/WO2017071191A1/zh not_active Ceased
- 2016-08-19 US US15/242,461 patent/US20170123783A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101529382A (zh) * | 2006-09-21 | 2009-09-09 | 路透美国公司 | 公共组件框架 |
| US8181111B1 (en) * | 2007-12-31 | 2012-05-15 | Synchronoss Technologies, Inc. | System and method for providing social context to digital activity |
| CN104123151A (zh) * | 2013-04-28 | 2014-10-29 | 百度在线网络技术(北京)有限公司 | 移动终端中应用程序的插件管理方法、装置和移动终端 |
| CN104536776A (zh) * | 2014-11-28 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | 一种在宿主端插件运行环境中运行插件应用的方法与装置 |
| CN104731625A (zh) * | 2015-03-27 | 2015-06-24 | 北京奇虎科技有限公司 | 一种加载插件的方法、装置和移动终端 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108845839A (zh) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | 应用页面加载方法、装置及计算机可读存储介质 |
| CN113391847A (zh) * | 2020-03-10 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | 应用程序的启动优化方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105867956A (zh) | 2016-08-17 |
| US20170123783A1 (en) | 2017-05-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017071191A1 (zh) | 在宿主应用页面中展现插件视图元素的方法及装置 | |
| TWI497311B (zh) | 跨裝置通訊傳輸系統及其方法 | |
| EP3032412B1 (en) | Method and device for upgrading firmware | |
| CN106293507B (zh) | 具有外部存储器的电子设备及操作电子设备的方法 | |
| US9766904B2 (en) | Method for dynamically modifying application startup icon, message sending method and terminal | |
| US10678527B2 (en) | Apparatus and method for managing application | |
| WO2008114491A1 (ja) | アプリケーション更新管理機能を備えた端末、アプリケーション更新管理プログラムおよびシステム | |
| US20140380295A1 (en) | Method and system for updating application, and computer storage medium thereof | |
| JP6289764B2 (ja) | 機器制御方法、装置、プログラムおよび記録媒体 | |
| KR20100081720A (ko) | 포타 서비스 방법 및 시스템 | |
| CN109582402B (zh) | 一种页面展示方法及装置 | |
| CN107463405B (zh) | 一种应用程序的更新方法及装置 | |
| US10500955B2 (en) | Automatic upgrade of a vehicle-based processor based on a physical component change | |
| CN105204873A (zh) | 一种终端及应用界面显示方法 | |
| CN105159718A (zh) | 固件升级方法及装置 | |
| CN103019755B (zh) | 嵌入式系统中多cpu的无线程序下载方法 | |
| CN105740023A (zh) | 程序版本回退的方法、装置及智能移动终端 | |
| CN108874399B (zh) | 安装插件的方法、装置及终端 | |
| CN104040495A (zh) | 用于可并行、可靠的安装的安装引擎和包格式 | |
| CN103164245B (zh) | 应用显示特定语言的方法和终端 | |
| CN105912641A (zh) | 一种本地应用程序的图标更新方法及装置 | |
| CN106293790A (zh) | 基于Firefox操作系统的应用程序升级方法和装置 | |
| CN104598281A (zh) | 用于升级电子设备的系统的方法 | |
| CN106775790B (zh) | 一种控件调用方法以及装置 | |
| CN106919375B (zh) | 一种移动终端设备上的屏幕自适应方法及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16858635 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16858635 Country of ref document: EP Kind code of ref document: A1 |