WO2017157178A1 - 一种移动终端应用程序的更新方法和装置 - Google Patents

一种移动终端应用程序的更新方法和装置 Download PDF

Info

Publication number
WO2017157178A1
WO2017157178A1 PCT/CN2017/075464 CN2017075464W WO2017157178A1 WO 2017157178 A1 WO2017157178 A1 WO 2017157178A1 CN 2017075464 W CN2017075464 W CN 2017075464W WO 2017157178 A1 WO2017157178 A1 WO 2017157178A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
compressed package
type
container
offline compressed
Prior art date
Application number
PCT/CN2017/075464
Other languages
English (en)
French (fr)
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 阿里巴巴集团控股有限公司
Priority to EP17765720.2A priority Critical patent/EP3432141A4/en
Priority to KR1020187029534A priority patent/KR102281052B1/ko
Priority to MYPI2018703246A priority patent/MY189938A/en
Priority to JP2018549222A priority patent/JP6953424B2/ja
Priority to SG11201807850XA priority patent/SG11201807850XA/en
Publication of WO2017157178A1 publication Critical patent/WO2017157178A1/zh
Priority to PH12018501971A priority patent/PH12018501971A1/en
Priority to US16/131,905 priority patent/US20190018666A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method and an apparatus for updating a mobile terminal application.
  • the present application provides a method and apparatus for updating a mobile terminal application.
  • a method for updating a mobile terminal application comprising:
  • the file is sent to a container that matches its file type to complete the update.
  • the identifying a file type of each file in the offline compressed package includes:
  • the file type of the file is identified according to a suffix of each file in the offline compressed package.
  • the sending the file to a container that matches its file type comprises:
  • the file is an HTML type file
  • the file is sent to the WebView container for execution.
  • the sending the file to a container that matches its file type comprises:
  • the file is a React-Native type file
  • the file is sent to the React-Native container for running.
  • An updating device for a mobile terminal application comprising:
  • a download unit which downloads an offline compressed package from the server, where the offline compressed package includes one or more types of files;
  • the identifying unit after decompressing the offline compressed package, identifying a file type of each file in the offline compressed package;
  • the identifying unit identifies a file type of the file according to a suffix of each file in the offline compressed package.
  • the running unit sends the file to the WebView container to run when the file is an HTML type file.
  • the running unit sends the file to the React-Native container to run when the file is a React-Native type file.
  • the developer of the present application does not need to distinguish the file types, and can package different types of files in the same offline compression package, which greatly improves the development efficiency of the developer.
  • the application of the application can identify the file type of each file in the offline compressed package, and send each file to a container that matches its file type to complete the application update without extracting Multiple offline archives increase the rate of application updates.
  • FIG. 1 is a schematic flowchart diagram of a method for updating a mobile terminal application according to an exemplary embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an updating apparatus for a mobile terminal application according to an exemplary embodiment of the present application.
  • FIG. 3 is a diagram showing a mobile terminal application according to an exemplary embodiment of the present application. Schematic diagram of the structure of the new device.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
  • FIG. 1 is a schematic flowchart of a method for updating a mobile terminal application according to an exemplary embodiment of the present application.
  • the update method of the terminal application may be applied to an application (APP) loaded by the mobile terminal, and the mobile terminal may include a smart terminal device such as a smart phone, a tablet computer, a PDA (Personal Digital Assistant), a PC, and the like.
  • the method for updating the mobile terminal application may include the following steps:
  • Step 101 Download an offline compressed package from a server, where the offline compressed package includes one or more types of files.
  • the file when the developer of the application prepares the offline compressed package required for the application update, the file can be packaged in the same offline compressed package after the relevant files required for the update are written.
  • an application update needs to run a plurality of different types of files, such as an HTML5 type file, a React-Native type file, and the like. Developers can package all the files needed for this update of the application in the same offline archive after writing various types of files.
  • the application program may download an offline compressed package required for the update from the server, where the offline compressed package includes one or more types of files.
  • Step 102 After decompressing the offline compressed package, identify a file type of each file in the offline compressed package.
  • the offline compressed package is decompressed, and all the files included in the offline compressed package can be obtained.
  • the file type of each file can be identified in turn.
  • the file type can be identified according to the suffix of the file.
  • the file when the suffix of the file is .html, the file may be determined to be an HTML type file, and when the suffix of the file is .jsbundle, the file may be determined to be a React-Native type file.
  • HTML HyperText Markup Language
  • .jsbundle the file may be determined to be a React-Native type file.
  • React-Native React-Native type file
  • step 103 the file is sent to a container that matches its file type to complete the update.
  • the file may be sent to a container matching its file type, and the file is run by the container, thereby completing the update of the application.
  • the file when the file is an HTML type file, the file may be sent to a WebView container, and the WebView container may run the code in the HTML file.
  • the file when the file is a React-Native type file, the file can be sent to a React-Native container, and the React-Native container can run the code in the React-Native file.
  • the application After all the files in the offline compressed package are run by the container matching the file type, the application completes the update.
  • the developer of the present application does not need to distinguish the file types, and can package different types of files in the same offline compression package, which greatly improves the development efficiency of the developer.
  • the application of the application can identify the file type of each file in the offline compressed package, and send each file to a container that matches its file type to complete the application update without extracting Multiple offline archives increase the rate of application updates.
  • the present application also provides an embodiment of the update device of the mobile terminal application.
  • An embodiment of the updating device of the mobile terminal application of the present application can be applied to an application loaded in the mobile terminal.
  • the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the processor of the mobile terminal in which the mobile terminal is located reads the corresponding computer program instructions in the non-volatile memory into the memory.
  • FIG. 2 a hardware structure diagram of a mobile terminal where the updating device of the mobile terminal application of the present application is located, except for the processor, the memory, the network interface, and the nonvolatile memory shown in FIG.
  • the mobile terminal in which the device is located in the embodiment may also include other hardware according to the actual function of the mobile terminal, and details are not described herein.
  • FIG. 3 is a schematic structural diagram of an apparatus for updating a mobile terminal application according to an exemplary embodiment of the present application.
  • the updating apparatus 200 of the mobile terminal application may be applied to an application loaded in the mobile terminal shown in FIG. 2, and includes: a downloading unit 201, an identifying unit 202, and an operating unit 203.
  • the download unit 201 downloads an offline compressed package from the server, where the offline compressed package includes one or more types of files;
  • the identifying unit 202 after decompressing the offline compressed package, identifying a file type of each file in the offline compressed package;
  • the running unit 203 sends the file to a container that matches its file type to complete the update.
  • the identifying unit 202 after decompressing the offline compressed package, identifies a file type of the file according to a suffix of each file in the offline compressed package.
  • the running unit 203 sends the file to the WebView container to run when the file is an HTML type file.
  • the running unit 203 sends the file to the React-Native container to run when the file is a React-Native type file.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
