WO2020010727A1 - Application update method and device, and computer readable storage medium - Google Patents

Application update method and device, and computer readable storage medium Download PDF

Info

Publication number
WO2020010727A1
WO2020010727A1 PCT/CN2018/108779 CN2018108779W WO2020010727A1 WO 2020010727 A1 WO2020010727 A1 WO 2020010727A1 CN 2018108779 W CN2018108779 W CN 2018108779W WO 2020010727 A1 WO2020010727 A1 WO 2020010727A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
file
module
application information
locally stored
Prior art date
Application number
PCT/CN2018/108779
Other languages
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 平安科技(深圳)有限公司
Publication of WO2020010727A1 publication Critical patent/WO2020010727A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Definitions

  • the present application relates to the field of computer technology, and in particular, to an application update method and device, and a computer-readable storage medium.
  • the client When performing software application update, the client needs to update and compare all modules at one time. However, in actual applications, it is not necessary to update all functional modules. The full update method will inevitably lead to a decrease in update efficiency. , And there is generally no security check after the update, the security of the update process cannot be guaranteed, and the file may be tampered with.
  • the purpose of this application is to provide an application update method and device, and a computer-readable storage medium, thereby solving the problems of high server pressure and low update efficiency in the existing software application update process, and achieving simple and efficient software implementation. Updated technical effects.
  • This application provides an application update method, which includes the following steps:
  • the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  • This application provides an application update device, which is located in a client and includes:
  • a sending module for sending an application update request to the server
  • a receiving module configured to receive application information returned by the server
  • a detection module configured to detect whether a locally stored file needs to be updated according to the application information returned by the server and the locally stored application information
  • the update module is configured to: when it is determined that the locally stored file needs to be updated, download a file from the server according to the file path in the application information returned by the server, and update the locally stored file according to the downloaded file.
  • This application provides a computer device including a memory and a processor.
  • the memory stores a computer program.
  • the processor executes the computer program, the following steps are implemented:
  • the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  • This application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented:
  • the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  • the client sends an application update request to the server; receives the application information returned by the server; detects whether the locally stored file needs to be updated based on the application information returned by the server and locally stored application information; when It is determined that the locally stored file needs to be updated, and the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
  • FIG. 1 is an optional flowchart of an application update method according to an embodiment of the present application
  • FIG. 2 is another schematic flowchart of an application update method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an optional program module of an application update system according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another optional program module of an application update system according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an optional hardware architecture of an electronic device according to an embodiment of the present application.
  • the application software can be updated in an incremental update manner, so that the problem of inefficient software update caused by the full update can be avoided.
  • the server needs to store installation and update packages of all versions of the software, which will increase the storage burden on the server.
  • an application update method and an electronic device are provided in this example.
  • the application update method and the electronic device are described in detail below:
  • FIG. 1 is a schematic diagram of an optional process of an application update method. As shown in FIG. 1, the method may include the following steps S01-S05:
  • the trigger condition may be that the application is not installed for the first time on the client and is not the first time after the update. That is, if these launch conditions are met, an application update request to the server is triggered to trigger an update to the application.
  • the above application information may include: the current version number of each module of the application, the acquisition path of each file, the MD5 value of each file, and the update time; based on the application information returned by the server, it is possible to determine whether an update is required , And obtain the storage path of the update file to read the file to be updated or the file that needs to be updated.
  • a method of comparing a version number and an MD5 value with a locally stored version number and an MD5 value may be adopted.
  • the version number of the module can be used to determine whether the module needs to be updated
  • the MD5 value can be used to determine which files in the module that need to be updated need to be updated and which files do not need to be updated, thereby completing the incremental update of the software application.
  • detecting whether the locally stored file needs to be updated according to the application information returned by the client and the locally stored application information may include:
  • S1 determine whether the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information
  • the client can first determine which files need to be updated and which files do not need to be updated based on the application information, and only update the files that need to be updated, instead of using the full update method, which is incremental update.
  • Mode which can effectively solve the problem of low application update efficiency in the existing application update process, and achieve the technical effect of effectively improving the application update efficiency.
  • the comparison is made after the file update is completed.
  • the MD5 value method is used to determine whether the files are correct, that is, the MD5 values of all files are compared to determine whether the files have been updated and whether the updated files are correct. Specifically, after updating the local file of the client through the downloaded file, the MD5 value of the local file is compared with the MD5 value of each file in the application information returned by the client; if they are consistent, it is determined Update was successful; if inconsistent, an exception warning message is generated.
  • an exception warning message can be generated.
  • a network exception prompt message can be displayed on the client and then detect whether the user triggers a retry or exit operation; if the user triggers a retry operation, restart the application ; If the user triggers an exit, exit the app.
  • the above application update process may be a process that is triggered only when the conditions are met.
  • the trigger condition may be that the application is not installed for the first time on the client and is not started for the first time after the update.
  • the client sends the application to the server.
  • trigger conditions listed above and the message content carried by the application information are only exemplary descriptions. In actual implementation, other trigger conditions or message contents may be used. Not limited.
  • the method for starting and using the application may include:
  • S2 Determine whether to enable the offline cache function. If so, execute S3, otherwise execute S9;
  • S3 Determine whether the application is the first time after the first installation or update (that is, determine whether the user's application startup request meets the trigger condition); if not, execute S4, otherwise execute S9;
  • S4 Determine whether the service module needs to be updated. If it is required to be updated, execute S5; otherwise, execute S9;
  • S6 Download Version and compare whether the version number needs to be updated. If it is needed, execute S7, otherwise execute S9;
  • S8 Determine whether the file is updated. If so, perform S9, otherwise continue to wait for the file to be downloaded.
  • a network exception prompt may pop up, and there are retry and exit buttons to determine whether the user retry or exit.
  • the client sends an application update request to the server, and receives the application information returned by the server.
  • the application information includes the current version number of each module of the application, the acquisition path of each file, and each file. MD5 value and update time; the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the file in the application information returned by the server Path, download the file from the server, and update the local file of the client by the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
  • FIG. 3 and FIG. 4 show optional structural block diagrams of the application update system.
  • the application update system is Divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the application.
  • the program module referred to in this application refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable than the program itself to describe the execution process of the application update system in a storage medium. The following description will specifically introduce the program modules of this embodiment.
  • the application update system 30 includes:
  • a receiving module 32 configured to receive application information returned by the server
  • a detection module 33 configured to detect whether a locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
  • the update module 34 is configured to: when it is determined that the locally stored file needs to be updated, download a file from the server according to the file path in the application information returned by the server, and update the locally stored file according to the downloaded file.
  • the detection module 33 may include: a judging unit, configured to judge whether the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information; A processing unit, configured to detect that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, and then do not perform file processing Update; an update unit, configured to detect when the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, then update the current module of each module of the application Files are updated.
  • the above-mentioned application update device may further include: a comparison module 35, which may be specifically configured to return the MD5 value of the local file to the client after updating the local file of the client through the downloaded file.
  • the MD5 value of each file in the application information is compared; if they are consistent, the update is determined to be successful; if they are not consistent, an exception warning message is generated.
  • a network abnormal prompt message is displayed; detecting whether the user triggers a retry or exit operation; if the user triggers a retry operation, the application is restarted; if the user triggers an exit operation, the application is exited .
  • the client sending an application update request to the server may include: receiving a user's application launch request; determining whether the application is installed on the client for the first time, or whether it is the first launch after the update In the case of determining that it is installed for the first time or started for the first time after the update, the client sends an application update request to the server.
  • the client sends an application update request to the server, and receives application information returned by the server, where the application information includes: the current version number of each module of the application, and the acquisition path of each file.
  • the MD5 value and update time of each file the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the application returned by the server
  • the file path in the information the file is downloaded from the server, and the local file of the client is updated by the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective.
  • the problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
  • FIG. 5 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present application.
  • the electronic device 2 is a device capable of automatically performing numerical calculation and / or information processing in accordance with an instruction set or stored in advance.
  • it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of multiple servers).
  • the electronic device 2 includes at least, but is not limited to, a memory 21, a processor 22, a network interface 23, and an application update system 30 that can communicate with each other through a system bus. among them:
  • the memory 21 includes at least one type of computer-readable storage medium.
  • the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static random access memory.
  • SRAM static random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • PROM programmable read-only memory
  • magnetic memory magnetic disks, optical disks, etc.
  • the memory 21 may be an internal storage module of the electronic device 2, such as a hard disk or a memory of the electronic device 2.
  • the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart memory card (SMC), and a secure digital (Secure Digital, SD) card, Flash card, etc.
  • the memory 21 may also include both an internal storage module of the electronic device 2 and an external storage device thereof.
  • the memory 21 is generally used to store an operating system and various application software installed on the electronic device 2, such as program codes of the application update system 30.
  • the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is generally used to control the overall operation of the electronic device 2, for example, to perform control and processing related to data interaction or communication with the electronic device 2.
  • the processor 22 is configured to run program code or process data stored in the memory 21, such as a running application update system 20 and the like.
  • the network interface 23 may include a wireless network interface or a wired network interface.
  • the network interface 23 is generally used to establish a communication connection between the electronic device 2 and other electronic devices.
  • the network interface 23 is used to connect the electronic device 2 with an external terminal through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and the external terminal.
  • the network can be an intranet, the Internet, a Global System for Mobile Communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Wireless or wired networks such as Bluetooth and Wi-Fi.
  • GSM Global System for Mobile Communication
  • WCDMA Wideband Code Division Multiple Access
  • FIG. 5 only shows the electronic device with components 21-23, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the application update system 20 stored in the memory 21 may also be divided into one or more program modules, and the one or more program modules are stored in the memory 21, and are composed of one or more processors ( This embodiment is executed by the processor 22) to complete the present application.
  • This embodiment also provides a computer-readable storage medium.
  • the computer-readable storage medium stores an application update system, and the application update system may be executed by at least one processor, so that the at least one processor executes the application according to the first embodiment. Update method steps.
  • the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), and a read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc.
  • the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device.
  • the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital) device. , SD) card, flash memory card (Flash card) and so on.
  • the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device.
  • the computer-readable storage medium is generally used to store an operating system and various types of application software installed on a computer device, such as program code of the customer assurance analysis system of the second embodiment.
  • the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
  • the client sends an application update request to the server and receives the application information returned by the server.
  • the application information includes: the current version number of each module of the application, the acquisition path of each file, and the MD5 value and update time; the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the file path in the application information returned by the server Downloading a file from the server, and updating the local file of the client through the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
  • modules or steps of the embodiments of the present application may be implemented by a general-purpose computing device, and they may be centralized on a single computing device or distributed to multiple computing devices.
  • they can be implemented with program code executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be different from here
  • the steps shown or described are performed in sequence, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

