WO2015055074A1 - Procédé et dispositif pour dynamiquement charger et appeler un programme - Google Patents

Procédé et dispositif pour dynamiquement charger et appeler un programme Download PDF

Info

Publication number
WO2015055074A1
WO2015055074A1 PCT/CN2014/087413 CN2014087413W WO2015055074A1 WO 2015055074 A1 WO2015055074 A1 WO 2015055074A1 CN 2014087413 W CN2014087413 W CN 2014087413W WO 2015055074 A1 WO2015055074 A1 WO 2015055074A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
calling
called
call
loading
Prior art date
Application number
PCT/CN2014/087413
Other languages
English (en)
Chinese (zh)
Inventor
荣涛
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2015055074A1 publication Critical patent/WO2015055074A1/fr

Links

Images

Classifications

    • 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

Definitions

  • a computer program comprising computer readable code causing the computing device to perform a dynamic loading and calling procedure in the present invention when the computer readable code is run on a computing device Methods.
  • a computer readable medium storing a computer program as described above is provided.
  • FIG. 1 is a flow chart showing a method of dynamically loading and calling a program according to an embodiment of the present invention
  • the APK package In order to avoid the illegal tampering of the APK package, or the data error during the network transmission, the APK package needs to be legally authenticated.
  • the specific steps include: extracting the package information of the APK package (PackageInfo); obtaining the signature (Signature) object according to the PackageInfo; obtaining the MD5 value of the Signature; comparing whether the MD5 value is consistent with the legal signature, if the agreement is the same, the authentication is passed, and the following steps are continued. If it is inconsistent, the authentication error will be returned, the error message will be returned, and the loading will stop.
  • PluginActivity determines whether the baseActivity is empty by determining whether the baseActivity is empty. If it is determined that the baseActivity is not empty, it is determined that the Activity is called by the calling program in the form of a plugin. For the calling program, the calling program calls the called program as a plug-in after the called program determines that the instance of the called program is not empty.
  • the loading module 802 is adapted to determine that the called program is successfully loaded when it is determined that the instance of the called program is not empty.
  • the called program determines that the called program is called in the form of a plugin by determining that the instance of the called program is not empty.
  • the calling module 805 of the calling program calls the method corresponding to the instantiated calling program, after the called program determines that the instance of the called program is not empty, the called program is called in the form of a plug-in.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

L'invention concerne un procédé et un dispositif pour charger dynamiquement un programme. Le procédé comprend les étapes suivantes : un programme appelant reçoit une requête d'appel lancée par un système principal ; le programme appelant charge un programme appelé conformément à la requête d'appel et génère un descripteur et un fichier pertinents afin d'obtenir une instance du programme appelant ; le programme appelant attribue son instance à une instance du programme appelé et instancie le programme appelé ; le programme appelant lance une requête d'appel pour le programme appelé instancié ; le programme appelant reçoit un appel pour une méthode correspondant au programme appelant effectuée par le système principal conformément au cycle de vie d'un programme, et appelle une méthode correspondant au programme appelé instancié conformément à la requête d'appel pour le programme appelé instancié et au cycle de vie du programme. Au moyen de la solution décrite dans la présente invention, un APK peut être chargé et appelé simplement par téléchargement d'un paquetage de programme, simplifiant ainsi l'utilisation d'un programme par un utilisateur.
PCT/CN2014/087413 2013-10-17 2014-09-25 Procédé et dispositif pour dynamiquement charger et appeler un programme WO2015055074A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310487438.2 2013-10-17
CN201310487438.2A CN103530156B (zh) 2013-10-17 2013-10-17 动态加载和调用程序的方法及装置

Publications (1)

Publication Number Publication Date
WO2015055074A1 true WO2015055074A1 (fr) 2015-04-23

Family

ID=49932196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087413 WO2015055074A1 (fr) 2013-10-17 2014-09-25 Procédé et dispositif pour dynamiquement charger et appeler un programme

Country Status (2)

