WO2016070655A1 - Information backup method, device, server and terminal - Google Patents

Information backup method, device, server and terminal Download PDF

Info

Publication number
WO2016070655A1
WO2016070655A1 PCT/CN2015/085356 CN2015085356W WO2016070655A1 WO 2016070655 A1 WO2016070655 A1 WO 2016070655A1 CN 2015085356 W CN2015085356 W CN 2015085356W WO 2016070655 A1 WO2016070655 A1 WO 2016070655A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
installation package
server
software installation
information
Prior art date
Application number
PCT/CN2015/085356
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 WO2016070655A1 publication Critical patent/WO2016070655A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

An information backup method, device, server and terminal, the method comprising: receiving an application backup request, the application backup request carrying installation package information for identifying a software installation package corresponding to the application (S102); according to the installation package information, determining whether the software installation package corresponding to the application exists on the server (S104); if so, receiving user data corresponding to the application uploaded by the terminal; and/or, if not, receiving a software installation package corresponding to the application uploaded by the terminal; and applying the corresponding user data (S106). The above method addresses the problem of server resource wastage caused by multiple users backing up the same application.

Description

一种信息备份方法、装置、服务器和终端Information backup method, device, server and terminal 技术领域Technical field
本发明涉及通讯领域,具体而言,涉及一种信息备份方法、装置、服务器和终端。The present invention relates to the field of communications, and in particular, to an information backup method, apparatus, server, and terminal.
背景技术Background technique
随着移动互联网的发展,手机的功能越来越强大,手机里的应用和数据对每个用户来说都非常重要,例如通讯录、日程、短信息、邮件等数据,一旦手机丢失、误删或其他意外使得应用无法正常使用,这样会给用户带来很大麻烦。所以,对应用和数据进行备份和恢复会给用户带来便利,应用市场上相关的软件也是层出不穷。目前,数据备份的方式有两种,一种是直接存储在本地(如存储在SD卡上),另一种的是存储在网络服务器中。备份和恢复的内容主要是软件安装包和用户数据。With the development of mobile Internet, the functions of mobile phones are becoming more and more powerful. The applications and data in mobile phones are very important for every user, such as address book, schedule, short message, mail and other data. Once the mobile phone is lost or deleted by mistake. Or other accidents make the application not working properly, which will cause great trouble to the user. Therefore, the backup and recovery of applications and data will bring convenience to users, and the related software in the application market is also endless. Currently, there are two ways to back up data, one is stored directly locally (such as on an SD card), and the other is stored in a network server. The content of backup and recovery is mainly the software installation package and user data.
智能终端时代的不断推进,用户需要备份的软件会越来越多,对服务器的存储资源的需求也越来越大。与此同时,不同用户备份相同软件安装包的概率是非常大的。目前市场上的备份和恢复软件,都以用户为单位来备份用户数据,会出现多用户均备份同一个应用的安装包文件,造成服务器存储资源的浪费。另外,软件升级是比较频繁的,如果备份的软件版本较低,会导致用户恢复时版本也很低,应用恢复后,还需要对应用进行升级,浪费用户流量,给用户造成不便,因此,现有备份和恢复技术中一直存在多用户备份相同应用造成服务器资源浪费的问题。With the continuous advancement of the intelligent terminal era, more and more software users need to back up, and the demand for storage resources of the server is also increasing. At the same time, the probability of different users backing up the same software installation package is very large. Currently, the backup and recovery software on the market backs up user data on a user-by-user basis, and multiple users can back up the installation package files of the same application, resulting in waste of server storage resources. In addition, the software upgrade is relatively frequent. If the software version is low, the version will be low when the user recovers. After the application is restored, the application needs to be upgraded, which wastes user traffic and causes inconvenience to the user. There are always problems in the backup and recovery technology that multi-user backup of the same application causes server resources to be wasted.
针对现有技术中多用户备份相同应用造成服务器资源浪费的问题,目前尚未提出有效的解决方案。In view of the problem of waste of server resources caused by multi-user backup of the same application in the prior art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种信息备份方法、装置、服务器和终端,以至少解决现有技术中多用户备份相同应用造成服务器资源浪费的问题。The embodiment of the invention provides an information backup method, a device, a server and a terminal, so as to solve at least the problem of waste of server resources caused by multiple users backing up the same application in the prior art.
根据本发明实施例的一方面,提供了一种信息备份方法,包括:接收应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;依据所述安装包信息,判断所述应用对应的软件安装包是否存在于服务器上;在判断结果为是的情况下,接收终端上传的所述应用对应的用户数据;和/或,在判断结果为否的情况下,接收所述终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据。 According to an aspect of the present invention, an information backup method is provided, including: receiving an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application; The installation package information determines whether the software installation package corresponding to the application exists on the server; if the determination result is yes, the user data corresponding to the application uploaded by the terminal is received; and/or, the judgment result is If not, the software installation package corresponding to the application uploaded by the terminal and the user data corresponding to the application are received.
优选地,在接收终端上传的所述应用对应的用户数据;和/或,接收所述终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据之后,还包括:将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上。Preferably, the user data corresponding to the application uploaded by the terminal is received; and/or, after receiving the software installation package corresponding to the application uploaded by the terminal, and the user data corresponding to the application, the method further includes: receiving The software installation package corresponding to the application and the user data corresponding to the application are respectively stored in different corresponding positions.
优选地,在将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上之后,还包括:接收应用恢复请求;判断所述应用对应的软件安装包是否为最新版本;在判断结果为是的情况下,提供所述应用的最新版本给发送所述恢复请求的请求方下载。Preferably, after the received software installation package corresponding to the application and the user data corresponding to the application are respectively stored in different corresponding locations, the method further includes: receiving an application recovery request; determining, by the application, the application Whether the software installation package is the latest version; if the judgment result is yes, the latest version of the application is provided to the requester who sent the recovery request to download.
根据本发明实施例的另一方面,提供了一种信息备份方法,包括:向服务器发送应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;依据所述服务器反馈的响应消息,判断所述应用对应的软件安装包是否存在于所述服务器上;在判断结果为是的情况下,向所述服务器上传所述应用对应的用户数据;和/或,在判断结果为否的情况下,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据。According to another aspect of the present invention, an information backup method is provided, including: sending an application backup request to a server, where the application backup request carries an installation package for identifying a software installation package corresponding to the application. And determining, according to the response message fed back by the server, whether the software installation package corresponding to the application exists on the server; if the determination result is yes, uploading the user data corresponding to the application to the server; And/or, if the determination result is no, uploading, to the server, a software installation package corresponding to the application, and user data corresponding to the application.
优选地,在向所述服务器上传所述应用对应的用户数据,和/或,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据之后,还包括:向所述服务器发送应用恢复请求;接收到所述服务器反馈的所述应用对应的软件安装包的最新版本信息;依据所述最新版本信息,从所述服务器下载所述应用对应的软件安装包的最新版本。Preferably, after uploading the user data corresponding to the application to the server, and/or uploading the software installation package corresponding to the application to the server, and the user data corresponding to the application, the method further includes: Sending an application recovery request by the server; receiving latest version information of the software installation package corresponding to the application fed back by the server; downloading the latest version of the software installation package corresponding to the application from the server according to the latest version information .
根据本发明实施例的一方面,提供了一种信息备份装置,包括:第一接收模块,设置为接收应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;第一判断模块,设置为依据所述安装包信息,判断所述应用对应的软件安装包是否存在于服务器上;第二接收模块,设置为在所述第一判断模块的判断结果为是的情况下,接收终端上传的所述应用对应的用户数据;和/或,第三接收模块,在所述第一判断模块的判断结果为否的情况下,接收终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据。According to an aspect of the present invention, an information backup apparatus is provided, including: a first receiving module, configured to receive an application backup request, where the application backup request carries a software installation for identifying the application The installation information of the package; the first determining module is configured to determine, according to the installation package information, whether the software installation package corresponding to the application exists on the server; and the second receiving module is configured to be in the first determining module If the determination result is yes, the user data corresponding to the application uploaded by the terminal is received; and/or the third receiving module, if the determination result of the first determining module is negative, the receiving terminal uploads The software installation package corresponding to the application, and the user data corresponding to the application.
优选地,所述装置还包括:存储模块,设置为将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上。Preferably, the device further includes: a storage module, configured to store the received software installation package corresponding to the application and the user data corresponding to the application in different corresponding locations.
优选地,还包括:第四接收模块,设置为接收应用恢复请求;第二判断模块,设置为判断所述应用对应的软件安装包是否为最新版本;提供模块,设置为在所述第二判断模块的判断结果为是的情况下,提供所述应用的最新版本给发送所述恢复请求的请求方下载。 Preferably, the method further includes: a fourth receiving module, configured to receive an application recovery request; a second determining module, configured to determine whether the software installation package corresponding to the application is the latest version; and providing a module, configured to be in the second determining If the result of the determination by the module is YES, the latest version of the application is provided for download by the requesting party that sent the recovery request.
根据本发明实施例的还一方面,提供了一种服务器,包括上述任一项所述的装置。According to still another aspect of the embodiments of the present invention, a server is provided, comprising the apparatus of any of the above.
根据本发明的一方面,提供了一种信息备份装置,包括:第一发送模块,设置为向服务器发送应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;判断所述应用对应的软件安装包是否为最新版本;第三判断模块,设置为依据所述服务器反馈的响应消息,判断所述应用对应的软件安装包是否存在于所述服务器上;第一上传模块,设置为在所述第三判断模块的判断结果为是的情况下,向所述服务器上传所述应用对应的用户数据;和/或,第二上传模块,设置为在所述第三判断模块的判断结果为否的情况下,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据。According to an aspect of the present invention, an information backup apparatus is provided, including: a first sending module, configured to send an application backup request to a server, where the application backup request carries a software installation for identifying the application The installation package information of the package; determining whether the software installation package corresponding to the application is the latest version; the third determining module is configured to determine, according to the response message fed back by the server, whether the software installation package corresponding to the application exists in the a first uploading module, configured to upload user data corresponding to the application to the server if the determination result of the third determining module is YES; and/or, the second uploading module is set to If the determination result of the third determining module is no, the software installation package corresponding to the application and the user data corresponding to the application are uploaded to the server.
优选地,所述装置还包括:第二发送模块,设置为向所述服务器发送应用恢复请求;第五接收模块,设置为接收到所述服务器反馈的所述应用对应的软件安装包的最新版本信息;下载模块,设置为依据所述最新版本信息,从所述服务器下载所述应用对应的软件安装包的最新版本。Preferably, the device further includes: a second sending module, configured to send an application recovery request to the server; and a fifth receiving module, configured to receive the latest version of the software installation package corresponding to the application fed back by the server And a downloading module, configured to download the latest version of the software installation package corresponding to the application from the server according to the latest version information.
根据本发明实施例的还一方面,提供了一种终端,包括上述任一项所述的装置。According to still another aspect of the embodiments of the present invention, there is provided a terminal comprising the apparatus of any of the above.
通过本发明实施例,采用接收应用备份请求,其中,应用备份请求中携带有用于标识应用对应的软件安装包的安装包信息;依据安装包信息,判断应用对应的软件安装包是否存在于服务器上;在判断结果为是的情况下,接收终端上传的应用对应的用户数据;和/或,在判断结果为否的情况下,接收终端上传的应用对应的软件安装包,以及应用对应的用户数据,解决了现有技术中多用户备份相同应用造成服务器资源浪费的问题,进而达到了节省服务器资源的效果。The embodiment of the present invention is configured to receive an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application; and determining, according to the installation package information, whether the software installation package corresponding to the application exists on the server. If the result of the determination is yes, the user data corresponding to the application uploaded by the terminal is received; and/or, if the determination result is no, the software installation package corresponding to the application uploaded by the terminal, and the user data corresponding to the application are received. The problem of wasting server resources caused by multi-user backup of the same application in the prior art is solved, thereby achieving the effect of saving server resources.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的一种信息备份方法一侧的流程图;1 is a flow chart of a side of an information backup method according to an embodiment of the present invention;
图2是根据本发明实施例的一种信息备份方法另一侧的流程图;2 is a flow chart of another side of an information backup method according to an embodiment of the present invention;
图3是根据本发明实施例的一种信息备份装置一的结构框图;FIG. 3 is a structural block diagram of an information backup apparatus 1 according to an embodiment of the present invention; FIG.
图4是根据本发明优选实施例的信息备份装置一的优选结构框图一;4 is a block diagram 1 of a preferred structure of an information backup device 1 in accordance with a preferred embodiment of the present invention;
图5是根据本发明优选实施例的信息备份装置一的优选结构框图二; FIG. 5 is a block diagram 2 of a preferred structure of an information backup apparatus 1 according to a preferred embodiment of the present invention; FIG.
图6是根据本发明实施例的服务器的结构框图;6 is a structural block diagram of a server according to an embodiment of the present invention;
图7是根据本发明实施的一种信息备份装置二的结构框图;7 is a structural block diagram of an information backup device 2 according to an embodiment of the present invention;
图8是根据本发明优选实施例的信息备份装置二的优选结构框图一;FIG. 8 is a block diagram 1 of a preferred structure of an information backup device 2 according to a preferred embodiment of the present invention; FIG.
图9是根据本发明实施例的终端的结构框图;9 is a structural block diagram of a terminal according to an embodiment of the present invention;
图10是根据本发明优选实施方式1的信息备份方法的流程图;10 is a flowchart of an information backup method according to a preferred embodiment 1 of the present invention;
图11是根据本发明优选实施方式2的信息备份方法的流程图;11 is a flowchart of an information backup method according to a preferred embodiment 2 of the present invention;
图12是根据本发明优选实施方式3的信息备份方法的流程图;12 is a flowchart of an information backup method according to a preferred embodiment 3 of the present invention;
图13是根据本发明优选实施方式4的信息备份装置的结构框图。Figure 13 is a block diagram showing the structure of an information backup apparatus according to a preferred embodiment 4 of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种信息备份方法,该方法可以通过服务器来实现,但不限于此,图1是根据本发明实施例的一种信息备份方法一侧的流程图,如图1所示,该流程包括如下步骤:In this embodiment, an information backup method is provided, which may be implemented by a server, but is not limited thereto. FIG. 1 is a flowchart of one side of an information backup method according to an embodiment of the present invention, as shown in FIG. The process includes the following steps:
步骤S102,接收应用备份请求,其中,应用备份请求中携带有用于标识应用对应的软件安装包的安装包信息;Step S102, receiving an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application;
步骤S104,依据安装包信息,判断应用对应的软件安装包是否存在于服务器上;Step S104, determining, according to the installation package information, whether the software installation package corresponding to the application exists on the server;
步骤S106,在判断结果为是的情况下,接收终端上传的应用对应的用户数据;和/或,在判断结果为否的情况下,接收终端上传的应用对应的软件安装包,以及应用对应的用户数据。Step S106: If the determination result is yes, the user data corresponding to the application uploaded by the terminal is received; and/or, if the determination result is no, the software installation package corresponding to the application uploaded by the terminal is received, and the application corresponding User data.
通过上述步骤,通过接收应用备份请求,判断应用对应的软件安装包是否存在于服务器上,根据判断结果接收用户数据和/或软件安装包,解决了多用户备份相同应用造成服务器资源浪费问题,提高了服务器存储资源的充分利用和用户体验度。Through the above steps, by receiving an application backup request, determining whether the software installation package corresponding to the application exists on the server, and receiving the user data and/or the software installation package according to the determination result, thereby solving the problem of waste of server resources caused by multi-user backup of the same application, and improving The full utilization of server storage resources and user experience.
优选地,在接收终端上传的应用对应的用户数据;和/或,接收终端上传的应用对应的软件安装包,以及应用对应的用户数据之后,还包括:将接收到的应用对应的软件安装包和应用对应的用户数据分别存储在不同的对应位置上。将备份的软件和用户数据存储在不同的位置,软件安装包存储区对所有用户共享,用户数据存储区是私有受保护的,即每个用户只能访问自己所在的存储区;服务器根据应用的身份信息(如 应用包名)、应用版本号、应用安装包的存储位置和应用安装包的MD5(Message-Digest Algorithm 5,字节串算法)值来建立应用信息库;用户备份信息库保存应用信息库中应用信息以及应用私有数据存储位置。这样,使得用户数据和软件安装包分开存储,节省了服务器的空间,空出更多的存储空间。Preferably, the user data corresponding to the application uploaded by the receiving terminal; and/or, after receiving the software installation package corresponding to the application uploaded by the terminal, and the user data corresponding to the application, the method further includes: a software installation package corresponding to the received application The user data corresponding to the application is stored in different corresponding positions. The backup software and user data are stored in different locations, the software installation package storage area is shared by all users, and the user data storage area is privately protected, that is, each user can only access the storage area where the user is located; the server is based on the application. Identity information (such as The application package name, the application version number, the storage location of the application installation package, and the MD5 (Message-Digest Algorithm 5) value of the application installation package are used to establish an application information base; the user backup information base stores the application in the application information base. Information and application private data storage location. In this way, the user data and the software installation package are stored separately, which saves the space of the server and frees up more storage space.
可选地,在上述步骤S106之后还包括:接收应用恢复请求;判断应用对应的软件安装包是否为最新版本;在判断结果为是的情况下,提供应用的最新版本给发送恢复请求的请求方下载。通过信息恢复的方法步骤,解决了恢复软件的版本较低,软件恢复后还需要升级的问题,提高了用户体验度。Optionally, after the step S106, the method further includes: receiving an application recovery request; determining whether the software installation package corresponding to the application is the latest version; and if the determination result is yes, providing the latest version of the application to the requesting party that sends the recovery request download. Through the method steps of information recovery, the problem that the version of the recovery software is lower, the software needs to be upgraded after the software recovery is solved, and the user experience is improved.
本实施例中还提供了一种信息备份方法,该方法可以通过终端来实现,但不限于此,图2是根据本发明实施例的一种信息备份方法另一侧的流程图,如图2所示,该流程包括如下步骤:In this embodiment, an information backup method is also provided, which may be implemented by a terminal, but is not limited thereto. FIG. 2 is a flowchart of another side of an information backup method according to an embodiment of the present invention, as shown in FIG. 2 . As shown, the process includes the following steps:
步骤S202,向服务器发送应用备份请求,其中,应用备份请求中携带有用于标识应用对应的软件安装包的安装包信息;Step S202, sending an application backup request to the server, where the application backup request carries installation package information for identifying a software installation package corresponding to the application;
步骤S204,依据服务器反馈的响应消息,判断应用对应的软件安装包是否存在于服务器上;Step S204, determining, according to the response message fed back by the server, whether the software installation package corresponding to the application exists on the server;
步骤S206,在判断结果为是的情况下,向服务器上传应用对应的用户数据;和/或,在判断结果为否的情况下,向服务器上传应用对应的软件安装包,以及应用对应的用户数据。Step S206, if the determination result is yes, upload the user data corresponding to the application to the server; and/or, if the determination result is no, upload the software installation package corresponding to the application to the server, and the corresponding user data of the application. .
通过上述步骤,通过向服务器发送应用备份请求,依据服务器反馈的响应消息判断应用对应的软件安装包是否存在于服务器上,根据判断结果上传用户数据和/或软件安装包,解决了多用户备份相同应用造成服务器资源浪费问题,提高了服务器存储资源的充分利用和用户体验度。Through the above steps, by sending an application backup request to the server, determining whether the software installation package corresponding to the application exists on the server according to the response message fed back by the server, uploading the user data and/or the software installation package according to the judgment result, and solving the same for the multi-user backup. The application causes waste of server resources, and improves the full utilization of server storage resources and user experience.
可选地,在向服务器上传应用对应的用户数据,和/或,向服务器上传应用对应的软件安装包,以及应用对应的用户数据之后,还包括:向服务器发送应用恢复请求;接收到服务器反馈的应用对应的软件安装包的最新版本信息;依据最新版本信息,从服务器下载应用对应的软件安装包的最新版本。通过信息恢复的方法步骤,解决了恢复软件的版本较低,软件恢复后还需要升级的问题,提高了用户体验度。Optionally, after uploading the user data corresponding to the application to the server, and/or uploading the software installation package corresponding to the application to the server, and applying the corresponding user data, the method further includes: sending an application recovery request to the server; receiving the server feedback The latest version of the software installation package corresponding to the application; according to the latest version information, download the latest version of the software installation package corresponding to the application from the server. Through the method steps of information recovery, the problem that the version of the recovery software is lower, the software needs to be upgraded after the software recovery is solved, and the user experience is improved.
在本实施例中还提供了一种信息备份装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 An information backup device is also provided in this embodiment, and the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的一种信息备份装置一的结构框图,该装置可以为服务器,但不限于此,如图3所示,该装置包括:第一接收模块32、第一判断模块34、第二接收模块36和第三接收模块38,下面对该装置进行说明。3 is a structural block diagram of an information backup device 1 according to an embodiment of the present invention. The device may be a server, but is not limited thereto. As shown in FIG. 3, the device includes: a first receiving module 32, and a first determining module. 34. The second receiving module 36 and the third receiving module 38 are described below.
第一接收模块32,设置为接收应用备份请求,其中,应用备份请求中携带有用于标识应用对应的软件安装包的安装包信息;第一判断模块34,连接至上述第一接收模块32,设置为依据安装包信息,判断应用对应的软件安装包是否存在于服务器上;第二接收模块36,设置为在上述第一判断模块34的判断结果为是的情况下,接收终端上传的应用对应的用户数据;和/或,第三接收模块38,连接至上述第一判断模块34,设置为在上述第一判断模块34的判断结果为否的情况下,接收终端上传的应用对应的软件安装包,以及应用对应的用户数据。The first receiving module 32 is configured to receive an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application; the first determining module 34 is connected to the first receiving module 32, and is configured to And determining, according to the installation package information, whether the software installation package corresponding to the application exists on the server; the second receiving module 36 is configured to: when the determination result of the first determining module 34 is yes, the application corresponding to the application uploaded by the receiving terminal The user data; and/or the third receiving module 38 is connected to the first determining module 34, and is configured to receive the software installation package corresponding to the application uploaded by the terminal if the determining result of the first determining module 34 is negative. And the corresponding user data of the application.
通过上述装置,通过第一接收模块32接收应用备份请求,第一判断模块34判断应用对应的软件安装包是否存在于服务器上,第二接收模块36和第三接收模块38根据判断结果接收用户数据和/或软件安装包,解决了多用户备份相同应用造成服务器资源浪费问题,提高了服务器存储资源的充分利用和用户体验度。Through the foregoing device, the first receiving module 32 receives the application backup request, and the first determining module 34 determines whether the software installation package corresponding to the application exists on the server, and the second receiving module 36 and the third receiving module 38 receive the user data according to the determination result. And/or the software installation package solves the problem that the same application of the multi-user backup causes the server resource waste, and improves the full utilization of the server storage resource and the user experience.
图4是根据本发明优选实施例的信息备份装置一的优选结构框图一,该装置可以为服务器,但不限于此,如图4所示,该装置包括图3所示的所有结构外,还包括:存储模块42,下面对该装置进行说明。4 is a block diagram of a preferred structure of an information backup device 1 according to a preferred embodiment of the present invention. The device may be a server, but is not limited thereto. As shown in FIG. 4, the device includes all the structures shown in FIG. The storage module 42 is included, and the device will be described below.
存储模块42,连接至上述第二接收模块36和/或第三接收模块38,设置为将接收到的应用对应的软件安装包和应用对应的用户数据分别存储在不同的对应位置上。将备份的软件和用户数据存储在不同的位置,软件安装包存储区对所有用户共享,用户数据存储区是私有受保护的,即每个用户只能访问自己所在的存储区;服务器根据应用的身份信息(如应用包名)、应用版本号、应用安装包的存储位置和应用安装包的MD5(Message-Digest Algorithm 5,字节串算法)值来建立应用信息库;用户备份信息库保存应用信息库中应用信息以及应用私有数据存储位置。这样,使得用户数据和软件安装包分开存储,节省了服务器的空间,空出更多的存储空间。The storage module 42 is connected to the second receiving module 36 and/or the third receiving module 38, and is configured to store the software installation package corresponding to the received application and the user data corresponding to the application in different corresponding positions. The backup software and user data are stored in different locations, the software installation package storage area is shared by all users, and the user data storage area is privately protected, that is, each user can only access the storage area where the user is located; the server is based on the application. The identity information (such as the application package name), the application version number, the storage location of the application installation package, and the MD5 (Message-Digest Algorithm 5) value of the application installation package are used to establish an application information base; the user backup information base saves the application. The application information in the repository and the location where the application private data is stored. In this way, the user data and the software installation package are stored separately, which saves the space of the server and frees up more storage space.
图5是根据本发明优选实施例的信息备份装置一的优选结构框图二,该装置可以为服务器,但不限于此,如图5所示,该装置包括图4所示的所有结构外,还包括:第四接收模块52、第二判断模块54和提供模块56,下面对该优选结构进行说明。5 is a block diagram of a preferred structure of an information backup device 1 according to a preferred embodiment of the present invention. The device may be a server, but is not limited thereto. As shown in FIG. 5, the device includes all the structures shown in FIG. The fourth receiving module 52, the second judging module 54, and the providing module 56 are included, and the preferred structure will be described below.
第四接收模块52,连接至上述存储模块42,设置为接收应用恢复请求;第二判断模块54,连接至上述第四接收模块52,判断应用对应的软件安装包是否为最新版本;提供模块56,连接至上述第二判断模块54,设置为在上述第二判断模块54的判断结果为是的情况下,提供应用的最新版本给发送恢复请求的请求方下载。通过信息恢复 的方法步骤,解决了恢复软件的版本较低,软件恢复后还需要升级的问题,提高了用户体验度。The fourth receiving module 52 is connected to the storage module 42 and configured to receive an application recovery request. The second determining module 54 is connected to the fourth receiving module 52 to determine whether the software installation package corresponding to the application is the latest version. The second judging module 54 is connected to the second judging module 54 and configured to provide the latest version of the application to the requesting party that sends the resume request if the judgment result of the second judging module 54 is YES. Recovery by information The method steps solve the problem that the version of the recovery software is low, and the software needs to be upgraded after the recovery, thereby improving the user experience.
图6是根据本发明实施例的服务器的结构框图,如图6所示,该服务器60包括上述任一项的信息备份装置一62。FIG. 6 is a structural block diagram of a server according to an embodiment of the present invention. As shown in FIG. 6, the server 60 includes the information backup device one 62 of any of the above.
图7是根据本发明实施例的一种信息备份装置二的结构框图,该装置可以为终端,但不限于此,如图6所示,该装置包括:第一发送模块72、第三判断模块74和第一上传模块76和/或第二上传模块78,下面对该装置进行说明。FIG. 7 is a structural block diagram of an information backup device 2 according to an embodiment of the present invention. The device may be a terminal, but is not limited thereto. As shown in FIG. 6, the device includes: a first sending module 72 and a third determining module. 74 and the first upload module 76 and/or the second upload module 78, the device will be described below.
第一发送模块72,设置为发送服务器应用备份请求,其中,应用备份请求中携带有用于标识应用对应的软件安装包的安装包信息;判断应用对应的软件安装包是否为最新版本;第三判断模块74,连接至上述第一发送模块72,设置为依据服务器反馈的响应消息,判断应用对应的软件安装包是否存在于服务器上;第一上传模块76,设置为在上述第三判断模块74的判断结果为是的情况下,向服务器上传应用对应的用户数据;和/或,第二上传模块76,设置为在上述第三判断模块74的判断结果为否的情况下,向服务器上传应用对应的软件安装包,以及应用对应的用户数据。The first sending module 72 is configured to send a server application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application; determining whether the software installation package corresponding to the application is the latest version; The module 74 is connected to the first sending module 72, and is configured to determine whether the software installation package corresponding to the application exists on the server according to the response message fed back by the server. The first uploading module 76 is configured to be in the third determining module 74. If the determination result is yes, the user data corresponding to the application is uploaded to the server; and/or the second uploading module 76 is configured to upload the application corresponding to the server if the determination result of the third determining module 74 is negative. The software installation package, as well as the user data corresponding to the application.
通过上述装置,通过第一发送模块72发送应用备份请求,第三判断模块74依据服务器反馈的响应消息判断应用对应的软件安装包是否存在于服务器上,第一上传模块76和第二上传模块78根据判断结果上传用户数据和/或软件安装包,解决了多用户备份相同应用造成服务器资源浪费问题,避免了由于恢复的软件版本较低用户需要升级各个恢复软件的问题,提高了服务器存储资源的充分利用和用户体验度。The first sending module 72 sends an application backup request by using the foregoing device, and the third determining module 74 determines whether the software installation package corresponding to the application exists on the server according to the response message fed back by the server, and the first uploading module 76 and the second uploading module 78 Upload user data and/or software installation package according to the judgment result, which solves the problem of server resource waste caused by multi-user backup of the same application, and avoids the problem that the user needs to upgrade each recovery software due to the lower software version recovery, and improves the storage resource of the server. Take full advantage of the user experience.
图8是根据本发明优选实施例的信息备份装置二的优选结构框图一,该装置可以为终端,但不限于此,如图8所示,该装置包括图7所示的所有结构外,还包括:第二发送模块82、第五接收模块84和下载模块86,下面对该装置进行说明。8 is a block diagram of a preferred structure of an information backup device 2 according to a preferred embodiment of the present invention. The device may be a terminal, but is not limited thereto. As shown in FIG. 8, the device includes all the structures shown in FIG. The second transmitting module 82, the fifth receiving module 84, and the downloading module 86 are included, and the device will be described below.
第二发送模块82,设置为向服务器发送应用恢复请求;第五接收模块84,连接至上述第二发送模块82,设置为接收到服务器反馈的应用对应的软件安装包的最新版本信息;下载模块86,连接至上述第五接收模块84,设置为依据最新版本信息,从服务器下载应用对应的软件安装包的最新版本。通过信息恢复的方法步骤,解决了恢复软件的版本较低,软件恢复后还需要升级的问题,提高了用户体验度。The second sending module 82 is configured to send an application recovery request to the server; the fifth receiving module 84 is connected to the second sending module 82, and is configured to receive the latest version information of the software installation package corresponding to the application fed back by the server; 86, connected to the fifth receiving module 84, configured to download the latest version of the software installation package corresponding to the application from the server according to the latest version information. Through the method steps of information recovery, the problem that the version of the recovery software is lower, the software needs to be upgraded after the software recovery is solved, and the user experience is improved.
图9是根据本发明实施例的终端的结构框图,如图9所示,该终端90包括上述任一项信息备份装置二92。FIG. 9 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 9, the terminal 90 includes any of the above information backup devices 92.
服务器侧对备份软件和软件分开存储、建立应用信息库和用户备份信息库。The server side separately stores the backup software and software, and establishes an application information base and a user backup information base.
具体地,服务器将备份的软件和用户数据存储在不同的位置,软件安装包存储区 对所有用户共享,用户数据存储区是私有受保护的,即每个用户只能访问自己所在的存储区;服务器根据应用的身份信息(如应用包名)、应用版本号、应用安装包的存储位置和应用安装包的MD5值来建立应用信息库;用户备份信息库保存应用信息库中应用信息以及应用私有数据存储位置。Specifically, the server stores the backed up software and user data in different locations, the software installation package storage area For all users to share, the user data storage area is privately protected, that is, each user can only access the storage area where the user is located; the server stores the identity information according to the application (such as the application package name), the application version number, and the application installation package. The MD5 value of the location and application installation package is used to establish an application repository; the user backup repository stores application information in the application repository and the application private data storage location.
上述方法应用备份过程包含以下步骤:The above method of applying the backup process includes the following steps:
(1)终端发送应用备份请求,请求中携带备份应用的身份信息、应用版本号和应用的MD5值;(1) The terminal sends an application backup request, where the request carries the identity information of the backup application, the application version number, and the MD5 value of the application;
(2)服务器根据用户备份请求中的应用信息,在应用信息库中查找,将查找结果返回给终端;(2) The server searches in the application information base according to the application information in the user backup request, and returns the search result to the terminal;
(3)如果应用安转包信息已经在存储服务器上存在,终端会上传应用的用户数据到服务器,服务器存储应用的用户数据后,将用户数据保存位置更新到用户备份信息库中;(3) If the application security packet information exists on the storage server, the terminal uploads the user data of the application to the server, and after the server stores the user data of the application, the user data storage location is updated to the user backup information database;
(4)如果应用安转包信息不存在应用信息库中,终端需要同时上传应用安装包和应用的用户数据到服务器,服务器保存应用安装包和应用用户数据,更新应用信息库和用户备份信息库。(4) If the application security package information does not exist in the application information base, the terminal needs to simultaneously upload the application installation package and the application user data to the server, the server saves the application installation package and the application user data, and updates the application information base and the user backup information base. .
应用恢复过程包含以下步骤:The application recovery process consists of the following steps:
(1)终端发送应用恢复请求到服务器;(1) The terminal sends an application recovery request to the server;
(2)服务器受到终端恢复应用请求后,从用户备份信息库和应用信息库中查找用户的备份应用信息以及备份应用的最新版本信息,并将这些返回给终端;(2) After receiving the application of the terminal recovery application, the server searches for the backup application information of the user and the latest version information of the backup application from the user backup information base and the application information base, and returns these to the terminal;
(3)终端根据服务器响应提示用户,恢复应用时是否选择应用的最新版本恢复;(3) The terminal prompts the user according to the response of the server, and whether to select the latest version of the application to restore when the application is restored;
(4)终端根据用户的选择,从服务器下载应用安装文件和应用的用户数据,终端进行应用恢复操作。(4) The terminal downloads the application installation file and the user data of the application from the server according to the user's selection, and the terminal performs an application recovery operation.
另外,本发明提供一种应用备份和恢复的装置,该装置集成控制模块(功能同上述第一接收模块32、第一判断模块34和第二接收模块36以及第三接收模块38)、共享数据存储模块(功能同上述存储模块42)、私有数据存储模块(功能同上述存储模块42)、应用信息数据库和用户备份信息数据库。 In addition, the present invention provides an apparatus for applying backup and recovery, which integrates a control module (functioning with the first receiving module 32, the first determining module 34 and the second receiving module 36, and the third receiving module 38), and sharing data. The storage module (functioning with the storage module 42 described above), the private data storage module (functioning with the storage module 42 described above), the application information database, and the user backup information database.
控制模块,控制和管理其他模块,处理终端用户的请求;共享数据存储模块,存储应用的安装文件;私有数据存储模块,存储应用的用户数据;应用信息数据库,保存应用的身份信息和应用的存储位置;用户备份信息数据库,保存用户备份软件信息和应用用户数据的存储位置。Control module, control and manage other modules, process end user requests; share data storage module, store application installation files; private data storage module, store application user data; application information database, save application identity information and application storage Location; the user backs up the information database, and stores the storage location of the user backup software information and the application user data.
根据本发明提供的上述方案,解决了多用户备份相同应用造成服务器资源浪费问题,避免了由于恢复的软件版本较低用户需要升级各个恢复软件的问题。According to the foregoing solution provided by the present invention, the problem of waste of server resources caused by multi-user backup of the same application is solved, and the problem that the user needs to upgrade each recovery software due to the lower software version recovery is avoided.
下面对本发明优选实施方式进行说明。Preferred embodiments of the invention are described below.
优选实施方式1Preferred embodiment 1
图10是根据本发明优选实施方式1的信息备份方法的流程图,如图10所示为没保存应用安装包时应用备份过程流程图,如图10所示,该处理流程包括:10 is a flowchart of an information backup method according to a preferred embodiment 1 of the present invention. FIG. 10 is a flowchart of an application backup process when an application installation package is not saved. As shown in FIG. 10, the processing flow includes:
步骤S1001,终端发送备份请求,请求携带应用包名、应用版本号以及应用安装包的MD5值;Step S1001: The terminal sends a backup request, and the request carries the application package name, the application version number, and the MD5 value of the application installation package.
步骤S1002,服务器受到用户请求后,根据请求参数到应用查询是否有对应的应用安装包信息;Step S1002: After receiving the request from the user, the server queries the application according to the request parameter whether there is corresponding application installation package information;
步骤S1003,服务器确认没有保存对应的安装包信息;Step S1003, the server confirms that the corresponding installation package information is not saved;
步骤S1004,终端上传应用安装文件和应用用户数据;Step S1004: The terminal uploads an application installation file and application user data.
步骤S1005,服务器将应用安装包保存至共享数据存储区,并将应用安装包的存储位置、应用包名河应用版本存储到应用信息数据库中;Step S1005: The server saves the application installation package to the shared data storage area, and stores the storage location of the application installation package and the application package name application version in the application information database.
步骤S1006,服务器将应用用户数据保存至私有数据存储区,并将其存储位置和应用信息保存到用户备份信息数据库;Step S1006, the server saves the application user data to the private data storage area, and saves the storage location and the application information to the user backup information database;
步骤S1007,通知终端备份流程结束。Step S1007, notifying the terminal that the backup process ends.
优选实施方式2Preferred embodiment 2
图11是根据本发明优选实施方式2的信息备份方法的流程图,如图11所示为已保存应用安装包时应用备份过程流程图,如图11所示,该处理流程包括:11 is a flowchart of an information backup method according to a preferred embodiment 2 of the present invention. FIG. 11 is a flowchart of an application backup process when an application installation package has been saved. As shown in FIG. 11, the processing flow includes:
步骤S1101,终端发送备份请求,请求携带应用包名、应用版本号以及应用安装包的MD5值; Step S1101: The terminal sends a backup request, and the request carries the application package name, the application version number, and the MD5 value of the application installation package.
步骤S1102,服务器受到用户请求后,根据请求参数到应用查询是否有对应的应用安装包信息;Step S1102: After receiving the request from the user, the server queries the application according to the request parameter to check whether there is corresponding application installation package information;
步骤S1103,服务器确认找到对应的安装包信息;Step S1103, the server confirms that the corresponding installation package information is found;
步骤S1104,终端上传应用用户数据;Step S1104: The terminal uploads application user data.
步骤S1105,服务器将应用用户数据保存至私有数据存储区,并将其存储位置和应用信息保存到用户备份信息数据库;Step S1105: The server saves the application user data to the private data storage area, and saves the storage location and the application information to the user backup information database;
步骤S1106,通知终端备份流程结束。Step S1106, notifying the terminal that the backup process ends.
优选实施方式3Preferred embodiment 3
图12是根据本发明优选实施方式3的信息备份方法的流程图,如图12所示为基于本发明实现的软件恢复过程的流程图,该处理流程包括:12 is a flowchart of an information backup method according to a preferred embodiment 3 of the present invention. FIG. 12 is a flowchart of a software recovery process implemented according to the present invention. The process flow includes:
步骤S1201,终端发送应用恢复请求;Step S1201: The terminal sends an application recovery request.
步骤S1202,服务器从备份应用数据库和应用信息数据库中查找用户备份的应用版本信息和最新版本信息;Step S1202: The server searches for the application version information and the latest version information backed up by the user from the backup application database and the application information database.
步骤S1203,服务器将应用的备份版本和最新的应用版本信息返回到终端;Step S1203: The server returns the backup version of the application and the latest application version information to the terminal.
步骤S1204,提示用户进行应用恢复时是否采用最新的版本恢复;Step S1204, prompting the user whether to use the latest version recovery when the application is restored;
步骤S1205,根据用户选择,终端发送应用安装包和应用用户数据的下载请求;Step S1205: The terminal sends a download request of the application installation package and the application user data according to the user selection;
步骤S1206,下载应用安装包和应用用户数据;Step S1206, downloading an application installation package and application user data;
步骤S1207,终端安装恢复应用。In step S1207, the terminal installs the recovery application.
优选实施方式4Preferred embodiment 4
图13是根据本发明优选实施方式4的信息备份装置的结构框图,如图13所示为本发明实施例的服务器装置的框图。如图13所示,该服务器装置包括:控制器模块130(功能同上述第一接收模块32、判断模块34和第二接收模块36以及第三接收模块38),共享数据存储模块132(功能同上述存储模块42),私有数据存储模块136(功能同上述存储模块42),备份信息数据库模块134,应用信息数据库模块138,其中: 13 is a block diagram showing the structure of an information backup apparatus according to a preferred embodiment 4 of the present invention, and FIG. 13 is a block diagram showing a server apparatus according to an embodiment of the present invention. As shown in FIG. 13, the server device includes: a controller module 130 (functioning with the first receiving module 32, the determining module 34 and the second receiving module 36, and the third receiving module 38), and sharing the data storage module 132 (the same function) The storage module 42), the private data storage module 136 (functioning with the storage module 42 described above), the backup information database module 134, and the application information database module 138, wherein:
控制器模块130,接受和处理终端发送请求,控制和管理其他模块;The controller module 130 accepts and processes the terminal to send a request, and controls and manages other modules;
共享数据存储模块132,存储应用安装包报文件;The shared data storage module 132 stores the application installation package report file;
私有数据存储模块136,存储用户私有数据;The private data storage module 136 stores user private data;
备份信息数据库模块134,保存用户备份的应用信息和应用私有数据存放位置;The backup information database module 134 saves the application information backed up by the user and the storage location of the application private data;
应用信息数据库模块138,设置为存放应用信息,包括应用包名、版本号、安装包MD5值和应用安装在存储模块的存放位置。The application information database module 138 is configured to store application information, including an application package name, a version number, an MD5 value of the installation package, and a storage location where the application is installed in the storage module.
综上所示,根据本发明上述技术方案,服务器通过分离用户备份数据、共享应用安装文件、建立应用信息库和用户备份信息库的策略,节约了服务器存储资源和用户流量;应用恢复时,用户可以选择恢复最新应用版本,从而避免了用户恢复应用后好需要升级应用的不便。In summary, according to the above technical solution of the present invention, the server saves server storage resources and user traffic by separating user backup data, sharing application installation files, establishing an application information base, and a user backup information database; when the application is restored, the user is restored. You can choose to restore the latest version of the app, thus avoiding the inconvenience of upgrading the app after the user restores the app.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种信息备份方法、装置、服务器和终端具有以下有益效果:节约了服务器存储资源和用户流量;应用恢复时,用户可以选择恢复最新应用版本,从而避免了用户恢复应用后好需要升级应用的不便。 As described above, an information backup method, apparatus, server, and terminal provided by the embodiments of the present invention have the following beneficial effects: saving server storage resources and user traffic; when the application is restored, the user can select to restore the latest application version, thereby avoiding After the user restores the application, it is inconvenient to upgrade the application.