Landscapes

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

Abstract

An application update method and device, and a computer readable storage medium. The method comprises: sending an application update request to a server end (S01); a client end receiving application information returned by the server end (S02); according to the application information returned by the server end and locally stored application information, detecting whether a locally stored file needs to be updated (S03); if it is determined that the locally stored file needs to be updated, downloading the file from the server end according to a file path in the application information returned by the server end, and updating the locally stored file according to the downloaded file (S04). Said method solves the problem of low application update efficiency existing in the existing application update process, and achieves the technical effect of effectively improving application update efficiency.

Description

应用更新方法和装置及计算机可读存储介质Application update method and device, and computer-readable storage medium
本申请申明享有2018年07月10日递交的申请号为CN 201810749377.5、名称为“应用更新方法和装置及计算机可读存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application affirms the priority of Chinese patent application filed on July 10, 2018 with the application number of CN 201810749377.5 and the name "Application Update Method and Device and Computer-readable Storage Medium", the entire content of this Chinese patent application is referred to for reference. The way is incorporated in this application.
技术领域Technical field
本申请涉及计算机技术领域,具体涉及一种应用更新方法和装置及计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an application update method and device, and a computer-readable storage medium.
背景技术Background technique
随着互联网技术的不断发展,软件应用也变得越来越多。目前,大多数App(即,软件应用)的更新都需要在服务器端存储多个版本的更新包,即,需要将这个软件每个更新过程的版本的更新包都存储在服务端,这样势必会导致服务器端的维护成本太高。With the continuous development of Internet technology, software applications have become more and more. At present, most App (ie, software application) updates need to store multiple versions of update packages on the server side, that is, the update packages of each version of the software update process need to be stored on the server side, which is bound to As a result, server-side maintenance costs are too high.
在进行软件应用更新的时候,客户端需要一次性就对所有模块进行更新对比,然而,在实际的应用中并不需要对所有的功能模块都进行更新,全量的更新方式势必会导致更新效率降低,且在更新后一般也没有安全性校验,更新过程的安全性得不到保证,文件存在被篡改的可能。When performing software application update, the client needs to update and compare all modules at one time. However, in actual applications, it is not necessary to update all functional modules. The full update method will inevitably lead to a decrease in update efficiency. , And there is generally no security check after the update, the security of the update process cannot be guaranteed, and the file may be tampered with.
针对上述问题,目前尚未提出有效的解决方案。In view of the above problems, no effective solution has been proposed.
发明内容Summary of the invention
本申请的目的在于提供一种应用更新方法和装置及计算机可读存储介质,进而解决现有的软件应用更新过程中所存在的服务端压力大,更新效率低的 问题,达到了简单高效进行软件更新的技术效果。The purpose of this application is to provide an application update method and device, and a computer-readable storage medium, thereby solving the problems of high server pressure and low update efficiency in the existing software application update process, and achieving simple and efficient software implementation. Updated technical effects.
本申请是通过下述技术方案来解决上述技术问题:This application solves the above technical problems through the following technical solutions:
本申请提供了一种应用更新方法,包括如下步骤:This application provides an application update method, which includes the following steps:
向服务器端发送应用更新请求;Send an application update request to the server;
接收所述服务器端返回的应用信息;Receiving application information returned by the server;
根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
本申请提供了一种应用更新装置,位于客户端中,包括:This application provides an application update device, which is located in a client and includes:
发送模块,用于向服务器端发送应用更新请求;A sending module for sending an application update request to the server;
接收模块,用于接收所述服务器端返回的应用信息;A receiving module, configured to receive application information returned by the server;
检测模块,用于根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;A detection module, configured to detect whether a locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
更新模块,用于当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。The update module is configured to: when it is determined that the locally stored file needs to be updated, download a file from the server according to the file path in the application information returned by the server, and update the locally stored file according to the downloaded file.
本申请提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如下步骤:This application provides a computer device including a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:
向服务器端发送应用更新请求;Send an application update request to the server;
接收所述服务器端返回的应用信息;Receiving application information returned by the server;
根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中 的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
本申请提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:This application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
向服务器端发送应用更新请求;Send an application update request to the server;
接收所述服务器端返回的应用信息;Receiving application information returned by the server;
根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
在本申请中,客户端向服务器端发送应用更新请求;接收述服务器端返回的应用信息;根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。即,对于客户端而言可以根据应用信息先确定哪些文件需要更新,哪些文件不需要更新,仅更新需要更新的文件,而不是采用全量更新的方式,是采用增量更新的模式,从而可以有效解决现有的应用更新过程中所存在的应用更新效率低下的问题,达到了有效提升应用更新效率的技术效果。In this application, the client sends an application update request to the server; receives the application information returned by the server; detects whether the locally stored file needs to be updated based on the application information returned by the server and locally stored application information; when It is determined that the locally stored file needs to be updated, and the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是根据本申请实施例的应用更新方法的一种可选的流程示意图;FIG. 1 is an optional flowchart of an application update method according to an embodiment of the present application; FIG.
图2是根据本申请实施例的应用更新方法的另一种可选的流程示意图;FIG. 2 is another schematic flowchart of an application update method according to an embodiment of the present application; FIG.
图3是根据本申请实施例的应用更新系统的一种可选的程序模块示意图;3 is a schematic diagram of an optional program module of an application update system according to an embodiment of the present application;
图4是根据本申请实施例的应用更新系统的另一种可选的程序模块示意图;以及4 is a schematic diagram of another optional program module of an application update system according to an embodiment of the present application; and
图5是根据本申请实施例的电子装置的一种可选的硬件架构示意图。FIG. 5 is a schematic diagram of an optional hardware architecture of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
考虑到目前的应用软件更新过程中,一般是采用全量更新的方式,这样将导致应用软件更新的效率太低,且在更新完成之后,没有对文件的正确性和安全性进行校验,这样将直接导致更新后软件应用的安全性得不到保证。Considering that the current application software update process generally uses a full update method, this will cause the application software update to be too inefficient, and after the update is completed, the correctness and security of the file are not verified. As a result, the security of software applications after the update is not guaranteed.
基于此,在本例中,考虑到可以采用增量更新的方式对应用软件进行更新,从而可以避免全量更新所导致的软件更新效率低下的问题。且因为全量更新等原因,导致服务器端需要存储有软件所有版本的安装和更新包,这将加重服务器端的存储负担。Based on this, in this example, it is considered that the application software can be updated in an incremental update manner, so that the problem of inefficient software update caused by the full update can be avoided. And because of full updates, the server needs to store installation and update packages of all versions of the software, which will increase the storage burden on the server.
为此,在本例中提供了一种应用更新方法、电子设备,下面对该应用更新方法和电子设备进行具体说明如下:To this end, an application update method and an electronic device are provided in this example. The application update method and the electronic device are described in detail below:
实施例一Example one
下面结合附图对本申请提供的应用更新方法进行说明。The application update method provided in the present application will be described below with reference to the drawings.
图1为本申请应用更新方法的一种可选的流程示意图,如图1所示,该方法可以包括以下步骤S01-S05:FIG. 1 is a schematic diagram of an optional process of an application update method. As shown in FIG. 1, the method may include the following steps S01-S05:
S01:向服务器端发送应用更新请求;S01: Send an application update request to the server;
例如:可以是接收用户的应用启动请求,检测应用启动请求是否满足触发条件;如果检测应用启动请求满足触发条件,则向所述服务器端发送应用更新请求。例如,该触发条件可以是该应用在客户端不是首次安装,且不是 更新后的首次启动。即,如果满足这些启动条件,那么就会触发向服务器发送应用更新请求,以触发对应用的更新。For example, it may be receiving an application startup request from a user and detecting whether the application startup request meets a trigger condition; if it is detected that the application startup request meets the trigger condition, sending an application update request to the server. For example, the trigger condition may be that the application is not installed for the first time on the client and is not the first time after the update. That is, if these launch conditions are met, an application update request to the server is triggered to trigger an update to the application.
S02:接收所述服务器端返回的应用信息;S02: receiving application information returned by the server;
上述应用信息中可以包括有:应用各个模块当前的版本号、每个文件的获取路径、每个文件的MD5值和更新时间;基于服务端返回的应用信息,可以实现对是否需要进行更新的判断,以及获取更新文件的存储路径,从而读取到待更新的文件,或者是需要更新的文件。The above application information may include: the current version number of each module of the application, the acquisition path of each file, the MD5 value of each file, and the update time; based on the application information returned by the server, it is possible to determine whether an update is required , And obtain the storage path of the update file to read the file to be updated or the file that needs to be updated.
S03:根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;S03: detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
具体的,在实现的时候,为了实现对文件是否需要更新的确认,可以是采用版本号和MD5值与本地存储的版本号和MD5值进行对比的方式。例如,可以通过模块的版本号可以确定模块是否需要更新,通过MD5值可以确定需要更新的模块中哪些文件需要更新,哪些文件不需要更新,从而可以完成软件应用的增量更新。Specifically, in implementation, in order to confirm whether a file needs to be updated, a method of comparing a version number and an MD5 value with a locally stored version number and an MD5 value may be adopted. For example, the version number of the module can be used to determine whether the module needs to be updated, and the MD5 value can be used to determine which files in the module that need to be updated need to be updated and which files do not need to be updated, thereby completing the incremental update of the software application.
具体的,根据所述客户端将所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新,可以包括:Specifically, detecting whether the locally stored file needs to be updated according to the application information returned by the client and the locally stored application information may include:
S1:判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;S1: determine whether the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information;
S2:当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;S2: When it is detected that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is not updated;
S3:当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。S3: When it is detected that the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is updated.
即,在上例中,对于客户端而言可以根据应用信息先确定哪些文件需要更新,哪些文件不需要更新,仅更新需要更新的文件,而不是采用全量更新 的方式,是采用增量更新的模式,从而可以有效解决现有的应用更新过程中所存在的应用更新效率低下的问题,达到了有效提升应用更新效率的技术效果。That is, in the above example, the client can first determine which files need to be updated and which files do not need to be updated based on the application information, and only update the files that need to be updated, instead of using the full update method, which is incremental update. Mode, which can effectively solve the problem of low application update efficiency in the existing application update process, and achieve the technical effect of effectively improving the application update efficiency.
考虑到现有的软件应用更新过程中所存在的更新完成之后不对文件的安全性等进行检测,而导致的应用安全性降低的问题,在本申请实施例中,采用在文件更新完成之后再次对比MD5值的方式,来确定文件是否都是正确的,即,对所有的文件的MD5值都进行比对,以确定文件是否都完成更新,以及更新的文件是否正确。具体的,可以在通过下载的文件更新所述客户端本地的文件之后,将本地文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值进行比对;如果一致,则确定更新成功;如果不一致,则生成异常警告消息。Considering that the existing application software update process does not detect the security of the file after the update is completed, resulting in a decrease in application security, in the embodiment of the present application, the comparison is made after the file update is completed. The MD5 value method is used to determine whether the files are correct, that is, the MD5 values of all files are compared to determine whether the files have been updated and whether the updated files are correct. Specifically, after updating the local file of the client through the downloaded file, the MD5 value of the local file is compared with the MD5 value of each file in the application information returned by the client; if they are consistent, it is determined Update was successful; if inconsistent, an exception warning message is generated.
如果发现文件出错,可以生成异常警告消息,在生成异常警告消息之后,可以通过客户端显示网络异常提示信息,然后检测用户是否触发重试或退出操作;如果用户触发重试操作,则重新启动应用;如果用户触发退出操作,则退出应用。If an error is found in the file, an exception warning message can be generated. After the exception warning message is generated, a network exception prompt message can be displayed on the client and then detect whether the user triggers a retry or exit operation; if the user triggers a retry operation, restart the application ; If the user triggers an exit, exit the app.
上述的应用更新流程可以是一个满足条件才触发的流程,触发条件可以是所述应用在所述客户端不是首次安装,且不是更新后的首次启动,那么,所述客户端向所述服务器端发送应用更新请求。即,在确定应用不是首次安装且不是应用更新后的首次启动的情况下,才触发进行应用的更新流程,如果是首次安装或者是更新后的首次启动,则不需要触发更新。The above application update process may be a process that is triggered only when the conditions are met. The trigger condition may be that the application is not installed for the first time on the client and is not started for the first time after the update. Then, the client sends the application to the server. Send an app update request. That is, the application update process is triggered only when it is determined that the application is not installed for the first time and is not started for the first time after the application is updated. If it is the first installation or the first startup after the update, the update does not need to be triggered.
然而,值得注意的是,上述所列举的触发条件以及应用信息所携带的消息内容仅是一种示例性描述,在实际实现的时候,可以采用其它的触发条件或者是消息内容,本申请对此不作限定。However, it is worth noting that the trigger conditions listed above and the message content carried by the application information are only exemplary descriptions. In actual implementation, other trigger conditions or message contents may be used. Not limited.
以一个具体场景对上述应用更新方法进行说明,然而,值得注意的是,该具体场景仅是为了更好的说明本申请,并不构成对本申请的不当限定。The above application update method is described in a specific scenario. However, it is worth noting that this specific scenario is only for better description of the present application, and does not constitute an improper limitation on the present application.
如图2所示,应用启动和使用方法可以包括:As shown in FIG. 2, the method for starting and using the application may include:
S1:应用程序(即,APP)进入业务模块前,调用查询离线缓存接口。S1: Before the application (ie, APP) enters the business module, it calls the query offline cache interface.
S2:确定是否启动离线缓存功能,如果启动,则执行S3,否则执行S9;S2: Determine whether to enable the offline cache function. If so, execute S3, otherwise execute S9;
S3:确定应用是否为首次安装或更新后的首次启动(即,确定用户的应用启动请求是否满足触发条件),如果否,则执行S4,否则执行S9;S3: Determine whether the application is the first time after the first installation or update (that is, determine whether the user's application startup request meets the trigger condition); if not, execute S4, otherwise execute S9;
S4:确定业务模块是否需要更新,如果需要更新,则执行S5,否则执行S9;S4: Determine whether the service module needs to be updated. If it is required to be updated, execute S5; otherwise, execute S9;
S5:调用更新业务模块接口;S5: call the update service module interface;
S6:下载Version,对比版本号是否需要更新,如果需要更新,执行S7,否则执行S9;S6: Download Version and compare whether the version number needs to be updated. If it is needed, execute S7, otherwise execute S9;
S7:下载manifest,对比MD5值是否有文件要更新,如果有,则执行S8,否则执行S9;S7: Download the manifest and compare the MD5 value to see if there are any files to update. If there is, execute S8, otherwise execute S9;
S8:确定文件是否更新完毕,如果是,则执行S9,否则继续等待文件下载。S8: Determine whether the file is updated. If so, perform S9, otherwise continue to wait for the file to be downloaded.
S9:为了确定业务模块是否可以正常运行,可以将本地存储的所有文件的MD5值与manifest进行一致性对比,如果一致,则执行S10,否则执行S11;S9: In order to determine whether the business module can operate normally, the MD5 values of all files stored locally can be compared with the manifest. If they are consistent, S10 is executed, otherwise S11 is executed;
S10:进入业务模块;S10: Enter the service module;
S11:弹出异常警告,退出APP。S11: An exception warning pops up and exits the app.
在执行S6至S8的过程中,如果出现网络异常,则可以弹出网络异常提示,并有重试和退出按钮,确定用户是重试还是退出。During the execution of S6 to S8, if a network exception occurs, a network exception prompt may pop up, and there are retry and exit buttons to determine whether the user retry or exit.
在上述实施例中,客户端向服务器端发送应用更新请求,接收服务器端返回的应用信息,其中,所述应用信息包括:应用各个模块当前的版本号、每个文件的获取路径、每个文件的MD5值和更新时间;客户端将服务器端返回的应用信息和本地存储的应用信息进行比对,确定文件是否需要更新;对于需要更新的文件,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,通过下载的文件更新所述客户端本地的文件。即,对于客户端而言可以根据应用信息先确定哪些文件需要更新,哪些文件不需要更新, 仅更新需要更新的文件,而不是采用全量更新的方式,是采用增量更新的模式,从而可以有效解决现有的应用更新过程中所存在的应用更新效率低下的问题,达到了有效提升应用更新效率的技术效果。In the above embodiment, the client sends an application update request to the server, and receives the application information returned by the server. The application information includes the current version number of each module of the application, the acquisition path of each file, and each file. MD5 value and update time; the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the file in the application information returned by the server Path, download the file from the server, and update the local file of the client by the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation.
实施例二Example two
基于上述实施例一中提供的应用更新方法,本实施例中提供一种应用更新系统,具体地,图3和图4示出了该应用更新系统的可选的结构框图,该应用更新系统被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序本身更适合描述应用更新系统在存储介质中的执行过程,以下描述将具体介绍本实施例各程序模块的功能:Based on the application update method provided in the first embodiment, an application update system is provided in this embodiment. Specifically, FIG. 3 and FIG. 4 show optional structural block diagrams of the application update system. The application update system is Divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the application. The program module referred to in this application refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable than the program itself to describe the execution process of the application update system in a storage medium. The following description will specifically introduce the program modules of this embodiment. Features:
如图3所示,应用更新系统30包括:As shown in FIG. 3, the application update system 30 includes:
发送模块31,用于向服务器端发送应用更新请求;A sending module 31, configured to send an application update request to the server;
接收模块32,用于接收所述服务器端返回的应用信息;A receiving module 32, configured to receive application information returned by the server;
检测模块33,用于根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;A detection module 33, configured to detect whether a locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
更新模块34,用于当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。The update module 34 is configured to: when it is determined that the locally stored file needs to be updated, download a file from the server according to the file path in the application information returned by the server, and update the locally stored file according to the downloaded file.
在一个实施方式中,检测模块33可以包括:判断单元,用于判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;处理单元,用于当检测所述服务器端返 回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;更新单元,用于当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。In one embodiment, the detection module 33 may include: a judging unit, configured to judge whether the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information; A processing unit, configured to detect that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, and then do not perform file processing Update; an update unit, configured to detect when the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, then update the current module of each module of the application Files are updated.
如图4所示,上述应用更新装置还可以包括:比对模块35,具体可以用于在通过下载的文件更新所述客户端本地的文件之后,将本地文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值进行比对;如果一致,则确定更新成功;如果不一致,则生成异常警告消息。As shown in FIG. 4, the above-mentioned application update device may further include: a comparison module 35, which may be specifically configured to return the MD5 value of the local file to the client after updating the local file of the client through the downloaded file. The MD5 value of each file in the application information is compared; if they are consistent, the update is determined to be successful; if they are not consistent, an exception warning message is generated.
在一个实施方式中,在生成异常警告消息之后,显示网络异常提示信息;检测用户是否触发重试或退出操作;如果用户触发重试操作,则重新启动应用;如果用户触发退出操作,则退出应用。In one embodiment, after the abnormal warning message is generated, a network abnormal prompt message is displayed; detecting whether the user triggers a retry or exit operation; if the user triggers a retry operation, the application is restarted; if the user triggers an exit operation, the application is exited .
在一个实施方式中,客户端向服务器端发送应用更新请求,可以包括:接收用户的应用启动请求;确定所述应用在所述客户端上是否为首次安装,或者,是否是更新后的首次启动;在确定为首次安装,或,更新后的首次启动的情况下,所述客户端向所述服务器端发送应用更新请求。In one embodiment, the client sending an application update request to the server may include: receiving a user's application launch request; determining whether the application is installed on the client for the first time, or whether it is the first launch after the update In the case of determining that it is installed for the first time or started for the first time after the update, the client sends an application update request to the server.
关于上述实施例中的装置,其中各个单元、模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each unit and module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
在本实施例的各个实施方式中,客户端向服务器端发送应用更新请求,接收服务器端返回的应用信息,其中,所述应用信息包括:应用各个模块当前的版本号、每个文件的获取路径、每个文件的MD5值和更新时间;客户端将服务器端返回的应用信息和本地存储的应用信息进行比对,确定文件是否需要更新;对于需要更新的文件,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,通过下载的文件更新所述客户端本地的文件。即,对于客户端而言可以根据应用信息先确定哪些文件需要更新,哪些文件不需要更新,仅更新需要更新的文件,而不是采用全量更新的方式,是采用 增量更新的模式,从而可以有效解决现有的应用更新过程中所存在的应用更新效率低下的问题,达到了有效提升应用更新效率的技术效果。In various implementations of this embodiment, the client sends an application update request to the server, and receives application information returned by the server, where the application information includes: the current version number of each module of the application, and the acquisition path of each file. The MD5 value and update time of each file; the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the application returned by the server The file path in the information, the file is downloaded from the server, and the local file of the client is updated by the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
实施例三Example three
在本申请优选的实施例三中提供一种电子装置。图5是根据本申请电子装置一实施例的硬件架构示意图。本实施例中,电子装置2是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。例如,可以是智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图所示,电子装置2至少包括但不限于:可通过系统总线相互通信连接存储器21、处理器22、网络接口23、以及应用更新系统30。其中:An electronic device is provided in a third preferred embodiment of the present application. FIG. 5 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present application. In this embodiment, the electronic device 2 is a device capable of automatically performing numerical calculation and / or information processing in accordance with an instruction set or stored in advance. For example, it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of multiple servers). As shown in the figure, the electronic device 2 includes at least, but is not limited to, a memory 21, a processor 22, a network interface 23, and an application update system 30 that can communicate with each other through a system bus. among them:
存储器21至少包括一种类型的计算机可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器21可以是电子装置2的内部存储模块,例如该电子装置2的硬盘或内存。在另一些实施例中,存储器21也可以是电子装置2的外部存储设备,例如该电子装置2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器21还可以既包括电子装置2的内部存储模块也包括其外部存储设备。本实施例中,存储器21通常用于存储安装于电子装置2的操作系统和各类应用软件,例如应用更新系统30的程序代码等。此外,存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 21 includes at least one type of computer-readable storage medium. The readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static random access memory. (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 21 may be an internal storage module of the electronic device 2, such as a hard disk or a memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart memory card (SMC), and a secure digital (Secure Digital, SD) card, Flash card, etc. Of course, the memory 21 may also include both an internal storage module of the electronic device 2 and an external storage device thereof. In this embodiment, the memory 21 is generally used to store an operating system and various application software installed on the electronic device 2, such as program codes of the application update system 30. In addition, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
处理器22在一些实施例中可以是中央处理器(Central Processing Unit, CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制电子装置2的总体操作,例如执行与电子装置2进行数据交互或者通信相关的控制和处理等。本实施例中,处理器22用于运行存储器21中存储的程序代码或者处理数据,例如运行的应用更新系统20等。The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the electronic device 2, for example, to perform control and processing related to data interaction or communication with the electronic device 2. In this embodiment, the processor 22 is configured to run program code or process data stored in the memory 21, such as a running application update system 20 and the like.
网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在电子装置2与其他电子装置之间建立通信连接。例如,网络接口23用于通过网络将电子装置2与外部终端相连,在电子装置2与外部终端之间的建立数据传输通道和通信连接等。网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 23 may include a wireless network interface or a wired network interface. The network interface 23 is generally used to establish a communication connection between the electronic device 2 and other electronic devices. For example, the network interface 23 is used to connect the electronic device 2 with an external terminal through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and the external terminal. The network can be an intranet, the Internet, a Global System for Mobile Communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Wireless or wired networks such as Bluetooth and Wi-Fi.
需要指出的是,图5仅示出了具有部件21-23的电子装置,但是应理解的是,并不要求实施所有示出的部件,可以替代的实施更多或者更少的部件。It should be noted that FIG. 5 only shows the electronic device with components 21-23, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
在本实施例中,存储于存储器21中的应用更新系统20还可以被分割为一个或者多个程序模块,一个或者多个程序模块被存储于存储器21中,并由一个或多个处理器(本实施例为处理器22)所执行,以完成本申请。In this embodiment, the application update system 20 stored in the memory 21 may also be divided into one or more program modules, and the one or more program modules are stored in the memory 21, and are composed of one or more processors ( This embodiment is executed by the processor 22) to complete the present application.
实施例四Example 4
本实施例还提供一种计算机可读存储介质,计算机可读存储介质内存储有应用更新系统,应用更新系统可被至少一个处理器所执行,以使至少一个处理器执行如实施例一的应用更新方法的步骤。This embodiment also provides a computer-readable storage medium. The computer-readable storage medium stores an application update system, and the application update system may be executed by at least one processor, so that the at least one processor executes the application according to the first embodiment. Update method steps.
本实施例中,计算机可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,计算机可读存储介质可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,计算机可读存储介质也可以是计算机设 备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,计算机可读存储介质还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,计算机可读存储介质通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例二的客户保障分析系统的程序代码等。此外,计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), and a read-only memory ( ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital) device. , SD) card, flash memory card (Flash card) and so on. Of course, the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various types of application software installed on a computer device, such as program code of the customer assurance analysis system of the second embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
在上例中,客户端向服务器端发送应用更新请求,接收服务器端返回的应用信息,其中,所述应用信息包括:应用各个模块当前的版本号、每个文件的获取路径、每个文件的MD5值和更新时间;客户端将服务器端返回的应用信息和本地存储的应用信息进行比对,确定文件是否需要更新;对于需要更新的文件,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,通过下载的文件更新所述客户端本地的文件。即,对于客户端而言可以根据应用信息先确定哪些文件需要更新,哪些文件不需要更新,仅更新需要更新的文件,而不是采用全量更新的方式,是采用增量更新的模式,从而可以有效解决现有的应用更新过程中所存在的应用更新效率低下的问题,达到了有效提升应用更新效率的技术效果。In the above example, the client sends an application update request to the server and receives the application information returned by the server. The application information includes: the current version number of each module of the application, the acquisition path of each file, and the MD5 value and update time; the client compares the application information returned by the server with the locally stored application information to determine whether the file needs to be updated; for the file that needs to be updated, according to the file path in the application information returned by the server Downloading a file from the server, and updating the local file of the client through the downloaded file. That is, the client can first determine which files need to be updated and which files do not need to be updated based on the application information. Only the files that need to be updated are updated instead of the full update method, which is an incremental update mode, which can be effective. The problem of low application update efficiency in the existing application update process is solved, and the technical effect of effectively improving the application update efficiency is achieved.
显然,本领域的技术人员应该明白,上述的本申请实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application may be implemented by a general-purpose computing device, and they may be centralized on a single computing device or distributed to multiple computing devices. On the network, optionally, they can be implemented with program code executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be different from here The steps shown or described are performed in sequence, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是 利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (20)

  1. 一种应用更新方法,其特征在于,包括如下步骤:An application update method is characterized in that it includes the following steps:
    向服务器端发送应用更新请求;Send an application update request to the server;
    接收所述服务器端返回的应用信息;Receiving application information returned by the server;
    根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
    当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  2. 根据权利要求1所述的方法,其特征在于,所述应用信息包括:应用各个模块当前的版本号,根据所述客户端将所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新,包括:The method according to claim 1, wherein the application information comprises: a current version number of each module of the application, and detecting, by the client, the application information returned by the server and the locally stored application information to detect the local Whether stored files need to be updated, including:
    判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;Determine whether the current version number of each module in the application information returned by the server is the same as the latest version number of each module in the locally stored application information;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;When it is detected that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is not updated;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。When it is detected that the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is updated.
  3. 根据权利要求1所述的方法,其特征在于,在根据下载的文件更新本地存储的文件之后,所述方法还包括:The method according to claim 1, wherein after updating the locally stored file according to the downloaded file, the method further comprises:
    判断本地存储的文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值是否相同;Determine whether the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值相同,则确定更新成功;When it is detected that the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client, determining that the update is successful;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值不相同,则生成异常警告消息。When the MD5 value of the locally stored file is different from the MD5 value of each file in the application information returned by the client, an abnormal warning message is generated.
  4. 根据权利要求3所述的方法,其特征在于,在生成异常警告消息之后,所述方法还包括:The method according to claim 3, wherein after generating the exception warning message, the method further comprises:
    显示网络异常提示信息;Display network abnormal prompt information;
    根据网络异常提示信息,检测用户当前操作类型;Detect the current operation type of the user according to the network abnormal prompt message;
    当确定用户当前操作类型为重试操作,则重新启动应用程序;When it is determined that the current operation type of the user is a retry operation, the application is restarted;
    当确定用户当前操作类型为退出操作,则退出应用程序。When it is determined that the current operation type of the user is an exit operation, the application is exited.
  5. 根据权利要求1所述的方法,其特征在于,向服务器端发送应用更新请求,包括:The method according to claim 1, wherein sending the application update request to the server includes:
    接收用户的应用启动请求;Receiving a user's application start request;
    检测所述应用启动请求是否满足触发条件;Detecting whether the application startup request meets a trigger condition;
    若检测所述应用启动请求满足触发条件,则向所述服务器端发送应用更新请求。If it is detected that the application startup request meets a trigger condition, an application update request is sent to the server.
  6. 一种应用更新装置,位于客户端中,其特征在于,包括:An application update device, which is located in a client, is characterized in that it includes:
    发送模块,用于向服务器端发送应用更新请求;A sending module for sending an application update request to the server;
    接收模块,用于接收所述服务器端返回的应用信息;A receiving module, configured to receive application information returned by the server;
    检测模块,用于根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;A detection module, configured to detect whether a locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
    更新模块,用于当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。The update module is configured to: when it is determined that the locally stored file needs to be updated, download a file from the server according to the file path in the application information returned by the server, and update the locally stored file according to the downloaded file.
  7. 根据权利要求6所述的装置,其特征在于,所述应用信息包括:应用各个模块当前的版本号,所述检测模块包括:The device according to claim 6, wherein the application information comprises: current version numbers of application modules, and the detection module comprises:
    判断单元,用于判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;A judging unit, configured to judge whether the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information;
    处理单元,用于当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;A processing unit, configured to detect that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, and then do not perform file processing of the current module of each module of the application Update
    更新单元,用于当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。An update unit, configured to detect when the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, then update the file of the current module of each module Update.
  8. 根据权利要求6所述的装置,其特征在于,所述发送模块包括:The apparatus according to claim 6, wherein the sending module comprises:
    接收单元,用于接收用户的应用启动请求;A receiving unit, configured to receive an application start request from a user;
    检测单元,用于检测所述应用启动请求是否满足触发条件;A detection unit, configured to detect whether the application startup request meets a trigger condition;
    发送单元,用于若检测所述应用启动请求满足触发条件,则向所述服务器端发送应用更新请求。A sending unit is configured to send an application update request to the server if it is detected that the application startup request meets a trigger condition.
  9. 根据权利要求6所述的装置,其特征在于,还用于在根据下载的文件更新本地存储的文件之后:The device according to claim 6, further comprising: after updating a locally stored file according to the downloaded file:
    判断本地存储的文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值是否相同;Determine whether the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值相同,则确定更新成功;When it is detected that the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client, determining that the update is successful;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值不相同,则生成异常警告消息。When the MD5 value of the locally stored file is different from the MD5 value of each file in the application information returned by the client, an abnormal warning message is generated.
  10. 根据权利要求9所述的装置,其特征在于,还用于在生成异常警告消息之后:The apparatus according to claim 9, further comprising: after generating the abnormality warning message:
    显示网络异常提示信息;Display network abnormal prompt information;
    根据网络异常提示信息,检测用户当前操作类型;Detect the current operation type of the user according to the network abnormal prompt message;
    当确定用户当前操作类型为重试操作,则重新启动应用程序;When it is determined that the current operation type of the user is a retry operation, the application is restarted;
    当确定用户当前操作类型为退出操作,则退出应用程序。When it is determined that the current operation type of the user is an exit operation, the application is exited.
  11. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机 程序,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:A computer device includes a memory and a processor. The memory stores a computer program, and is characterized in that, when the processor executes the computer program, the following steps are implemented:
    向服务器端发送应用更新请求;Send an application update request to the server;
    接收所述服务器端返回的应用信息;Receiving application information returned by the server;
    根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
    当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述应用信息包括:应用各个模块当前的版本号,根据所述客户端将所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新,包括:The computer device according to claim 11, wherein the application information comprises: a current version number of each module of the application, and the client detects the application information returned by the server and the locally stored application information to detect Whether locally stored files need to be updated, including:
    判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;Determine whether the current version number of each module in the application information returned by the server is the same as the latest version number of each module in the locally stored application information;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;When it is detected that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is not updated;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。When it is detected that the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is updated.
  13. 根据权利要求11所述的计算机设备,其特征在于,在根据下载的文件更新本地存储的文件之后,还包括:The computer device according to claim 11, after updating the locally stored file according to the downloaded file, further comprising:
    判断本地存储的文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值是否相同;Determine whether the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值相同,则确定更新成功;When it is detected that the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client, determining that the update is successful;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值不相同,则生成异常警告消息。When the MD5 value of the locally stored file is different from the MD5 value of each file in the application information returned by the client, an abnormal warning message is generated.
  14. 根据权利要求13所述的计算机设备,其特征在于,在生成异常警告消息之后,还包括:The computer device according to claim 13, after generating the abnormality warning message, further comprising:
    显示网络异常提示信息;Display network abnormal prompt information;
    根据网络异常提示信息,检测用户当前操作类型;Detect the current operation type of the user according to the network abnormal prompt message;
    当确定用户当前操作类型为重试操作,则重新启动应用程序;When it is determined that the current operation type of the user is a retry operation, the application is restarted;
    当确定用户当前操作类型为退出操作,则退出应用程序。When it is determined that the current operation type of the user is an exit operation, the application is exited.
  15. 根据权利要求11所述的计算机设备,其特征在于,向服务器端发送应用更新请求,包括:The computer device according to claim 11, wherein sending the application update request to the server includes:
    接收用户的应用启动请求;Receiving a user's application start request;
    检测所述应用启动请求是否满足触发条件;Detecting whether the application startup request meets a trigger condition;
    若检测所述应用启动请求满足触发条件,则向所述服务器端发送应用更新请求。If it is detected that the application startup request meets a trigger condition, an application update request is sent to the server.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium having a computer program stored thereon is characterized in that, when the computer program is executed by a processor, the following steps are implemented:
    向服务器端发送应用更新请求;Send an application update request to the server;
    接收所述服务器端返回的应用信息;Receiving application information returned by the server;
    根据所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新;Detecting whether the locally stored file needs to be updated according to the application information returned by the server and the locally stored application information;
    当确定本地存储的文件需要更新,根据所述服务器端返回的应用信息中的文件路径,从服务器端下载文件,根据下载的文件更新本地存储的文件。When it is determined that the locally stored file needs to be updated, the file is downloaded from the server according to the file path in the application information returned by the server, and the locally stored file is updated according to the downloaded file.
  17. 根据权利要求16所述的存储介质,其特征在于,所述应用信息包括:应用各个模块当前的版本号,根据所述客户端将所述服务器端返回的应用信息和本地存储的应用信息,检测本地存储的文件是否需要更新,包括:The storage medium according to claim 16, wherein the application information comprises: a current version number of each module of the application, and the client detects the application information returned by the server and the locally stored application information, and detects Whether locally stored files need to be updated, including:
    判断所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号是否相同;Determine whether the current version number of each module in the application information returned by the server is the same as the latest version number of each module in the locally stored application information;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与 本地存储的应用信息中各个模块最新版本号相同,则不对应用的各个模块的当前模块的文件进行更新;When it is detected that the current version number of each module of the application in the application information returned by the server is the same as the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is not updated;
    当检测所述服务器端返回的应用信息中的应用各个模块当前的版本号与本地存储的应用信息中各个模块最新版本号不相同,则对应用的各个模块的当前模块的文件进行更新。When it is detected that the current version number of each module of the application in the application information returned by the server is different from the latest version number of each module in the locally stored application information, the file of the current module of each module of the application is updated.
  18. 根据权利要求16所述的存储介质,其特征在于,在根据下载的文件更新本地存储的文件之后,还包括:The storage medium according to claim 16, after updating the locally stored file according to the downloaded file, further comprising:
    判断本地存储的文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值是否相同;Determine whether the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值相同,则确定更新成功;When it is detected that the MD5 value of the locally stored file is the same as the MD5 value of each file in the application information returned by the client, determining that the update is successful;
    当检测本地存储文件的MD5值与所述客户端返回的应用信息中每个文件的MD5值不相同,则生成异常警告消息。When the MD5 value of the locally stored file is different from the MD5 value of each file in the application information returned by the client, an abnormal warning message is generated.
  19. 根据权利要求18所述的存储介质,其特征在于,在生成异常警告消息之后,还包括:The storage medium according to claim 18, after generating the abnormality warning message, further comprising:
    显示网络异常提示信息;Display network abnormal prompt information;
    根据网络异常提示信息,检测用户当前操作类型;Detect the current operation type of the user according to the network abnormal prompt message;
    当确定用户当前操作类型为重试操作,则重新启动应用程序;When it is determined that the current operation type of the user is a retry operation, the application is restarted;
    当确定用户当前操作类型为退出操作,则退出应用程序。When it is determined that the current operation type of the user is an exit operation, the application is exited.
  20. 根据权利要求16所述的存储介质,其特征在于,向服务器端发送应用更新请求,包括:The storage medium according to claim 16, wherein sending the application update request to the server includes:
    接收用户的应用启动请求;Receiving a user's application start request;
    检测所述应用启动请求是否满足触发条件;Detecting whether the application startup request meets a trigger condition;
    若检测所述应用启动请求满足触发条件,则向所述服务器端发送应用更新请求。If it is detected that the application startup request meets a trigger condition, an application update request is sent to the server.
