WO2018076869A1 - Data backup method, apparatus, storage medium and electronic device - Google Patents

Data backup method, apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2018076869A1
WO2018076869A1 PCT/CN2017/095628 CN2017095628W WO2018076869A1 WO 2018076869 A1 WO2018076869 A1 WO 2018076869A1 CN 2017095628 W CN2017095628 W CN 2017095628W WO 2018076869 A1 WO2018076869 A1 WO 2018076869A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
data
data backup
electronic device
network
Prior art date
Application number
PCT/CN2017/095628
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 WO2018076869A1 publication Critical patent/WO2018076869A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data backup method, apparatus, storage medium, and electronic device.
  • the personal information of the contact can be stored in the terminal.
  • the terminal may upload the personal information of the contact stored by the terminal to the server, so that the server stores the personal information of the contact, and the user may also obtain the information from the server. Download the personal information of the contact to achieve data synchronization.
  • This backup service is called cloud backup. Cloud backup has many advantages over traditional data backup.
  • the embodiment of the invention provides a data backup method, device, storage medium and electronic device, which can solve the technical problem of low data backup efficiency in the data backup method.
  • an embodiment of the present invention provides a data backup method, including:
  • the embodiment of the present invention further provides a data backup device, including: an instruction receiving module, a determining module, a closing module, and a backup module;
  • the instruction receiving module is configured to receive a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
  • the determining module is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device;
  • the shutdown module is configured to close a network connection of the application
  • the backup module is configured to back up the data to be backed up to a server.
  • the present invention also provides a storage medium having a plurality of instructions stored therein, the instructions being adapted to be loaded by a processor to perform the following steps:
  • an embodiment of the present invention provides an electronic device, 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 data backup method, device, storage medium and electronic device, which can solve the technical problem of low data backup efficiency in the data backup method.
  • FIG. 1 is a schematic flowchart diagram of a data backup method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of another data backup method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another data backup apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
  • the embodiment of the present invention first receives a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, determines an application that is currently using the network in the terminal according to the data backup instruction, and closes the network connection of the application, The data to be backed up is backed up to the server.
  • the invention can automatically interrupt the network connected by the application using the network when the terminal performs data backup, so that the backup of the terminal can maximize the use of the network, thereby improving the efficiency of data backup.
  • the embodiment of the invention provides a data backup method, including:
  • the step of determining, according to the data backup instruction, an application that is currently using the network in the electronic device specifically includes:
  • the step of closing the network connection of the application specifically includes:
  • the step of closing the network connection of the target application specifically includes:
  • the network connection of the target application is closed according to the priority information.
  • the method further includes:
  • the method further includes:
  • the method before the receiving the data backup instruction, the method further includes:
  • the step of determining, according to the data backup instruction, an application currently using the network in the electronic device includes:
  • the application is an application that is currently using the network.
  • the device may be integrated into an electronic device, and the electronic device may be an electronic device with a network connection function, such as a mobile internet device (such as a smart phone or a tablet computer).
  • a network connection function such as a mobile internet device (such as a smart phone or a tablet computer).
  • a data backup method includes: receiving a data backup instruction, indicating the data to be backed up that needs to be backed up, determining, according to the data backup instruction, an application currently using the network in the electronic device, and closing the application The network connection backs up the data to be backed up to the server.
  • FIG. 1 is a schematic flowchart of a data backup method according to an embodiment of the present invention.
  • the data backup method in this embodiment includes:
  • Step S101 receiving a data backup instruction.
  • the data backup instruction indicates the data to be backed up that needs to be backed up, and the data to be backed up may include an address book, a memo, a short message, a chat record, a picture information, a multimedia information, an application usage record, and the like.
  • the data backup instruction may be generated by the electronic device according to a user operation, or may be automatically generated when the data in the electronic device is modified.
  • the mobile electronic device can receive the data backup instruction input by the user, and then perform data backup; or the mobile electronic device generates a data backup instruction according to the preset data backup time, and the mobile electronic device performs the data backup after receiving the internally generated data backup instruction. .
  • a prompt box may pop up to prompt the user to back up the contact information to the server.
  • the user can click the “OK” button on the screen of the electronic device, and the electronic device generates a data backup instruction according to the newly added contact information, and sends the data backup instruction to the server.
  • Step S102 Determine, according to the data backup instruction, an application that is currently using the network in the electronic device.
  • the embodiment may first acquire an application currently running in the electronic device, and then determine an application that uses the network among the running applications.
  • an application in the electronic device that is currently using the network. For example, it is determined whether the amount of data generated by the application during the preset time period is greater than a preset threshold, and if so, the application is determined to be an application that is using the network. For example, the user is using the "browser" application in the mobile phone to perform the download function in the background at a speed of 200 kb/s, and the preset data volume threshold in the mobile phone is 1000 kb. At this time, the application needs to be detected at two different times.
  • the electronic device determines whether the application is performing network transmission. The judgment is based on the amount of data generated between the first time and the second time, that is, within the preset time period. If the data amount is within a certain threshold, it is determined that the application is performing network transmission. It should be noted that the threshold for judging the amount of data can be set by the user according to the requirements. For example, the amount of new data between the first time and the second time of the application in the electronic device is N1, and the threshold is set to 200 kb. If N1 is greater than 200 kb, it is determined that the application is performing network transmission.
  • the amount of data generated in the preset time period of the application is detected by the electronic device, and if the amount of data generated by the application is greater than a preset threshold, the application is determined to be an application that is performing network transmission.
  • This embodiment can effectively prevent the application from being occasionally networked to cause a particularly small amount of data, and thus the application that does not have the network transmission is determined to be an application that is transmitting the network, thereby improving the accuracy of judging that the application is using the network transmission.
  • Step S103 closing the network connection of the application.
  • the network connection of the application is closed, where the shutdown refers only to the networking behavior of the application, and does not close the network connection of the electronic device, but is not related to the connection or shutdown of other applications in the electronic device. Other applications can still be networked.
  • the user may also set a whitelist in the electronic device, and the application in the whitelist allows access to the network by default, and the whitelist is set here in order to make some useful applications in some time periods because Need to consume traffic and default.
  • the whitelist can be set according to the user's needs. For example, when the user downloads a file in the browser and does not want the download task to be interrupted, the browser can be added to the whitelist, and the interrupt system will not close the browser. Internet connection. That is, before the network connection of the application is closed after the application of the network is currently being used in the electronic device according to the data backup instruction, the method in this embodiment may further include:
  • the application includes all applications installed inside the mobile electronic device and plug-ins that are provided on the Internet.
  • the user's own installation or the system's own applications games, browsers, Weibo, WeChat, anti-virus software.
  • Step S104 backing up the data to be backed up to the server.
  • the data to be backed up in the data backup instruction is stored in a storage area corresponding to the server.
  • the backup data may be subjected to deduplication processing according to the historical backup data stored in the server to obtain the target to be backed up data, and then the target to be backed up data is stored as a server.
  • the method for performing deduplication processing on the backup data according to the historical backup data may be various.
  • the data to be backed up may be divided into multiple sub-data according to a certain preset rule, and then it is determined whether the sub-data has the same data sample in the historical backup data, and if so, the sub-data is determined to be a repetitive sub-data. If it does not exist, it is determined that the sub data is the target data to be backed up that needs to be backed up. Then, the duplicate sub-data in the data to be backed up is deleted, and the remaining data after the deletion is the target data to be backed up that needs to be backed up.
  • the foregoing preset rule may be divided according to a data type, or according to a data size or the like.
  • determining whether the subdata is the same as the historical backup data may be implemented by using a hash value.
  • the hash value is a value obtained by logical operation based on the data of the contents of the file. Different files (even the same file name) get different hash values. So the hash value becomes the ID of each file.
  • the hash value of the sub-data may be obtained, and compared with the hash value of the historical backup data to check whether there is an identical item, and if yes, the same item is determined to be a duplicate sub-data and deleted to obtain the deletion. After the target to be backed up data.
  • the data to be backed up contains 10 sub-data
  • the data that has been backed up in the backup data can be deleted, and the data to be backed up that needs to be backed up is simplified. While saving server resources, the backup process of electronic devices is made more rapid, further improving the efficiency of data backup.
  • the data backup method provided in this embodiment can receive a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, and the application that is currently using the network in the electronic device is determined according to the data backup instruction, and is closed.
  • the network connection of the application backs up the data to be backed up to the server.
  • the invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
  • the method of the embodiment does not need to increase the hardware cost, and has the advantages of simple implementation and low cost.
  • the backup data needs to be uploaded to the cloud server and saved by the cloud server.
  • the process requires network support, and the more backup data, the higher the requirements for network connectivity.
  • a large number of applications are often installed in electronic devices, and a large part of them need to be connected to the network to be used normally.
  • other applications may cause a backup process due to occupying a large amount of network resources. It is slower. Therefore, the present invention provides a data backup method, which can determine an application that is using the network during data backup, and closes its network connection, thereby improving the efficiency of data backup.
  • FIG. 2 is a schematic flowchart of another data backup according to an embodiment of the present invention.
  • step S201 the smart phone receives a data backup instruction.
  • the data backup instruction may be generated by the smart phone according to a user operation, or may be automatically generated when the data in the mobile phone is modified.
  • the smart phone can receive the data backup instruction input by the user, and then perform the data backup; or the data backup instruction is generated inside the smart phone according to the preset data backup time, and the mobile phone performs the data backup after receiving the internally generated data backup instruction.
  • Step S202 The smart phone determines, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set.
  • the method for determining that the smart phone is currently using all the applications of the network may also be various, such as determining whether the amount of data generated by the application in the mobile phone within a preset time period is greater than a preset threshold, and if so, determining The application is an application that is using the network and is added to the application collection.
  • Step S203 The smart phone acquires data flow information corresponding to the backup data.
  • the data to be backed up in the smart phone may include an address book, a memo, a short message, a chat record, a picture information, a multimedia information, and an application usage record, etc., in this step, the data traffic of the data to be backed up may be calculated, and the unit may be kb. Or M.
  • Step S204 The smartphone determines, in the application set, the target application that needs to be shut down according to the data traffic information.
  • the data to be backed up is relatively small, for example, only a few contact information, it is not necessary to close the network connection of all the applications being networked in the mobile phone during backup. Therefore, several data traffic ranges can be set in advance, as well as preset applications corresponding to each range. First, the data traffic range corresponding to the data traffic of the data to be backed up is determined, and then the preset application corresponding to the range is determined to be the target application.
  • Step S205 The smart phone acquires priority information corresponding to the target application.
  • priority information may also be set to the target application.
  • the priority information may be set according to the usage of the data amount in the preset time period by the application, for example, the amount of data used by the target application in the 15S is obtained. The most data is set to the highest priority, and the least amount of data is set to the lowest priority. It should be noted that, in other embodiments, the priority information may also be set by the user according to actual needs.
  • step S206 the smartphone closes the network connection of the target application according to the priority information.
  • the network connection of the target application may also be determined whether the current CPU load status of the electronic device meets a preset condition
  • the target application can be closed through the system application programming interface (Application Programming Interface, API for short) to terminate the application main process and all the daemons and derived independent sub-processes associated with the reference program, and release the cache occupied by the application.
  • API Application Programming Interface
  • step S207 the smartphone backs up the data to be backed up to the server.
  • the network connection of the target application is closed and the backup is completed, the network connection of the target application is restored.
  • the closed application can be restarted after the backup is completed.
  • the data backup method provided by the embodiment can receive the data backup instruction, determine all the applications currently used by the network in the electronic device according to the data backup instruction, to obtain the application set, and obtain the data flow information corresponding to the backup data.
  • the target application that needs to be closed in the network is determined in the application set, and then the mobile phone obtains the priority information corresponding to the target application, and according to the priority information, closes the network connection of the target application, and the data to be backed up is to be backed up.
  • the invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
  • the method of the embodiment does not need to increase the hardware cost, and has the advantages of simple implementation and low cost.
  • the embodiment of the present invention further provides an apparatus based on the foregoing data backup method.
  • the meaning of the noun is the same as that in the data backup method described above.
  • the embodiment of the invention provides a data backup device, comprising: an instruction receiving module, a determining module, a network closing module and a backup module;
  • the instruction receiving module is configured to receive a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
  • the determining module is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device;
  • the network shutdown module is configured to close a network connection of the application
  • the backup module is configured to back up the data to be backed up to a server.
  • the determining module is specifically configured to determine, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
  • the network shutdown module specifically includes an acquisition submodule, a determination submodule, and a shutdown submodule;
  • the obtaining submodule is configured to acquire data traffic information corresponding to the backup data
  • the determining submodule is configured to determine, in the application set, a target application that needs to be shut down according to the data traffic information;
  • the shutdown submodule is configured to close a network connection of the target application.
  • the closing sub-module is specifically configured to acquire priority information corresponding to the target application, and close the network connection of the target application according to the priority information.
  • the device further includes: a first determining module
  • the first determining module is configured to determine, after the determining module determines, according to the data backup instruction, that an application of the network is currently being used in the electronic device, before the network closing module closes the network connection of the application, Whether there is an application in the application collection that is the same as the application;
  • the network shutdown module is specifically configured to: when the first determining module determines to be no, close the network connection of the application.
  • the device further includes: a second determining module and an application closing module;
  • the second determining module is configured to determine, after the network shutdown module closes the network connection of the application, the backup module, before backing up the data to be backed up to the server, determining a current CPU load status of the electronic device. Whether the preset conditions are met;
  • the application closing module is configured to close the target application when the second determining module determines that the determination is yes.
  • FIG. 3 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
  • the data backup device 30 includes an instruction receiving module 301, a determining module 302, a closing module 303, and a backup module 304.
  • the instruction receiving module 301 is configured to receive a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up.
  • the determining module 302 is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device.
  • the closing module 303 is configured to close the network connection of the application.
  • the backup module 304 is configured to back up the data to be backed up to the server.
  • the data backup device 30 may further include: a determining module 305;
  • the determining module 305 is configured to determine, after the determining module 302 determines, according to the data backup instruction, that the application of the network is currently being used in the electronic device, before the closing module 303 closes the network connection of the application, determining the preset application. Whether there is the same application in the program collection as the application.
  • the closing module 303 is specifically configured to: when the determining module determines to be no, close the network connection of the application.
  • the determining module 302 is specifically configured to determine, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set.
  • the closing module 303 in the apparatus provided in this embodiment may specifically include: an obtaining submodule 3031, a determining submodule 3032, and a closing submodule 3033.
  • the obtaining submodule 3031 is configured to obtain data traffic information corresponding to the backup data.
  • the determining submodule 3032 is configured to determine, in the application set, a target application that needs to be shut down according to the data traffic information.
  • the sub-module 3033 is closed for closing the network connection of the target application.
  • closing sub-module 3033 is specifically configured to acquire priority information corresponding to the target application, and close the network connection of the target application according to the priority information.
  • the data backup device can receive the data backup instruction by the instruction receiving module 301, the data backup instruction indicates the data to be backed up that needs to be backed up, and the determining module 302 determines the electronic device according to the data backup instruction.
  • the application of the network is currently being used, the shutdown module 303 closes the network connection of the application, and the backup module 304 backs up the data to be backed up to the server.
  • the invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
  • the invention also provides an electronic device, such as a mobile electronic device such as a tablet computer or a mobile phone.
  • the electronic device 500 includes a processor 501, a memory 502, a display screen 503, and a control circuit 504.
  • the processor 501 is electrically connected to the memory 502, the display screen 503, and the control circuit 504, respectively.
  • the processor 501 is a control center of the electronic device 500, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic by running or loading an application stored in the memory 502, and calling data stored in the memory 502.
  • the various functions and processing data of the device enable overall monitoring of the electronic device.
  • the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more applications into the memory 502 according to the following steps, and is stored and stored in the memory 502 by the processor 501.
  • the application thus implementing various functions:
  • the processor 501 when the application of the network currently being used in the electronic device is determined according to the data backup instruction, the processor 501 is configured to perform the following steps:
  • the processor is configured to perform the following steps:
  • the processor 501 when the network connection of the target application is closed, the processor 501 is configured to perform the following steps:
  • the processor 501 is further configured to perform the following steps:
  • the processor 501 is further configured to perform the following steps:
  • the processor 501 before receiving the data backup instruction, is further configured to perform the following steps:
  • the processor 501 when the application of the network currently being used in the electronic device is determined according to the data backup instruction, the processor 501 is configured to perform the following steps:
  • the application is an application that is currently using the network.
  • Memory 502 can be used to store applications and data.
  • the application stored in the memory 502 contains instructions executable in the processor.
  • Applications can form various functional modules.
  • the processor 501 executes various functional applications and data processing by running an application stored in the memory 502.
  • the display screen 503 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 electronic device, which can be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 504 is electrically connected to the display screen 503 for controlling the display screen 503 to display information.
  • the electronic device 500 further includes a radio frequency circuit 505, an input unit 506, an audio circuit 507, a sensor 508, and a power source 509.
  • the processor 501 is electrically connected to the radio frequency circuit 505, the input unit 506, the audio circuit 507, the sensor 508, and the power source 509, respectively.
  • the radio frequency circuit 505 is used for transmitting and receiving radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the input unit 506 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls.
  • the input unit 506 can include a fingerprint identification module.
  • the audio circuit 507 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • Sensor 508 is used to collect external environmental information.
  • Sensor 508 can include one or more of ambient brightness sensors, acceleration sensors, gyroscopes, and the like.
  • Power source 509 is used to power various components of electronic device 500.
  • the power supply 509 can be logically coupled to the processor 501 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the electronic device receives a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, determines an application that is currently using the network in the electronic device according to the data backup instruction, and closes the application. Network connection, backing up the data to be backed up to the server.
  • the invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
  • Embodiments of the present invention provide a storage medium in which a plurality of instructions are stored, the instructions being adapted to be loaded by a processor to perform the following steps:
  • ROM read only memory
  • RAM Random Access Memory
  • the data backup method, device, storage medium and electronic device 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 or separately. Or more than two modules are integrated in 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A data backup method, apparatus, storage medium and electronic device. Said data backup method comprises: receiving a data backup instruction (S101); said data backup instruction indicating data to be backed up for which data backup is required, and determining, according to said data backup instruction, an application program in a terminal which is currently using a network (S102); closing a network connection of said application program (S103); and backing up said data to be backed up to a server (S104).

