WO2018076867A1 - Data backup deleting method, device and system, storage medium and server - Google Patents

Data backup deleting method, device and system, storage medium and server Download PDF

Info

Publication number
WO2018076867A1
WO2018076867A1 PCT/CN2017/095625 CN2017095625W WO2018076867A1 WO 2018076867 A1 WO2018076867 A1 WO 2018076867A1 CN 2017095625 W CN2017095625 W CN 2017095625W WO 2018076867 A1 WO2018076867 A1 WO 2018076867A1
Authority
WO
WIPO (PCT)
Prior art keywords
backup
account
data
deleting
deletion
Prior art date
Application number
PCT/CN2017/095625
Other languages
French (fr)
Chinese (zh)
Inventor
周璇
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018076867A1 publication Critical patent/WO2018076867A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, a storage medium, and a server for deleting backup data.
  • Cloud backup has many advantages over traditional backups.
  • users only need to install a sophisticated client or plug-in on the data machine. After setting the task, they can back up the file data according to the daily or weekly backup interval.
  • cloud backup itself solves the problem of remote disaster recovery of data and solves the technical problem of users building their own disaster recovery backup system.
  • cloud backup pays more attention to the security of data transmission and data storage.
  • the embodiment of the invention provides a method, a device, a system, a storage medium and a server for deleting backup data, which can solve the technical problem of waste of server resources in the prior art.
  • the embodiment of the present invention provides the following technical solutions:
  • an embodiment of the present invention provides a method for deleting backup data, including:
  • the embodiment of the present invention further provides a device for deleting backup data, including: an obtaining module, a determining module, a sending module, a receiving module, and a deleting module;
  • the obtaining module is configured to obtain an offline duration of the backup account.
  • the determining module is configured to determine whether the offline duration is greater than a first preset duration
  • the sending module is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module determines to be YES;
  • the receiving module is configured to receive a deletion confirmation instruction returned by the terminal;
  • the deleting module is configured to delete backup data corresponding to the backup account according to the deletion confirmation instruction.
  • the embodiment of the present invention further provides a backup data deletion system, including a server and a terminal, wherein the server is the backup data deletion device provided by the second aspect.
  • an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the following steps:
  • an embodiment of the present invention provides a server, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
  • the embodiment of the invention provides a method, a device, a system, a storage medium and a server for deleting backup data, which can solve the technical problem of waste of server resources in the prior art.
  • FIG. 1 is a schematic diagram of a scenario of a backup data deletion system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for deleting backup data according to an embodiment of the present invention.
  • FIG. 3 is another schematic flowchart of a method for deleting backup data according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for deleting backup data according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a second apparatus for deleting backup data according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the principles of the present invention operate using many other general purpose or special purpose computing, communication environments, or configurations.
  • Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, hand-held phones, personal computers, servers, multi-processor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
  • the embodiment of the present invention first obtains the offline duration of the backup account, determines whether the offline duration is greater than the first preset duration, and if so, sends a data deletion request to the terminal corresponding to the backup account, and receives the deletion confirmation returned by the terminal according to the data deletion request.
  • the instruction deletes the backup data corresponding to the backup account according to the deletion confirmation command.
  • the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the account that the user abandoned) is cleaned up to avoid wasting server resources.
  • the embodiment of the invention provides a method for deleting backup data, including:
  • the method further includes:
  • the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
  • the step of obtaining the offline duration of the backup account includes:
  • the step of deleting the backup data corresponding to the backup account includes:
  • the method before the step of deleting the backup data corresponding to the backup account, the method further includes:
  • the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
  • the step of sending a data deletion request to the terminal corresponding to the backup account includes:
  • the deletion confirmation instruction includes a first instruction that agrees to delete or a second instruction that refuses to delete;
  • deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
  • the system for deleting backup data mainly includes a server and a terminal.
  • the above terminal may be specifically integrated in a mobile terminal such as a tablet computer or a mobile phone.
  • the server and the terminal can be connected through a wired or wireless network.
  • FIG. 1 is a schematic diagram of a backup data deletion system provided by the present invention.
  • the backup data deletion device is specifically integrated into a server, and is mainly used to determine whether a backup account offline time is greater than a preset duration. . If yes, the data deletion request is sent to the corresponding terminal, and the backup data stored in the server by the account is deleted according to the deletion confirmation instruction returned by the terminal.
  • the backup data deletion system may further include a terminal.
  • the deletion system can receive a data deletion request sent by the server, and can also generate a deletion confirmation instruction according to a user operation.
  • the description will be made from the perspective of the deletion device of the backup data, and the deletion device of the backup data may be specifically integrated in the server.
  • FIG. 2 is a schematic flowchart of a method for deleting backup data according to Embodiment 1 of the present invention.
  • Step S101 Obtain an offline duration of the backup account.
  • the offline duration is specifically the duration between the last login time of the backup account of the user and the current time, and the method for obtaining the offline duration of the backup account by the server may also be multiple.
  • a timer is set to start timing when the user logs in to the server, until the next time the user logs in to the server, the timer resets the time and restarts the time.
  • the time recorded on the timer is the backup account. Offline time.
  • the timer may also start counting when the user logs out of the login backup account, and then the timer resets and restarts the time when the user logs out of the backup account next time, and the time in the timer is offline. duration.
  • the server can store its login time in the history.
  • the login history information may further include a logout time of the backup account, a corresponding operation after logging in to the server, and the like. Therefore, the server can obtain the history record of the backup account, and then obtain the login time closest to the current time in the history record, determine the login time as the historical login time, and then calculate the backup account according to the current time and the historical login time.
  • Offline time That is, the step of obtaining the offline duration of the backup account includes:
  • the offline time length can be calculated in units of time, hour, minute, and the like.
  • the current time is 12:00 on September 12, 2016, and the last time the user logs in to the account is 12:00 on July 12, 2016.
  • the offline duration is 62 days.
  • the offline time is 1488 hours calculated in hours. In the present invention, it is more convenient to calculate in units of days, and the data calculated in hours or minutes is more accurate, and can be set according to user requirements.
  • step S102 it is determined whether the offline duration is greater than the first preset duration. If yes, step S103 is performed. If no, the process returns to step S101 to continue to obtain the offline duration of the backup account.
  • the first preset duration may be used to determine whether the backup account is deprecated, and may be set by the user according to his own habits, or may be defaulted by the system, which is not specifically limited in this embodiment. Specifically, if the offline duration is greater than the first preset duration, the backup account may have been discarded by the user, and the backup data stored in the server may also be invalidated. If the offline duration is less than the first duration, it is temporarily impossible to determine whether the backup account is discarded. You can return to step S101 to continue to obtain the offline duration.
  • Step S103 Send a data deletion request to the terminal corresponding to the backup account, and receive a deletion confirmation instruction returned by the terminal according to the data deletion request.
  • the server may automatically generate a data deletion request and send the data to the terminal corresponding to the backup account.
  • the data deletion request may include backup account information, backup data corresponding to the account, offline duration information, and the like.
  • Sending a request to the terminal may be performed by using an APP (Application) associated with the backup account, or may be based on identification information associated with the backup account, such as SIM (Subscriber) Identification Module, the customer identification module, sends a request, such as a text message to the user's mobile phone.
  • APP Application
  • SIM Subscriber
  • the request confirmation command may be generated according to the operation of the user. For example, if the first preset duration is 60 days, the data deletion request received by the terminal is “User XXX has been offline for more than 60 days, and whether to delete the data backed up by the cloud server”.
  • the terminal may be provided with an input interface, for confirming The requested APP is deleted, or the input control is executed, and the user can trigger the input interface by clicking, touching, sliding, etc. to confirm the data deletion request. For example, click the “Confirm Delete” button on the terminal screen, and the terminal generates a delete confirmation command and sends it to the server.
  • Step S104 deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
  • the deletion confirmation instruction may be generated by the user according to the data deletion request acknowledged by the terminal.
  • the deletion confirmation instruction includes a first instruction for agreeing to delete and a second instruction for rejecting deletion. If the user determines to delete, the deletion confirmation instruction for production is determined to be the first instruction, and is sent to the server, and the server receives the deletion confirmation command.
  • the backup data stored in the server by the backup account is deleted. If the user refuses to delete, for example, after clicking the "Reject Delete" button in the terminal screen after receiving the data deletion request, the generated deletion confirmation command is the second instruction described above, and the server continues to save the backup data of the user.
  • the offline time in step S101 may be reset, and the server refuses to delete.
  • the time of the deletion confirmation command is restarted from the start time. For example, when the server receives the delete confirmation instruction that refuses to delete, the timer for calculating the offline duration is reset to zero and the timing is restarted.
  • the server may not receive the deletion confirmation instruction returned by the user terminal after sending the data deletion request to the terminal, and the server cannot perform further operations according to the deletion confirmation instruction.
  • a second preset duration may be set. If the deletion confirmation command returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted, and the second preset duration may further confirm whether the backup account is Deprecated.
  • the deleted backup data is stored in the backup unit, and if the recovery instruction for retrieving the data is received after the server deletes the backup data,
  • the server may restore the backup data in the backup unit to the server, that is, before the step of deleting the backup data corresponding to the backup account, the method may further include:
  • the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
  • the method for deleting backup data provided by the embodiment of the present invention first obtains the offline duration of the backup account, and determines whether the offline duration is greater than the first preset duration. If yes, the data deletion request is sent to the terminal corresponding to the backup account, and the receiving confirmation command returned by the terminal according to the data deletion request is received, and the backup data corresponding to the backup account is deleted according to the deletion confirmation instruction. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the user's deprecated account) is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
  • the present invention provides a method for deleting backup data, which can delete backup data corresponding to a backup account discarded by the user.
  • FIG. 3 is a schematic flowchart of a method for deleting backup data according to Embodiment 2 of the present invention.
  • a backup account is abandoned for use as an example, including:
  • Step S201 Obtain historical time information and current time information of the last login server of the backup account.
  • the server can store its login time in the history.
  • the login history information may further include a logout time of the backup account, a corresponding operation after logging in to the server, and the like. Therefore, the server can obtain the history record of the backup account, and then obtain the login time closest to the current time in the history, and determine that the login time is the historical login time.
  • Step S202 Determine an offline duration of the backup account according to the historical time information and the current time information.
  • offline time length can be calculated in units of days, hours, minutes, etc., and can be set according to user requirements.
  • step S203 it is determined whether the offline duration is greater than the first preset duration. If yes, step S204 is performed, otherwise, step S201 is returned.
  • the first preset duration may be used to determine whether the backup account is deprecated, and may be set by the user according to his own habits, or may be defaulted by the system, which is not specifically limited in this embodiment. Specifically, if the offline duration is greater than the first preset duration, the backup account may have been discarded by the user; if the offline duration is less than the first duration, the process may return to step S101 to continue to obtain the offline duration.
  • Step S204 Send a data deletion request to the terminal corresponding to the backup account.
  • the server may automatically generate a data deletion request and send the data to the terminal corresponding to the backup account.
  • the data deletion request may include backup account information, backup data corresponding to the account, offline duration information, and the like, and the request sent to the terminal may be pushed by the APP (Application, application) related to the backup account, or The request is sent according to the identification information (such as the SIM card identifier) associated with the backup account, for example, sent to the user's mobile phone in the form of a short message.
  • Step S205 The deletion confirmation command returned by the terminal is not received within the second preset duration, and the backup data corresponding to the backup account in the server is divided to obtain a plurality of sub-data.
  • the backup data corresponding to the backup account may be deleted.
  • the backup data may be first divided, for example, according to the data type, it may be divided into an address book, a memo, a short message, a chat record, a picture information, a multimedia information, and an application usage record, etc., of course, Divided according to data size or other means.
  • Step S206 Acquire priority information corresponding to each of the plurality of sub-data.
  • different weight values may be set for the plurality of divided sub-data, and then the priorities corresponding to the plurality of sub-data are respectively obtained according to different weight values.
  • the priority of the plurality of sub-data divided according to the data type may be set as: Address Book > Memo > SMS > Chat Record > Picture Information > Multimedia Information > Application Usage Record.
  • Step S207 the backup data corresponding to the backup account is gradually deleted according to the priority information.
  • the backup data confirmed to be deleted may be stored in the backup unit. If a recovery instruction for retrieving data is received after the server deletes the backup data, the server restores the backup data in the backup unit to the server.
  • the embodiment of the present invention first obtains the historical time information and current time information of the last login of the backup account, determines the offline duration of the backup account based on the historical time information and the current time information, and determines whether the offline duration is greater than the first preset duration. . If yes, the data deletion request is sent to the terminal corresponding to the backup account, and the deletion confirmation command returned by the terminal is not received within the second preset duration, and the backup data corresponding to the backup account in the server is divided to obtain multiple sub-data and obtained.
  • the priority information corresponding to the plurality of sub-data respectively is used to gradually delete the backup data corresponding to the backup account according to the priority information.
  • the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data.
  • the backup data corresponding to the user's deprecated account is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
  • the embodiment of the present invention further provides an apparatus and system for deleting the backup data.
  • the meaning of the noun is the same as the method for deleting the backup data.
  • the description in the method embodiment refer to the description in the method embodiment.
  • An embodiment of the present invention provides a device for deleting backup data, including: an obtaining module, a determining module, a sending module, a receiving module, and a deleting module;
  • the obtaining module is configured to obtain an offline duration of the backup account.
  • the determining module is configured to determine whether the offline duration is greater than a first preset duration
  • the sending module is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module determines to be YES;
  • the receiving module is configured to receive a deletion confirmation instruction returned by the terminal;
  • the deleting module is configured to delete backup data corresponding to the backup account according to the deletion confirmation instruction.
  • the deleting module is further configured to: when the receiving module does not receive the deletion confirmation instruction returned by the terminal within the second preset duration, delete the backup data corresponding to the backup account.
  • the acquiring module specifically includes: a time acquiring submodule and a determining submodule;
  • the time acquisition sub-module is configured to obtain historical time information and current time information of the last login of the backup account to the server;
  • the determining submodule is configured to determine an offline duration of the backup account according to the historical time information and the current time information.
  • the deleting module specifically includes: a dividing submodule, a priority acquiring submodule, and a deleting submodule;
  • the dividing sub-module is configured to divide backup data corresponding to the backup account in the server to obtain multiple sub-data;
  • the priority acquisition sub-module is configured to obtain priority information corresponding to the plurality of sub-data respectively;
  • the deleting submodule is configured to gradually delete the backup data corresponding to the backup account according to the priority information.
  • FIG. 4 is a schematic structural diagram of a device for deleting backup data according to Embodiment 3 of the present invention.
  • the deleting device 30 of the backup data specifically includes: an obtaining module 301, a determining module 302, a sending module 303, a receiving module 304, and a deleting module 305.
  • the obtaining module 301 is configured to obtain an offline duration of the backup account.
  • the determining module 302 is configured to determine whether the offline duration is greater than the first preset duration.
  • the sending module 303 is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module 302 determines to be YES.
  • the receiving module 304 is configured to receive a deletion confirmation instruction returned by the terminal.
  • the deleting module 305 is configured to delete the backup data corresponding to the backup account according to the deletion confirmation instruction.
  • the deleting module 305 is further configured to: when the receiving module 304 does not receive the deletion confirmation instruction returned by the terminal within the second preset duration, delete the backup data corresponding to the backup account.
  • the obtaining module 301 specifically includes a time acquiring submodule 3011 and a determining submodule 3012.
  • the time acquisition sub-module 3011 is configured to obtain historical time information and current time information of the last login of the backup account to the server.
  • the determining sub-module 3012 is configured to determine an offline duration of the backup account according to the historical time information and the current time information.
  • the foregoing deleting module 305 specifically includes: a dividing submodule 3051, a priority acquiring submodule 3052, and a deleting submodule 3053.
  • the sub-module 3051 is configured to divide backup data corresponding to the backup account in the server to obtain multiple sub-data.
  • the priority acquisition sub-module 3052 is configured to acquire priority information corresponding to the plurality of sub-data respectively.
  • the deleting submodule 3053 is configured to gradually delete the backup data corresponding to the backup account according to the priority information.
  • the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing modules refer to the foregoing method embodiments, and details are not described herein again.
  • the backup data deletion device can obtain the offline duration of the backup account by the obtaining module 301, and the determining module 302 determines whether the offline duration is greater than the first preset duration. If yes, the sending module 303 sends a data deletion request to the terminal corresponding to the backup account, the receiving module 304 receives the deletion confirmation command returned by the terminal, and the deleting module 305 deletes the backup data corresponding to the backup account according to the deletion confirmation command. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the user's deprecated account) is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
  • the embodiment of the present invention further provides a backup data deletion system, including a server and a terminal, wherein the server includes the foregoing backup data deletion device.
  • the server may include any backup device for deleting backup data provided by the foregoing embodiment
  • the terminal may be a mobile phone, a tablet, or the like.
  • the structure and function implementation of the deleting device of the backup data can be referred to the detailed description of the deleting device for the backup data, and details are not described herein again.
  • the embodiment provides a server, including a processor and a memory, the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
  • the processor is further configured to perform the following steps:
  • the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
  • the processor when obtaining the offline duration of the backup account, is configured to perform the following steps:
  • the processor when the backup data corresponding to the backup account is deleted, the processor is configured to perform the following steps:
  • the processor before the step of deleting the backup data corresponding to the backup account, the processor is further configured to perform the following steps:
  • the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
  • the processor when sending a data deletion request to the terminal corresponding to the backup account, the processor is configured to perform the following steps:
  • the deletion confirmation instruction includes a first instruction that agrees to delete or a second instruction that refuses to delete, and the processor is configured to perform the following steps:
  • deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
  • the server 400 can include one or more processing core processor 401, one or more computer readable storage media memories 402, radio frequency (Radio) Frequency, RF) circuit 403, power supply 404, input unit 405, and display unit 406 and the like.
  • Radio radio frequency
  • RF radio frequency
  • FIG. 6 does not constitute a limitation to the server, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the processor 401 is the control center of the server, connecting various portions of the entire server using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 402, and recalling data stored in the memory 402, Execute the server's various functions and process data to monitor the server as a whole.
  • the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
  • Memory 402 can be used to store software programs as well as modules.
  • the processor 401 executes various functional applications and data processing by running software programs and modules stored in the memory 402.
  • the RF circuit 403 can be used for receiving and transmitting signals during the transmission and reception of information, and in particular, after receiving the downlink information of the base station, it is processed by one or more processors 401. In addition, data related to the uplink is transmitted to the base station.
  • the server also includes a power source 404 (such as a battery) that powers the various components.
  • the power source can be logically connected to the processor 401 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 404 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the server can also include an input unit 405 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • an input unit 405 can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the server can also include a display unit 406 that can be used to display information entered by the user or information provided to the user, as well as various graphical user interfaces of the server, which can be composed of graphics, text, icons, video, and It is composed of any combination.
  • the display unit 408 can include a display panel, and optionally, a liquid crystal display can be used. (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting) Diode) and other forms to configure the display panel.
  • LCD Liquid Crystal Display
  • OLED Organic Light Emitting Diode
  • the processor 401 in the server loads the executable file corresponding to the process of one or more applications into the memory 402 according to the following instruction, and is stored in the memory by the processor 401.
  • the application in 402 thus implementing various functions, as follows:
  • the embodiment of the invention further provides a storage medium, wherein the storage medium stores a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the following steps:
  • ROM read only memory
  • RAM Random Access Memory
  • the functional modules may be integrated into one processing chip, or each module may exist physically separately. Two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.