PCT/CN2018/108779 2018-07-10 2018-09-29 Application update method and device, and computer readable storage medium WO2020010727A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810749377.5 2018-07-10
CN201810749377.5A CN108845824A (en) 2018-07-10 2018-07-10 Using update method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2020010727A1 true WO2020010727A1 (en) 2020-01-16

Family

ID=64196260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108779 WO2020010727A1 (en) 2018-07-10 2018-09-29 Application update method and device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108845824A (en)
WO (1) WO2020010727A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110309106A (en) * 2019-05-27 2019-10-08 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that file updates
CN112114836A (en) * 2019-06-19 2020-12-22 西安诺瓦星云科技股份有限公司 File updating method, device and system, storage medium and display box
CN111708566A (en) * 2020-06-10 2020-09-25 深圳云之家网络有限公司 Software increment updating method, device, system and computer readable storage medium
CN111666091B (en) * 2020-06-12 2023-08-29 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN106648761A (en) * 2016-12-01 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for conducting automatic updating in QT program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740032A (en) * 2016-03-10 2016-07-06 汉柏科技有限公司 Network device system upgrading method and device
CN105657191B (en) * 2016-03-29 2020-03-31 Tcl集团股份有限公司 Application increment upgrading method and system based on Android system
CN107643920A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Application software update method and device
US10310850B2 (en) * 2016-10-19 2019-06-04 Facebook, Inc. Methods and systems for determining relevant changes in an API

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN106648761A (en) * 2016-12-01 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for conducting automatic updating in QT program

