WO2017166791A1 - 应用程序备份方法及装置 - Google Patents

应用程序备份方法及装置 Download PDF

Info

Publication number
WO2017166791A1
WO2017166791A1 PCT/CN2016/102588 CN2016102588W WO2017166791A1 WO 2017166791 A1 WO2017166791 A1 WO 2017166791A1 CN 2016102588 W CN2016102588 W CN 2016102588W WO 2017166791 A1 WO2017166791 A1 WO 2017166791A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
user identity
feature information
identity information
installation package
Prior art date
Application number
PCT/CN2016/102588
Other languages
English (en)
French (fr)
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 WO2017166791A1 publication Critical patent/WO2017166791A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents

Definitions

  • Embodiments of the present invention relate to the field of data communications, and in particular, to an application backup method and apparatus.
  • an embodiment of the present invention provides an application backup method, including: searching for a locally installed application; acquiring feature information of the searched application; acquiring user identity information; and transmitting the feature information and the location User identity information.
  • the searching for a locally installed application comprises: searching a predetermined storage directory for a file having a predetermined suffix; and determining a locally installed application according to the searched file.
  • An embodiment of the present invention further provides another application backup method, including: receiving feature information and user identity information; determining whether an application installation package corresponding to the feature information exists locally; when the feature does not exist locally When the corresponding application installation package is information, the application installation package is downloaded from the predetermined target according to the feature information; and the application installation package is associated with the user identity information.
  • the method further includes: monitoring whether a recovery request and user identity information is received; and when receiving the recovery request and the user identity information, searching for an application installation package associated with the user identity information; and requesting the recovery and the user The sender of the identity information sends the application installation package.
  • the feature information is a hash value of the application.
  • an embodiment of the present invention provides an application backup device, including: a search unit for searching for a locally installed application; a feature information obtaining unit, configured to acquire feature information of the searched application; An information acquiring unit, configured to acquire user identity information, and a sending unit, configured to send the feature information and the user identity information.
  • the search unit comprises: a file search unit for searching a file with a predetermined suffix in a predetermined storage directory; and an application determining unit for determining a locally installed application according to the searched file.
  • An embodiment of the present invention provides another application backup device, including: a receiving unit, configured to receive feature information and user identity information; and a determining unit, configured to determine whether an application installation package corresponding to the feature information exists locally a downloading unit, configured to download an application installation package from a predetermined target according to the feature information when an application installation package corresponding to the feature information does not exist locally; an association unit, configured to install the application package Associated with the user identity information.
  • Figure 6 is a block diagram showing the structure of a server according to Embodiment 8 of the present invention.
  • This embodiment provides an application backup method, which is performed by a user terminal. As shown in FIG. 1 , the method includes:
  • this step is to determine whether the identity of the restorer is the same as the identity of the backup user when the user performs the recovery operation;
  • the local installed application is searched in the user terminal, and the feature information of the application is determined, and then the user identity information and the feature information of the application are sent to the external target together.
  • the external target can determine the installed application in the user terminal according to the feature information, and can determine the sender of the information according to the user identity information, so that the sender can perform the recovery operation of the application, thereby implementing the user terminal.
  • the application is backed up, and this solution has strong convenience.
  • the feature information may be a hash value of the application, which is also called signature information of the application, and the information is provided by the publisher, and each application has a unique hash value. Even if two applications with the same name and the same publisher but different version numbers have different hash values, as the feature information, an application can be determined very accurately.
  • This embodiment provides another application backup method, which is performed by a server. As shown in FIG. 2, the method includes:
  • the identity of this user identity information backup person may be, for example, an application name, a version number, or the like for describing an application, and the information may be sent by the client;
  • the embodiment provides an application backup device, which can be set in a user terminal. As shown in FIG. 3, the device includes:
  • a searching unit 31 configured to search for a locally installed application
  • the feature information acquiring unit 32 is configured to acquire feature information of the searched application, and preferably, the feature information may be a hash value of the application;
  • the identity information obtaining unit 33 is configured to acquire user identity information.
  • the sending unit 34 is configured to send the feature information and the user identity information.
  • An application backup device searches for a locally installed application in a client, determines feature information of the application, and then sends the user identity information and the feature information of the application to an external target.
  • the external target can determine the installed application in the user terminal according to the feature information, and can determine the sender of the information according to the user identity information, so that the sender can perform the recovery operation of the application, thereby implementing the user terminal.
  • the application is backed up, and this solution has strong convenience.
  • the searching unit 31 includes:
  • a file search unit configured to search a predetermined storage directory for a file having a predetermined suffix
  • An application determining unit for determining a locally installed application based on the searched file An application determining unit for determining a locally installed application based on the searched file.
  • the receiving unit 41 is configured to receive the feature information and the user identity information.
  • the feature information may be a hash value of the application;
  • the determining unit 42 is configured to determine whether there is an application installation package corresponding to the feature information locally;
  • a monitoring unit configured to monitor whether a recovery request and user identity information are received
  • FIG. 5 is a structural block diagram showing a user terminal according to Embodiment 5 of the present application.
  • the processor 501 is configured to invoke the program instructions in the memory 502 to perform the methods provided by the foregoing method embodiments, for example, including: searching for a locally installed application; and acquiring feature information of the searched application; Obtaining user identity information; transmitting the feature information and the user identity information.
  • the embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer
  • the method provided by each of the foregoing method embodiments can be performed, for example, including: searching for a locally installed application; acquiring feature information of the searched application; acquiring user identity information; and transmitting the feature information and the user identity information.
  • the embodiment provides a non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the methods provided by the foregoing method embodiments, including, for example, Searching for a locally installed application; obtaining feature information of the searched application; acquiring user identity information; transmitting the feature information and the user identity information.
  • the test device of the user terminal includes: a processor 601, a memory 602, a communication interface 603, and a bus 604.
  • the processor 601, the memory 602, and the communication interface 603 complete communication with each other through the bus 604;
  • the communication interface 603 is used for information transmission between the server and the communication device of the user terminal;
  • the processor 601 is configured to invoke the program instructions in the memory 602 to perform the methods provided by the foregoing method embodiments, for example, including: receiving feature information and user identity information; determining whether a local device corresponds to the feature information An application installation package; when there is no application installation package corresponding to the feature information locally, downloading an application installation package from a predetermined target according to the feature information; and installing the application installation package with the user identity Information is associated.
  • the embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer
  • the method provided by the foregoing method embodiments may include: receiving feature information and user identity information; determining whether there is an application installation package corresponding to the feature information locally; when there is no local corresponding to the feature information When the application installs the package, the application installation package is downloaded from the predetermined target according to the feature information; and the application installation package is associated with the user identity information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种应用程序备份方法及装置,涉及数据通信领域,所述方法包括:搜索本地已安装的应用程序(S1);获取搜索到的应用程序的特征信息(S2);获取用户身份信息(S3);发送所述特征信息和所述用户身份信息(S4)。本方法使外部目标可以根据特征信息确定该用户终端中已安装的应用程序,并可根据用户身份信息确定上述信息的发送者,进而使发送者可以进行应用程序的恢复操作,由此实现对用户终端的应用程序的备份,具有较强的便利性。