PCT/CN2017/075464 2016-03-15 2017-03-02 一种移动终端应用程序的更新方法和装置 WO2017157178A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
EP17765720.2A EP3432141A4 (en) 2016-03-15 2017-03-02 METHOD AND DEVICE FOR UPDATING AN APPLICATION OF A MOBILE TERMINAL
KR1020187029534A KR102281052B1 (ko) 2016-03-15 2017-03-02 이동 단말 애플리케이션 업데이트 방법 및 장치
MYPI2018703246A MY189938A (en) 2016-03-15 2017-03-02 Mobile terminal application update method and device
JP2018549222A JP6953424B2 (ja) 2016-03-15 2017-03-02 モバイル端末のアプリケーション更新方法及び装置
SG11201807850XA SG11201807850XA (en) 2016-03-15 2017-03-02 Mobile terminal application update method and device
PH12018501971A PH12018501971A1 (en) 2016-03-15 2018-09-13 Mobile terminal application update method and device
US16/131,905 US20190018666A1 (en) 2016-03-15 2018-09-14 Mobile terminal application update method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610147375.XA CN107193576A (zh) 2016-03-15 2016-03-15 一种移动终端应用程序的更新方法和装置
CN201610147375.X 2016-03-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/131,905 Continuation US20190018666A1 (en) 2016-03-15 2018-09-14 Mobile terminal application update method and device

Publications (1)

Publication Number Publication Date
WO2017157178A1 true WO2017157178A1 (zh) 2017-09-21

Family

ID=59850741

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075464 WO2017157178A1 (zh) 2016-03-15 2017-03-02 一种移动终端应用程序的更新方法和装置

Country Status (10)