Also Published As

Publication number Publication date
CN108845824A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
WO2020010727A1 (en) Application update method and device, and computer readable storage medium
CN108121559B (en) Configuration file pushing method, server and storage medium
WO2019148722A1 (en) Electronic device, data migrating and calling method and storage medium
CN110647739A (en) Software installation detection method, device, terminal and storage medium
US20210042150A1 (en) Method-call-chain tracking method, electronic device, and computer readable storage medium
CN110908681A (en) Method and device for upgrading software
CN108170551B (en) Crawler system based front-end and back-end error processing method, server and storage medium
WO2019148657A1 (en) Method for testing associated environments, electronic device and computer readable storage medium
CN111966380A (en) BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
CN111654522A (en) File synchronization method, file synchronization server and storage medium
US8347285B2 (en) Embedded agent for self-healing software
WO2019169771A1 (en) Electronic device, access instruction information acquisition method and storage medium
CN112650674A (en) Method for remotely acquiring and debugging webpage log, computer equipment and storage medium
CN111399890A (en) Game hot updating method, device and system and electronic equipment
US20240031166A1 (en) Web-side data signature method and apparatus and computer device
CN110471689A (en) A kind of application program updating method and device
CN113595762B (en) Network card configuration storage method and device
CN114090055A (en) Application program updating method and device, terminal and storage medium
CN113986357A (en) Method, apparatus and storage medium for establishing communication link
CN112558982A (en) Code detection method and device and computer equipment
CN112559131A (en) Method, device and equipment for updating container mirror image and computer readable storage medium
CN105320853B (en) Information monitoring method and device and terminal
CN111343217B (en) Resource data downloading method and device, terminal equipment and computer storage medium
CN111414212B (en) Global process control method, device, computer equipment and storage medium
CN112631629A (en) Control method, system, computer device and storage medium for offline package version

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

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

Country of ref document: EP

Kind code of ref document: A1