Description

应用程序备份方法及装置
交叉引用
本申请引用于2016年4月1日提交的专利名称为“应用程序备份方法及装置”的第2016102021976号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明的实施例涉及数据通信领域,具体涉及一种应用程序备份方法及装置。
背景技术
智能终端是指像个人电脑一样,具有独立的操作系统,独立的运行空间,可以由用户自行安装软件、游戏、导航等第三方服务商提供的程序,并可以通过无线网络来实现无线网络接入的终端的总称。智能终端的使用范围已经布满全世界,智能终端具有优秀的操作系统、可自由安装各类软件等特性,用户可以在终端中保存各种数据,并且可以根据自身需求对终端进行设置。
智能终端的更新换代很快,当用户决定更换新的终端时,对原终端的数据转移操作是非常必要的操作,即将原终端中的数据同步到新的终端中。现有的终端数据同步方案只针对终端中的通讯录,具体地,是借助远程服务器保存原终端中的通讯录数据,然后根据用户的需求,用户可以使用另一终端从服务器中下载通讯录数据。现有方案只能实现对通信录的同步操作,对于安装在原终端的应用程序,只能通过人工重新下载安装到新的终端中。由此可见,现有的同步方案不能实现对应用程序的备份和恢复,便利性和丰富性较差,不能满足用户需求。
发明内容
因此,本发明的实施例要解决的现有的同步方案不能实现对应用程序的备份和恢复的问题。
有鉴于此,本发明的实施例提供了一种应用程序备份方法,包括:搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
优选地,所述搜索本地已安装的应用程序,包括:在预定存储目录中搜索具有预定后缀的文件;根据搜索到的文件确定本地已安装的应用程序。
本发明的实施例还提供了另一种应用程序备份方法,包括:接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
优选地,还包括:监测是否接收到恢复请求和用户身份信息;当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。
优选地,所述特征信息为应用程序的哈希值。
相应地,本发明的实施例提供了一种应用程序备份装置,包括:搜索单元,用于搜索本地已安装的应用程序;特征信息获取单元,用于获取搜索到的应用程序的特征信息;身份信息获取单元,用于获取用户身份信息;发送单元,用于发送所述特征信息和所述用户身份信息。
优选地,所述搜索单元包括:文件搜索单元,用于在预定存储目录中搜索具有预定后缀的文件;应用程序确定单元,用于根据搜索到的文件确定本地已安装的应用程序。
本发明的实施例提供了另一种应用程序备份装置,包括:接收单元,用于接收特征信息和用户身份信息;判断单元,用于判断本地是否存在与所述特征信息相应的应用程序安装包;下载单元,用于当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;关联单元,用于将所述应用程序安装包与所述用户身份信息相关联。
优选地,还包括:监测单元,用于监测是否接收到恢复请求和用户身 份信息;搜索单元,用于当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;发送单元,用于向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。
优选地,所述特征信息为应用程序的哈希值。
相应地,本发明的实施例提供一种用户终端,包括:
至少一个处理器、至少一个存储器、通信接口和总线;其中,
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
所述通信接口用于该用户终端与服务器的通信设备之间的信息传输;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如下方法:
搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
相应地,本发明的实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如下方法:
搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
相应地,本发明的实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如下方法:
搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
相应地,本发明的实施例提供一种服务器,包括:
至少一个处理器、至少一个存储器、通信接口和总线;其中,
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
所述通信接口用于该服务器与用户终端的通信设备之间的信息传输;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如下方法:
接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相 应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
相应地,本发明的实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如下方法:
接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
相应地,本发明的实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如下方法:
接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
本发明的实施例提供的第一种应用程序备份方法及装置可设置在用户端中,在用户端中搜索本地已安装的应用程序,并确定应用程序的特征信息,然后将用户身份信息和应用程序的特征信息一同向外部目标发送,使外部目标可以根据特征信息确定该用户终端中已安装的应用程序,并可根据用户身份信息确定上述信息的发送者,进而使发送者可以进行应用程序的恢复操作,由此实现对用户终端的应用程序的备份,本方案具有较强的便利性。
本发明的实施例提供的第二种应用程序备份方法及装置可设置在服务器中,根据接收到的特征信息来确定应用程序安装包,如果服务器中没有相应的应用程序安装包则到预定目标中进行下载,然后将应用程序安装包与发送者的用户身份信息相关联,应用程序安装包和用户信息均保存在服务器中,用户随时可以通过服务器获取到自己曾上传的特征信息对应的 安装包,由此实现对应用程序的备份,本方案具有较强的便利性。
附图说明
为了更清楚地说明本发明的实施例具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的实施例的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明的实施例1提供的应用程序备份方法的流程图;
图2为本发明的实施例2提供的应用程序备份方法的流程图;
图3为本发明的实施例3提供的应用程序备份装置的结构示意图;
图4为本发明的实施例4提供的应用程序备份装置的结构示意图;
图5为本发明的实施例5提供的用户终端的结构框图;
图6为本发明的实施例8提供的服务器的结构框图。
具体实施方式
下面将结合附图对本发明的实施例的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的实施例一部分实施例,而不是全部的实施例。基于本发明的实施例中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明的实施例保护的范围。
此外,下面所描述的本发明的实施例不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
本实施例提供了一种应用程序备份方法,该方法由用户终端执行,如图1所示该方法包括:
S1,搜索本地已安装的应用程序,具体搜索方式有多种,例如对于安卓操作系统而言,操作系统本身具有监控用户应用程序的模块,并且操作系统提供一个访问该模块的接口,只要调用该接口即可利用操作系统本身的功能找到所有的用户安装的程序;
S2,获取搜索到的应用程序的特征信息,特征信息例如可以是应用程序名称、版本号等用于描述应用程序的信息,此类信息在程序所在目录内的即可获取到;
S3,获取用户身份信息,开启备份操作前需要用户进行登录操作,此用户身份信息备份者的身份,此步骤是为了在用户进行恢复操作时确定恢复者的身份是否与备份者的身份相同;
S4,发送所述特征信息和所述用户身份信息,发送目标可以是服务器。
根据本发明的实施例提供的应用程序备份方法,在用户端中搜索本地已安装的应用程序,并确定应用程序的特征信息,然后将用户身份信息和应用程序的特征信息一同向外部目标发送,使外部目标可以根据特征信息确定该用户终端中已安装的应用程序,并可根据用户身份信息确定上述信息的发送者,进而使发送者可以进行应用程序的恢复操作,由此实现对用户终端的应用程序的备份,本方案具有较强的便利性。
作为一个优选的实施方式,上述步骤S1可以包括如下步骤:
S11,在预定存储目录中搜索具有预定后缀的文件;
S12,根据搜索到的文件确定本地已安装的应用程序。
例如对于安卓系统而言,用户安装应用程序时,系统会自动将应用程序安装到一个固定的目录中,每个应用程序的文件夹中都存有一个用于描述该应用程序的文件,并且该文件的格式是固定的(即后缀固定),该文件中有该程序的发布者信息、名称、版本等各种信息。由此,通过遍历上述固定目录中的固定格式的文件则可以确定本地已安装的应用程序。
作为一个优选的实施方式,上述特征信息可以是应用程序的哈希值,也称为应用程序的签名信息,此信息是由发布者提供的,各个应用程序都有一个独有的哈希值,即使是名称相同、发布者相同但版本号不同的两个应用程序,二者的哈希值也是不相同的,以此作为特征信息,可以十分准确地确定一个应用程序。
实施例2
本实施例提供了另一种应用程序备份方法,该方法由服务器端执行,如图2所示该方法包括:
S’1,接收特征信息和用户身份信息。此用户身份信息备份者的身份; 特征信息例如可以是应用程序名称、版本号等用于描述应用程序的信息,此信息可以是用户端发送的;
S’2,判断本地是否存在与所述特征信息相应的应用程序安装包,当本地不存在与所述特征信息相应的应用程序安装包时执行步骤S’3,若存在则直接执行步骤S’4;
S’3,根据所述特征信息从预定目标中下载应用程序安装包,预定目标可以是其他服务器;
S’4,将所述应用程序安装包与所述用户身份信息相关联,以便备份者进行恢复操作时,可以向其提供与其身份相关联应用程序安装包。
根据本发明的实施例提供的应用程序备份方法,利用接收到的特征信息来确定应用程序安装包,如果服务器中没有相应的应用程序安装包则到预定目标中进行下载,然后将应用程序安装包与发送者的用户身份信息相关联,应用程序安装包和用户信息均保存在服务器中,用户随时可以通过服务器获取到自己曾上传的特征信息对应的安装包,由此实现对应用程序的备份,本方案具有较强的便利性。
服务器完成应用程序的备份后,用户终端可以进行恢复操作,例如用户终端可以发送恢复请求和用户身份信息。为了实现恢复操作,本方法还包括:
S’5,监测是否接收到恢复请求和用户身份信息;
S’6,当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;
S’7,向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。接收到应用程序安装包的终端可以自动进行安装,使终端中的各种应用程序恢复成与该用户之前进行备份操作的终端相同的状态。
作为一个优选的实施方式,上述特征信息可以是应用程序的哈希值,以此作为特征信息,可以十分准确地确定一个应用程序,进而找到与用户终端中的应用程序完全相符的安装包,当用户终端进行恢复操作时,可以使用户终端安装与之前所备份的应用程序完全相同的应用程序。
实施例3
本实施例提供一种应用程序备份装置,该装置可设置在用户终端中,如图3所示该装置包括:
搜索单元31,用于搜索本地已安装的应用程序;
特征信息获取单元32,用于获取搜索到的应用程序的特征信息,优选地,所述特征信息可以是应用程序的哈希值;
身份信息获取单元33,用于获取用户身份信息;
发送单元34,用于发送所述特征信息和所述用户身份信息。
根据本发明的实施例提供的应用程序备份装置,在用户端中搜索本地已安装的应用程序,并确定应用程序的特征信息,然后将用户身份信息和应用程序的特征信息一同向外部目标发送,使外部目标可以根据特征信息确定该用户终端中已安装的应用程序,并可根据用户身份信息确定上述信息的发送者,进而使发送者可以进行应用程序的恢复操作,由此实现对用户终端的应用程序的备份,本方案具有较强的便利性。
作为一个优选的实施方式,所述搜索单元31包括:
文件搜索单元,用于在预定存储目录中搜索具有预定后缀的文件;
应用程序确定单元,用于根据搜索到的文件确定本地已安装的应用程序。
实施例4
本发明的实施例提供另一种应用程序备份装置,该装置可设置在服务器中,如图4所示该装置包括:
接收单元41,用于接收特征信息和用户身份信息。优选地,所述特征信息可以是应用程序的哈希值;
判断单元42,用于判断本地是否存在与所述特征信息相应的应用程序安装包;
下载单元43,用于当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;
关联单元44,用于将所述应用程序安装包与所述用户身份信息相关联。
根据本发明的实施例提供的应用程序备份装置,利用接收到的特征信息来确定应用程序安装包,如果服务器中没有相应的应用程序安装包则到 预定目标中进行下载,然后将应用程序安装包与发送者的用户身份信息相关联,应用程序安装包和用户信息均保存在服务器中,用户随时可以通过服务器获取到自己曾上传的特征信息对应的安装包,由此实现对应用程序的备份,本方案具有较强的便利性。
作为一个优选的实施方式,该装置还包括:
监测单元,用于监测是否接收到恢复请求和用户身份信息;
搜索单元,用于当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;
发送单元,用于向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。
实施例五
图5是示出本申请实施例五的用户终端的结构框图。
参照图5,所述用户终端的测试设备,包括:处理器(processor)501、存储器(memory)502、通信接口(Communications Interface)503和总线504;
其中,
所述处理器501、存储器502、通信接口503通过所述总线504完成相互间的通信;
所述通信接口503用于该用户终端与服务器的通信设备之间的信息传输;
所述处理器501用于调用所述存储器502中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
实施例六
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
实施例七
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:搜索本地已安装的应用程序;获取搜索到的应用程序的特征信息;获取用户身份信息;发送所述特征信息和所述用户身份信息。
实施例八
图6是示出本申请实施例八的服务器的结构框图。
参照图6,所述用户终端的测试设备,包括:处理器(processor)601、存储器(memory)602、通信接口(Communications Interface)603和总线604;
其中,
所述处理器601、存储器602、通信接口603通过所述总线604完成相互间的通信;
所述通信接口603用于该服务器与用户终端的通信设备之间的信息传输;
所述处理器601用于调用所述存储器602中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
实施例九
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
实施例十
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:接收特征信息和用户身份信息;判断本地是否存在与所述特征信息相应的应用程序安装包;当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;将所述应用程序安装包与所述用户身份信息相关联。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的显示装置的测试设备等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明的实施例创造的保护范围之中。

