CN106681860A - Data backup method and data backup device - Google Patents
Data backup method and data backup device Download PDFInfo
- Publication number
- CN106681860A CN106681860A CN201611095066.9A CN201611095066A CN106681860A CN 106681860 A CN106681860 A CN 106681860A CN 201611095066 A CN201611095066 A CN 201611095066A CN 106681860 A CN106681860 A CN 106681860A
- Authority
- CN
- China
- Prior art keywords
- file
- request
- backup
- received
- server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例公开了一种数据备份方法及数据备份装置,其中的方法包括:检测终端安装的目标应用是否接收到文件接收请求;在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,所述备份指令用于指示应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器;向备份服务器发送用于请求获取接收文件的文件标识列表的请求;接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的。本发明实施例还公开了相应的装置。本发明实施例有利于提升数据的安全性,避免数据丢失。
The embodiment of the present invention discloses a data backup method and a data backup device, wherein the method includes: detecting whether the target application installed on the terminal has received a file receiving request; The application server corresponding to the target application sends a backup instruction, the backup instruction is used to instruct the application server to send the target file to the backup server that establishes a communication connection with the terminal; and sends a file for requesting to obtain the received file to the backup server A request for the identification list; receiving the file identification list of the received file generated by the backup server in response to the request, wherein the file identification list of the received file is the file identification of the file extracted by the backup server based on the received file and the time the file was received. The embodiment of the invention also discloses a corresponding device. The embodiments of the present invention are beneficial to improving data security and avoiding data loss.
Description
技术领域technical field
本发明涉及移动终端技术领域,具体涉及一种数据备份方法及数据备份装置。The invention relates to the technical field of mobile terminals, in particular to a data backup method and a data backup device.
背景技术Background technique
随着云服务技术的不断发展,用户为了降低终端设备的存储压力以及数据维护、管理的成本,往往将一些重要的个人数据,例如通讯录、短信、图片等资料通过云存储的方式备份在云服务器上面。在需要进行数据同步时,再从云服务下载数据。云备份具有以下优点:备份数据更加安全,支持多平台管理,数据传输加密更放心,不受空间和设备限制,也不用数据线,也避免了备份到存储卡上存在的数据丢失的风险,同时,可以实现服务器、笔记本电脑、个人PC和移动终端之间的数据同步。With the continuous development of cloud service technology, in order to reduce the storage pressure of terminal equipment and the cost of data maintenance and management, users often back up some important personal data, such as contacts, text messages, pictures, etc. on the server. When data synchronization is required, the data is downloaded from the cloud service. Cloud backup has the following advantages: backup data is more secure, supports multi-platform management, data transmission encryption is more secure, not limited by space and equipment, and does not require data cables, and also avoids the risk of data loss when backing up to a memory card. , can realize data synchronization among servers, laptops, personal PCs and mobile terminals.
目前,在通过QQ、微信等应用向其它终端发送文件时可采用在线发送和离线发送两种发送方式,在采用在线发送文件时,终端可以直接将接收的文件下载至本地,若采用离线发送文件时,文件被暂时存储在应用服务器,当文件在应用服务器的存储时间达到一定时间长度时,文件便会被清除,导致文件丢失。At present, when sending files to other terminals through QQ, WeChat and other applications, there are two sending methods: online sending and offline sending. When sending files online, the terminal can directly download the received files to the local. If sending files offline When the file is temporarily stored in the application server, when the storage time of the file in the application server reaches a certain length of time, the file will be cleared, resulting in file loss.
发明内容Contents of the invention
本发明实施例提供了一种数据备份方法及数据备份装置,有利于提升数据的安全性,避免数据丢失。Embodiments of the present invention provide a data backup method and a data backup device, which are beneficial to improving data security and avoiding data loss.
第一方面,本发明实施例提供一种数据备份方法,包括:In a first aspect, an embodiment of the present invention provides a data backup method, including:
检测终端安装的目标应用是否接收到文件接收请求;Detecting whether the target application installed on the terminal receives a file receiving request;
在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器;向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;When it is detected that the target application has received a file receiving request, a backup instruction is sent to the application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request is used to request The target application receives the target file sent by the application server, and the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal; for a request to obtain a list of file identifiers for a received file;
接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。receiving the file identification list of the received file generated by the backup server in response to the request, wherein the file identification list of the received file is the backup server extracting the file identification of the file and the receiving time of the file based on the received file As a result, the file identifier list of the received file includes the file identifier of the target file and the receiving time of the target file.
第二方面,本发明实施例提供一种计算机程序产品,所述计算机程序产品包括指令,当所述计算机程序产品被计算机执行时,所述计算机执行如本发明实施例第一方面任一方法中的部分或全部步骤,所述计算机包括移动终端。In a second aspect, an embodiment of the present invention provides a computer program product, the computer program product includes instructions, and when the computer program product is executed by a computer, the computer executes any one of the methods in the first aspect of the embodiment of the present invention. Part or all of the steps, the computer includes a mobile terminal.
第三方面,本发明实施例提供一种数据备份装置,包括:In a third aspect, an embodiment of the present invention provides a data backup device, including:
检测模块,用于检测终端安装的目标应用是否接收到文件接收请求;A detection module, configured to detect whether the target application installed on the terminal has received a file receiving request;
发送模块,用于在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器;A sending module, configured to send a backup instruction to an application server corresponding to the target application when detecting that the target application has received a file receiving request, wherein the file receiving request is generated by the application server, and the file The receiving request is used to request the target application to receive the target file sent by the application server, and the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal;
所述发送模块,还用于向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;The sending module is further configured to send a request for obtaining a file identification list of received files to the backup server;
接收模块,用于接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。The receiving module is configured to receive the file identifier list of the received file generated by the backup server in response to the request, wherein the file identifier list of the received file is the file identifier of the file extracted by the backup server based on the received file and the receiving time of the file, the file identifier list of the received file includes the file identifier of the target file and the receiving time of the target file.
第四方面,本发明实施例提供一种移动终端,其特征在于,包括:In a fourth aspect, an embodiment of the present invention provides a mobile terminal, which is characterized in that it includes:
处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线连接并完成相互间的通信;A processor, a memory, a communication interface, and a communication bus, the processor, the memory, and the communication interface are connected through the communication bus and complete mutual communication;
所述存储器存储有可执行程序代码,所述通信接口用于无线通信;The memory stores executable program codes, and the communication interface is used for wireless communication;
所述处理器用于调用所述存储器中的所述可执行程序代码,执行本发明实施例第一方面任一方法中所描述的部分或全部步骤。The processor is configured to invoke the executable program code in the memory to execute some or all of the steps described in any method of the first aspect of the embodiments of the present invention.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例公开的一种网络构架的结构示意图;FIG. 1 is a schematic structural diagram of a network architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种数据备份方法的流程示意图;Fig. 2 is a schematic flow chart of a data backup method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种数据备份方法的流程示意图;FIG. 3 is a schematic flow diagram of another data backup method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种数据备份方法的流程示意图;FIG. 4 is a schematic flow diagram of another data backup method disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种数据备份方法的流程示意图;FIG. 5 is a schematic flow diagram of another data backup method disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种数据备份方法的流程示意图;FIG. 6 is a schematic flowchart of another data backup method disclosed in an embodiment of the present invention;
图7是本发明实施例公开的一种数据备份装置的单元组成框图;Fig. 7 is a unit composition block diagram of a data backup device disclosed by an embodiment of the present invention;
图8是本发明实施例公开的一种移动终端的结构示意图;FIG. 8 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;
图9是本发明实施例公开的另一种移动终端的结构示意图。FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
为了更好理解本发明实施例公开的一种数据备份方法及数据备份装置,下面对本发明实施例进行详细介绍。In order to better understand the data backup method and data backup device disclosed in the embodiments of the present invention, the embodiments of the present invention will be described in detail below.
为了更好理解本发明实施例公开的一种数据备份方法及移动终端,下面先对本发明实施例适用的网络构架进行描述。请参阅图1,图1是本发明实施例公开的一种网络构架的结构示意图。如图1所示,该网络构架示意图可以包括应用服务设备、备份服务设备和终端,其中,上述应用服务设备或备份服务设备可以包括服务器、服务主机、服务系统以及服务平台等,而终端可以包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等用户设备。其中,服务设备可以通过互联网与客户端进行通信连接。In order to better understand the data backup method and the mobile terminal disclosed in the embodiments of the present invention, the network architecture applicable to the embodiments of the present invention will be described below. Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a network architecture disclosed in an embodiment of the present invention. As shown in Figure 1, the schematic diagram of the network architecture may include application service equipment, backup service equipment, and terminals, wherein the above-mentioned application service equipment or backup service equipment may include servers, service hosts, service systems, and service platforms, etc., and the terminals may include But not limited to mobile phones, mobile computers, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), media players, smart TVs, smart watches, smart glasses, smart bracelets and other user equipment. Wherein, the service device can communicate with the client through the Internet.
基于图1所示的网络构架,本发明实施例公开了的一种数据备份方法。请参阅图2,图2是本发明实施例提供了一种数据备份方法的流程示意图,如图2所示,本数据备份方法包括以下步骤:Based on the network architecture shown in FIG. 1 , the embodiment of the present invention discloses a data backup method. Please refer to FIG. 2. FIG. 2 is a schematic flow diagram of a data backup method provided by an embodiment of the present invention. As shown in FIG. 2, the data backup method includes the following steps:
S201、检测终端安装的目标应用是否接收到文件接收请求。S201. Detect whether a target application installed on a terminal receives a file receiving request.
具体地,所述目标应用为可以接收其它终端发送文件的应用,例如,QQ、微信、MSN以及Skype等即时通讯类软件等。所述目标应用可以接收其它终端的用户发送的图片、文档等文件。Specifically, the target application is an application that can receive files sent by other terminals, for example, instant messaging software such as QQ, WeChat, MSN, and Skype. The target application may receive files such as pictures and documents sent by users of other terminals.
S202、在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器。S202. When it is detected that the target application receives a file receiving request, send a backup instruction to the application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request uses In order to request the target application to receive the target file sent by the application server, the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal.
S203、向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;S203. Send a request to the backup server for obtaining a file identification list of the received file;
S204、接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。S204. Receive the file identifier list of the received file generated by the backup server in response to the request, wherein the file identifier list of the received file is the backup server extracting the file identifier and the file ID of the file based on the received file The file identifier list of the received file includes the file identifier of the target file and the receiving time of the target file.
具体地,本端接收其它终端发送的文件,该其它终端将文件发送至服务器,服务器将文件发送至本端,本端在检测到所述目标应用接收到文件接收请求时,将文件下载至本地,若本端没有选择将文件立即下载至本地,则文件被保存至应用服务器。Specifically, the local terminal receives files sent by other terminals, the other terminals send the files to the server, the server sends the files to the local terminal, and the local terminal downloads the files to the local terminal when detecting that the target application receives a file receiving request , if the local end does not choose to download the file to the local immediately, the file will be saved to the application server.
在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,所述备份指令包括本端的终端标识,以指示所述应用服务器将所述目标文件发送至所述备份服务器,将文件在所述备份服务器中与终端标识对应的存储区域进行存储。When it is detected that the target application has received a file receiving request, a backup instruction is sent to the application server corresponding to the target application, and the backup instruction includes the terminal identifier of the local terminal to instruct the application server to send the target file to The backup server stores the file in a storage area corresponding to the terminal identifier in the backup server.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
可选的,在一个实施例中,所述在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,所述终端还可以执行以下操作:Optionally, in an embodiment, after detecting that the target application receives a file receiving request, after sending a backup instruction to the application server corresponding to the target application, the terminal may further perform the following operations:
获取针对所述目标文件的下载请求;Obtain a download request for the target file;
将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;forwarding the download request for the target file to the backup server, so that the backup server sends the target file to the terminal;
接收所述备份服务器响应所述下载请求而发送的所述目标文件。receiving the target file sent by the backup server in response to the download request.
在该可选的实施例中,终端可以实现在备份服务器中查询并下载其他终端发送的文件。In this optional embodiment, the terminal can query and download files sent by other terminals in the backup server.
可选的,所述备份指令包括预设时间阈值,所述备份指令在用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器时,具体用于若所述目标文件在所述应用服务器的存储时间达到所述预设时间阈值时,指示所述应用服务器将所述目标文件发送至所述备份服务器。Optionally, the backup instruction includes a preset time threshold, and when the backup instruction is used to instruct the application server to send the target file to a backup server that establishes a communication connection with the terminal, it is specifically used if the When the storage time of the target file on the application server reaches the preset time threshold, instruct the application server to send the target file to the backup server.
举例来说,上述预设时间阈值可以为1天或7天等任意一个时间长度值,该时间阈值可以由用户自主设置,也可以根据文件在应用服务器的最长存储时间设定,例如,文件在应用服务器的最长存储时间为7天,那么上述预设时间阈值可以为小于或等于7天的任意一个时间长度值,例如1天、1.5天或3天等,以上述预设时间阈值为1天为例,所述备份指令具体用于若所述目标文件在所述应用服务器的存储时间达到1天时,指示所述应用服务器将所述目标文件发送至所述备份服务器。For example, the above-mentioned preset time threshold can be any time length value such as 1 day or 7 days, and the time threshold can be set by the user independently, or can be set according to the longest storage time of the file in the application server, for example, the file The longest storage time of the application server is 7 days, then the above-mentioned preset time threshold can be any time length value less than or equal to 7 days, such as 1 day, 1.5 days or 3 days, etc., and the above-mentioned preset time threshold is Taking 1 day as an example, the backup instruction is specifically used to instruct the application server to send the target file to the backup server when the storage time of the target file on the application server reaches 1 day.
可选的,所述在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,所述终端还可以执行以下操作:Optionally, after detecting that the target application receives a file receiving request, after sending a backup instruction to the application server corresponding to the target application, the terminal may also perform the following operations:
获取针对所述目标文件的下载请求;Obtain a download request for the target file;
检测获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔是否大于或等于所述预设时间阈值;Detecting whether the time interval between the time when the download request is acquired and the time when the target application receives the file receiving request is greater than or equal to the preset time threshold;
若大于,将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;If it is greater than, forwarding the download request for the target file to the backup server, so that the backup server sends the target file to the terminal;
若小于,将所述针对所述目标文件的下载请求转发至所述应用服务器,以使所述应用服务器将所述目标文件发送至所述终端;If less than, forwarding the download request for the target file to the application server, so that the application server sends the target file to the terminal;
接收所述目标文件。The object file is received.
向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;Sending a request for obtaining a file identification list of the received file to the backup server;
接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。receiving the file identification list of the received file generated by the backup server in response to the request, wherein the file identification list of the received file is the backup server extracting the file identification of the file and the receiving time of the file based on the received file As a result, the file identifier list of the received file includes the file identifier of the target file and the receiving time of the target file.
本发明实施例还提供了一种数据备份方法,所述数据备份方法应用于数据备份系统,该数据备份系统可以包括移动终端、应用服务器和备份服务器,如图3所示,本数据备份方法包括以下步骤:The embodiment of the present invention also provides a data backup method, the data backup method is applied to a data backup system, the data backup system may include a mobile terminal, an application server and a backup server, as shown in Figure 3, the data backup method includes The following steps:
S301、应用服务器生成文件接收请求,并向移动终端发送文件接收请求。S301. The application server generates a file receiving request, and sends the file receiving request to the mobile terminal.
S302、移动终端检测移动终端安装的目标应用是否接收到文件接收请求。S302. The mobile terminal detects whether the target application installed on the mobile terminal receives a file receiving request.
S303、移动终端在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令。S303. The mobile terminal sends a backup instruction to the application server corresponding to the target application when detecting that the target application has received the file receiving request.
S304、所述应用服务器响应所述备份指令,将所述目标文件发送至与所述移动终端建立通信连接的备份服务器。S304. In response to the backup instruction, the application server sends the target file to a backup server establishing a communication connection with the mobile terminal.
S305、移动终端向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求。S305. The mobile terminal sends to the backup server a request for obtaining a file identification list of the received file.
S306、所述备份服务器响应所述请求,基于已接收的文件,提取文件的文件标识和文件的接收时间生成接收文件的文件标识列表。S306. In response to the request, the backup server extracts the file identifiers of the files and the receiving time of the files based on the received files to generate a file identifier list of the received files.
S307、所述备份服务器向所述终端发送所述文件标识列表。S307. The backup server sends the file identification list to the terminal.
S308、所述移动终端接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。S308. The mobile terminal receives the file identification list of the received files generated by the backup server in response to the request.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
请参阅图4,图4是本发明实施例提供的另一种数据备份方法的流程示意图。如图4所示,本数据备份方法包括:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another data backup method provided by an embodiment of the present invention. As shown in Figure 4, the data backup method includes:
S401、检测终端安装的目标应用是否接收到文件接收请求。S401. Detect whether a target application installed on a terminal receives a file receiving request.
S402、在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器。S402. When detecting that the target application has received a file receiving request, send a backup instruction to the application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request uses In order to request the target application to receive the target file sent by the application server, the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal.
S403、向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求。S403. Send to the backup server a request for obtaining a file identification list of the received file.
S404、接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。S404. Receive the file identification list of the received file generated by the backup server in response to the request, wherein the file identification list of the received file is the backup server extracting the file identification and file ID of the file based on the received file The file identifier list of the received file includes the file identifier of the target file and the receiving time of the target file.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全。同时,终端可以获取接收文件的文件标识列表,方便用户了解接收的文件以及接收时间,为用户管理接收的文件提供便利,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which helps to avoid file loss caused by the user failing to download the file to be received to the local in time, and thus helps to improve data security. At the same time, the terminal can obtain the file identification list of the received file, which is convenient for the user to know the received file and the receiving time, and provides convenience for the user to manage the received file. At the same time, the terminal user can know the received file and the time of receiving the file based on the file identification list. This facilitates the management of received files.
请参阅图5,图5是本发明实施例提供的另一种数据备份方法的流程示意图。如图5所示,本数据备份方法包括:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another data backup method provided by an embodiment of the present invention. As shown in Figure 5, the data backup method includes:
S501、检测终端安装的目标应用是否接收到文件接收请求。S501. Detect whether a target application installed on a terminal receives a file receiving request.
S502、在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器。S502. When it is detected that the target application has received a file receiving request, send a backup instruction to the application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request uses In order to request the target application to receive the target file sent by the application server, the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal.
S503、获取针对所述目标文件的下载请求。S503. Obtain a download request for the target file.
S504、将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端。S504. Forward the download request for the target file to the backup server, so that the backup server sends the target file to the terminal.
S505、接收所述备份服务器响应所述下载请求而发送的所述目标文件。S505. Receive the target file sent by the backup server in response to the download request.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
请参阅图6,图6是本发明实施例提供的另一种数据备份方法的流程示意图。如图6所示,本数据备份方法包括:Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of another data backup method provided by an embodiment of the present invention. As shown in Figure 6, the data backup method includes:
S601、检测终端安装的目标应用是否接收到文件接收请求。S601. Detect whether a target application installed on a terminal receives a file receiving request.
S602、在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件。S602. When it is detected that the target application receives a file receiving request, send a backup instruction to the application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request uses to request the target application to receive the target file sent by the application server.
其中,所述备份指令包括预设时间阈值,所述备份指令在用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器时,具体用于若所述目标文件在所述应用服务器的存储时间达到所述预设时间阈值时,指示所述应用服务器将所述目标文件发送至所述备份服务器。Wherein, the backup instruction includes a preset time threshold, and when the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal, it is specifically used if the target When the storage time of the file on the application server reaches the preset time threshold, instruct the application server to send the target file to the backup server.
S603、获取针对所述目标文件的下载请求。S603. Obtain a download request for the target file.
S604、检测获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔是否大于或等于所述预设时间阈值。S604. Detect whether the time interval between the time when the download request is acquired and the time when the target application receives the file receiving request is greater than or equal to the preset time threshold.
S605、若大于,将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端。S605. If it is larger, forward the download request for the target file to the backup server, so that the backup server sends the target file to the terminal.
S606、若小于,将所述针对所述目标文件的下载请求转发至所述应用服务器,以使所述应用服务器将所述目标文件发送至所述终端。S606. If less, forward the download request for the target file to the application server, so that the application server sends the target file to the terminal.
S607、接收所述目标文件。S607. Receive the target file.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。如图7所示,该移动终端可以包括检测模块701、发送模块702,和第一接收模块703其中:The following are device embodiments of the present invention, and the device embodiments of the present invention are used to execute the methods implemented by the method embodiments of the present invention. As shown in FIG. 7, the mobile terminal may include a detection module 701, a sending module 702, and a first receiving module 703, wherein:
所述检测模块701,用于检测终端安装的目标应用是否接收到文件接收请求;The detection module 701 is configured to detect whether the target application installed on the terminal receives a file receiving request;
所述发送模块702,用于在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器;The sending module 702 is configured to send a backup instruction to an application server corresponding to the target application when detecting that the target application has received a file receiving request, wherein the file receiving request is generated by the application server, The file receiving request is used to request the target application to receive the target file sent by the application server, and the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal ;
所述发送模块702,还用于向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;The sending module 702 is further configured to send a request for obtaining a file identification list of the received file to the backup server;
所述第一接收模块703,用于接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。The first receiving module 703 is configured to receive the file identifier list of the received file generated by the backup server in response to the request, wherein the file identifier list of the received file is based on the received file by the backup server, It is formed by extracting the file ID of the file and the receiving time of the file, and the file ID list of the received file includes the file ID of the target file and the receiving time of the target file.
可选的,所述移动终端还包括:Optionally, the mobile terminal also includes:
第一获取模块704,在所述发送模块702在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,用于获取针对所述目标文件的下载请求;The first obtaining module 704 is configured to obtain the download of the target file after the sending module 702 detects that the target application has received a file receiving request and sends a backup instruction to the application server corresponding to the target application ask;
所述发送模块702,还用于将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;The sending module 702 is further configured to forward the download request for the target file to the backup server, so that the backup server sends the target file to the terminal;
第二接收模块705,用于接收所述备份服务器响应所述下载请求而发送的所述目标文件。The second receiving module 705 is configured to receive the target file sent by the backup server in response to the download request.
可选的,所述备份指令包括预设时间阈值,所述备份指令在用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器时,具体用于若所述目标文件在所述应用服务器的存储时间达到所述预设时间阈值时,指示所述应用服务器将所述目标文件发送至所述备份服务器。Optionally, the backup instruction includes a preset time threshold, and when the backup instruction is used to instruct the application server to send the target file to a backup server that establishes a communication connection with the terminal, it is specifically used if the When the storage time of the target file on the application server reaches the preset time threshold, instruct the application server to send the target file to the backup server.
可选的,所述移动终端还包括:Optionally, the mobile terminal also includes:
第二获取模块706,在所述发送模块702在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,用于获取针对所述目标文件的下载请求;The second obtaining module 706 is configured to obtain downloading of the target file after the sending module 702 detects that the target application has received a file receiving request and sends a backup instruction to the application server corresponding to the target application ask;
所述检测模块701,还用于检测获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔是否大于或等于所述预设时间阈值;The detection module 701 is further configured to detect whether the time interval between the time when the download request is obtained and the time when the target application receives the file receiving request is detected is greater than or equal to the preset time threshold;
所述发送模块702,还用于若所述检测模块701检测到获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔大于所述预设时间阈值,将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;The sending module 702 is further configured to: if the detection module 701 detects that the time interval between the time when the download request is acquired and the time when the target application receives the file receiving request is greater than the preset time threshold , forwarding the download request for the target file to the backup server, so that the backup server sends the target file to the terminal;
所述发送模块702,还用于若所述检测模块701检测到获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔小于所述预设时间阈值,将所述针对所述目标文件的下载请求转发至所述应用服务器,以使所述应用服务器将所述目标文件发送至所述终端;The sending module 702 is further configured to: if the detection module 701 detects that the time interval between the time when the download request is acquired and the time when the target application receives the file receiving request is less than the preset time threshold , forwarding the download request for the target file to the application server, so that the application server sends the target file to the terminal;
第三接收模块707,用于接收所述目标文件。The third receiving module 707 is configured to receive the target file.
需要注意的是,本发明装置实施例所描述的移动终端是以功能模块的形式呈现。这里所使用的术语“模块”应当理解为尽可能最宽的含义,用于实现各个“模块”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the mobile terminal described in the device embodiments of the present invention is presented in the form of functional modules. The term "module" used here should be understood as the broadest meaning possible. The object used to realize the functions described by each "module" can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware Processors (shared, dedicated, or chipsets) and memories of programs, combinational logic circuits, and/or other suitable components that provide the functions described above.
举例来说,上述发送模块702在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令的功能可以由图8所示的移动终端来实现,具体可以通过处理器101通过调用存储器102中的可执行程序代码,在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令。For example, when the sending module 702 detects that the target application has received a file receiving request, the function of sending a backup instruction to the application server corresponding to the target application can be realized by the mobile terminal shown in FIG. The processor 101 sends a backup instruction to the application server corresponding to the target application when detecting that the target application receives a file receiving request by calling the executable program code in the memory 102 .
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to the backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
本发明实施例还提供了一种移动终端,如图8所示,包括:处理器101,存储器102,通信接口103和通信总线104;其中,处理器101、存储器102和通信接口103通过通信总线104连接并完成相互间的通信;处理器101通过通信接口103控制与外部蜂窝网的无线通信;通信接口103包括但不限于天线、放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。存储器102包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器,存储器102中存储有可执行程序代码,该可执行程序代码能够引导处理器101执行本发明方法实施例中具体披露的音频备份方法,包括以下步骤:The embodiment of the present invention also provides a mobile terminal, as shown in FIG. 8 , including: a processor 101, a memory 102, a communication interface 103 and a communication bus 104; wherein, the processor 101, the memory 102 and the communication interface 103 are 104 is connected and completes mutual communication; processor 101 controls the wireless communication with external cellular network through communication interface 103; Communication interface 103 includes but not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer, etc. The memory 102 includes at least one of the following: random access memory, non-volatile memory, and external memory, and executable program code is stored in the memory 102, and the executable program code can guide the processor 101 to execute the method embodiment of the present invention The audio backup method specifically disclosed in includes the following steps:
所述处理器101检测终端安装的目标应用是否接收到文件接收请求;The processor 101 detects whether the target application installed on the terminal receives a file receiving request;
所述处理器101在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令,其中,所述文件接收请求是所述应用服务器生成的,所述文件接收请求用于请求所述目标应用接收所述应用服务器发送的目标文件,所述备份指令用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器。When the processor 101 detects that the target application has received a file receiving request, it sends a backup instruction to an application server corresponding to the target application, wherein the file receiving request is generated by the application server, and the file receiving request is generated by the application server. The receiving request is used to request the target application to receive the target file sent by the application server, and the backup instruction is used to instruct the application server to send the target file to a backup server establishing a communication connection with the terminal.
可选的,所述处理器101在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,还可以用于获取针对所述目标文件的下载请求;将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;接收所述备份服务器响应所述下载请求而发送的所述目标文件。Optionally, after the processor 101 detects that the target application has received a file receiving request, after sending a backup instruction to the application server corresponding to the target application, it may also be used to obtain a download request for the target file ; Forwarding the download request for the target file to the backup server, so that the backup server sends the target file to the terminal; receiving the request sent by the backup server in response to the download request Describe the target file.
可选的,所述备份指令包括预设时间阈值,所述备份指令在用于指示所述应用服务器将所述目标文件发送至与所述终端建立通信连接的备份服务器时,具体用于若所述目标文件在所述应用服务器的存储时间达到所述预设时间阈值时,指示所述应用服务器将所述目标文件发送至所述备份服务器。Optionally, the backup instruction includes a preset time threshold, and when the backup instruction is used to instruct the application server to send the target file to a backup server that establishes a communication connection with the terminal, it is specifically used if the When the storage time of the target file on the application server reaches the preset time threshold, instruct the application server to send the target file to the backup server.
可选的,所述处理器101在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,还可以用于获取针对所述目标文件的下载请求;检测获取所述下载请求的时刻与检测到所述目标应用接收到文件接收请求的时刻之间的时间间隔是否大于或等于所述预设时间阈值;若大于,将所述针对所述目标文件的下载请求转发至所述备份服务器,以使所述备份服务器将所述目标文件发送至所述终端;若小于,将所述针对所述目标文件的下载请求转发至所述应用服务器,以使所述应用服务器将所述目标文件发送至所述终端;接收所述目标文件。Optionally, after the processor 101 detects that the target application has received a file receiving request, after sending a backup instruction to the application server corresponding to the target application, it may also be used to obtain a download request for the target file ; Detect whether the time interval between the moment of obtaining the download request and the moment of detecting that the target application receives the file receiving request is greater than or equal to the preset time threshold; if greater, the target file will be The download request for the target file is forwarded to the backup server, so that the backup server sends the target file to the terminal; if less than, the download request for the target file is forwarded to the application server, so that The application server sends the target file to the terminal; receives the target file.
可选的,所述处理器101在检测到所述目标应用接收到文件接收请求时,向所述目标应用对应的应用服务器发送备份指令之后,还可以用于向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求;接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表,其中,所述接收文件的文件标识列表是所述备份服务器基于已接收的文件,提取文件的文件标识和文件的接收时间而形成的,所述接收文件的文件标识列表包括所述目标文件的文件标识以及所述目标文件的接收时间。Optionally, after the processor 101 detects that the target application has received a file receiving request, after sending a backup instruction to the application server corresponding to the target application, it may also be configured to send a request to the backup server. Obtaining a request for a file identification list of a received file; receiving a file identification list of a received file generated by the backup server in response to the request, wherein the file identification list of the received file is based on the received file by the backup server, It is formed by extracting the file ID of the file and the receiving time of the file, and the file ID list of the received file includes the file ID of the target file and the receiving time of the target file.
本发明实施例提供的数据备份方法,终端检测终端安装的目标应用是否接收到文件接收请求,在检测到目标应用接收到文件接收请求时,向目标应用对应的应用服务器发送备份指令,以指示应用服务器将目标文件发送至与终端建立通信连接的备份服务器,其中,该文件接收请求是应用服务器生成的,用于请求目标应用接收应用服务器发送的目标文件,向所述备份服务器发送用于请求获取接收文件的文件标识列表的请求,接收所述备份服务器响应所述请求所生成的接收文件的文件标识列表。可见,终端在接收到文件接收请求时,自动触发应用服务器将文件备份至备份服务器,有利于避免用户未能将待接收文件及时下载至本地所导致的文件丢失,进而有利于提升数据安全,同时终端用户可以基于文件标识列表,知晓接收的文件和接收文件的时间,从而便于实现对接收文件的管理。In the data backup method provided by the embodiment of the present invention, the terminal detects whether the target application installed on the terminal has received a file receiving request, and when detecting that the target application has received the file receiving request, sends a backup instruction to the application server corresponding to the target application to instruct the application The server sends the target file to a backup server that establishes a communication connection with the terminal, wherein the file receiving request is generated by the application server, and is used to request the target application to receive the target file sent by the application server, and sends a request to the backup server to obtain the target file. A request for a file identification list of a file is received, and a file identification list of a received file generated by the backup server in response to the request is received. It can be seen that when the terminal receives a file receiving request, it automatically triggers the application server to back up the file to the backup server, which is beneficial to avoid file loss caused by the user failing to download the file to be received locally in time, thereby improving data security. Based on the file identification list, the terminal user can know the received file and the time of receiving the file, so as to facilitate the management of the received file.
本发明实施例还提供了另一种移动终端,如图9所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:The embodiment of the present invention also provides another mobile terminal, as shown in FIG. 9 , for the convenience of description, only the parts related to the embodiment of the present invention are shown. If the specific technical details are not disclosed, please refer to the method of the embodiment of the present invention. part. The mobile terminal can be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. Taking the mobile terminal as a mobile phone as an example:
图9示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(wireless fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 shows a block diagram of a partial structure of a mobile phone related to the mobile terminal provided by the embodiment of the present invention. 9, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (wireless fidelity, WiFi) module 970, a processor 980 , and power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 9 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图9对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 9:
RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 910 may be used for the reception and transmission of information. Generally, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 910 may also communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobilecommunication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; the data storage area may store data created according to the use of the mobile phone, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元930可用于接收输入的数字或字符信息,以及生成与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹识别模组931以及其他输入设备932。指纹识别模组931,可采集用户在其上的指纹数据。可选的,指纹识别模组931可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹识别模组931为电容式指纹识别模组为例,具体包括感应电极(异常感应电极和正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹识别模组931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 930 may include a fingerprint identification module 931 and other input devices 932 . The fingerprint identification module 931 can collect the fingerprint data of the user on it. Optionally, the fingerprint identification module 931 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module. Taking the fingerprint identification module 931 as an example of a capacitive fingerprint identification module, it specifically includes sensing electrodes (abnormal sensing electrodes and normal sensing electrodes) and signal processing circuits (such as amplification circuits, noise suppression circuits, analog sensing electrodes) connected to the sensing electrodes. number conversion circuits, etc.). In addition to the fingerprint recognition module 931 , the input unit 930 may also include other input devices 932 . Specifically, other input devices 932 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。虽然在图9中,指纹识别模组931与显示屏941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹识别模组931与显示屏941集成而实现手机的输入和输出功能。The display unit 940 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941. Optionally, the display screen 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 9, the fingerprint identification module 931 and the display screen 941 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the fingerprint identification module 931 and the display screen 941 can be Integrated to realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display screen 941 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据输出至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can transmit the electrical signal converted from the received audio data to the speaker 961, and the speaker 961 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 980, and then sent to another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. Although FIG. 9 shows a WiFi module 970, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 920, and calling data stored in the memory 920, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that, the foregoing modem processor may not be integrated into the processor 980 .
手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 980 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
前述图2至图6所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 2 to FIG. 6 , the method flow of each step can be realized based on the structure of the mobile phone.
前述图7所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiment shown in FIG. 7 , the functions of each unit can be realized based on the structure of the mobile phone.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种音频流处理方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, some or all steps of any audio stream processing method described in the above method embodiments are included.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611095066.9A CN106681860B (en) | 2016-12-01 | 2016-12-01 | A kind of data back up method and data backup device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611095066.9A CN106681860B (en) | 2016-12-01 | 2016-12-01 | A kind of data back up method and data backup device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106681860A true CN106681860A (en) | 2017-05-17 |
| CN106681860B CN106681860B (en) | 2019-07-30 |
Family
ID=58867250
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611095066.9A Expired - Fee Related CN106681860B (en) | 2016-12-01 | 2016-12-01 | A kind of data back up method and data backup device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106681860B (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108985756A (en) * | 2017-06-05 | 2018-12-11 | 华为技术有限公司 | SE application processing method, user terminal and server |
| CN109325057A (en) * | 2018-08-23 | 2019-02-12 | 平安科技(深圳)有限公司 | Middleware management method, device, computer equipment and storage medium |
| CN109408279A (en) * | 2017-08-16 | 2019-03-01 | 北京京东尚科信息技术有限公司 | Data back up method and device |
| CN110347951A (en) * | 2019-07-08 | 2019-10-18 | 北京字节跳动网络技术有限公司 | A kind of data request processing method, apparatus, terminal device and storage medium |
| CN110795285A (en) * | 2019-10-25 | 2020-02-14 | 维沃移动通信有限公司 | A kind of display method and electronic device of backup mark |
| CN112711571A (en) * | 2019-10-25 | 2021-04-27 | 京东方科技集团股份有限公司 | File synchronization method and device |
| CN114422509A (en) * | 2022-04-01 | 2022-04-29 | 天津联想协同科技有限公司 | Automatic file backup method and device, network disk and storage medium |
| CN115473794A (en) * | 2022-11-02 | 2022-12-13 | 广州市保伦电子有限公司 | An ultra-low-latency switching processing method and system under dual audio backup |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1501303A (en) * | 2002-11-14 | 2004-06-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic charging notification system and method |
| CN1617139A (en) * | 2003-11-15 | 2005-05-18 | 鸿富锦精密工业(深圳)有限公司 | Electronic delivery file synchronization system and method |
| CN101576855A (en) * | 2009-06-19 | 2009-11-11 | 深圳市科陆电子科技股份有限公司 | Data storing system and method based on cache |
| CN101815136A (en) * | 2009-02-20 | 2010-08-25 | 中兴通讯股份有限公司 | System and method for backuping communication information of mobile phone |
| CN102591778A (en) * | 2012-01-09 | 2012-07-18 | 福建师范大学 | A Service-Based Extensible Program Contest Evaluation System |
| CN104113594A (en) * | 2014-07-04 | 2014-10-22 | 北京思特奇信息技术股份有限公司 | Method and system for file uploading based on JS uploading assembly |
| CN105205115A (en) * | 2015-09-07 | 2015-12-30 | 北京恒华伟业科技股份有限公司 | Offline processing method and device for file |
-
2016
- 2016-12-01 CN CN201611095066.9A patent/CN106681860B/en not_active Expired - Fee Related
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1501303A (en) * | 2002-11-14 | 2004-06-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic charging notification system and method |
| CN1617139A (en) * | 2003-11-15 | 2005-05-18 | 鸿富锦精密工业(深圳)有限公司 | Electronic delivery file synchronization system and method |
| CN101815136A (en) * | 2009-02-20 | 2010-08-25 | 中兴通讯股份有限公司 | System and method for backuping communication information of mobile phone |
| CN101576855A (en) * | 2009-06-19 | 2009-11-11 | 深圳市科陆电子科技股份有限公司 | Data storing system and method based on cache |
| CN102591778A (en) * | 2012-01-09 | 2012-07-18 | 福建师范大学 | A Service-Based Extensible Program Contest Evaluation System |
| CN104113594A (en) * | 2014-07-04 | 2014-10-22 | 北京思特奇信息技术股份有限公司 | Method and system for file uploading based on JS uploading assembly |
| CN105205115A (en) * | 2015-09-07 | 2015-12-30 | 北京恒华伟业科技股份有限公司 | Offline processing method and device for file |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108985756A (en) * | 2017-06-05 | 2018-12-11 | 华为技术有限公司 | SE application processing method, user terminal and server |
| CN109408279A (en) * | 2017-08-16 | 2019-03-01 | 北京京东尚科信息技术有限公司 | Data back up method and device |
| CN109325057A (en) * | 2018-08-23 | 2019-02-12 | 平安科技(深圳)有限公司 | Middleware management method, device, computer equipment and storage medium |
| CN109325057B (en) * | 2018-08-23 | 2024-02-02 | 平安科技(深圳)有限公司 | Middleware management method, device, computer equipment and storage medium |
| CN110347951A (en) * | 2019-07-08 | 2019-10-18 | 北京字节跳动网络技术有限公司 | A kind of data request processing method, apparatus, terminal device and storage medium |
| CN110795285A (en) * | 2019-10-25 | 2020-02-14 | 维沃移动通信有限公司 | A kind of display method and electronic device of backup mark |
| CN112711571A (en) * | 2019-10-25 | 2021-04-27 | 京东方科技集团股份有限公司 | File synchronization method and device |
| CN114422509A (en) * | 2022-04-01 | 2022-04-29 | 天津联想协同科技有限公司 | Automatic file backup method and device, network disk and storage medium |
| CN114422509B (en) * | 2022-04-01 | 2022-07-26 | 天津联想协同科技有限公司 | Automatic file backup method and device, network disk and storage medium |
| CN115473794A (en) * | 2022-11-02 | 2022-12-13 | 广州市保伦电子有限公司 | An ultra-low-latency switching processing method and system under dual audio backup |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106681860B (en) | 2019-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106681860B (en) | A kind of data back up method and data backup device | |
| CN107645551B (en) | File transfer method and device | |
| CN106446111B (en) | Data migration method and terminal | |
| CN106534288B (en) | A data transmission method and mobile terminal | |
| CN106302808A (en) | Data transmission method and mobile terminal | |
| CN106454805A (en) | Data migration method and mobile terminal | |
| CN106528638B (en) | Method for deleting backup data and mobile terminal | |
| CN106412033A (en) | Data migration method and terminal | |
| CN106502826A (en) | Data backup and transmission method and mobile terminal | |
| CN106648455A (en) | Data migration method and mobile terminal | |
| WO2019011324A1 (en) | Method for determining access method of mobile terminal, storage medium, and mobile terminal | |
| CN106484326A (en) | A data transmission processing method and mobile terminal | |
| CN106469028A (en) | A data migration method and mobile terminal | |
| CN106445743A (en) | Data backup transmission method and mobile terminal | |
| CN106569916A (en) | Data backup method and mobile terminal | |
| CN106453571A (en) | Data migration method and terminal | |
| CN106572163A (en) | Data migration method and terminal | |
| CN106487878A (en) | A kind of method of Data Migration and terminal | |
| CN106657214A (en) | Data migration method and terminal | |
| CN106254488A (en) | Method, the method for broadcasting and the relevant apparatus that screen locking picture pushes | |
| CN106686704B (en) | Terminal monitoring method and mobile terminal | |
| CN106527980A (en) | Data migration method and terminal | |
| CN106357767B (en) | Information synchronization method and server | |
| CN106572166B (en) | Data transmission method, backup server and mobile terminal | |
| CN107608776A (en) | Facial information preview method and related products |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190730 |