Abstract

Disclosed is a backup data deleting method, comprising: obtaining the off-line duration of a backup account number; determining whether the off-line duration is greater than a first pre-set duration; if so, sending a data deletion request to a terminal corresponding to the backup account number and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request; and deleting backup data corresponding to the backup account number according to the deletion confirmation instruction. Further provided in an embodiment of the present invention are a backup data deleting device and system, a storage medium and a server.

Description

数据备份的删除方法、装置、系统、存储介质和服务器 Data backup deletion method, device, system, storage medium and server
本申请要求于2016年10月25日提交中国专利局、申请号为201610949325.3、发明名称为“一种备份数据的删除方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610949325.3, entitled "A Method for Deleting Backup Data, Apparatus and System", filed on October 25, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及通信技术领域,具体涉及一种备份数据的删除方法、装置、系统、存储介质和服务器。The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, a storage medium, and a server for deleting backup data.
背景技术Background technique
随着云计算的兴起,将备份作为一种服务的方式提供给广大客户使用越来越受用户的欢迎,这种备份服务就叫做云备份。和传统的备份相比,云备份有着诸多优点。首先,云备份的安装、使用、维护都比传统的备份软件更简便。通常用户只需要在数据机安装精巧的客户端或插件,经过设置任务后,就可以按照每天或者每周的备份间隔来备份文件数据。其次,作为一种网络服务,云备份本身解决了数据的异地容灾问题,解决了用户自行构建容灾备份系统的技术难题。同时,与一般的备份相比,云备份更注重数据传输和数据存储的安全性。With the rise of cloud computing, the use of backup as a service to customers is increasingly popular with users. This backup service is called cloud backup. Cloud backup has many advantages over traditional backups. First, the installation, use, and maintenance of cloud backups are easier than traditional backup software. Usually users only need to install a sophisticated client or plug-in on the data machine. After setting the task, they can back up the file data according to the daily or weekly backup interval. Secondly, as a kind of network service, cloud backup itself solves the problem of remote disaster recovery of data and solves the technical problem of users building their own disaster recovery backup system. At the same time, compared with general backup, cloud backup pays more attention to the security of data transmission and data storage.
技术问题technical problem
本发明实施例提供一种备份数据的删除方法、装置、系统、存储介质和服务器,可以解决现有技术中服务器资源浪费的技术问题。The embodiment of the invention provides a method, a device, a system, a storage medium and a server for deleting backup data, which can solve the technical problem of waste of server resources in the prior art.
技术解决方案Technical solution
为解决上述技术问题,本发明实施例提供以下技术方案:To solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
第一方面,本发明实施例提供一种备份数据的删除方法,包括:In a first aspect, an embodiment of the present invention provides a method for deleting backup data, including:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
第二方面,本发明实施例还提供了一种备份数据的删除装置,包括:获取模块、判断模块、发送模块、接收模块以及删除模块;In a second aspect, the embodiment of the present invention further provides a device for deleting backup data, including: an obtaining module, a determining module, a sending module, a receiving module, and a deleting module;
所述获取模块,用于获取备份账号的离线时长;The obtaining module is configured to obtain an offline duration of the backup account.
所述判断模块,用于判断所述离线时长是否大于第一预设时长;The determining module is configured to determine whether the offline duration is greater than a first preset duration;
所述发送模块,用于当所述判断模块判断为是时,向所述备份账号对应的终端发送数据删除请求;The sending module is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module determines to be YES;
所述接收模块,用于接收所述终端返回的删除确认指令;The receiving module is configured to receive a deletion confirmation instruction returned by the terminal;
所述删除模块,用于根据所述删除确认指令,删除所述备份账号对应的备份数据。The deleting module is configured to delete backup data corresponding to the backup account according to the deletion confirmation instruction.
第三方面,本发明实施例还提供了一种备份数据的删除系统,包括服务器以及终端,其中该服务器如上述第二方面提供的备份数据的删除装置。In a third aspect, the embodiment of the present invention further provides a backup data deletion system, including a server and a terminal, wherein the server is the backup data deletion device provided by the second aspect.
第四方面,本发明实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:In a fourth aspect, an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the following steps:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
第五方面,本发明实施例提供一种服务器,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:In a fifth aspect, an embodiment of the present invention provides a server, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
有益效果 Beneficial effect
本发明实施例提供一种备份数据的删除方法、装置、系统、存储介质和服务器,可以解决现有技术中服务器资源浪费的技术问题。The embodiment of the invention provides a method, a device, a system, a storage medium and a server for deleting backup data, which can solve the technical problem of waste of server resources in the prior art.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1为本发明实施例提供的备份数据的删除系统的场景示意图。FIG. 1 is a schematic diagram of a scenario of a backup data deletion system according to an embodiment of the present invention.
图2为本发明实施例提供的备份数据的删除方法的一种流程示意图。FIG. 2 is a schematic flowchart of a method for deleting backup data according to an embodiment of the present invention.
图3为本发明实施例提供的备份数据的删除方法的另一种流程示意图。FIG. 3 is another schematic flowchart of a method for deleting backup data according to an embodiment of the present invention.
图4为本发明实施例提供的备份数据的删除装置的结构示意图。FIG. 4 is a schematic structural diagram of a device for deleting backup data according to an embodiment of the present invention.
图5为本发明实施例提供的第二种备份数据的删除装置的结构示意图。FIG. 5 is a schematic structural diagram of a second apparatus for deleting backup data according to an embodiment of the present invention.
图6为本发明实施例提供的一种服务器的结构示意图。FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Referring to the drawings, wherein like reference numerals refer to the same components, the principles of the invention are illustrated in the context of a suitable computing environment. The following description is based on the specific embodiments of the invention, which are not to be construed as limiting the invention.
在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present invention will be described with reference to the steps and symbols that are executed by one or more computers, unless otherwise stated. Thus, these steps and operations will be referred to several times by a computer, and the computer execution referred to herein includes the operation of a computer processing unit that represents an electronic signal in data in a structured version. This operation converts the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which is not intended to be a limitation, and those skilled in the art will appreciate that the various steps and operations described below can also be implemented in hardware.
本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the present invention operate using many other general purpose or special purpose computing, communication environments, or configurations. Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, hand-held phones, personal computers, servers, multi-processor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
本发明实施例首先获取备份账号的离线时长,判断该离线时长是否大于第一预设时长,若是,则向该备份账号对应的终端发送数据删除请求,并接收终端根据数据删除请求返回的删除确认指令,根据该删除确认指令,删除备份账号对应的备份数据。本发明实施例能够在账号离线时长满足预设时长后,向该账号对应的终端发送删除请求,并根据终端返回的指令删除该账号存储在服务器中的备份数据,以使服务器将大量的无用数据(比如用户弃用的账号所对应的备份数据)进行清理,避免了服务器资源的浪费。The embodiment of the present invention first obtains the offline duration of the backup account, determines whether the offline duration is greater than the first preset duration, and if so, sends a data deletion request to the terminal corresponding to the backup account, and receives the deletion confirmation returned by the terminal according to the data deletion request. The instruction deletes the backup data corresponding to the backup account according to the deletion confirmation command. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the account that the user abandoned) is cleaned up to avoid wasting server resources.
本发明实施例提供一种备份数据的删除方法,包括:The embodiment of the invention provides a method for deleting backup data, including:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
一实施例中,在所述向所述备份账号对应的终端发送数据删除请求的步骤之后,所述方法还包括:In an embodiment, after the step of sending a data deletion request to the terminal corresponding to the backup account, the method further includes:
若在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。If the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
一实施例中,所述获取备份账号的离线时长的步骤具体包括:In an embodiment, the step of obtaining the offline duration of the backup account includes:
获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;Obtaining historical time information and current time information of the last login of the backup account to the server;
根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。Determining an offline duration of the backup account according to the historical time information and the current time information.
一实施例中,所述删除所述备份账号对应的备份数据的步骤具体包括:In an embodiment, the step of deleting the backup data corresponding to the backup account includes:
对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;Dividing backup data corresponding to the backup account in the server to obtain multiple sub-data;
获取所述多个子数据分别对应的优先级信息;Obtaining priority information corresponding to the plurality of sub-data respectively;
根据所述优先级信息逐步删除所述备份账号对应的备份数据。And gradually deleting the backup data corresponding to the backup account according to the priority information.
一实施例中,在所述删除所述备份账号对应的备份数据的步骤之前,所述方法还包括:In an embodiment, before the step of deleting the backup data corresponding to the backup account, the method further includes:
将所述备份账号对应的备份数据储存至备份单元;And storing the backup data corresponding to the backup account to the backup unit;
若在删除所述备份账号对应的备份数据后接收到所述终端返回的删除恢复指令,则根据所述删除恢复指令,将所述备份数据从所述备份单元恢复至所述服务器。If the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
一实施例中,向所述备份账号对应的终端发送数据删除请求的步骤包括:In an embodiment, the step of sending a data deletion request to the terminal corresponding to the backup account includes:
根据所述备份账号所关联的应用程序向所述终端推送所述数据删除请求,和/或根据所述备份账号所关联的标识信息向所述终端发送所述数据删除请求。And sending the data deletion request to the terminal according to the application program associated with the backup account, and/or sending the data deletion request to the terminal according to the identifier information associated with the backup account.
一实施例中,所述删除确认指令包括同意删除的第一指令或拒绝删除的第二指令;In an embodiment, the deletion confirmation instruction includes a first instruction that agrees to delete or a second instruction that refuses to delete;
若所述删除确认指令包括所述第二指令,则重置所述离线时长,并以接收所述第二指令的时间点为起点重新计算离线时长。And if the deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
以下将分别进行详细说明。The details will be described separately below.
本发明实施例提供的备份数据的删除系统,主要包括服务器和终端。其中,上述终端具体可以集成在如平板电脑,手机等移动终端中。该服务器与终端可通过有线或无线网络进行连接。The system for deleting backup data provided by the embodiment of the present invention mainly includes a server and a terminal. The above terminal may be specifically integrated in a mobile terminal such as a tablet computer or a mobile phone. The server and the terminal can be connected through a wired or wireless network.
比如,请参考图1,图1为本发明提供的备份数据的删除系统的场景示意图,该备份数据的删除装置具体集成在服务器中,主要用于判断用户的备份账号离线时长是否大于预设时长。若是,则向对应的终端发送数据删除请求,并根据终端返回的删除确认指令删除该账号储存在服务器中的备份数据。For example, please refer to FIG. 1. FIG. 1 is a schematic diagram of a backup data deletion system provided by the present invention. The backup data deletion device is specifically integrated into a server, and is mainly used to determine whether a backup account offline time is greater than a preset duration. . If yes, the data deletion request is sent to the corresponding terminal, and the backup data stored in the server by the account is deleted according to the deletion confirmation instruction returned by the terminal.
另外,如图1所示,该备份数据的删除系统还可以包括终端。该删除系统可以接收服务器发送的数据删除请求,还可以根据用户操作生成删除确认指令。In addition, as shown in FIG. 1, the backup data deletion system may further include a terminal. The deletion system can receive a data deletion request sent by the server, and can also generate a deletion confirmation instruction according to a user operation.
在本实施中,将从备份数据的删除装置的角度进行描述,该备份数据的删除装置具体可以集成在服务器中。In the present embodiment, the description will be made from the perspective of the deletion device of the backup data, and the deletion device of the backup data may be specifically integrated in the server.
请参阅图2,图2为本发明实施例一提供的一种备份数据的删除方法的流程示意图,本实施例的动态图的拍摄方法包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for deleting backup data according to Embodiment 1 of the present invention.
步骤S101,获取备份账号的离线时长。Step S101: Obtain an offline duration of the backup account.
其中,上述离线时长具体为用户的备份账号上一次登录时间与当前的时间之间的时长,而服务器获取备份账号的离线时长的方法也可以有多种。比如设置一个计时器,在用户使用该账号登录服务器时开始计时,直到用户下一次登录服务器时,该计时器将时间重置并重新开始计时,上述计时器上面所记录的时间即为备份账号的离线时长。可选的,上述计时器还可以在用户退出登录备份账号时开始计数,然后在用户下一次退出该备份账号时,该计时器将时间重置并重新开始计时,计时器中的时间即为离线时长。The offline duration is specifically the duration between the last login time of the backup account of the user and the current time, and the method for obtaining the offline duration of the backup account by the server may also be multiple. For example, a timer is set to start timing when the user logs in to the server, until the next time the user logs in to the server, the timer resets the time and restarts the time. The time recorded on the timer is the backup account. Offline time. Optionally, the timer may also start counting when the user logs out of the login backup account, and then the timer resets and restarts the time when the user logs out of the backup account next time, and the time in the timer is offline. duration.
优选地,用户每次使用备份账号登录服务器,服务器可以将其登录时间存储至历史记录当中。其中,登录历史信息还可以包括该备份账号的登出时间、在登录服务器后相应的操作等等。因此,该服务器可以获取该备份账号的历史记录,然后获取该历史记录当中与当前时间最接近的一次登录时间,确定该登录时间为历史登录时间,然后根据当前时间和历史登录时间计算该备份账号的离线时长。也即所述获取备份账号的离线时长的步骤具体包括:Preferably, each time the user logs in to the server using the backup account, the server can store its login time in the history. The login history information may further include a logout time of the backup account, a corresponding operation after logging in to the server, and the like. Therefore, the server can obtain the history record of the backup account, and then obtain the login time closest to the current time in the history record, determine the login time as the historical login time, and then calculate the backup account according to the current time and the historical login time. Offline time. That is, the step of obtaining the offline duration of the backup account includes:
获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;Obtaining historical time information and current time information of the last login of the backup account to the server;
根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。Determining an offline duration of the backup account according to the historical time information and the current time information.
需要说明的是,上述离线时长可以以天、小时、分钟等计时单位来计算。比如当前时间为2016年9月12日12:00,而用户上次登录该账号的时间为2016年7月12日12:00,若以天数为单位计算可得该离线时长为62天,若以小时为单位计算可得该离线时长为1488小时。在本发明中,以天数为单位更加方便计算,以小时或分钟为单位则计算的数据更加精确,可以根据用户需求来进行设置。It should be noted that the offline time length can be calculated in units of time, hour, minute, and the like. For example, the current time is 12:00 on September 12, 2016, and the last time the user logs in to the account is 12:00 on July 12, 2016. If the number of days is calculated, the offline duration is 62 days. The offline time is 1488 hours calculated in hours. In the present invention, it is more convenient to calculate in units of days, and the data calculated in hours or minutes is more accurate, and can be set according to user requirements.
步骤S102,判断上述离线时长是否大于第一预设时长,若是,则执行步骤S103,若否,则返回步骤S101继续获取备份账号的离线时长。In step S102, it is determined whether the offline duration is greater than the first preset duration. If yes, step S103 is performed. If no, the process returns to step S101 to continue to obtain the offline duration of the backup account.
其中,该第一预设时长可以衡量该备份账号是否被弃用,可以由用户根据自身的习惯来设定,也可以由系统默认,本实施例不做具体限定。具体的,若离线时长大于第一预设时长,则该备份账号可能已经被用户弃用,而该账号在服务器中存储的备份数据也可能已经作废。若离线时长小于第一时长,则暂时无法判断该备份账号是否被弃用,可以返回步骤S101继续获取离线时长。The first preset duration may be used to determine whether the backup account is deprecated, and may be set by the user according to his own habits, or may be defaulted by the system, which is not specifically limited in this embodiment. Specifically, if the offline duration is greater than the first preset duration, the backup account may have been discarded by the user, and the backup data stored in the server may also be invalidated. If the offline duration is less than the first duration, it is temporarily impossible to determine whether the backup account is discarded. You can return to step S101 to continue to obtain the offline duration.
步骤S103,向备份账号对应的终端发送数据删除请求,并接收终端根据数据删除请求返回的删除确认指令。Step S103: Send a data deletion request to the terminal corresponding to the backup account, and receive a deletion confirmation instruction returned by the terminal according to the data deletion request.
具体的,在确定离线时长大于第一预设时长时,服务器可以自动生成数据删除请求并发送至备份账号所对应的终端。其中,该数据删除请求可以包括备份账号信息、该账号对应的备份数据、离线时长信息等等。向终端发送请求则可以通过该备份账号相关的APP(Application,应用程序)来进行推送,也可以根据备份账号关联的标识信息比如SIM(Subscriber Identification Module,客户识别模块)卡标识发送请求,比如以短信的形式发送给用户的手机。Specifically, when determining that the offline duration is greater than the first preset duration, the server may automatically generate a data deletion request and send the data to the terminal corresponding to the backup account. The data deletion request may include backup account information, backup data corresponding to the account, offline duration information, and the like. Sending a request to the terminal may be performed by using an APP (Application) associated with the backup account, or may be based on identification information associated with the backup account, such as SIM (Subscriber) Identification Module, the customer identification module, sends a request, such as a text message to the user's mobile phone.
进一步的,在终端接收到数据删除请求之后,可以根据用户的操作生成请求确认指令。比如若第一预设时长为60天,终端接收到的数据删除请求为“用户XXX已离线超过60天,是否删除其在云端服务器备份的数据”该终端可以设置有输入接口,如用于确认删除请求的APP,或者输入控件,用户可通过点击、触摸、滑动等方式触发该输入接口,以确认该数据删除请求。譬如,点击终端屏幕中的“确认删除”按钮,同时终端生成删除确认指令并发送至服务器。Further, after the terminal receives the data deletion request, the request confirmation command may be generated according to the operation of the user. For example, if the first preset duration is 60 days, the data deletion request received by the terminal is “User XXX has been offline for more than 60 days, and whether to delete the data backed up by the cloud server”. The terminal may be provided with an input interface, for confirming The requested APP is deleted, or the input control is executed, and the user can trigger the input interface by clicking, touching, sliding, etc. to confirm the data deletion request. For example, click the “Confirm Delete” button on the terminal screen, and the terminal generates a delete confirmation command and sends it to the server.
步骤S104,根据删除确认指令,删除备份账号对应的备份数据。Step S104, deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
具体的,在本发明实施例当中,上述删除确认指令可以为用户根据终端接收到的数据删除请求确认生成的。其中,该删除确认指令包括同意删除的第一指令和拒绝删除的第二指令,若用户确定删除则确定生产的删除确认指令为上述第一指令,并发送至服务器,服务器接收到删除确认指令后对备份账号在服务器中存储的备份数据进行删除。若用户拒绝删除,比如在接收到数据删除请求后点击终端屏幕中的“拒绝删除”按钮,则生成的删除确认指令为上述第二指令,服务器继续保存用户的备份数据。Specifically, in the embodiment of the present invention, the deletion confirmation instruction may be generated by the user according to the data deletion request acknowledged by the terminal. The deletion confirmation instruction includes a first instruction for agreeing to delete and a second instruction for rejecting deletion. If the user determines to delete, the deletion confirmation instruction for production is determined to be the first instruction, and is sent to the server, and the server receives the deletion confirmation command. The backup data stored in the server by the backup account is deleted. If the user refuses to delete, for example, after clicking the "Reject Delete" button in the terminal screen after receiving the data deletion request, the generated deletion confirmation command is the second instruction described above, and the server continues to save the backup data of the user.
需要说明的是,若服务器接收到的删除确认指令为拒绝删除的第二指令,即说明该备份账号还在使用当中,则可以将步骤S101中的离线时间重置,并以服务器接收到拒绝删除的删除确认指令时间点为起始时间重新开始计时。比如当服务器接收到拒绝删除的删除确认指令时,将用于计算离线时长的计时器归零并重新开始计时。It should be noted that, if the deletion confirmation command received by the server is the second instruction for rejecting deletion, that is, the backup account is still in use, the offline time in step S101 may be reset, and the server refuses to delete. The time of the deletion confirmation command is restarted from the start time. For example, when the server receives the delete confirmation instruction that refuses to delete, the timer for calculating the offline duration is reset to zero and the timing is restarted.
优选地,考虑到若备份账号被弃用,则服务器向终端发送数据删除请求后可能接收不到用户终端返回的删除确认指令,而服务器也无法根据删除确认指令执行进一步操作,所以在本实施例中可以设置一个第二预设时长,若在第二预设时长内未接收到终端返回的删除确认指令,则删除备份账号对应的备份数据,该第二预设时长可以进一步确认备份账号是否被弃用。Preferably, in the embodiment, if the backup account is discarded, the server may not receive the deletion confirmation instruction returned by the user terminal after sending the data deletion request to the terminal, and the server cannot perform further operations according to the deletion confirmation instruction. A second preset duration may be set. If the deletion confirmation command returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted, and the second preset duration may further confirm whether the backup account is Deprecated.
在实际应用当中,若服务器删除了备份账号所对应的备份数据之后,用户因为某些原因需要继续使用该账号,则需要将已删除的备份数据还原至云端服务器,以供用户继续使用。故而在本实施例中,可以在步骤S104删除备份账号对应的备份数据之前,将确认删除的备份数据存储至备份单元,若在服务器删除备份数据之后接收到了用于找回数据的恢复指令,则服务器将上述备份单元中的备份数据恢复至服务器当中,即在所述删除所述备份账号对应的备份数据的步骤之前,所述方法还可以包括:In the actual application, if the server deletes the backup data corresponding to the backup account, and the user needs to continue using the account for some reasons, the deleted backup data needs to be restored to the cloud server for the user to continue to use. Therefore, in this embodiment, before deleting the backup data corresponding to the backup account in step S104, the deleted backup data is stored in the backup unit, and if the recovery instruction for retrieving the data is received after the server deletes the backup data, The server may restore the backup data in the backup unit to the server, that is, before the step of deleting the backup data corresponding to the backup account, the method may further include:
将所述备份账号对应的备份数据储存至备份单元;And storing the backup data corresponding to the backup account to the backup unit;
若在删除所述备份账号对应的备份数据后接收到所述终端返回的删除恢复指令,则根据所述删除恢复指令,将所述备份数据从所述备份单元恢复至所述服务器。If the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
由上可知,本发明实施例提供的备份数据的删除方法首先获取备份账号的离线时长,判断该离线时长是否大于第一预设时长。若是,则向该备份账号对应的终端发送数据删除请求,并接收终端根据数据删除请求返回的删除确认指令,根据该删除确认指令,删除备份账号对应的备份数据。本发明实施例能够在账号离线时长满足预设时长后,向该账号对应的终端发送删除请求,并根据终端返回的指令删除该账号存储在服务器中的备份数据,以使服务器将大量的无用数据(比如用户弃用的账号所对应的备份数据)进行清理,避免了服务器资源的浪费,可以有效放置云服务器空间的过度消耗,提高云服务响应速度以及用户体验。It can be seen that the method for deleting backup data provided by the embodiment of the present invention first obtains the offline duration of the backup account, and determines whether the offline duration is greater than the first preset duration. If yes, the data deletion request is sent to the terminal corresponding to the backup account, and the receiving confirmation command returned by the terminal according to the data deletion request is received, and the backup data corresponding to the backup account is deleted according to the deletion confirmation instruction. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the user's deprecated account) is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
本实施例将在上一实施例的基础上,对本发明的备份数据的删除方法举例作进一步详细说明。This embodiment will further explain the deletion method of the backup data of the present invention in further detail on the basis of the previous embodiment.
首先,在用户使用云备份的过程中,如果由于一些原因(比如忘记密码、被盗号等)导致用户弃用其备份账号,则该备份账号在服务器中存储的备份数据将持续占用服务器资源,服务器压力越来越大也会影响交互速度。因此本发明提供一种备份数据的删除方法,可以将用户弃用的备份账号对应的备份数据进行删除。First, in the process of using the cloud backup, if the user discards the backup account for some reasons (such as forgetting the password, being stolen, etc.), the backup data stored in the backup account will continue to occupy the server resources. Increasing pressure will also affect the speed of interaction. Therefore, the present invention provides a method for deleting backup data, which can delete backup data corresponding to a backup account discarded by the user.
请参阅图3,图三为本发明实施例二提供的备份数据的删除方法的流程示意图,在本发明实施例中,将以备份账号被放弃使用为例进行详细描述,包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a method for deleting backup data according to Embodiment 2 of the present invention. In the embodiment of the present invention, a backup account is abandoned for use as an example, including:
步骤S201,获取备份账号最后一次登录服务器的历史时间信息和当前时间信息。Step S201: Obtain historical time information and current time information of the last login server of the backup account.
在本实施例当中,用户每次使用备份账号登录服务器,服务器可以将其登录时间存储至历史记录当中。其中,登录历史信息还可以包括该备份账号的登出时间、在登录服务器后相应的操作等等。因此,该服务器可以获取该备份账号的历史记录,然后获取该历史记录当中与当前时间最接近的一次登录时间,确定该登录时间为历史登录时间。In this embodiment, each time the user logs in to the server using the backup account, the server can store its login time in the history. The login history information may further include a logout time of the backup account, a corresponding operation after logging in to the server, and the like. Therefore, the server can obtain the history record of the backup account, and then obtain the login time closest to the current time in the history, and determine that the login time is the historical login time.
步骤S202,根据历史时间信息与当前时间信息确定备份账号的离线时长。Step S202: Determine an offline duration of the backup account according to the historical time information and the current time information.
需要说明的是,上述离线时长可以以天、小时、分钟等计时单位来计算,可以根据用户需求自行设定。It should be noted that the offline time length can be calculated in units of days, hours, minutes, etc., and can be set according to user requirements.
步骤S203,判断离线时长是否大于第一预设时长,若是,则执行步骤S204,若否则返回步骤S201。In step S203, it is determined whether the offline duration is greater than the first preset duration. If yes, step S204 is performed, otherwise, step S201 is returned.
其中,该第一预设时长可以衡量该备份账号是否被弃用,可以由用户根据自身的习惯来设定,也可以由系统默认,本实施例不做具体限定。具体的,若离线时长大于第一预设时长,则该备份账号可能已经被用户弃用;若离线时长小于第一时长,则可以返回步骤S101继续获取离线时长。The first preset duration may be used to determine whether the backup account is deprecated, and may be set by the user according to his own habits, or may be defaulted by the system, which is not specifically limited in this embodiment. Specifically, if the offline duration is greater than the first preset duration, the backup account may have been discarded by the user; if the offline duration is less than the first duration, the process may return to step S101 to continue to obtain the offline duration.
步骤S204,向备份账号对应的终端发送数据删除请求。Step S204: Send a data deletion request to the terminal corresponding to the backup account.
具体的,在确定离线时长大于第一预设时长时,服务器可以自动生成数据删除请求并发送至备份账号所对应的终端。其中,该数据删除请求可以包括备份账号信息、该账号对应的备份数据、离线时长信息等等,向终端发送请求则可以通过该备份账号相关的APP(Application,应用程序)来进行推送,也可以根据备份账号关联的标识信息(比如SIM卡标识)发送请求,比如以短信的形式发送给用户的手机。Specifically, when determining that the offline duration is greater than the first preset duration, the server may automatically generate a data deletion request and send the data to the terminal corresponding to the backup account. The data deletion request may include backup account information, backup data corresponding to the account, offline duration information, and the like, and the request sent to the terminal may be pushed by the APP (Application, application) related to the backup account, or The request is sent according to the identification information (such as the SIM card identifier) associated with the backup account, for example, sent to the user's mobile phone in the form of a short message.
步骤S205,在第二预设时长内未接收到终端返回的删除确认指令,对服务器中备份账号对应的备份数据进行划分,以得到多个子数据。Step S205: The deletion confirmation command returned by the terminal is not received within the second preset duration, and the backup data corresponding to the backup account in the server is divided to obtain a plurality of sub-data.
在本发明实施例当中,若在第二预设时长内未接收到终端返回的删除确认指令,则可以对备份账号所对应的备份数据进行删除。优选的,在删除备份数据时,可以先对备份数据进行划分,比如根据数据类型可分为通讯录、备忘录、短信、聊天记录、图片信息、多媒体信息和应用程序使用记录等等,当然还可以根据数据大小或其它方式进行划分。In the embodiment of the present invention, if the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account may be deleted. Preferably, when deleting backup data, the backup data may be first divided, for example, according to the data type, it may be divided into an address book, a memo, a short message, a chat record, a picture information, a multimedia information, and an application usage record, etc., of course, Divided according to data size or other means.
步骤S206,获取上述多个子数据分别对应的优先级信息。Step S206: Acquire priority information corresponding to each of the plurality of sub-data.
具体的,可以对上述划分后的多个子数据设置不同的权重值,然后根据不同的权重值获取多个子数据分别对应的优先级。比如可以将上述根据数据类型划分的多个子数据的优先级设置为:通讯录>备忘录>短信>聊天记录>图片信息>多媒体信息>应用程序使用记录。Specifically, different weight values may be set for the plurality of divided sub-data, and then the priorities corresponding to the plurality of sub-data are respectively obtained according to different weight values. For example, the priority of the plurality of sub-data divided according to the data type may be set as: Address Book > Memo > SMS > Chat Record > Picture Information > Multimedia Information > Application Usage Record.
步骤S207,根据该优先级信息逐步删除所述备份账号对应的备份数据。Step S207, the backup data corresponding to the backup account is gradually deleted according to the priority information.
优选地,在上述步骤删除所述备份账号对应的备份数据之前,还可以将确认删除的备份数据存储至备份单元。若在服务器删除备份数据之后接收到了用于找回数据的恢复指令,则服务器将上述备份单元中的备份数据恢复至服务器当中。Preferably, before the step of deleting the backup data corresponding to the backup account, the backup data confirmed to be deleted may be stored in the backup unit. If a recovery instruction for retrieving data is received after the server deletes the backup data, the server restores the backup data in the backup unit to the server.
由上可知,本发明实施例首先获取备份账号最后一次登录服务器的历史时间信息和当前时间信息,根据历史时间信息与当前时间信息确定备份账号的离线时长,判断离线时长是否大于第一预设时长。若是,则向备份账号对应的终端发送数据删除请求,在第二预设时长内未接收到终端返回的删除确认指令,对服务器中备份账号对应的备份数据进行划分,以得到多个子数据,获取上述多个子数据分别对应的优先级信息,根据该优先级信息逐步删除所述备份账号对应的备份数据。本发明实施例能够在账号离线时长满足预设时长后,向该账号对应的终端发送删除请求,并根据终端返回的指令删除该账号存储在服务器中的备份数据,以使服务器将大量的无用数据(比如用户弃用的账号所对应的备份数据)进行清理,避免了服务器资源的浪费,可以有效放置云服务器空间的过度消耗,提高云服务响应速度以及用户体验。As shown in the above, the embodiment of the present invention first obtains the historical time information and current time information of the last login of the backup account, determines the offline duration of the backup account based on the historical time information and the current time information, and determines whether the offline duration is greater than the first preset duration. . If yes, the data deletion request is sent to the terminal corresponding to the backup account, and the deletion confirmation command returned by the terminal is not received within the second preset duration, and the backup data corresponding to the backup account in the server is divided to obtain multiple sub-data and obtained. The priority information corresponding to the plurality of sub-data respectively is used to gradually delete the backup data corresponding to the backup account according to the priority information. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the user's deprecated account) is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
为便于更好的实施本发明实施例提供的备份数据的删除方法,本发明实施例还提供一种基于上述备份数据的删除方法的装置以及系统。其中名词的含义与上述备份数据的删除方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate the implementation of the method for deleting the backup data provided by the embodiment of the present invention, the embodiment of the present invention further provides an apparatus and system for deleting the backup data. The meaning of the noun is the same as the method for deleting the backup data. For details of the implementation, refer to the description in the method embodiment.
本发明实施例提供一种备份数据的删除装置,包括:获取模块、判断模块、发送模块、接收模块以及删除模块;An embodiment of the present invention provides a device for deleting backup data, including: an obtaining module, a determining module, a sending module, a receiving module, and a deleting module;
所述获取模块,用于获取备份账号的离线时长;The obtaining module is configured to obtain an offline duration of the backup account.
所述判断模块,用于判断所述离线时长是否大于第一预设时长;The determining module is configured to determine whether the offline duration is greater than a first preset duration;
所述发送模块,用于当所述判断模块判断为是时,向所述备份账号对应的终端发送数据删除请求;The sending module is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module determines to be YES;
所述接收模块,用于接收所述终端返回的删除确认指令;The receiving module is configured to receive a deletion confirmation instruction returned by the terminal;
所述删除模块,用于根据所述删除确认指令,删除所述备份账号对应的备份数据。The deleting module is configured to delete backup data corresponding to the backup account according to the deletion confirmation instruction.
一实施例中,所述删除模块,还用于当所述接收模块在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。In an embodiment, the deleting module is further configured to: when the receiving module does not receive the deletion confirmation instruction returned by the terminal within the second preset duration, delete the backup data corresponding to the backup account.
一实施例中,所述获取模块具体包括:时间获取子模块和确定子模块;In an embodiment, the acquiring module specifically includes: a time acquiring submodule and a determining submodule;
所述时间获取子模块,用于获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;The time acquisition sub-module is configured to obtain historical time information and current time information of the last login of the backup account to the server;
所述确定子模块,用于根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。The determining submodule is configured to determine an offline duration of the backup account according to the historical time information and the current time information.
一实施例中,所述删除模块具体包括:划分子模块、优先级获取子模块以及删除子模块;In an embodiment, the deleting module specifically includes: a dividing submodule, a priority acquiring submodule, and a deleting submodule;
所述划分子模块,用于对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;The dividing sub-module is configured to divide backup data corresponding to the backup account in the server to obtain multiple sub-data;
所述优先级获取子模块,用于获取所述多个子数据分别对应的优先级信息;The priority acquisition sub-module is configured to obtain priority information corresponding to the plurality of sub-data respectively;
所述删除子模块,用于根据所述优先级信息逐步删除所述备份账号对应的备份数据。The deleting submodule is configured to gradually delete the backup data corresponding to the backup account according to the priority information.
请参阅图4,图4为本发明实施例三提供的备份数据的删除装置的结构示意图。该备份数据的删除装置30具体包括:获取模块301、判断模块302、发送模块303、接收模块304以及删除模块305。Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a device for deleting backup data according to Embodiment 3 of the present invention. The deleting device 30 of the backup data specifically includes: an obtaining module 301, a determining module 302, a sending module 303, a receiving module 304, and a deleting module 305.
获取模块301,用于获取备份账号的离线时长。The obtaining module 301 is configured to obtain an offline duration of the backup account.
判断模块302,用于判断所述离线时长是否大于第一预设时长。The determining module 302 is configured to determine whether the offline duration is greater than the first preset duration.
发送模块303,用于当判断模块302判断为是时,向所述备份账号对应的终端发送数据删除请求。The sending module 303 is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module 302 determines to be YES.
接收模块304,用于接收终端返回的删除确认指令。The receiving module 304 is configured to receive a deletion confirmation instruction returned by the terminal.
删除模块305,用于根据删除确认指令,删除备份账号对应的备份数据。The deleting module 305 is configured to delete the backup data corresponding to the backup account according to the deletion confirmation instruction.
进一步的,上述删除模块305,还用于当接收模块304在第二预设时长内未接收到终端返回的删除确认指令,则删除备份账号对应的备份数据。Further, the deleting module 305 is further configured to: when the receiving module 304 does not receive the deletion confirmation instruction returned by the terminal within the second preset duration, delete the backup data corresponding to the backup account.
进一步的,如图5所示,在该备份数据的删除装置30中。上述获取模块301具体包括:时间获取子模块3011和确定子模块3012。Further, as shown in FIG. 5, in the backup data deletion device 30. The obtaining module 301 specifically includes a time acquiring submodule 3011 and a determining submodule 3012.
时间获取子模块3011,用于获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息。The time acquisition sub-module 3011 is configured to obtain historical time information and current time information of the last login of the backup account to the server.
确定子模块3012,用于根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。The determining sub-module 3012 is configured to determine an offline duration of the backup account according to the historical time information and the current time information.
上述删除模块305具体包括:划分子模块3051、优先级获取子模块3052以及删除子模块3053。The foregoing deleting module 305 specifically includes: a dividing submodule 3051, a priority acquiring submodule 3052, and a deleting submodule 3053.
划分子模块3051,用于对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据。The sub-module 3051 is configured to divide backup data corresponding to the backup account in the server to obtain multiple sub-data.
优先级获取子模块3052,用于获取所述多个子数据分别对应的优先级信息。The priority acquisition sub-module 3052 is configured to acquire priority information corresponding to the plurality of sub-data respectively.
删除子模块3053,用于根据所述优先级信息逐步删除所述备份账号对应的备份数据。The deleting submodule 3053 is configured to gradually delete the backup data corresponding to the backup account according to the priority information.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。For the specific implementation, the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities. For the specific implementation of the foregoing modules, refer to the foregoing method embodiments, and details are not described herein again.
由上可知,本发明实施例提供的备份数据的删除装置可以由获取模块301获取备份账号的离线时长,判断模块302判断该离线时长是否大于第一预设时长。若是,则由发送模块303向该备份账号对应的终端发送数据删除请求,接收模块304接收终端返回的删除确认指令,删除模块305根据该删除确认指令,删除备份账号对应的备份数据。本发明实施例能够在账号离线时长满足预设时长后,向该账号对应的终端发送删除请求,并根据终端返回的指令删除该账号存储在服务器中的备份数据,以使服务器将大量的无用数据(比如用户弃用的账号所对应的备份数据)进行清理,避免了服务器资源的浪费,可以有效放置云服务器空间的过度消耗,提高云服务响应速度以及用户体验。It can be seen that the backup data deletion device provided by the embodiment of the present invention can obtain the offline duration of the backup account by the obtaining module 301, and the determining module 302 determines whether the offline duration is greater than the first preset duration. If yes, the sending module 303 sends a data deletion request to the terminal corresponding to the backup account, the receiving module 304 receives the deletion confirmation command returned by the terminal, and the deleting module 305 deletes the backup data corresponding to the backup account according to the deletion confirmation command. After the offline duration of the account meets the preset duration, the embodiment of the present invention can send a deletion request to the terminal corresponding to the account, and delete the backup data stored in the server according to the instruction returned by the terminal, so that the server will use a large amount of useless data. (For example, the backup data corresponding to the user's deprecated account) is cleaned to avoid waste of server resources, which can effectively place excessive consumption of cloud server space, improve cloud service response speed and user experience.
另外,本发明实施例还提供一种备份数据的删除系统,包括服务器以及终端,其中,所述服务器包括上述的备份数据的删除装置。请参考图1,其中该服务器可以包括如上实施例所提供的任一备份数据的删除装置,终端可以为手机、平板电脑等。In addition, the embodiment of the present invention further provides a backup data deletion system, including a server and a terminal, wherein the server includes the foregoing backup data deletion device. Please refer to FIG. 1 , wherein the server may include any backup device for deleting backup data provided by the foregoing embodiment, and the terminal may be a mobile phone, a tablet, or the like.
可以理解的是,其中该备份数据的删除装置的结构以及功能实现可以参见上文针对备份数据的删除装置的详细描述,此处不再赘述。It can be understood that the structure and function implementation of the deleting device of the backup data can be referred to the detailed description of the deleting device for the backup data, and details are not described herein again.
本实施例提供了一种服务器,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:The embodiment provides a server, including a processor and a memory, the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
一实施例中,在所述向所述备份账号对应的终端发送数据删除请求的步骤之后,所述处理器还用于执行以下步骤:In an embodiment, after the step of sending a data deletion request to the terminal corresponding to the backup account, the processor is further configured to perform the following steps:
若在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。If the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
一实施例中,获取备份账号的离线时长时,所述处理器用于执行以下步骤:In an embodiment, when obtaining the offline duration of the backup account, the processor is configured to perform the following steps:
获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;Obtaining historical time information and current time information of the last login of the backup account to the server;
根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。Determining an offline duration of the backup account according to the historical time information and the current time information.
一实施例中,删除所述备份账号对应的备份数据时,所述处理器用于执行以下步骤:In an embodiment, when the backup data corresponding to the backup account is deleted, the processor is configured to perform the following steps:
对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;Dividing backup data corresponding to the backup account in the server to obtain multiple sub-data;
获取所述多个子数据分别对应的优先级信息;Obtaining priority information corresponding to the plurality of sub-data respectively;
根据所述优先级信息逐步删除所述备份账号对应的备份数据。And gradually deleting the backup data corresponding to the backup account according to the priority information.
一实施例中,在所述删除所述备份账号对应的备份数据的步骤之前,所述处理器还用于执行以下步骤:In an embodiment, before the step of deleting the backup data corresponding to the backup account, the processor is further configured to perform the following steps:
将所述备份账号对应的备份数据储存至备份单元;And storing the backup data corresponding to the backup account to the backup unit;
若在删除所述备份账号对应的备份数据后接收到所述终端返回的删除恢复指令,则根据所述删除恢复指令,将所述备份数据从所述备份单元恢复至所述服务器。If the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
一实施例中,向所述备份账号对应的终端发送数据删除请求时,所述处理器用于执行以下步骤:In an embodiment, when sending a data deletion request to the terminal corresponding to the backup account, the processor is configured to perform the following steps:
根据所述备份账号所关联的应用程序向所述终端推送所述数据删除请求,和/或根据所述备份账号所关联的标识信息向所述终端发送所述数据删除请求。And sending the data deletion request to the terminal according to the application program associated with the backup account, and/or sending the data deletion request to the terminal according to the identifier information associated with the backup account.
一实施例中,所述删除确认指令包括同意删除的第一指令或拒绝删除的第二指令,所述处理器用于执行以下步骤:In an embodiment, the deletion confirmation instruction includes a first instruction that agrees to delete or a second instruction that refuses to delete, and the processor is configured to perform the following steps:
若所述删除确认指令包括所述第二指令,则重置所述离线时长,并以接收所述第二指令的时间点为起点重新计算离线时长。And if the deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
参考图6,其示出了本发明实施例所涉及的服务器的结构示意图。具体来讲:该服务器400可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、射频(Radio Frequency,RF)电路403、电源404、输入单元405、以及显示单元406等部件。本领域技术人员可以理解,图6中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Referring to FIG. 6, a schematic structural diagram of a server according to an embodiment of the present invention is shown. Specifically, the server 400 can include one or more processing core processor 401, one or more computer readable storage media memories 402, radio frequency (Radio) Frequency, RF) circuit 403, power supply 404, input unit 405, and display unit 406 and the like. It will be understood by those skilled in the art that the server structure illustrated in FIG. 6 does not constitute a limitation to the server, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
处理器401是该服务器的控制中心,利用各种接口和线路连接整个服务器的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行服务器的各种功能和处理数据,从而对服务器进行整体监控。可选的,处理器401可包括一个或多个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。The processor 401 is the control center of the server, connecting various portions of the entire server using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 402, and recalling data stored in the memory 402, Execute the server's various functions and process data to monitor the server as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
存储器402可用于存储软件程序以及模块。处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。Memory 402 can be used to store software programs as well as modules. The processor 401 executes various functional applications and data processing by running software programs and modules stored in the memory 402.
RF电路403可用于收发信息过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器401处理。另外,将涉及上行的数据发送给基站。The RF circuit 403 can be used for receiving and transmitting signals during the transmission and reception of information, and in particular, after receiving the downlink information of the base station, it is processed by one or more processors 401. In addition, data related to the uplink is transmitted to the base station.
服务器还包括给各个部件供电的电源404(比如电池)。优选的,电源可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源404还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The server also includes a power source 404 (such as a battery) that powers the various components. Preferably, the power source can be logically connected to the processor 401 through the power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 404 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
该服务器还可包括输入单元405,该输入单元405可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 The server can also include an input unit 405 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
该服务器还可包括显示单元406,该显示单元406可用于显示由用户输入的信息或提供给用户的信息以及服务器的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元408可包括显示面板,可选的,可以采用液晶显示器 (LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。The server can also include a display unit 406 that can be used to display information entered by the user or information provided to the user, as well as various graphical user interfaces of the server, which can be composed of graphics, text, icons, video, and It is composed of any combination. The display unit 408 can include a display panel, and optionally, a liquid crystal display can be used. (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting) Diode) and other forms to configure the display panel.
具体在本实施例中,服务器中的处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能,如下:Specifically, in this embodiment, the processor 401 in the server loads the executable file corresponding to the process of one or more applications into the memory 402 according to the following instruction, and is stored in the memory by the processor 401. The application in 402, thus implementing various functions, as follows:
获取备份账号的离线时长,判断该离线时长是否大于第一预设时长,若是,则向该备份账号对应的终端发送数据删除请求,并接收终端根据数据删除请求返回的删除确认指令,根据该删除确认指令,删除备份账号对应的备份数据。Obtaining an offline duration of the backup account, determining whether the offline duration is greater than the first preset duration, and if yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request, according to the deletion Confirm the command and delete the backup data corresponding to the backup account.
具体的操作,可以参考前面备份数据的删除方法实施例的详细描述。For a specific operation, reference may be made to the detailed description of the foregoing method for deleting the backup data.
本发明实施例还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:The embodiment of the invention further provides a storage medium, wherein the storage medium stores a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the following steps:
获取备份账号的离线时长;Get the offline duration of the backup account;
判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor within the terminal, and may include a flow of an embodiment of the information distribution method during execution. The storage medium may include: a read only memory (ROM, Read) Only Memory), Random Access Memory (RAM), disk or CD.
以上对本发明实施例提供的一种备份数据的删除方法、装置、系统、存储介质和服务器进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device, system, storage medium and server for deleting backup data provided by the embodiments of the present invention are described in detail. The functional modules may be integrated into one processing chip, or each module may exist physically separately. Two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The principles and embodiments of the present invention are described herein with reference to specific examples. The description of the above embodiments is only for the purpose of understanding the method of the present invention and the core idea thereof. Also, those skilled in the art according to the present invention The present invention is not limited by the scope of the present invention.