Claims (16)

  1. 一种应用程序备份方法,其特征在于,包括:
    搜索本地已安装的应用程序;
    获取搜索到的应用程序的特征信息;
    获取用户身份信息;
    发送所述特征信息和所述用户身份信息。
  2. 根据权利要求1所述的方法,其特征在于,所述搜索本地已安装的应用程序,包括:
    在预定存储目录中搜索具有预定后缀的文件;
    根据搜索到的文件确定本地已安装的应用程序。
  3. 一种应用程序备份方法,其特征在于,包括:
    接收特征信息和用户身份信息;
    判断本地是否存在与所述特征信息相应的应用程序安装包;
    当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;
    将所述应用程序安装包与所述用户身份信息相关联。
  4. 根据权利要求3所述的方法,其特征在于,还包括:
    监测是否接收到恢复请求和用户身份信息;
    当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;
    向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述特征信息为应用程序的哈希值。
  6. 一种应用程序备份装置,其特征在于,包括:
    搜索单元,用于搜索本地已安装的应用程序;
    特征信息获取单元,用于获取搜索到的应用程序的特征信息;
    身份信息获取单元,用于获取用户身份信息;
    发送单元,用于发送所述特征信息和所述用户身份信息。
  7. 根据权利要求6所述的装置,其特征在于,所述搜索单元包括:
    文件搜索单元,用于在预定存储目录中搜索具有预定后缀的文件;
    应用程序确定单元,用于根据搜索到的文件确定本地已安装的应用程序。
  8. 一种应用程序备份装置,其特征在于,包括:
    接收单元,用于接收特征信息和用户身份信息;
    判断单元,用于判断本地是否存在与所述特征信息相应的应用程序安装包;
    下载单元,用于当本地不存在与所述特征信息相应的应用程序安装包时,根据所述特征信息从预定目标中下载应用程序安装包;
    关联单元,用于将所述应用程序安装包与所述用户身份信息相关联。
  9. 根据权利要求8所述的装置,其特征在于,还包括:
    监测单元,用于监测是否接收到恢复请求和用户身份信息;
    搜索单元,用于当接收到恢复请求和用户身份信息时,搜索与所述用户身份信息相关联的应用程序安装包;
    发送单元,用于向所述恢复请求和用户身份信息的发送方发送所述应用程序安装包。
  10. 根据权利要求6-9中任一项所述的装置,其特征在于,所述特征信息为应用程序的哈希值。
  11. 一种用户终端,其特征在于,包括:
    至少一个处理器、至少一个存储器、通信接口和总线;其中,
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
    所述通信接口用于该用户终端与服务器的通信设备之间的信息传输;
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至2任一所述的方法。
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至2任一所述的方法。
  13. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至2任一所述的方法。
  14. 一种服务器,其特征在于,包括:
    至少一个处理器、至少一个存储器、通信接口和总线;其中,
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
    所述通信接口用于该服务器与用户终端的通信设备之间的信息传输;
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求3至5任一所述的方法。
  15. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求3至5任一所述的方法。
  16. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求3至5任一所述的方法。