Claims (12)

  1. 一种信息备份方法,包括:An information backup method, including:
    接收应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;Receiving an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application;
    依据所述安装包信息,判断所述应用对应的软件安装包是否存在于服务器上;Determining, according to the installation package information, whether the software installation package corresponding to the application exists on the server;
    在判断结果为是的情况下,接收终端上传的所述应用对应的用户数据;和/或,在判断结果为否的情况下,接收所述终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据。If the result of the determination is yes, the user data corresponding to the application uploaded by the terminal is received; and/or, if the determination result is no, the software installation package corresponding to the application uploaded by the terminal is received, and User data corresponding to the application.
  2. 根据权利要求1所述的方法,其中,在接收终端上传的所述应用对应的用户数据;和/或,接收所述终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据之后,还包括:The method according to claim 1, wherein the user data corresponding to the application uploaded by the terminal is received; and/or the software installation package corresponding to the application uploaded by the terminal is received, and the user corresponding to the application is After the data, it also includes:
    将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上。The received software installation package corresponding to the application and the user data corresponding to the application are respectively stored in different corresponding positions.
  3. 根据权利要求2所述的方法,其中,在将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上之后,还包括:The method of claim 2, after the storing the software installation package corresponding to the application and the user data corresponding to the application are stored in different corresponding locations, respectively, further comprising:
    接收应用恢复请求;Receiving an application recovery request;
    判断所述应用对应的软件安装包是否为最新版本;Determining whether the software installation package corresponding to the application is the latest version;
    在判断结果为是的情况下,提供所述应用的最新版本给发送所述恢复请求的请求方下载。In the case where the result of the determination is yes, the latest version of the application is provided for download by the requesting party that sent the recovery request.
  4. 一种信息备份方法,包括:An information backup method, including:
    向服务器发送应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;Sending an application backup request to the server, where the application backup request carries installation package information for identifying a software installation package corresponding to the application;
    依据所述服务器反馈的响应消息,判断所述应用对应的软件安装包是否存在于所述服务器上;Determining, according to the response message fed back by the server, whether the software installation package corresponding to the application exists on the server;
    在判断结果为是的情况下,向所述服务器上传所述应用对应的用户数据;和/或,在判断结果为否的情况下,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据。If the determination result is yes, uploading the user data corresponding to the application to the server; and/or, if the determination result is no, uploading the software installation package corresponding to the application to the server, and User data corresponding to the application.
  5. 根据权利要求4所述的方法,其中,在向所述服务器上传所述应用对应的用户数据,和/或,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据之后,还包括: The method according to claim 4, wherein the user data corresponding to the application is uploaded to the server, and/or the software installation package corresponding to the application is uploaded to the server, and the user corresponding to the application After the data, it also includes:
    向所述服务器发送应用恢复请求;Sending an application recovery request to the server;
    接收到所述服务器反馈的所述应用对应的软件安装包的最新版本信息;Receiving the latest version information of the software installation package corresponding to the application fed back by the server;
    依据所述最新版本信息,从所述服务器下载所述应用对应的软件安装包的最新版本。And downloading, according to the latest version information, the latest version of the software installation package corresponding to the application from the server.
  6. 一种信息备份装置,包括:An information backup device comprising:
    第一接收模块,设置为接收应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;The first receiving module is configured to receive an application backup request, where the application backup request carries installation package information for identifying a software installation package corresponding to the application;
    第一判断模块,设置为依据所述安装包信息,判断所述应用对应的软件安装包是否存在于服务器上;The first determining module is configured to determine, according to the installation package information, whether the software installation package corresponding to the application exists on the server;
    第二接收模块,设置为在所述第一判断模块的判断结果为是的情况下,接收终端上传的所述应用对应的用户数据;和/或,第三接收模块,在所述第一判断模块的判断结果为否的情况下,接收终端上传的所述应用对应的软件安装包,以及所述应用对应的用户数据。The second receiving module is configured to: when the determination result of the first determining module is yes, receive user data corresponding to the application uploaded by the terminal; and/or, the third receiving module, in the first determining If the judgment result of the module is no, the software installation package corresponding to the application uploaded by the terminal and the user data corresponding to the application are received.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    存储模块,设置为将接收到的所述应用对应的所述软件安装包和所述应用对应的用户数据分别存储在不同的对应位置上。The storage module is configured to store the received software installation package corresponding to the application and the user data corresponding to the application in different corresponding locations.
  8. 根据权利要求7所述的装置,其中,还包括:The apparatus according to claim 7, further comprising:
    第四接收模块,设置为接收应用恢复请求;a fourth receiving module, configured to receive an application recovery request;
    第二判断模块,设置为判断所述应用对应的软件安装包是否为最新版本;The second determining module is configured to determine whether the software installation package corresponding to the application is the latest version;
    提供模块,设置为在所述第二判断模块的判断结果为是的情况下,提供所述应用的最新版本给发送所述恢复请求的请求方下载。And providing a module, configured to provide the latest version of the application to the requestor that sends the recovery request to download if the determination result of the second determination module is YES.
  9. 一种服务器,包括权利要求6至8中任一项所述的装置。A server comprising the apparatus of any one of claims 6 to 8.
  10. 一种信息备份装置,包括:An information backup device comprising:
    第一发送模块,设置为向服务器发送应用备份请求,其中,所述应用备份请求中携带有用于标识所述应用对应的软件安装包的安装包信息;判断所述应用对应的软件安装包是否为最新版本;The first sending module is configured to send an application backup request to the server, where the application backup request carries installation package information for identifying a software installation package corresponding to the application; and determining whether the software installation package corresponding to the application is The latest version of;
    第三判断模块,设置为依据所述服务器反馈的响应消息,判断所述应用对应的软件安装包是否存在于所述服务器上; The third determining module is configured to determine, according to the response message fed back by the server, whether the software installation package corresponding to the application exists on the server;
    第一上传模块,设置为在所述第三判断模块的判断结果为是的情况下,向所述服务器上传所述应用对应的用户数据;和/或,第二上传模块,设置为在所述第三判断模块的判断结果为否的情况下,向所述服务器上传所述应用对应的软件安装包,以及所述应用对应的用户数据。The first uploading module is configured to: upload the user data corresponding to the application to the server if the determination result of the third determining module is YES; and/or, the second uploading module is configured to be in the When the determination result of the third determining module is no, the software installation package corresponding to the application and the user data corresponding to the application are uploaded to the server.
  11. 根据权利要求10所述的装置,其中,所述装置还包括:The device of claim 10, wherein the device further comprises:
    第二发送模块,设置为向所述服务器发送应用恢复请求;a second sending module, configured to send an application recovery request to the server;
    第五接收模块,设置为接收到所述服务器反馈的所述应用对应的软件安装包的最新版本信息;a fifth receiving module, configured to receive the latest version information of the software installation package corresponding to the application fed back by the server;
    下载模块,设置为依据所述最新版本信息,从所述服务器下载所述应用对应的软件安装包的最新版本。The downloading module is configured to download the latest version of the software installation package corresponding to the application from the server according to the latest version information.
  12. 一种终端,包括权利要求10至11中任一项所述的装置。 A terminal comprising the apparatus of any one of claims 10 to 11.