Claims (20)

  1. 一种备份数据的删除方法,其中,包括以下步骤:A method for deleting backup data, comprising the following steps:
    获取备份账号的离线时长;Get the offline duration of the backup account;
    判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
    若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
    根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
  2. 如权利要求1所述的删除方法,其中,在所述向所述备份账号对应的终端发送数据删除请求的步骤之后,所述方法还包括:The method of claim 1, wherein after the step of sending a data deletion request to the terminal corresponding to the backup account, the method further comprises:
    若在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。If the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
  3. 如权利要求1所述的删除方法,其中,所述获取备份账号的离线时长的步骤具体包括:The deleting method of claim 1, wherein the step of obtaining an offline duration of the backup account comprises:
    获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;Obtaining historical time information and current time information of the last login of the backup account to the server;
    根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。Determining an offline duration of the backup account according to the historical time information and the current time information.
  4. 如权利要求1-2任一项所述的删除方法,其中,所述删除所述备份账号对应的备份数据的步骤具体包括:The deleting method according to any one of claims 1-2, wherein the step of deleting the backup data corresponding to the backup account comprises:
    对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;Dividing backup data corresponding to the backup account in the server to obtain multiple sub-data;
    获取所述多个子数据分别对应的优先级信息;Obtaining priority information corresponding to the plurality of sub-data respectively;
    根据所述优先级信息逐步删除所述备份账号对应的备份数据。And gradually deleting the backup data corresponding to the backup account according to the priority information.
  5. 如权利要求1-2任一项所述的删除方法,其中,在所述删除所述备份账号对应的备份数据的步骤之前,所述方法还包括:The method of any one of claims 1-2, wherein before the step of deleting the backup data corresponding to the backup account, the method further comprises:
    将所述备份账号对应的备份数据储存至备份单元;And storing the backup data corresponding to the backup account to the backup unit;
    若在删除所述备份账号对应的备份数据后接收到所述终端返回的删除恢复指令,则根据所述删除恢复指令,将所述备份数据从所述备份单元恢复至所述服务器。If the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
  6. 如权利要求1所述的删除方法,其中,向所述备份账号对应的终端发送数据删除请求的步骤包括:The deleting method of claim 1, wherein the step of sending a data deletion request to the terminal corresponding to the backup account comprises:
    根据所述备份账号所关联的应用程序向所述终端推送所述数据删除请求,和/或根据所述备份账号所关联的标识信息向所述终端发送所述数据删除请求。And sending the data deletion request to the terminal according to the application program associated with the backup account, and/or sending the data deletion request to the terminal according to the identifier information associated with the backup account.
  7. 如权利要求1所述的删除方法,其中,所述删除确认指令包括同意删除的第一指令或拒绝删除的第二指令;The deletion method according to claim 1, wherein the deletion confirmation instruction includes a first instruction that agrees to delete or a second instruction that refuses to delete;
    若所述删除确认指令包括所述第二指令,则重置所述离线时长,并以接收所述第二指令的时间点为起点重新计算离线时长。And if the deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
  8. 一种备份数据的删除装置,其中,包括:获取模块、判断模块、发送模块、接收模块以及删除模块;A device for deleting backup data, comprising: an obtaining module, a determining module, a sending module, a receiving module, and a deleting module;
    所述获取模块,用于获取备份账号的离线时长;The obtaining module is configured to obtain an offline duration of the backup account.
    所述判断模块,用于判断所述离线时长是否大于第一预设时长;The determining module is configured to determine whether the offline duration is greater than a first preset duration;
    所述发送模块,用于当所述判断模块判断为是时,向所述备份账号对应的终端发送数据删除请求;The sending module is configured to send a data deletion request to the terminal corresponding to the backup account when the determining module determines to be YES;
    所述接收模块,用于接收所述终端返回的删除确认指令;The receiving module is configured to receive a deletion confirmation instruction returned by the terminal;
    所述删除模块,用于根据所述删除确认指令,删除所述备份账号对应的备份数据。The deleting module is configured to delete backup data corresponding to the backup account according to the deletion confirmation instruction.
  9. 如权利要求8所述的删除装置,其中,The deleting device according to claim 8, wherein
    所述删除模块,还用于当所述接收模块在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。The deleting module is further configured to: when the receiving module does not receive the deletion confirmation instruction returned by the terminal within the second preset duration, delete the backup data corresponding to the backup account.
  10. 如权利要求8所述的删除装置,其中,所述获取模块具体包括:时间获取子模块和确定子模块;The deleting apparatus according to claim 8, wherein the obtaining module comprises: a time acquiring submodule and a determining submodule;
    所述时间获取子模块,用于获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;The time acquisition sub-module is configured to obtain historical time information and current time information of the last login of the backup account to the server;
    所述确定子模块,用于根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。The determining submodule is configured to determine an offline duration of the backup account according to the historical time information and the current time information.
  11. 如权利要求8-9任一项所述的删除装置,其中,所述删除模块具体包括:划分子模块、优先级获取子模块以及删除子模块;The deleting apparatus according to any one of claims 8-9, wherein the deleting module specifically comprises: a dividing submodule, a priority acquiring submodule, and a deleting submodule;
    所述划分子模块,用于对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;The dividing sub-module is configured to divide backup data corresponding to the backup account in the server to obtain multiple sub-data;
    所述优先级获取子模块,用于获取所述多个子数据分别对应的优先级信息;The priority acquisition sub-module is configured to obtain priority information corresponding to the plurality of sub-data respectively;
    所述删除子模块,用于根据所述优先级信息逐步删除所述备份账号对应的备份数据。The deleting submodule is configured to gradually delete the backup data corresponding to the backup account according to the priority information.
  12. 一种备份数据的删除系统,包括服务器以及终端,其中,所述服务器包括权利要求8-11任一项所述的备份数据的删除装置。A system for deleting backup data, comprising a server and a terminal, wherein the server comprises the deletion device of the backup data according to any one of claims 8-11.
  13. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:A storage medium, wherein the storage medium stores a plurality of instructions adapted to be loaded by a processor to perform the following steps:
    获取备份账号的离线时长;Get the offline duration of the backup account;
    判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
    若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
    根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
  14. 一种服务器,其中,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:A server, comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading instructions in the memory for performing the following steps:
    获取备份账号的离线时长;Get the offline duration of the backup account;
    判断所述离线时长是否大于第一预设时长;Determining whether the offline duration is greater than a first preset duration;
    若是,则向所述备份账号对应的终端发送数据删除请求,并接收所述终端根据所述数据删除请求返回的删除确认指令;If yes, sending a data deletion request to the terminal corresponding to the backup account, and receiving a deletion confirmation instruction returned by the terminal according to the data deletion request;
    根据所述删除确认指令,删除所述备份账号对应的备份数据。And deleting the backup data corresponding to the backup account according to the deletion confirmation instruction.
  15. 如权利要求14所述的服务器,其中,在所述向所述备份账号对应的终端发送数据删除请求的步骤之后,所述处理器还用于执行以下步骤:The server according to claim 14, wherein after the step of transmitting a data deletion request to the terminal corresponding to the backup account, the processor is further configured to perform the following steps:
    若在第二预设时长内未接收到所述终端返回的删除确认指令,则删除所述备份账号对应的备份数据。If the deletion confirmation instruction returned by the terminal is not received within the second preset duration, the backup data corresponding to the backup account is deleted.
  16. 如权利要求14所述的服务器,其中,获取备份账号的离线时长时,所述处理器用于执行以下步骤:The server according to claim 14, wherein when the offline duration of the backup account is obtained, the processor is configured to perform the following steps:
    获取所述备份账号最后一次登录所述服务器的历史时间信息和当前时间信息;Obtaining historical time information and current time information of the last login of the backup account to the server;
    根据所述历史时间信息与所述当前时间信息确定所述备份账号的离线时长。Determining an offline duration of the backup account according to the historical time information and the current time information.
  17. 如权利要求14-15所述的服务器,其中,删除所述备份账号对应的备份数据时,所述处理器用于执行以下步骤:The server according to any of claims 14-15, wherein when the backup data corresponding to the backup account is deleted, the processor is configured to perform the following steps:
    对服务器中所述备份账号对应的备份数据进行划分,以得到多个子数据;Dividing backup data corresponding to the backup account in the server to obtain multiple sub-data;
    获取所述多个子数据分别对应的优先级信息;Obtaining priority information corresponding to the plurality of sub-data respectively;
    根据所述优先级信息逐步删除所述备份账号对应的备份数据。And gradually deleting the backup data corresponding to the backup account according to the priority information.
  18. 如权利要求14-15所述的服务器,其中,在所述删除所述备份账号对应的备份数据的步骤之前,所述处理器还用于执行以下步骤:The server according to any one of claims 14-15, wherein the processor is further configured to perform the following steps before the step of deleting the backup data corresponding to the backup account:
    将所述备份账号对应的备份数据储存至备份单元;And storing the backup data corresponding to the backup account to the backup unit;
    若在删除所述备份账号对应的备份数据后接收到所述终端返回的删除恢复指令,则根据所述删除恢复指令,将所述备份数据从所述备份单元恢复至所述服务器。If the deletion recovery instruction returned by the terminal is received after deleting the backup data corresponding to the backup account, the backup data is restored from the backup unit to the server according to the deletion recovery instruction.
  19. 如权利要求14所述的服务器,其中,向所述备份账号对应的终端发送数据删除请求时,所述处理器用于执行以下步骤:The server according to claim 14, wherein when the data deletion request is sent to the terminal corresponding to the backup account, the processor is configured to perform the following steps:
    根据所述备份账号所关联的应用程序向所述终端推送所述数据删除请求,和/或根据所述备份账号所关联的标识信息向所述终端发送所述数据删除请求。And sending the data deletion request to the terminal according to the application program associated with the backup account, and/or sending the data deletion request to the terminal according to the identifier information associated with the backup account.
  20. 如权利要求14所述的服务器,其中,所述删除确认指令包括同意删除的第一指令或拒绝删除的第二指令,所述处理器用于执行以下步骤:The server according to claim 14, wherein said deletion confirmation instruction comprises a first instruction agreeing to delete or a second instruction rejecting deletion, said processor for performing the following steps:
    若所述删除确认指令包括所述第二指令,则重置所述离线时长,并以接收所述第二指令的时间点为起点重新计算离线时长。And if the deletion confirmation instruction includes the second instruction, resetting the offline duration, and recalculating the offline duration from a time point of receiving the second instruction.