PCT/CN2016/102588 2016-04-01 2016-10-19 应用程序备份方法及装置 WO2017166791A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610202197.6A CN105912419A (zh) 2016-04-01 2016-04-01 应用程序备份方法及装置
CN201610202197.6 2016-04-01

Publications (1)

Publication Number Publication Date
WO2017166791A1 true WO2017166791A1 (zh) 2017-10-05

Family

ID=56745297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102588 WO2017166791A1 (zh) 2016-04-01 2016-10-19 应用程序备份方法及装置

Country Status (2)

Country Link
CN (1) CN105912419A (zh)
WO (1) WO2017166791A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835928A (zh) * 2021-09-24 2021-12-24 青岛海信移动通信技术股份有限公司 应用的备份和恢复方法、设备、存储介质和程序产品
CN114710284A (zh) * 2022-05-16 2022-07-05 北京智芯微电子科技有限公司 通信保密元件的版本更新方法、设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912419A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 应用程序备份方法及装置
CN106502840B (zh) * 2016-10-25 2019-07-16 Oppo广东移动通信有限公司 一种数据备份方法、装置及系统
CN106547591A (zh) * 2016-10-28 2017-03-29 珠海市魅族科技有限公司 指纹信息的处理方法、处理装置和终端
KR20180080519A (ko) * 2017-01-04 2018-07-12 에이치피프린팅코리아 주식회사 애플리케이션을 백업하기 위한 화상 형성 장치 및 그 동작 방법
CN106921959B (zh) * 2017-04-26 2020-12-29 努比亚技术有限公司 移动终端的刷机方法、装置及刷机设备
CN114546721B (zh) * 2022-02-17 2024-05-07 中国银联股份有限公司 集群中应用程序的备份方法、系统及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205390A1 (en) * 2000-05-04 2004-10-14 International Business Machines Corporation Real time backup system for computer users
CN102999398A (zh) * 2011-09-15 2013-03-27 腾讯科技(深圳)有限公司 一种实现用户系统还原的方法、系统和装置
CN103294487A (zh) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 安装软件的方法、设备及系统
CN105912419A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 应用程序备份方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205390A1 (en) * 2000-05-04 2004-10-14 International Business Machines Corporation Real time backup system for computer users
CN102999398A (zh) * 2011-09-15 2013-03-27 腾讯科技(深圳)有限公司 一种实现用户系统还原的方法、系统和装置
CN103294487A (zh) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 安装软件的方法、设备及系统
CN105912419A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 应用程序备份方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835928A (zh) * 2021-09-24 2021-12-24 青岛海信移动通信技术股份有限公司 应用的备份和恢复方法、设备、存储介质和程序产品
CN114710284A (zh) * 2022-05-16 2022-07-05 北京智芯微电子科技有限公司 通信保密元件的版本更新方法、设备及存储介质
CN114710284B (zh) * 2022-05-16 2022-08-16 北京智芯微电子科技有限公司 通信保密元件的版本更新方法、设备及存储介质