PCT/CN2015/085356 2014-11-05 2015-07-28 Information backup method, device, server and terminal WO2016070655A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410619189.2A CN105577734A (en) 2014-11-05 2014-11-05 Information backup method, device, server and terminal
CN201410619189.2 2014-11-05

Publications (1)

Publication Number Publication Date
WO2016070655A1 true WO2016070655A1 (en) 2016-05-12

Family

ID=55887381

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085356 WO2016070655A1 (en) 2014-11-05 2015-07-28 Information backup method, device, server and terminal

Country Status (2)

Country Link
CN (1) CN105577734A (en)
WO (1) WO2016070655A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426272B (en) * 2015-12-23 2019-10-15 北京奇虎科技有限公司 Application Backup method and device
CN106708664A (en) * 2016-12-19 2017-05-24 维沃移动通信有限公司 Installation file backup method and server
CN107945858A (en) * 2017-12-14 2018-04-20 无锡祥生医疗科技股份有限公司 Upgrading backup method, the apparatus and system of diasonograph
CN109361819A (en) * 2018-11-05 2019-02-19 诚迈科技(南京)股份有限公司 A kind of method, intelligent terminal and backup server restoring intelligent terminal software
CN110389862B (en) * 2019-07-24 2023-06-30 上海联影医疗科技股份有限公司 Data storage method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852534A (en) * 2005-08-10 2006-10-25 华为技术有限公司 Data backing-up and recovering method and system
CN101216791A (en) * 2008-01-04 2008-07-09 华中科技大学 File backup method based on fingerprint
CN101729671A (en) * 2009-12-31 2010-06-09 宇龙计算机通信科技(深圳)有限公司 Method for managing backup file, terminal thereof and system thereof
US20120117346A1 (en) * 2007-04-27 2012-05-10 Stocklein Carl J User interface indicator for mobile device backup status
CN103793293A (en) * 2012-11-03 2014-05-14 上海欧朋软件有限公司 Incremental backup method for archived data files

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212439A1 (en) * 2005-03-21 2006-09-21 Microsoft Corporation System and method of efficient data backup in a networking environment
CN101403985B (en) * 2008-05-04 2011-03-30 北京深思洛克软件技术股份有限公司 Software permission backup method for software protection apparatus
CN102546756A (en) * 2011-12-13 2012-07-04 中兴通讯股份有限公司 Data processing method, cloud server and terminal
CN103294487B (en) * 2012-02-22 2016-05-25 腾讯科技(深圳)有限公司 The method of mounting software, equipment and system
CN103561324A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Method and device for conducting cloud packing-up on application program of cloud television
CN103619008A (en) * 2013-12-11 2014-03-05 北京网秦天下科技有限公司 System and method for performing backup and restoration on data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852534A (en) * 2005-08-10 2006-10-25 华为技术有限公司 Data backing-up and recovering method and system
US20120117346A1 (en) * 2007-04-27 2012-05-10 Stocklein Carl J User interface indicator for mobile device backup status
CN101216791A (en) * 2008-01-04 2008-07-09 华中科技大学 File backup method based on fingerprint
CN101729671A (en) * 2009-12-31 2010-06-09 宇龙计算机通信科技(深圳)有限公司 Method for managing backup file, terminal thereof and system thereof
CN103793293A (en) * 2012-11-03 2014-05-14 上海欧朋软件有限公司 Incremental backup method for archived data files