PCT/CN2017/095625 2016-10-25 2017-08-02 Data backup deleting method, device and system, storage medium and server WO2018076867A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610949325.3A CN106357811B (en) 2016-10-25 2016-10-25 A kind of delet method of Backup Data, apparatus and system
CN201610949325.3 2016-10-25

Publications (1)

Publication Number Publication Date
WO2018076867A1 true WO2018076867A1 (en) 2018-05-03

Family

ID=57864501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095625 WO2018076867A1 (en) 2016-10-25 2017-08-02 Data backup deleting method, device and system, storage medium and server

Country Status (2)

Country Link
CN (1) CN106357811B (en)
WO (1) WO2018076867A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413918A (en) * 2019-08-01 2019-11-05 腾讯科技(深圳)有限公司 Data transmission method for uplink, device, equipment and storage medium
CN110555017A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 block chain data cleaning method and device, computer equipment and storage medium
CN112019385A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Cloud platform component deleting method, device, equipment and storage medium
CN113486272A (en) * 2021-07-07 2021-10-08 上海中通吉网络技术有限公司 Method for refreshing page in application
CN115880807A (en) * 2023-02-28 2023-03-31 成都航空职业技术学院 Motion timing terminal, road running timing system and method
CN116886953A (en) * 2023-09-06 2023-10-13 湖南马栏山视频先进技术研究院有限公司 Cloud storage video data protection system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357811B (en) * 2016-10-25 2019-08-13 Oppo广东移动通信有限公司 A kind of delet method of Backup Data, apparatus and system
CN109308233A (en) * 2017-07-28 2019-02-05 中兴通讯股份有限公司 Data back up method, apparatus and system
CN108764607B (en) * 2018-04-09 2022-04-15 中国平安人寿保险股份有限公司 User monthly data review method, device, equipment and storage medium
CN109189398B (en) * 2018-08-21 2022-05-24 郑州云海信息技术有限公司 System, method and device for optimizing jenkins compiling construction space
CN111198793A (en) * 2018-11-19 2020-05-26 北京京东尚科信息技术有限公司 Data deleting method and system, medium and computer system
CN111400264A (en) * 2019-12-06 2020-07-10 杭州海康威视系统技术有限公司 Data management method and data storage system
CN111163161A (en) * 2019-12-27 2020-05-15 李超 Automatic backup and automatic clearing method for intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056197A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Data storage system of the information home electrical appliance and the data processing method
CN102045353A (en) * 2010-12-13 2011-05-04 北京交通大学 Distributed network security control method of public cloud service
CN103049508A (en) * 2012-12-13 2013-04-17 华为技术有限公司 Method and device for processing data
US20150088838A1 (en) * 2013-09-25 2015-03-26 International Business Machines Corporation Data storage device deferred secure delete
CN105912422A (en) * 2016-04-05 2016-08-31 广州杰赛科技股份有限公司 Data backup method, backup client and data backup system
CN106357811A (en) * 2016-10-25 2017-01-25 广东欧珀移动通信有限公司 Backup data deleting method, backup data deleting device and backup data deleting system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7861049B2 (en) * 2007-11-19 2010-12-28 Hitachi, Ltd. Methods and apparatus for archiving digital data
CN105989102A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Method and device for deleting backup data
CN105740098A (en) * 2016-01-26 2016-07-06 浪潮(北京)电子信息产业有限公司 Determination method and system for stale data among backup data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056197A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Data storage system of the information home electrical appliance and the data processing method
CN102045353A (en) * 2010-12-13 2011-05-04 北京交通大学 Distributed network security control method of public cloud service
CN103049508A (en) * 2012-12-13 2013-04-17 华为技术有限公司 Method and device for processing data
US20150088838A1 (en) * 2013-09-25 2015-03-26 International Business Machines Corporation Data storage device deferred secure delete
CN105912422A (en) * 2016-04-05 2016-08-31 广州杰赛科技股份有限公司 Data backup method, backup client and data backup system
CN106357811A (en) * 2016-10-25 2017-01-25 广东欧珀移动通信有限公司 Backup data deleting method, backup data deleting device and backup data deleting system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555017A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 block chain data cleaning method and device, computer equipment and storage medium
CN110413918A (en) * 2019-08-01 2019-11-05 腾讯科技(深圳)有限公司 Data transmission method for uplink, device, equipment and storage medium
CN110413918B (en) * 2019-08-01 2023-09-22 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN112019385A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Cloud platform component deleting method, device, equipment and storage medium
CN112019385B (en) * 2020-08-28 2022-11-25 北京浪潮数据技术有限公司 Cloud platform component deleting method, device, equipment and storage medium
CN113486272A (en) * 2021-07-07 2021-10-08 上海中通吉网络技术有限公司 Method for refreshing page in application
CN115880807A (en) * 2023-02-28 2023-03-31 成都航空职业技术学院 Motion timing terminal, road running timing system and method
CN115880807B (en) * 2023-02-28 2023-05-16 成都航空职业技术学院 Sports timing terminal, road running timing system and method
CN116886953A (en) * 2023-09-06 2023-10-13 湖南马栏山视频先进技术研究院有限公司 Cloud storage video data protection system
CN116886953B (en) * 2023-09-06 2023-11-24 湖南马栏山视频先进技术研究院有限公司 Cloud storage video data protection system