Also Published As

Publication number Publication date
CN105912419A (zh) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017166791A1 (zh) 应用程序备份方法及装置
US11991249B2 (en) Method, user equipment, server, and apparatus for implementing information sharing
CN107943594B (zh) 数据获取方法和装置
AU2015401229B2 (en) Website access method, apparatus, and website system
US10140118B2 (en) Application data synchronization method and apparatus
JP5989807B2 (ja) ソフトウェアのインストール方法、デバイスおよびシステム
WO2014012449A1 (zh) 桌面同步方法、装置、处理中心及系统
JP2019530089A (ja) ウェブページとネイティブアプリケーションの間の通信を実現する方法及び装置並びに電子装置
CN107181686B (zh) 路由表的同步方法、装置及系统
WO2019051628A1 (zh) 一种文件分发、下载方法、分发服务器、客户端及系统
CN104767767A (zh) 互联网访问数据共享方法、装置、系统及网络设备
JP2018515850A (ja) データ・コピー方法及びデバイス
CN103312489A (zh) 一种终端与服务器进行同步的方法和装置
CN113785293B (zh) 对本地安装在用户设备上的防病毒软件的文件存储服务启动
WO2012042999A1 (ja) 端末アプリケーション検索システム
JP2016212656A (ja) 情報処理装置、端末、情報処理装置と端末を有するシステム、情報処理方法及びプログラム
AU2011358857B2 (en) Method and apparatus for managing content in a processing device
KR20130023490A (ko) 애플리케이션 동기화 시스템 및 방법
CN109639629B (zh) 数据访问处理方法、装置、计算机设备和存储介质
CN106899630B (zh) 网盘中图片的缩略图显示方法与装置
WO2016197884A1 (zh) 基于身份的数据处理方法及装置
CN105610596B (zh) 一种资源目录管理方法和网络终端
JP2010079523A (ja) セッションデータ共有方法
CN113886217A (zh) 云数据库服务的灰度验证方法、设备、系统及存储介质
CN109325057B (zh) 中间件管理方法、装置、计算机设备以及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896561

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896561

Country of ref document: EP

Kind code of ref document: A1