Country Link
CN (1) CN103530156B (fr)
WO (1) WO2015055074A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159803A (zh) * 2015-09-17 2015-12-16 成都中科创达软件有限公司 一种应用程序的恢复方法及系统
CN113886854A (zh) * 2021-10-14 2022-01-04 广州九尾信息科技有限公司 一种基于安卓平台权限监控与管理的方法和装置

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530156B (zh) * 2013-10-17 2016-11-16 北京奇虎科技有限公司 动态加载和调用程序的方法及装置
CN104216741A (zh) * 2014-08-25 2014-12-17 华中科技大学 基于APK动态加载的Android插件化实现方法、装置及交互方法
CN104239054A (zh) * 2014-09-12 2014-12-24 广州市久邦数码科技有限公司 一种基于安卓系统的插件加载方法及其系统
CN105630518A (zh) * 2014-10-28 2016-06-01 北京娜迦信息科技发展有限公司 Android应用软件资源更新的方法和装置
CN104375861B (zh) * 2014-11-04 2017-06-09 北京奇虎科技有限公司 基于安卓平台的应用程序免安装运行的方法、装置及终端
CN104317625A (zh) * 2014-11-09 2015-01-28 刘鹏 一种apk文件的动态加载方法
CN104360884A (zh) * 2014-11-18 2015-02-18 久邦计算机技术(广州)有限公司 一种基于安卓系统的插件资源包加载方法
CN104580715B (zh) * 2014-12-30 2017-08-25 北京奇虎科技有限公司 一种移动端应用客户端装置和移动终端
CN104507158B (zh) * 2014-12-30 2018-10-23 北京奇虎科技有限公司 一种建立无线局域网连接的方法、装置和移动终端
CN104461663B (zh) * 2014-12-30 2018-04-20 北京奇虎科技有限公司 一种加载其它移动端应用的方法、装置和移动终端
CN104731600A (zh) * 2015-03-31 2015-06-24 上海盈方微电子有限公司 一种将安卓系统服务插件化的实现方法
CN104714828B (zh) * 2015-03-31 2017-06-09 北京奇虎科技有限公司 应用安装、运行方法及装置
CN105183457B (zh) * 2015-08-13 2018-11-06 北京金山安全软件有限公司 一种监听界面生命周期回调的方法及装置
CN105068819A (zh) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 一种应用程序的调用方法、装置及终端
CN105975290A (zh) * 2015-10-13 2016-09-28 乐视致新电子科技(天津)有限公司 一种解析apk文件的方法和装置
CN105511902B (zh) * 2015-11-09 2019-11-12 Tcl集团股份有限公司 一种安卓平台模块动态加载的方法及系统
CN105511935B (zh) * 2015-12-09 2019-07-09 网易(杭州)网络有限公司 资源索引值的获取方法及装置
CN105955787B (zh) * 2016-05-18 2019-11-22 深圳市掌玩网络技术有限公司 一种用于Android系统的插件加载方法及装置
CN106293817A (zh) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 一种替换插件的方法及装置
CN106686420A (zh) * 2016-12-09 2017-05-17 广州华多网络科技有限公司 直播应用程序的管理方法及装置
CN106775879B (zh) * 2016-12-22 2020-09-11 福建天泉教育科技有限公司 基于安卓系统客户端的vr应用免安装方法及其系统
CN106817373A (zh) * 2017-01-23 2017-06-09 重庆邮电大学 一种面向私有云平台的取证方法
CN111309407B (zh) * 2020-02-21 2023-07-11 咪咕文化科技有限公司 集成第三方库的处理方法及装置
CN111475227B (zh) * 2020-04-02 2022-02-01 深圳创维-Rgb电子有限公司 业务插件加载实现方法、装置和终端设备
CN112199151B (zh) * 2020-09-07 2023-10-24 成都安易迅科技有限公司 一种应用程序的运行方法及装置
CN113419760A (zh) * 2021-06-24 2021-09-21 广联达科技股份有限公司 打开/保存工程文件的方法、装置、计算机设备和介质
CN113568679A (zh) * 2021-07-20 2021-10-29 深圳Tcl新技术有限公司 插件加载方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001050250A2 (fr) * 2000-01-06 2001-07-12 Sun Microsystems, Inc. Verificateur et methode de pre-execution d'un programme efficace de memorisation
CN102999352A (zh) * 2012-11-15 2013-03-27 中国科学院声学研究所 一种嵌入式系统组件加载方法
CN103309741A (zh) * 2013-06-17 2013-09-18 腾讯科技(深圳)有限公司 调用插件功能的方法和装置
CN103530156A (zh) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 动态加载和调用程序的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370824B2 (en) * 2007-10-23 2013-02-05 International Business Machines Corporation Dynamic class loading
CN101924798B (zh) * 2010-09-08 2012-11-21 北京大学 一种基于文件类型的Android构件透明加载方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001050250A2 (fr) * 2000-01-06 2001-07-12 Sun Microsystems, Inc. Verificateur et methode de pre-execution d'un programme efficace de memorisation
CN102999352A (zh) * 2012-11-15 2013-03-27 中国科学院声学研究所 一种嵌入式系统组件加载方法
CN103309741A (zh) * 2013-06-17 2013-09-18 腾讯科技(深圳)有限公司 调用插件功能的方法和装置
CN103530156A (zh) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 动态加载和调用程序的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159803A (zh) * 2015-09-17 2015-12-16 成都中科创达软件有限公司 一种应用程序的恢复方法及系统
CN113886854A (zh) * 2021-10-14 2022-01-04 广州九尾信息科技有限公司 一种基于安卓平台权限监控与管理的方法和装置