Also Published As

Publication number Publication date
CN106357811B (en) 2019-08-13
CN106357811A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2018076867A1 (en) Data backup deleting method, device and system, storage medium and server
WO2018076889A1 (en) Data backup method, device, system, storage medium and server
WO2018076841A1 (en) Data sharing method, apparatus, storage medium and server
WO2018076861A1 (en) Data transmission control method, apparatus, storage medium, server and system
WO2017069595A1 (en) Electronic device and method for executing function using speech recognition thereof
WO2018151505A1 (en) Electronic device and method for displaying screen thereof
WO2018076868A1 (en) Data synchronization method, device and system, storage medium and server
WO2018076819A1 (en) Data upload method, apparatus, storage medium, electronic device and system
WO2018076812A1 (en) Data request response method and device, storage medium, server and system
WO2018076829A1 (en) Terminal data processing method, apparatus, system, storage medium and server
WO2018021678A1 (en) Electronic device and method for operating the same
WO2018076818A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
WO2018076866A1 (en) Data processing method, device, storage medium, electronic device and server
WO2018076864A1 (en) Data synchronization method, apparatus, storage medium and electronic device
WO2017206878A1 (en) Wakeup lock-based processing method and apparatus, storage medium, and electronic device
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
WO2018076890A1 (en) Data backup method, device, storage medium, server and system
WO2018076865A1 (en) Data sharing method, device, storage medium, and electronic device
WO2018161580A1 (en) Broadcast control method and apparatus, storage medium, and electronic device
WO2018076844A1 (en) Data backup method and device, storage medium and electronic apparatus
WO2018076840A1 (en) Data sharing method, device, storage medium and server
WO2018076869A1 (en) Data backup method, apparatus, storage medium and electronic device
WO2018076842A1 (en) Data backup method, device, system, storage medium, and electronic device
WO2018161576A1 (en) Broadcast control method, device, storage medium and mobile terminal
WO2018076888A1 (en) Method, device and system for synchronizing data of mobile terminal, storage medium and mobile terminal

Legal Events

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

Ref document number: 17865092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17865092

Country of ref document: EP

Kind code of ref document: A1