Country Link
US (1) US20190018666A1 (ko)
EP (1) EP3432141A4 (ko)
JP (1) JP6953424B2 (ko)
KR (1) KR102281052B1 (ko)
CN (1) CN107193576A (ko)
MY (1) MY189938A (ko)
PH (1) PH12018501971A1 (ko)
SG (2) SG10202107754XA (ko)
TW (1) TWI712956B (ko)
WO (1) WO2017157178A1 (ko)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401702A (zh) * 2019-07-09 2019-11-01 北京达佳互联信息技术有限公司 一种离线包下载方法、装置、电子设备和存储介质
CN113568645A (zh) * 2021-08-11 2021-10-29 网易(杭州)网络有限公司 软件更新方法、装置、电子设备和存储介质
CN113821488A (zh) * 2021-09-29 2021-12-21 重庆紫光华山智安科技有限公司 容器镜像迁移压缩方法、装置、设备及介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362322B (zh) * 2018-04-11 2023-08-01 宏碁股份有限公司 电子装置与其离线更新程序的方法
CN109683893B (zh) * 2018-12-14 2023-05-05 五八有限公司 应用程序生成方法、装置、服务器及存储介质
KR102173336B1 (ko) * 2019-04-29 2020-11-03 (주)메이드인헤븐 리액트 네이티브 환경 기반 실시간 애플리케이션 배포 서비스 제공 시스템
WO2021096017A1 (ko) * 2019-11-15 2021-05-20 엘지전자 주식회사 컨테이너 기반의 차량 시스템에서 심리스 컨테이너 업데이트
CN111538508A (zh) * 2020-04-16 2020-08-14 维沃移动通信有限公司 应用程序的安装方法及电子设备
CN111654428B (zh) * 2020-06-05 2022-05-17 天津卓朗科技发展有限公司 离线消息处理方法、装置和服务器
CN114064017A (zh) * 2020-08-04 2022-02-18 腾讯科技(深圳)有限公司 一种绘制方法及相关设备
KR102612589B1 (ko) * 2021-10-19 2023-12-12 주식회사 에프씨아이 목표 달성 및 습관 형성을 위한 스마트 단말기 및 그의 목표 달성 및 습관 형성 방법
CN117493716A (zh) * 2023-11-08 2024-02-02 中建八局第一数字科技有限公司 移动端Web App的展示更新方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777317A (zh) * 2005-12-16 2006-05-24 北京金山软件有限公司 一种实现无线终端程序更新的方法
CN102118500A (zh) * 2010-12-27 2011-07-06 清华大学 移动终端开源操作系统基于软件包的在线自动更新方法
CN103218242A (zh) * 2013-04-19 2013-07-24 飞天诚信科技股份有限公司 一种自动更新的方法
US20140033198A1 (en) * 2009-04-08 2014-01-30 Adobe Systems Incorporated Extensible distribution/update architecture
CN105260209A (zh) * 2015-10-20 2016-01-20 珠海金山网络游戏科技有限公司 一种程序热更新解决方法
CN105335201A (zh) * 2015-11-30 2016-02-17 北京奇艺世纪科技有限公司 一种应用软件更新方法和装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6912711B1 (en) * 2000-05-25 2005-06-28 International Business Machines Corporation Method of applying an update to a contained collection of program and data files based upon versions
EP1978715A1 (de) * 2007-04-03 2008-10-08 Daniel Kopf Kommunikationsverfahren zur Datenübertragung für ein elektronisches Kleinstgerät
TW200925993A (en) * 2007-12-13 2009-06-16 Asure Corp Multi-terminal automatic updating system
US8869140B2 (en) * 2008-05-09 2014-10-21 Sap Se Deploying software modules in computer system
TW201128528A (en) * 2010-02-09 2011-08-16 Noria Co Ltd Software patch download solution
CN102955702B (zh) * 2011-08-23 2016-08-10 腾讯科技(深圳)有限公司 一种软件安装及升级方法和装置
US20130117749A1 (en) * 2011-11-03 2013-05-09 Microsoft Corporation Provisioning and Managing an Application Platform
KR102003850B1 (ko) * 2012-06-04 2019-07-25 삼성전자주식회사 단말의 애플리케이션 제공 방법 및 그 단말
CN104102502B (zh) * 2013-04-09 2018-09-04 腾讯科技(深圳)有限公司 一种实现热部署的处理方法、装置及服务器
US20160350081A1 (en) * 2015-05-27 2016-12-01 Runnable Inc. Automatic container definition
EP3423938A4 (en) * 2016-03-01 2019-12-04 650 Industries, Inc. METHOD AND DEVICE FOR LOADING MULTIPLE DIFFERENT VERSIONS OF A NATIVE LIBRARY IN A NATIVE ENVIRONMENT
CN105867974A (zh) * 2016-03-31 2016-08-17 浪潮通用软件有限公司 一种cs架构应用程序的离线升级方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777317A (zh) * 2005-12-16 2006-05-24 北京金山软件有限公司 一种实现无线终端程序更新的方法
US20140033198A1 (en) * 2009-04-08 2014-01-30 Adobe Systems Incorporated Extensible distribution/update architecture
CN102118500A (zh) * 2010-12-27 2011-07-06 清华大学 移动终端开源操作系统基于软件包的在线自动更新方法
CN103218242A (zh) * 2013-04-19 2013-07-24 飞天诚信科技股份有限公司 一种自动更新的方法
CN105260209A (zh) * 2015-10-20 2016-01-20 珠海金山网络游戏科技有限公司 一种程序热更新解决方法
CN105335201A (zh) * 2015-11-30 2016-02-17 北京奇艺世纪科技有限公司 一种应用软件更新方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3432141A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401702A (zh) * 2019-07-09 2019-11-01 北京达佳互联信息技术有限公司 一种离线包下载方法、装置、电子设备和存储介质
CN110401702B (zh) * 2019-07-09 2022-03-25 北京达佳互联信息技术有限公司 一种离线包下载方法、装置、电子设备和存储介质
CN113568645A (zh) * 2021-08-11 2021-10-29 网易(杭州)网络有限公司 软件更新方法、装置、电子设备和存储介质
CN113568645B (zh) * 2021-08-11 2023-09-12 网易(杭州)网络有限公司 软件更新方法、装置、电子设备和存储介质
CN113821488A (zh) * 2021-09-29 2021-12-21 重庆紫光华山智安科技有限公司 容器镜像迁移压缩方法、装置、设备及介质
CN113821488B (zh) * 2021-09-29 2022-07-08 重庆紫光华山智安科技有限公司 容器镜像迁移压缩方法、装置、设备及介质