Description

一种数据备份方法、装置、存储介质和电子设备 Data backup method, device, storage medium and electronic device
本申请要求于2016年10月25日提交中国专利局、申请号为201610942042.6、发明名称为“一种数据备份方法、装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610942042.6, entitled "A Data Backup Method, Apparatus, and Terminal" on October 25, 2016, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及通信技术领域,具体涉及一种数据备份方法、装置、存储介质和电子设备。The present invention relates to the field of communications technologies, and in particular, to a data backup method, apparatus, storage medium, and electronic device.
背景技术Background technique
随着通信技术的发展,智能终端已经成为人们日常生活中必不可少的通信工具。用户通过终端进行通信业务过程中,可以将联系人的个人信息存储到终端中。为了防止用户由于丢失终端或更换终端导致的联系人的个人信息的丢失,终端可以向服务器上传终端所存储的联系人的个人信息,以使服务器存储上述联系人的个人信息,用户也可以从服务器下载联系人的个人信息,从而实现数据同步,这种备份服务就叫做云备份。和传统的数据备份相比,云备份有着诸多优点。With the development of communication technology, intelligent terminals have become an indispensable communication tool in people's daily life. During the communication service of the user through the terminal, the personal information of the contact can be stored in the terminal. In order to prevent the loss of personal information of the contact caused by the user losing the terminal or replacing the terminal, the terminal may upload the personal information of the contact stored by the terminal to the server, so that the server stores the personal information of the contact, and the user may also obtain the information from the server. Download the personal information of the contact to achieve data synchronization. This backup service is called cloud backup. Cloud backup has many advantages over traditional data backup.
技术问题technical problem
本发明实施例提供一种数据备份方法、装置、存储介质和电子设备,可以解决数据备份方法中数据备份效率低的技术问题。The embodiment of the invention provides a data backup method, device, storage medium and electronic device, which can solve the technical problem of low data backup efficiency in the data backup method.
技术解决方案Technical solution
第一方面,本发明实施例提供一种数据备份方法,包括:In a first aspect, an embodiment of the present invention provides a data backup method, including:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
第二方面,本发明实施例还提供了一种数据备份装置,包括:指令接收模块、确定模块、关闭模块以及备份模块;In a second aspect, the embodiment of the present invention further provides a data backup device, including: an instruction receiving module, a determining module, a closing module, and a backup module;
所述指令接收模块,用于接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;The instruction receiving module is configured to receive a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
所述确定模块,用于根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;The determining module is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device;
所述关闭模块,用于关闭所述应用程序的网络连接;The shutdown module is configured to close a network connection of the application;
所述备份模块,用于将所述待备份数据备份至服务器。The backup module is configured to back up the data to be backed up to a server.
第三方面,本发明还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:In a third aspect, the present invention also provides a storage medium having a plurality of instructions stored therein, the instructions being adapted to be loaded by a processor to perform the following steps:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
第四方面,本发明实施例提供一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:In a fourth aspect, an embodiment of the present invention provides an electronic device, 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:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
有益效果 Beneficial effect
本发明实施例提供一种数据备份方法、装置、存储介质和电子设备,可以解决数据备份方法中数据备份效率低的技术问题。The embodiment of the invention provides a data backup method, device, storage medium and electronic device, which can solve the technical problem of low data backup efficiency in the data backup method.
附图说明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 flowchart diagram of a data backup method according to an embodiment of the present invention.
图2为本发明实施例提供的另一种数据备份方法的流程示意图。FIG. 2 is a schematic flowchart diagram of another data backup method according to an embodiment of the present invention.
图3为本发明实施例提供的数据备份装置的结构示意图。FIG. 3 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
图4为本发明实施例提供的另一种数据备份装置的结构示意图。FIG. 4 is a schematic structural diagram of another data backup apparatus according to an embodiment of the present invention.
图5为本发明实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
图6为本发明实施例提供的另一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of another electronic device 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 embodiment of the present invention first receives a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, determines an application that is currently using the network in the terminal according to the data backup instruction, and closes the network connection of the application, The data to be backed up is backed up to the server. The invention can automatically interrupt the network connected by the application using the network when the terminal performs data backup, so that the backup of the terminal can maximize the use of the network, thereby improving the efficiency of data backup.
本发明实施例提供一种数据备份方法,包括:The embodiment of the invention provides a data backup method, including:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
一实施例中,所述根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序的步骤具体包括:In an embodiment, the step of determining, according to the data backup instruction, an application that is currently using the network in the electronic device, specifically includes:
根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;Determining, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
所述关闭所述应用程序的网络连接的步骤具体包括:The step of closing the network connection of the application specifically includes:
获取所述备份数据所对应的数据流量信息;Obtaining data flow information corresponding to the backup data;
根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;Determining, in the application set, a target application that needs to be shut down according to the data flow information;
关闭所述目标应用程序的网络连接。Close the network connection of the target application.
一实施例中,所述关闭所述目标应用程序的网络连接的步骤具体包括:In an embodiment, the step of closing the network connection of the target application specifically includes:
获取所述目标应用程序所对应的优先级信息;Obtaining priority information corresponding to the target application;
根据所述优先级信息,关闭所述目标应用程序的网络连接。The network connection of the target application is closed according to the priority information.
一实施例中,在根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,关闭所述应用程序的网络连接之前,所述方法还包括:In an embodiment, after determining, according to the data backup instruction, that an application of the network is currently being used in the electronic device, before closing the network connection of the application, the method further includes:
判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;Determining whether there is an application in the preset application set that is the same as the application;
若不存在,则执行关闭所述应用程序的网络连接的步骤。If not, perform the step of closing the network connection of the application.
一实施例中,在关闭所述目标应用程序的网络连接之后,在将所述待备份数据备份至服务器之前,所述方法还包括:In an embodiment, after the network connection of the target application is closed, before the data to be backed up is backed up to the server, the method further includes:
判断所述电子设备当前的CPU负载状态是否满足预设条件;Determining whether the current CPU load status of the electronic device meets a preset condition;
若是,则关闭所述目标应用程序。If so, the target application is closed.
一实施例中,在所述接收数据备份指令之前,所述方法还包括:In an embodiment, before the receiving the data backup instruction, the method further includes:
检测电子设备中的目标数据是否被修改;Detecting whether the target data in the electronic device is modified;
若是,则根据所述被修改的目标数据生成数据备份指令。If yes, a data backup instruction is generated according to the modified target data.
一实施例中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序的步骤包括:In an embodiment, the step of determining, according to the data backup instruction, an application currently using the network in the electronic device includes:
根据所述数据备份指令确定电子设备中当前正在运行的应用程序;Determining an application currently running in the electronic device according to the data backup instruction;
判断所述当前正在运行的应用程序在预设时间段内产生的数据量是否大于预设阈值;Determining whether the amount of data generated by the currently running application in the preset time period is greater than a preset threshold;
若是,则确定所述应用程序为当前正在使用网络的应用程序。If so, it is determined that the application is an application that is currently using the network.
以下将分别进行详细说明。The details will be described separately below.
本实施例将从数据备份装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑)等具备连接网络功能的电子设备。This embodiment is described from the perspective of a data backup device. The device may be integrated into an electronic device, and the electronic device may be an electronic device with a network connection function, such as a mobile internet device (such as a smart phone or a tablet computer).
一种数据备份方法,包括:接收数据备份指令,所述数据备份指令指示需要备份的待备份数据,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序,关闭所述应用程序的网络连接,将所述待备份数据备份至服务器。A data backup method includes: receiving a data backup instruction, indicating the data to be backed up that needs to be backed up, determining, according to the data backup instruction, an application currently using the network in the electronic device, and closing the application The network connection backs up the data to be backed up to the server.
请参阅图1,图1为本发明实施例提供的一种数据备份方法的流程示意图,本实施例的数据备份方法包括: Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a data backup method according to an embodiment of the present invention. The data backup method in this embodiment includes:
步骤S101,接收数据备份指令。Step S101, receiving a data backup instruction.
其中,该数据备份指令指示需要备份的待备份数据,该待备份数据可以包括通讯录、备忘录、短信、聊天记录、图片信息、多媒体信息和应用程序使用记录等等。The data backup instruction indicates the data to be backed up that needs to be backed up, and the data to be backed up may include an address book, a memo, a short message, a chat record, a picture information, a multimedia information, an application usage record, and the like.
在本发明实施例当中,上述数据备份指令可以为电子设备根据用户操作生成的,也可以为电子设备中的数据被修改时自动生成的。移动电子设备可接收用户输入的数据备份指令,之后执行数据备份;或者移动电子设备内部根据预设的数据备份时刻产生数据备份指令,移动电子设备接收到内部产生的数据备份指令后,执行数据备份。In the embodiment of the present invention, the data backup instruction may be generated by the electronic device according to a user operation, or may be automatically generated when the data in the electronic device is modified. The mobile electronic device can receive the data backup instruction input by the user, and then perform data backup; or the mobile electronic device generates a data backup instruction according to the preset data backup time, and the mobile electronic device performs the data backup after receiving the internally generated data backup instruction. .
比如,用户在电子设备上新增一个联系人信息时,可以弹出一个提示框提示用户是否将该联系人信息备份至服务器。用户可以点击电子设备屏幕中的“确定”按钮,此时该电子设备则根据上述新增的联系人信息生成数据备份指令,并发送至服务器。For example, when a user adds a contact information to an electronic device, a prompt box may pop up to prompt the user to back up the contact information to the server. The user can click the “OK” button on the screen of the electronic device, and the electronic device generates a data backup instruction according to the newly added contact information, and sends the data backup instruction to the server.
步骤S102,根据数据备份指令确定电子设备中当前正在使用网络的应用程序。Step S102: Determine, according to the data backup instruction, an application that is currently using the network in the electronic device.
目前的智能手机中,各种与网络连接的应用程序基于抢占式的方法来各取所需。因此,当智能手机中同时运行多个与网络连接的应用程序时,各应用程序的用户网络体验具有不确定性。例如用户在刷新微博的过程中,后台有程序在访问服务器更新天气信息,google账户在同步账户信息,同时后台在线音乐又处于音乐缓冲过程中等。In current smartphones, various network-connected applications are based on a preemptive approach. Therefore, when multiple applications connected to the network are running simultaneously in a smartphone, the user network experience of each application is uncertain. For example, in the process of refreshing the microblog, the user has a program in the background to update the weather information, the google account is synchronizing the account information, and the background online music is in the middle of the music buffer process.
优选地,考虑到未运行的应用程序必定不会使用网络,所以本实施例可以先获取电子设备中当前正在运行的应用程序,然后在正在运行的应用程序当中确定使用网络的应用程序。Preferably, in consideration of the fact that the non-running application must not use the network, the embodiment may first acquire an application currently running in the electronic device, and then determine an application that uses the network among the running applications.
进一步地,确定电子设备中当前正在使用网络的应用程序的方法也可以有多种。例如判断应用程序在预设时间段内产生的数据量是否大于预设阈值,若是,则确定该应用程序为正在使用网络的应用程序。比如,用户正在后台使用手机中的“浏览器”应用程序执行下载功能,速度为200kb/s,手机中预设的数据量阀值为1000kb,此时,需在不同的两个时刻分别检测应用程序产生的流量情况,两个时刻间隔可以设置为15秒,则在此时间间隔内产生的流量总数为15S×200kb/s =3000kb,则判断“浏览器”为正在访问网络的应用程序。Further, there may be various methods for determining an application in the electronic device that is currently using the network. For example, it is determined whether the amount of data generated by the application during the preset time period is greater than a preset threshold, and if so, the application is determined to be an application that is using the network. For example, the user is using the "browser" application in the mobile phone to perform the download function in the background at a speed of 200 kb/s, and the preset data volume threshold in the mobile phone is 1000 kb. At this time, the application needs to be detected at two different times. The traffic generated by the program, the two time intervals can be set to 15 seconds, the total number of traffic generated during this time interval is 15S × 200kb / s =3000kb, it is judged that the "browser" is an application that is accessing the network.
本步骤中,电子设备判断应用程序是否正在进行网络传输。判断依据是第一时刻与第二时刻间也即预设时间段内产生的数据量,若该数据量介于一定阀值之内,则判断应用程序正在进行网络传输。需要说明的是,判断数据量的阀值可以由用户根据需求自行设定。例如:电子设备中应用程序在第一时刻与第二时刻间的新增数据量为N1,设定阀值为200kb,若N1大于200kb,则判断该应用程序正在进行网络传输。In this step, the electronic device determines whether the application is performing network transmission. The judgment is based on the amount of data generated between the first time and the second time, that is, within the preset time period. If the data amount is within a certain threshold, it is determined that the application is performing network transmission. It should be noted that the threshold for judging the amount of data can be set by the user according to the requirements. For example, the amount of new data between the first time and the second time of the application in the electronic device is N1, and the threshold is set to 200 kb. If N1 is greater than 200 kb, it is determined that the application is performing network transmission.
本实施例通过电子设备检测应用程序预设时间段内产生的数据量,如果该应用程序产生的数据量大于预设阀值,则判断该应用程序为正在进行网络传输的应用程序。本实施例能够有效地避免应用程序偶尔联网导致特别小的数据量,因而将没有网络传输的应用程序判断为正在进行网络传输的应用程序,从而提高了判断应用程序正在使用网络传输的准确性。In this embodiment, the amount of data generated in the preset time period of the application is detected by the electronic device, and if the amount of data generated by the application is greater than a preset threshold, the application is determined to be an application that is performing network transmission. This embodiment can effectively prevent the application from being occasionally networked to cause a particularly small amount of data, and thus the application that does not have the network transmission is determined to be an application that is transmitting the network, thereby improving the accuracy of judging that the application is using the network transmission.
步骤S103,关闭所述应用程序的网络连接。Step S103, closing the network connection of the application.
在本发明实施例中,关闭上述应用程序的网络连接,此处的关闭仅仅指应用程序的联网行为,并非关闭电子设备的网络连接,而与电子设备中其他的应用程序的连接或关闭无关,其他应用程序仍可进行联网。In the embodiment of the present invention, the network connection of the application is closed, where the shutdown refers only to the networking behavior of the application, and does not close the network connection of the electronic device, but is not related to the connection or shutdown of other applications in the electronic device. Other applications can still be networked.
考虑到有些应用程序会自动联网,也可以将上述应用程序加入黑名单,黑名单中的应用程序不允许自动联网,除非用户将该应用程序从黑名单中删除才能再次进行联网。Considering that some applications are automatically networked, you can also blacklist the above applications. Blacklisted applications do not allow automatic networking unless the user removes the application from the blacklist to be networked again.
需要说明的是,本实施例中用户还可以在电子设备中设置一个白名单,白名单中的应用程序默认允许访问网络,此处设置白名单为了使有些有用的应用程序在某些时间段因为需要而必须消耗流量而默认的。该白名单可以根据用户需求自行设置,比如用户在浏览器中下载文件时,不想要该下载任务中断,则可以将该浏览器加入白名单当中,此时中断系统将不会关闭该浏览器的网络连接。也即,在根据数据备份指令确定电子设备中当前正在使用网络的应用程序之后,关闭应用程序的网络连接之前,本实施例方法还可以包括:It should be noted that, in this embodiment, the user may also set a whitelist in the electronic device, and the application in the whitelist allows access to the network by default, and the whitelist is set here in order to make some useful applications in some time periods because Need to consume traffic and default. The whitelist can be set according to the user's needs. For example, when the user downloads a file in the browser and does not want the download task to be interrupted, the browser can be added to the whitelist, and the interrupt system will not close the browser. Internet connection. That is, before the network connection of the application is closed after the application of the network is currently being used in the electronic device according to the data backup instruction, the method in this embodiment may further include:
判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;Determining whether there is an application in the preset application set that is the same as the application;
若不存在,则执行关闭所述应用程序的网络连接的步骤。If not, perform the step of closing the network connection of the application.
所述的应用程序包括移动电子设备内部安装的所有应用程序及互联网上自带的插件。例如用户本身自己安装或系统自带的应用程序,游戏、浏览器、微博、微信、杀毒软件等。The application includes all applications installed inside the mobile electronic device and plug-ins that are provided on the Internet. For example, the user's own installation or the system's own applications, games, browsers, Weibo, WeChat, anti-virus software.
步骤S104,将所述待备份数据备份至服务器。Step S104, backing up the data to be backed up to the server.
具体地,将数据备份指令当中的待备份数据存储至服务器对应的存储区域内。优选地,可以根据服务器中存储的历史备份数据对待备份数据进行去重处理,以得到目标待备份数据,然后将该目标待备份数据存储成服务器。Specifically, the data to be backed up in the data backup instruction is stored in a storage area corresponding to the server. Preferably, the backup data may be subjected to deduplication processing according to the historical backup data stored in the server to obtain the target to be backed up data, and then the target to be backed up data is stored as a server.
其中,上述根据历史备份数据对待备份数据进行去重处理的方法可以有多种。比如可以将待备份数据根据一定的预设规则划分为多个子数据,然后判断所述子数据在历史备份数据当中是否存在相同的数据样本,若存在,则确定该子数据为重复子数据,若不存在,则确定该子数据为需要备份的目标待备份数据。然后删除待备份数据中的重复子数据,删除后剩下的数据即为需要备份的目标待备份数据。其中,上述预设规则可以为根据数据类型划分,或者根据数据大小等等。The method for performing deduplication processing on the backup data according to the historical backup data may be various. For example, the data to be backed up may be divided into multiple sub-data according to a certain preset rule, and then it is determined whether the sub-data has the same data sample in the historical backup data, and if so, the sub-data is determined to be a repetitive sub-data. If it does not exist, it is determined that the sub data is the target data to be backed up that needs to be backed up. Then, the duplicate sub-data in the data to be backed up is deleted, and the remaining data after the deletion is the target data to be backed up that needs to be backed up. The foregoing preset rule may be divided according to a data type, or according to a data size or the like.
具体的,判断子数据是否与历史备份数据相同可以通过哈希值来实现。哈希值是根据文件的内容的数据通过逻辑运算得到的数值, 不同的文件(即使是相同的文件名)得到的哈希值是不同的, 所以哈希值就成了每一个文件的身份证。具体的,可以获取子数据的哈希值,并将其与历史备份数据的哈希值进行对比,查看是否有相同项,若是,则确定该相同项为重复子数据并进行删除,以得到删除后的目标待备份数据。Specifically, determining whether the subdata is the same as the historical backup data may be implemented by using a hash value. The hash value is a value obtained by logical operation based on the data of the contents of the file. Different files (even the same file name) get different hash values. So the hash value becomes the ID of each file. Specifically, the hash value of the sub-data may be obtained, and compared with the hash value of the historical backup data to check whether there is an identical item, and if yes, the same item is determined to be a duplicate sub-data and deleted to obtain the deletion. After the target to be backed up data.
例如,待备份数据中包含10个子数据,那么首先确定该10个子数据是否已经备份,如果有6个子数据已经备份,也即重复子数据,则对于剩余的4个子数据,确定为目标待备份数据,并将这4个子数据备份至服务器的存储介质当中。这样可以将对备份数据当中已经备份过的数据进行删除,精简了需要备份的目标待备份数据。在节约服务器资源的同时,使得电子设备的备份过程更加迅速,进一步提升了数据备份的效率。For example, if the data to be backed up contains 10 sub-data, firstly, it is determined whether the 10 sub-data has been backed up. If 6 sub-data has been backed up, that is, the sub-data is repeated, the remaining 4 sub-data are determined as the target data to be backed up. And back up these 4 sub-data to the storage medium of the server. In this way, the data that has been backed up in the backup data can be deleted, and the data to be backed up that needs to be backed up is simplified. While saving server resources, the backup process of electronic devices is made more rapid, further improving the efficiency of data backup.
由上可知,本实施例提供的数据备份方法可以接收数据备份指令,所述数据备份指令指示需要备份的待备份数据,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序,关闭所述应用程序的网络连接,将所述待备份数据备份至服务器。本发明能够在电子设备进行数据备份时,自动中断使用网络的应用程序所连接的网络,使电子设备的备份能够最大化的使用网络,从而提高数据备份的效率。另一方面,本实施例方法无需增加硬件成本,还具有实施简单、成本低的优点。It can be seen that the data backup method provided in this embodiment can receive a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, and the application that is currently using the network in the electronic device is determined according to the data backup instruction, and is closed. The network connection of the application backs up the data to be backed up to the server. The invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup. On the other hand, the method of the embodiment does not need to increase the hardware cost, and has the advantages of simple implementation and low cost.
根据上一实施例的描述,以下将对对本发明的数据备份方法举例作进一步详细说明。According to the description of the previous embodiment, an example of the data backup method of the present invention will be further described in detail below.
首先,在电子设备进行数据备份时,需要将备份数据上传至云服务器,并由云服务器进行保存。而该过程是需要网络支持的,并且备份数据越多,就会对网络连接的要求越高。然而现在的电子设备当中往往安装了大量的应用程序,其中的一大部分都需要连接网络才能正常使用,当电子设备在进行数据备份时,其他应用程序由于占用大量的网络资源就会导致备份过程较为缓慢。因此本发明提供一种数据备份方法,可以确定在数据备份时正在使用网络的应用程序,并关闭其网络连接,提升了数据备份的效率。First, when the electronic device performs data backup, the backup data needs to be uploaded to the cloud server and saved by the cloud server. The process requires network support, and the more backup data, the higher the requirements for network connectivity. However, a large number of applications are often installed in electronic devices, and a large part of them need to be connected to the network to be used normally. When the electronic device is backing up data, other applications may cause a backup process due to occupying a large amount of network resources. It is slower. Therefore, the present invention provides a data backup method, which can determine an application that is using the network during data backup, and closes its network connection, thereby improving the efficiency of data backup.
请参阅图2,图2为本发明实施例提供的另一种数据备份的流程示意图,以智能手机为例进行说明,包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of another data backup according to an embodiment of the present invention.
步骤S201,智能手机接收数据备份指令。In step S201, the smart phone receives a data backup instruction.
其中,该数据备份指令可以为智能手机根据用户操作生成的,也可以为手机中的数据被修改时自动生成的。智能手机可接收用户输入的数据备份指令,之后执行数据备份;或者智能手机内部根据预设的数据备份时刻产生数据备份指令,手机接收到内部产生的数据备份指令后,执行数据备份。The data backup instruction may be generated by the smart phone according to a user operation, or may be automatically generated when the data in the mobile phone is modified. The smart phone can receive the data backup instruction input by the user, and then perform the data backup; or the data backup instruction is generated inside the smart phone according to the preset data backup time, and the mobile phone performs the data backup after receiving the internally generated data backup instruction.
步骤S202,智能手机根据数据备份指令确定电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合。Step S202: The smart phone determines, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set.
本实施例中智能手机确定当前正在使用网络的全部应用程序的方法也可以有多种,比如判断手机中的应用程序在预设时间段内产生的数据量是否大于预设阈值,若是,则确定该应用程序为正在使用网络的应用程序,并将其添加至应用程序集合中。In this embodiment, the method for determining that the smart phone is currently using all the applications of the network may also be various, such as determining whether the amount of data generated by the application in the mobile phone within a preset time period is greater than a preset threshold, and if so, determining The application is an application that is using the network and is added to the application collection.
步骤S203,智能手机获取备份数据所对应的数据流量信息。Step S203: The smart phone acquires data flow information corresponding to the backup data.
智能手机中的待备份数据可以包括通讯录、备忘录、短信、聊天记录、图片信息、多媒体信息和应用程序使用记录等等,在该步骤中可以计算上述待备份数据的数据流量,单位可以为kb或者M。The data to be backed up in the smart phone may include an address book, a memo, a short message, a chat record, a picture information, a multimedia information, and an application usage record, etc., in this step, the data traffic of the data to be backed up may be calculated, and the unit may be kb. Or M.
步骤S204,智能手机根据数据流量信息在应用程序集合当中确定需要关闭网络的目标应用程序。Step S204: The smartphone determines, in the application set, the target application that needs to be shut down according to the data traffic information.
在实际应用当中,若待备份数据比较小,例如仅仅为几个联系人信息,在备份时则无需关闭手机中全部正在联网的应用程序的网络连接。因此可以预先设置几个数据流量范围,以及每个范围所对应的预设应用程序。首先确定待备份数据的数据流量所对应的数据流量范围,然后,确定该范围对应的预设应用程序为目标应用程序。In practical applications, if the data to be backed up is relatively small, for example, only a few contact information, it is not necessary to close the network connection of all the applications being networked in the mobile phone during backup. Therefore, several data traffic ranges can be set in advance, as well as preset applications corresponding to each range. First, the data traffic range corresponding to the data traffic of the data to be backed up is determined, and then the preset application corresponding to the range is determined to be the target application.
步骤S205,智能手机获取目标应用程序所对应的优先级信息。Step S205: The smart phone acquires priority information corresponding to the target application.
本实施例中还可以对目标应用程序设置优先级信息,比如可以根据应用程序在预设时间段内数据量的使用情况设置优先级信息,比如获取目标应用程序在15S内使用的数据量,将数据量最多的设置为最高优先级,数据量最少的就设置为最低优先级。需要说明的是,在其他实施例中,该优先级信息还可以由用户根据实际需求自行设定。In this embodiment, priority information may also be set to the target application. For example, the priority information may be set according to the usage of the data amount in the preset time period by the application, for example, the amount of data used by the target application in the 15S is obtained. The most data is set to the highest priority, and the least amount of data is set to the lowest priority. It should be noted that, in other embodiments, the priority information may also be set by the user according to actual needs.
步骤S206,智能手机根据优先级信息,关闭目标应用程序的网络连接。In step S206, the smartphone closes the network connection of the target application according to the priority information.
优选地,在关闭目标应用程序的网络连接之后,还可以判断所述电子设备当前的CPU负载状态是否满足预设条件;Preferably, after the network connection of the target application is closed, it may also be determined whether the current CPU load status of the electronic device meets a preset condition;
若是,则关闭所述目标应用程序。If so, the target application is closed.
具体地,关闭目标应用程序可以通过系统应用程序编程接口(ApplicationProgrammingInterface,简称:API)结束应用程序主进程以及与此引用程序相关的所有守护进程、派生的独立子进程,同时释放其占用的缓存,以降低手机CPU的负荷。Specifically, the target application can be closed through the system application programming interface (Application Programming Interface, API for short) to terminate the application main process and all the daemons and derived independent sub-processes associated with the reference program, and release the cache occupied by the application. To reduce the load on the phone CPU.
步骤S207,智能手机将待备份数据备份至服务器。In step S207, the smartphone backs up the data to be backed up to the server.
在本发明实施例当中,在关闭目标应用程序的网络连接并备份完毕后,恢复目标应用程序的网路连接。当然,若在数据备份时将目标应用程序关闭,则在备份完成后可以重新启动被关闭的应用程序。In the embodiment of the present invention, after the network connection of the target application is closed and the backup is completed, the network connection of the target application is restored. Of course, if the target application is closed during data backup, the closed application can be restarted after the backup is completed.
由上可知,本实施例提供的数据备份方法可以接收数据备份指令,根据数据备份指令确定电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合,获取备份数据所对应的数据流量信息,根据数据流量信息在应用程序集合当中确定需要关闭网络的目标应用程序,然后手机获取目标应用程序所对应的优先级信息,并根据优先级信息,关闭目标应用程序的网络连接,将待备份数据备份至服务器。本发明能够在电子设备进行数据备份时,自动中断使用网络的应用程序所连接的网络,使电子设备的备份能够最大化的使用网络,从而提高数据备份的效率。另一方面,本实施例方法无需增加硬件成本,还具有实施简单、成本低的优点。It can be seen that the data backup method provided by the embodiment can receive the data backup instruction, determine all the applications currently used by the network in the electronic device according to the data backup instruction, to obtain the application set, and obtain the data flow information corresponding to the backup data. According to the data traffic information, the target application that needs to be closed in the network is determined in the application set, and then the mobile phone obtains the priority information corresponding to the target application, and according to the priority information, closes the network connection of the target application, and the data to be backed up is to be backed up. Back up to the server. The invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup. On the other hand, the method of the embodiment does not need to increase the hardware cost, and has the advantages of simple implementation and low cost.
为便于更好的实施本发明实施例提供的数据备份方法,本发明实施例还提供了一种基于上述数据备份方法的装置。其中名词的含义与上述数据备份方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate the implementation of the data backup method provided by the embodiment of the present invention, the embodiment of the present invention further provides an apparatus based on the foregoing data backup method. The meaning of the noun is the same as that in the data backup method described above. For specific implementation details, refer to the description in the method embodiment.
本发明实施例提供一种数据备份装置,包括:指令接收模块、确定模块、网络关闭模块以及备份模块;The embodiment of the invention provides a data backup device, comprising: an instruction receiving module, a determining module, a network closing module and a backup module;
所述指令接收模块,用于接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;The instruction receiving module is configured to receive a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
所述确定模块,用于根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;The determining module is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device;
所述网络关闭模块,用于关闭所述应用程序的网络连接;The network shutdown module is configured to close a network connection of the application;
所述备份模块,用于将所述待备份数据备份至服务器。The backup module is configured to back up the data to be backed up to a server.
一实施例中,所述确定模块,具体用于根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;In an embodiment, the determining module is specifically configured to determine, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
所述网络关闭模块,具体包括获取子模块、确定子模块以及关闭子模块;The network shutdown module specifically includes an acquisition submodule, a determination submodule, and a shutdown submodule;
所述获取子模块,用于获取所述备份数据所对应的数据流量信息;The obtaining submodule is configured to acquire data traffic information corresponding to the backup data;
所述确定子模块,用于根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;The determining submodule is configured to determine, in the application set, a target application that needs to be shut down according to the data traffic information;
所述关闭子模块,用于关闭所述目标应用程序的网络连接。The shutdown submodule is configured to close a network connection of the target application.
一实施例中,所述关闭子模块,具体用于获取所述目标应用程序所对应的优先级信息,根据所述优先级信息,关闭所述目标应用程序的网络连接。In an embodiment, the closing sub-module is specifically configured to acquire priority information corresponding to the target application, and close the network connection of the target application according to the priority information.
一实施例中,所述装置还包括:第一判断模块;In an embodiment, the device further includes: a first determining module;
所述第一判断模块,用于在所述确定模块根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,所述网络关闭模块关闭所述应用程序的网络连接之前,判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;The first determining module is configured to determine, after the determining module determines, according to the data backup instruction, that an application of the network is currently being used in the electronic device, before the network closing module closes the network connection of the application, Whether there is an application in the application collection that is the same as the application;
所述网络关闭模块具体用于,当所述第一判断模块判断为否时,关闭所述应用程序的网络连接。The network shutdown module is specifically configured to: when the first determining module determines to be no, close the network connection of the application.
一实施例中,所述装置还包括:第二判断模块和应用关闭模块;In an embodiment, the device further includes: a second determining module and an application closing module;
所述第二判断模块,用于在所述网络关闭模块关闭所述应用程序的网络连接之后,所述备份模块将所述待备份数据备份至服务器之前,判断所述电子设备当前的CPU负载状态是否满足预设条件;The second determining module is configured to determine, after the network shutdown module closes the network connection of the application, the backup module, before backing up the data to be backed up to the server, determining a current CPU load status of the electronic device. Whether the preset conditions are met;
所述应用关闭模块,用于当所述第二判断模块判断判断为是时,关闭所述目标应用程序。The application closing module is configured to close the target application when the second determining module determines that the determination is yes.
请参阅图3,图3为本发明实施例提供的数据备份装置的结构示意图。该数据备份装置30包括:指令接收模块301、确定模块302、关闭模块303以及备份模块304。Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention. The data backup device 30 includes an instruction receiving module 301, a determining module 302, a closing module 303, and a backup module 304.
指令接收模块301,用于接收数据备份指令,所述数据备份指令指示需要备份的待备份数据。The instruction receiving module 301 is configured to receive a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up.
确定模块302,用于根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序。The determining module 302 is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device.
关闭模块303,用于关闭所述应用程序的网络连接。The closing module 303 is configured to close the network connection of the application.
备份模块304,用于将所述待备份数据备份至服务器。The backup module 304 is configured to back up the data to be backed up to the server.
在一实施例中,如图4所示,该数据备份装置30还可以包括:判断模块305;In an embodiment, as shown in FIG. 4, the data backup device 30 may further include: a determining module 305;
判断模块305,用于在所述确定模块302根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,所述关闭模块303关闭所述应用程序的网络连接之前,判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序。The determining module 305 is configured to determine, after the determining module 302 determines, according to the data backup instruction, that the application of the network is currently being used in the electronic device, before the closing module 303 closes the network connection of the application, determining the preset application. Whether there is the same application in the program collection as the application.
关闭模块303具体用于,当所述判断模块判断为否时,关闭所述应用程序的网络连接。The closing module 303 is specifically configured to: when the determining module determines to be no, close the network connection of the application.
上述确定模块302,具体用于根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合。The determining module 302 is specifically configured to determine, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set.
本实施例提供的装置中的关闭模块303可以具体包括:获取子模块3031、确定子模块3032以及关闭子模块3033。The closing module 303 in the apparatus provided in this embodiment may specifically include: an obtaining submodule 3031, a determining submodule 3032, and a closing submodule 3033.
获取子模块3031,用于获取所述备份数据所对应的数据流量信息。The obtaining submodule 3031 is configured to obtain data traffic information corresponding to the backup data.
确定子模块3032,用于根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序。The determining submodule 3032 is configured to determine, in the application set, a target application that needs to be shut down according to the data traffic information.
关闭子模块3033,用于关闭所述目标应用程序的网络连接。The sub-module 3033 is closed for closing the network connection of the target application.
进一步地,上述关闭子模块3033,具体用于获取所述目标应用程序所对应的优先级信息,根据所述优先级信息,关闭所述目标应用程序的网络连接。Further, the closing sub-module 3033 is specifically configured to acquire priority information corresponding to the target application, and close the network connection of the target application according to the priority information.
由上可知,本发明实施例提供的数据备份装置可以由指令接收模块301接收数据备份指令,所述数据备份指令指示需要备份的待备份数据,确定模块302根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序,关闭模块303关闭所述应用程序的网络连接,备份模块304将所述待备份数据备份至服务器。本发明能够在电子设备进行数据备份时,自动中断使用网络的应用程序所连接的网络,使电子设备的备份能够最大化的使用网络,从而提高数据备份的效率。It can be seen that the data backup device provided by the embodiment of the present invention can receive the data backup instruction by the instruction receiving module 301, the data backup instruction indicates the data to be backed up that needs to be backed up, and the determining module 302 determines the electronic device according to the data backup instruction. The application of the network is currently being used, the shutdown module 303 closes the network connection of the application, and the backup module 304 backs up the data to be backed up to the server. The invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
本发明还提供一种电子设备,如平板电脑、手机等移动电子设备。如图5所示,该电子设备500包括:处理器501、存储器502、显示屏503以及控制电路504。其中,处理器501分别与存储器502、显示屏503、控制电路504电性连接。The invention also provides an electronic device, such as a mobile electronic device such as a tablet computer or a mobile phone. As shown in FIG. 5, the electronic device 500 includes a processor 501, a memory 502, a display screen 503, and a control circuit 504. The processor 501 is electrically connected to the memory 502, the display screen 503, and the control circuit 504, respectively.
处理器501是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 501 is a control center of the electronic device 500, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic by running or loading an application stored in the memory 502, and calling data stored in the memory 502. The various functions and processing data of the device enable overall monitoring of the electronic device.
在本实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器502中,并由处理器501来运行存储在存储器502中的应用程序,从而实现各种功能:In this embodiment, the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more applications into the memory 502 according to the following steps, and is stored and stored in the memory 502 by the processor 501. In the application, thus implementing various functions:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
在一些实施例中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序时,所述处理器501用于执行以下步骤:In some embodiments, when the application of the network currently being used in the electronic device is determined according to the data backup instruction, the processor 501 is configured to perform the following steps:
根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;Determining, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
关闭所述应用程序的网络连接时,所述处理器用于执行以下步骤:When the network connection of the application is closed, the processor is configured to perform the following steps:
获取所述备份数据所对应的数据流量信息;Obtaining data flow information corresponding to the backup data;
根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;Determining, in the application set, a target application that needs to be shut down according to the data flow information;
关闭所述目标应用程序的网络连接。Close the network connection of the target application.
在一些实施例中,关闭所述目标应用程序的网络连接时,所述处理器501用于执行以下步骤:In some embodiments, when the network connection of the target application is closed, the processor 501 is configured to perform the following steps:
获取所述目标应用程序所对应的优先级信息;Obtaining priority information corresponding to the target application;
根据所述优先级信息,关闭所述目标应用程序的网络连接.Closing the network connection of the target application according to the priority information.
在一些实施例中,在根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,所述处理器501还用于执行以下步骤:In some embodiments, after determining, according to the data backup instruction, that an application of the network is currently being used in the electronic device, the processor 501 is further configured to perform the following steps:
判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;Determining whether there is an application in the preset application set that is the same as the application;
若不存在,则执行关闭所述应用程序的网络连接的步骤。If not, perform the step of closing the network connection of the application.
在一些实施例中,在关闭所述目标应用程序的网络连接之后,所述处理器501还用于执行以下步骤:In some embodiments, after the network connection of the target application is closed, the processor 501 is further configured to perform the following steps:
判断所述电子设备当前的CPU负载状态是否满足预设条件;Determining whether the current CPU load status of the electronic device meets a preset condition;
若是,则关闭所述目标应用程序。If so, the target application is closed.
在一些实施例中,在所述接收数据备份指令之前,所述处理器501还用于执行以下步骤:In some embodiments, before receiving the data backup instruction, the processor 501 is further configured to perform the following steps:
检测电子设备中的目标数据是否被修改;Detecting whether the target data in the electronic device is modified;
若是,则根据所述被修改的目标数据生成数据备份指令。If yes, a data backup instruction is generated according to the modified target data.
在一些实施例中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序时,所述处理器501用于执行以下步骤:In some embodiments, when the application of the network currently being used in the electronic device is determined according to the data backup instruction, the processor 501 is configured to perform the following steps:
根据所述数据备份指令确定电子设备中当前正在运行的应用程序;Determining an application currently running in the electronic device according to the data backup instruction;
判断所述当前正在运行的应用程序在预设时间段内产生的数据量是否大于预设阈值;Determining whether the amount of data generated by the currently running application in the preset time period is greater than a preset threshold;
若是,则确定所述应用程序为当前正在使用网络的应用程序。If so, it is determined that the application is an application that is currently using the network.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可在处理器中执行的指令。应用程序可以组成各种功能模块。处理器501通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。Memory 502 can be used to store applications and data. The application stored in the memory 502 contains instructions executable in the processor. Applications can form various functional modules. The processor 501 executes various functional applications and data processing by running an application stored in the memory 502.
显示屏503可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。The display screen 503 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 electronic device, which can be composed of images, text, icons, video, and any combination thereof.
控制电路504与显示屏503电性连接,用于控制显示屏503显示信息。The control circuit 504 is electrically connected to the display screen 503 for controlling the display screen 503 to display information.
在一些实施例中,如图6所示,电子设备500还包括:射频电路505、输入单元506、音频电路507、传感器508以及电源509。其中,处理器501分别与射频电路505、输入单元506、音频电路507、传感器508以及电源509电性连接。In some embodiments, as shown in FIG. 6, the electronic device 500 further includes a radio frequency circuit 505, an input unit 506, an audio circuit 507, a sensor 508, and a power source 509. The processor 501 is electrically connected to the radio frequency circuit 505, the input unit 506, the audio circuit 507, the sensor 508, and the power source 509, respectively.
射频电路505用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 505 is used for transmitting and receiving radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
输入单元506可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元506可以包括指纹识别模组。The input unit 506 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls. The input unit 506 can include a fingerprint identification module.
音频电路507可通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 507 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
传感器508用于采集外部环境信息。传感器508可以包括环境亮度传感器、加速度传感器、陀螺仪等传感器中的一种或多种。Sensor 508 is used to collect external environmental information. Sensor 508 can include one or more of ambient brightness sensors, acceleration sensors, gyroscopes, and the like.
电源509用于给电子设备500的各个部件供电。在一些实施例中,电源509可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Power source 509 is used to power various components of electronic device 500. In some embodiments, the power supply 509 can be logically coupled to the processor 501 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
尽管图6中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 6, the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
本发明实施例提供的电子设备,接收数据备份指令,所述数据备份指令指示需要备份的待备份数据,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序,关闭所述应用程序的网络连接,将所述待备份数据备份至服务器。本发明能够在电子设备进行数据备份时,自动中断使用网络的应用程序所连接的网络,使电子设备的备份能够最大化的使用网络,从而提高数据备份的效率。The electronic device provided by the embodiment of the present invention receives a data backup instruction, where the data backup instruction indicates the data to be backed up that needs to be backed up, determines an application that is currently using the network in the electronic device according to the data backup instruction, and closes the application. Network connection, backing up the data to be backed up to the server. The invention can automatically interrupt the network connected to the application using the network when the electronic device performs data backup, so that the backup of the electronic device can maximize the use of the network, thereby improving the efficiency of data backup.
本发明实施例提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:Embodiments of the present invention provide a storage medium in which a plurality of instructions are stored, the instructions being adapted to be loaded by a processor to perform the following steps:
接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
关闭所述应用程序的网络连接;Close the network connection of the application;
将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(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 data backup method, device, storage medium and electronic device 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 or separately. Or more than two modules are integrated in 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 data backup method, which includes the following steps:
    接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
    根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
    关闭所述应用程序的网络连接;Close the network connection of the application;
    将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
  2. 如权利要求1所述的数据备份方法,其中,所述根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序的步骤具体包括:The data backup method according to claim 1, wherein the step of determining, according to the data backup instruction, an application currently using the network in the electronic device comprises:
    根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;Determining, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
    所述关闭所述应用程序的网络连接的步骤具体包括:The step of closing the network connection of the application specifically includes:
    获取所述备份数据所对应的数据流量信息;Obtaining data flow information corresponding to the backup data;
    根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;Determining, in the application set, a target application that needs to be shut down according to the data flow information;
    关闭所述目标应用程序的网络连接。Close the network connection of the target application.
  3. 如权利要求2所述的数据备份方法,其中,所述关闭所述目标应用程序的网络连接的步骤具体包括:The data backup method of claim 2, wherein the step of closing the network connection of the target application comprises:
    获取所述目标应用程序所对应的优先级信息;Obtaining priority information corresponding to the target application;
    根据所述优先级信息,关闭所述目标应用程序的网络连接。The network connection of the target application is closed according to the priority information.
  4. 如权利要求1所述的数据备份方法,其中,在根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,关闭所述应用程序的网络连接之前,所述方法还包括:The data backup method according to claim 1, wherein the method further comprises: after determining the network connection of the application after the application of the network is currently being used in the electronic device according to the data backup instruction, the method further comprising:
    判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;Determining whether there is an application in the preset application set that is the same as the application;
    若不存在,则执行关闭所述应用程序的网络连接的步骤。If not, perform the step of closing the network connection of the application.
  5. 如权利要求1所述的数据备份方法,其中,在关闭所述目标应用程序的网络连接之后,在将所述待备份数据备份至服务器之前,所述方法还包括:The data backup method of claim 1, wherein after the network connection of the target application is closed, before the data to be backed up is backed up to the server, the method further comprises:
    判断所述电子设备当前的CPU负载状态是否满足预设条件;Determining whether the current CPU load status of the electronic device meets a preset condition;
    若是,则关闭所述目标应用程序。If so, the target application is closed.
  6. 如权利要求1所述的数据备份方法,其中,在所述接收数据备份指令之前,所述方法还包括:The data backup method of claim 1, wherein before the receiving the data backup instruction, the method further comprises:
    检测电子设备中的目标数据是否被修改;Detecting whether the target data in the electronic device is modified;
    若是,则根据所述被修改的目标数据生成数据备份指令。If yes, a data backup instruction is generated according to the modified target data.
  7. 如权利要求1所述的数据备份方法,其中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序的步骤包括:The data backup method according to claim 1, wherein the determining, according to the data backup instruction, the application currently using the network in the electronic device comprises:
    根据所述数据备份指令确定电子设备中当前正在运行的应用程序;Determining an application currently running in the electronic device according to the data backup instruction;
    判断所述当前正在运行的应用程序在预设时间段内产生的数据量是否大于预设阈值;Determining whether the amount of data generated by the currently running application in the preset time period is greater than a preset threshold;
    若是,则确定所述应用程序为当前正在使用网络的应用程序。If so, it is determined that the application is an application that is currently using the network.
  8. 一种数据备份装置,其中,包括:指令接收模块、确定模块、网络关闭模块以及备份模块;A data backup device, comprising: an instruction receiving module, a determining module, a network closing module, and a backup module;
    所述指令接收模块,用于接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;The instruction receiving module is configured to receive a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
    所述确定模块,用于根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;The determining module is configured to determine, according to the data backup instruction, an application that is currently using the network in the electronic device;
    所述网络关闭模块,用于关闭所述应用程序的网络连接;The network shutdown module is configured to close a network connection of the application;
    所述备份模块,用于将所述待备份数据备份至服务器。The backup module is configured to back up the data to be backed up to a server.
  9. 如权利要求8所述的数据备份装置,其中,A data backup device according to claim 8, wherein
    所述确定模块,具体用于根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;The determining module is specifically configured to determine, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
    所述网络关闭模块,具体包括获取子模块、确定子模块以及关闭子模块;The network shutdown module specifically includes an acquisition submodule, a determination submodule, and a shutdown submodule;
    所述获取子模块,用于获取所述备份数据所对应的数据流量信息;The obtaining submodule is configured to acquire data traffic information corresponding to the backup data;
    所述确定子模块,用于根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;The determining submodule is configured to determine, in the application set, a target application that needs to be shut down according to the data traffic information;
    所述关闭子模块,用于关闭所述目标应用程序的网络连接。The shutdown submodule is configured to close a network connection of the target application.
  10. 如权利要求9所述的数据备份装置,其中,A data backup device according to claim 9, wherein
    所述关闭子模块,具体用于获取所述目标应用程序所对应的优先级信息,根据所述优先级信息,关闭所述目标应用程序的网络连接。The shutdown sub-module is specifically configured to acquire priority information corresponding to the target application, and close the network connection of the target application according to the priority information.
  11. 如权利要求8所述的数据备份装置,其中,所述装置还包括:第一判断模块;The data backup device of claim 8, wherein the device further comprises: a first determining module;
    所述第一判断模块,用于在所述确定模块根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,所述网络关闭模块关闭所述应用程序的网络连接之前,判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;The first determining module is configured to determine, after the determining module determines, according to the data backup instruction, that an application of the network is currently being used in the electronic device, before the network closing module closes the network connection of the application, Whether there is an application in the application collection that is the same as the application;
    所述网络关闭模块具体用于,当所述第一判断模块判断为否时,关闭所述应用程序的网络连接。The network shutdown module is specifically configured to: when the first determining module determines to be no, close the network connection of the application.
  12. 如权利要求8所述的数据备份装置,其中,所述装置还包括:第二判断模块和应用关闭模块;The data backup device of claim 8, wherein the device further comprises: a second determining module and an application closing module;
    所述第二判断模块,用于在所述网络关闭模块关闭所述应用程序的网络连接之后,所述备份模块将所述待备份数据备份至服务器之前,判断所述电子设备当前的CPU负载状态是否满足预设条件;The second determining module is configured to determine, after the network shutdown module closes the network connection of the application, the backup module, before backing up the data to be backed up to the server, determining a current CPU load status of the electronic device. Whether the preset conditions are met;
    所述应用关闭模块,用于当所述第二判断模块判断判断为是时,关闭所述目标应用程序。The application closing module is configured to close the target application when the second determining module determines that the determination is yes.
  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:
    接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
    根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
    关闭所述应用程序的网络连接;Close the network connection of the application;
    将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
  14. 一种电子设备,其中,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:An electronic device, 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:
    接收数据备份指令,所述数据备份指令指示需要备份的待备份数据;Receiving a data backup instruction, where the data backup instruction indicates data to be backed up that needs to be backed up;
    根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序;Determining, according to the data backup instruction, an application that is currently using the network in the electronic device;
    关闭所述应用程序的网络连接;Close the network connection of the application;
    将所述待备份数据备份至服务器。Backing up the data to be backed up to the server.
  15. 如权利要求14所述的电子设备,其中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序时,所述处理器用于执行以下步骤:The electronic device of claim 14, wherein the processor is configured to perform the following steps when determining, according to the data backup instruction, an application currently using the network in the electronic device:
    根据所述数据备份指令确定所述电子设备中当前正在使用网络的全部应用程序,以得到应用程序集合;Determining, according to the data backup instruction, all applications in the electronic device that are currently using the network to obtain an application set;
    关闭所述应用程序的网络连接时,所述处理器用于执行以下步骤:When the network connection of the application is closed, the processor is configured to perform the following steps:
    获取所述备份数据所对应的数据流量信息;Obtaining data flow information corresponding to the backup data;
    根据所述数据流量信息在所述应用程序集合当中确定需要关闭网络的目标应用程序;Determining, in the application set, a target application that needs to be shut down according to the data flow information;
    关闭所述目标应用程序的网络连接。Close the network connection of the target application.
  16. 如权利要求15所述的电子设备,其中,关闭所述目标应用程序的网络连接时,所述处理器用于执行以下步骤:The electronic device of claim 15, wherein the processor is configured to perform the following steps when the network connection of the target application is closed:
    获取所述目标应用程序所对应的优先级信息;Obtaining priority information corresponding to the target application;
    根据所述优先级信息,关闭所述目标应用程序的网络连接。The network connection of the target application is closed according to the priority information.
  17. 如权利要求14所述的电子设备,其中,在根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序之后,所述处理器还用于执行以下步骤:The electronic device of claim 14, wherein the processor is further configured to perform the following steps after determining, according to the data backup instruction, that an application of the network is currently being used in the electronic device:
    判断预设应用程序集合当中是否存在与所述应用程序相同的应用程序;Determining whether there is an application in the preset application set that is the same as the application;
    若不存在,则执行关闭所述应用程序的网络连接的步骤。If not, perform the step of closing the network connection of the application.
  18. 如权利要求14所述的电子设备,其中,在关闭所述目标应用程序的网络连接之后,所述处理器还用于执行以下步骤:The electronic device of claim 14, wherein the processor is further configured to perform the following steps after the network connection of the target application is closed:
    判断所述电子设备当前的CPU负载状态是否满足预设条件;Determining whether the current CPU load status of the electronic device meets a preset condition;
    若是,则关闭所述目标应用程序。If so, the target application is closed.
  19. 如权利要求14所述的电子设备,其中,在所述接收数据备份指令之前,所述处理器还用于执行以下步骤:The electronic device of claim 14, wherein the processor is further configured to perform the following steps before the receiving the data backup instruction:
    检测电子设备中的目标数据是否被修改;Detecting whether the target data in the electronic device is modified;
    若是,则根据所述被修改的目标数据生成数据备份指令。If yes, a data backup instruction is generated according to the modified target data.
  20. 如权利要求14所述的电子设备,其中,根据所述数据备份指令确定电子设备中当前正在使用网络的应用程序时,所述处理器用于执行以下步骤:The electronic device of claim 14, wherein the processor is configured to perform the following steps when determining, according to the data backup instruction, an application currently using the network in the electronic device:
    根据所述数据备份指令确定电子设备中当前正在运行的应用程序;Determining an application currently running in the electronic device according to the data backup instruction;
    判断所述当前正在运行的应用程序在预设时间段内产生的数据量是否大于预设阈值;Determining whether the amount of data generated by the currently running application in the preset time period is greater than a preset threshold;
    若是,则确定所述应用程序为当前正在使用网络的应用程序。If so, it is determined that the application is an application that is currently using the network.
PCT/CN2017/095628 2016-10-25 2017-08-02 Data backup method, apparatus, storage medium and electronic device WO2018076869A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610942042.6A CN106528335A (en) 2016-10-25 2016-10-25 Data backup method and device and terminal
CN201610942042.6 2016-10-25

Publications (1)

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

Family

ID=58293149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095628 WO2018076869A1 (en) 2016-10-25 2017-08-02 Data backup method, apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN106528335A (en)
WO (1) WO2018076869A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528335A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Data backup method and device and terminal
CN107122266B (en) * 2017-05-24 2021-01-26 努比亚技术有限公司 Method and equipment for backing up data and computer readable storage medium
CN110019053B (en) * 2017-11-02 2022-04-01 福建天晴数码有限公司 Method and terminal for detecting redundant data of Unity3D resource packet
CN108509298B (en) * 2018-03-22 2022-02-18 中国银联股份有限公司 Data processing method, device and storage medium
CN112380048A (en) * 2020-10-09 2021-02-19 中国一冶集团有限公司 Backup method and system for server data
CN112214355A (en) * 2020-10-21 2021-01-12 上海英方软件股份有限公司 Mass data backup processing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009182956A (en) * 2007-12-14 2009-08-13 Nec (China) Co Ltd Network connection control method and terminal
CN103476064A (en) * 2013-09-13 2013-12-25 小米科技有限责任公司 Method and device for flow control of terminal device and terminal device
CN104185305A (en) * 2014-08-19 2014-12-03 惠州Tcl移动通信有限公司 Networking method for applications with priorities and mobile terminal
CN104254097A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Flow control method and device
CN104811930A (en) * 2015-05-19 2015-07-29 广东小天才科技有限公司 Network flow control method and network flow control system for mobile terminal
CN106528335A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Data backup method and device and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921369B (en) * 2006-08-08 2011-02-09 华为技术有限公司 Adapting method for network connection
CN101499986B (en) * 2008-01-31 2012-05-09 富士通株式会社 Base station and scheduling method used in base station
CN104301382A (en) * 2014-09-03 2015-01-21 惠州Tcl移动通信有限公司 Cloud data backup and recovery method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009182956A (en) * 2007-12-14 2009-08-13 Nec (China) Co Ltd Network connection control method and terminal
CN104254097A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Flow control method and device
CN103476064A (en) * 2013-09-13 2013-12-25 小米科技有限责任公司 Method and device for flow control of terminal device and terminal device
CN104185305A (en) * 2014-08-19 2014-12-03 惠州Tcl移动通信有限公司 Networking method for applications with priorities and mobile terminal
CN104811930A (en) * 2015-05-19 2015-07-29 广东小天才科技有限公司 Network flow control method and network flow control system for mobile terminal
CN106528335A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Data backup method and device and terminal

Also Published As

Publication number Publication date
CN106528335A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
WO2018076869A1 (en) Data backup method, apparatus, storage medium and electronic device
WO2018076868A1 (en) Data synchronization method, device and system, storage medium and server
WO2017206862A1 (en) Bright screen lock-based processing method and apparatus, storage medium, and electronic device
WO2018076889A1 (en) Data backup method, device, system, storage medium and server
WO2018076819A1 (en) Data upload method, apparatus, storage medium, electronic device and system
WO2018076861A1 (en) Data transmission control method, apparatus, storage medium, server and system
WO2018076867A1 (en) Data backup deleting method, device and system, storage medium and server
WO2018076866A1 (en) Data processing method, device, storage medium, electronic device and server
WO2018076812A1 (en) Data request response method and device, storage medium, server and system
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
WO2020246822A1 (en) Electronic device and method for switching electronic device between dual standby mode and single standby mode
WO2017206883A1 (en) Application processing method and apparatus, storage medium, and electronic device
WO2018021678A1 (en) Electronic device and method for operating the same
WO2017206875A1 (en) Data packet-based processing method and apparatus, storage medium, and electronic device
WO2018090823A1 (en) Method and system for protecting system partition key data, and terminal
WO2017206885A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2018076829A1 (en) Terminal data processing method, apparatus, system, storage medium and server
WO2018076840A1 (en) Data sharing method, device, storage medium and server
WO2018161580A1 (en) Broadcast control method and apparatus, storage medium, and electronic device
WO2017206870A1 (en) Sensor shutdown method and apparatus, storage medium, and electronic device
WO2016188285A1 (en) Process management method and device of terminal application
WO2017206880A1 (en) Terminal data processing method and apparatus, storage medium, and electronic device
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2017206879A1 (en) Mobile terminal application program processing method and apparatus, storage medium, and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1