Also Published As

Publication number Publication date
CN103530156B (zh) 2016-11-16
CN103530156A (zh) 2014-01-22

Similar Documents

Publication Publication Date Title
WO2015055074A1 (fr) Procédé et dispositif pour dynamiquement charger et appeler un programme
US9811360B2 (en) Dynamic determination of application server runtime classloading
WO2017050094A1 (fr) Procédé et appareil de chargement d'un programme d'application
US7640542B2 (en) Managing midlet suites in OSGI environment
US8875106B2 (en) Automated testing process
US8539506B2 (en) Dynamic injection of code into running process
CN110187910B (zh) 一种热更新方法、装置、设备及计算机可读存储介质
US10789058B2 (en) Extensibility of unified platform
US9507748B2 (en) Platform runtime abstraction
WO2017041499A1 (fr) Procédé et système de mise à niveau de logiciel, et support de stockage lisible par ordinateur
WO2018032653A1 (fr) Procédé et appareil de mise en œuvre de fonction pour application de carte java
CN112083968A (zh) 一种宿主中插件加载方法及装置
CN117093286B (zh) 插件生成方法、装置、设备及计算机可读存储介质
CN111813385A (zh) 一种基于Web应用的页面插件化方法、装置及设备
CN116643778B (zh) 一种应用程序优化方法及电子设备
CN111338829B (zh) 远程过程调用服务的调用方法及装置
Yim et al. Treble: Fast software updates by creating an equilibrium in an active software ecosystem of globally distributed stakeholders
CN106802805B (zh) 一种适用服务器管理的应用服务管理方法及装置
CN106445595B (zh) 插件的Application对象的构建方法及装置
CN106778270B (zh) 一种恶意应用程序的检测方法及系统
CN113590179B (zh) 插件检测方法、装置、电子设备及存储介质
WO2019157891A1 (fr) Procédé d'installation d'application et procédé de génération d'installateur d'application
LU500621B1 (en) Enhancing shadow stack enforcement after process creation
CN117056317B (zh) 数据处理方法、装置、设备及计算机可读存储介质
WO2021223544A1 (fr) Procédé de démarrage d'application et dispositif associé

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: 14854408

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: 14854408

Country of ref document: EP

Kind code of ref document: A1