Also Published As

Publication number Publication date
CN107193576A (zh) 2017-09-22
JP6953424B2 (ja) 2021-10-27
EP3432141A4 (en) 2019-11-27
US20190018666A1 (en) 2019-01-17
JP2019510315A (ja) 2019-04-11
EP3432141A1 (en) 2019-01-23
PH12018501971A1 (en) 2019-07-01
SG10202107754XA (en) 2021-09-29
MY189938A (en) 2022-03-22
SG11201807850XA (en) 2018-10-30
TW201734780A (zh) 2017-10-01
KR20190005152A (ko) 2019-01-15
TWI712956B (zh) 2020-12-11
KR102281052B1 (ko) 2021-07-26

Similar Documents

Publication Publication Date Title
WO2017157178A1 (zh) 一种移动终端应用程序的更新方法和装置
KR102042723B1 (ko) 애플리케이션을 업데이트하는 방법
US10521447B2 (en) Container application execution using image metadata
WO2018137564A1 (zh) 一种业务处理方法及装置
US9374407B2 (en) Mobile device application streaming
US20130144934A1 (en) Web Content Targeting Based on Client Application Availability
US10963287B2 (en) Reducing request latency in a multi-tenant web service host
US10089108B1 (en) Archival format for incremental deployments and version control
WO2023000952A1 (zh) 基于邮箱的票据处理
WO2019029451A1 (zh) 发布移动应用的方法和电子设备
CN111459511A (zh) 应用程序的下载方法、装置及电子设备
CN110928571A (zh) 业务程序开发方法和装置
CN110532016B (zh) 版本管理方法、版本更新方法和版本管理系统
CN110113391B (zh) 一种客户端上线方法、装置及一种客户端运行方法、装置
CN109857430B (zh) 跨容器离线包的数据处理方法、支付方法、装置及客户端
CN109491687B (zh) 一种应用软件的热更新方法、装置、终端及可读介质
TWI517045B (zh) JAVA cluster application system code loading and upgrading devices and methods
EP2680135B1 (en) Methods for updating applications
CN114238934A (zh) 一种设备信息获取方法、装置、设备及介质
US8527580B2 (en) Saving multiple data items using partial-order planning
CN113448960A (zh) 一种导入表格文件的方法和装置
CN112256326B (zh) 信息的处理方法、装置、设备及存储介质
US11410082B2 (en) Data loss machine learning model update
CN109032684B (zh) 一种基于安卓系统广播插件的实现方法及终端
CN113220371A (zh) Sdk接入方法、装置、介质及电子设备

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018549222

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 11201807850X

Country of ref document: SG

ENP Entry into the national phase

Ref document number: 20187029534

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2017765720

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017765720

Country of ref document: EP

Effective date: 20181015

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17765720

Country of ref document: EP

Kind code of ref document: A1