Also Published As

Publication number Publication date
CN105577734A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2016070655A1 (en) Information backup method, device, server and terminal
US20170235566A1 (en) System and method for efficient software replication
CN109361638B (en) Method, system and storage medium for sharing control authority of intelligent device
US20150100955A1 (en) Method and System for Updating Software
US9678678B2 (en) Storage network data retrieval
CN105812435B (en) Application upgrading data packet processing method and device, electronic equipment and system
US7240104B2 (en) Method and apparatus for managing resources stored on a communication device
JP6852148B2 (en) How to update software update system, firmware over the air update system, and client devices
KR101589801B1 (en) Peer-to-peer data migration
US20170185615A1 (en) Data processing method and device
WO2015117426A1 (en) File management method and device
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
WO2017167121A1 (en) Method and device for determining and applying association relationship between application programs
WO2012151993A1 (en) Service pushing method and device
US11221993B2 (en) Limited deduplication scope for distributed file systems
CN112835524A (en) Storage resource allocation method, storage resource controller and scheduling system
CN103049448A (en) File management method and file management system
CN106331160A (en) Data migration method and system
CN103944805A (en) Information updating method and system based on Wechat platform
EP1872256B1 (en) System and method of waste management
CN110795041A (en) Quota method, quota device, server and storage medium of distributed file system
KR101666064B1 (en) Apparatus for managing data by using url information in a distributed file system and method thereof
TWI505100B (en) Method for sharing and synchronizing data in local area network
CN106302641B (en) A kind of methods, devices and systems of upper transmitting file
KR101638689B1 (en) System and method for providing client terminal to user customized synchronization service

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

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

Country of ref document: EP

Kind code of ref document: A1