CN104052771A - Network data backup method and apparatus - Google Patents

Network data backup method and apparatus Download PDF

Info

Publication number
CN104052771A
CN104052771A CN201310080378.2A CN201310080378A CN104052771A CN 104052771 A CN104052771 A CN 104052771A CN 201310080378 A CN201310080378 A CN 201310080378A CN 104052771 A CN104052771 A CN 104052771A
Authority
CN
China
Prior art keywords
backup
network data
locality
download plug
activated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310080378.2A
Other languages
Chinese (zh)
Inventor
张雷
崔克群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310080378.2A priority Critical patent/CN104052771A/en
Publication of CN104052771A publication Critical patent/CN104052771A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention, which relates to the technical field of the internet, discloses a network data backup method and apparatus. With the method and the apparatus, problems that the existing network data backup method is complex and tedious and the backup process is carried out slowly in the prior art can be solved. The method comprises the following steps that: after a preset backup trigger condition is activated, whether a download plug-in element is installed locally is determined; after local installation of the download plug-in element is determined, the download plug-in element is operated; a preset first dynamic base is invoked by using the download plug-in element, wherein logic processing data for network data backup are packaged in the first dynamic base; and backup of the network data is carried out locally based on the logic processing data. According to the invention, the method and the apparatus are suitable for local bulk download of data at the network server, wherein the download operation includes local bulk download of pictures from a web album.

Description

The method of network data backup and device
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of method and device of network data backup.
Background technology
Along with the extensive use of the Internet, social networking service (SNS is called for short Social Network Service) has obtained development fast.Social networking service provides an interaction platform of communicating with each other, mutually making friends to Internet user, and user can set up the photograph album of oneself and store picture in social networking service, sets up video library and stores video after uploading etc.Therefore, the network data in social networking service is diversified, generally comprises picture, music, video etc.
In the time need to backing up the network data in social networking service, when the picture in network album is backed up, conventionally take following strategy: a kind of is artificially manually the every pictures in network album all to be copied, separately to deposit this locality.Another kind is after the webpage of social networking service is opened, and by the third-party application program downloading and installing in advance, the picture in network album is carried out to batch backup to local.For example, in the time browsing the webpage of social networking service, if desired the picture in network album is backed up, first need to minimize the webpage of having opened, and open third-party application program, the picture in network album is backuped to this locality in third-party application program.
In the process that realizes the embodiment of the present invention, inventor finds that in prior art, at least there are the following problems:
In the mode of the backup of current network data, owing to need to the each file in network data being copied to local operation, or need to backup to this locality and realize by opening the mode of third-party application program, make the backup complexity of network data loaded down with trivial details, backup procedure be slow.
Summary of the invention
The invention provides a kind of method and device of network data backup, the mode of backup that can solve network data of the prior art is comparatively complicated loaded down with trivial details, and backup procedure is problem slowly.
For achieving the above object, the present invention adopts following technical scheme:
A method for network data backup, comprising:
After the backup trigger condition setting in advance is activated, judge whether this locality is provided with download plug-in;
Judging that this locality is provided with after described download plug-in, moves described download plug-in;
Call the first dynamic base setting in advance by described download plug-in, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup;
By described logical process data, described network data is backuped to this locality.
A device for network data backup, comprising:
Judging unit, after being activated, judges whether this locality is provided with download plug-in for the backup trigger condition setting in advance;
Running unit, for judging that at described judging unit this locality is provided with after described download plug-in, moves described download plug-in;
Described running unit, also, for call the first dynamic base setting in advance by described download plug-in, is packaged with the logical process data for carrying out network data backup in wherein said the first dynamic base;
Backup units, for backuping to this locality by described logical process data to described network data.
The method of network data backup provided by the invention and device, owing to passing through operation download plug-in, make to call by described download plug-in the first dynamic base setting in advance, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup; And can backup to this locality to described network data by described logical process data.Thereby in the time of local Web page loading, just can directly complete download of network data in batches by moving described download plug-in, and avoided of the prior art, each file in network data is all needed to copy or need to open third-party application program and carry out backup network data.Therefore it is comparatively simple and efficient that, the mode of network data backup of the present invention can make the backup of network data.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the method for the network data backup that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the method for the network data backup that Fig. 2 provides for further embodiment of this invention;
Fig. 3 is the schematic diagram of the web interface in the embodiment of the present invention;
Fig. 4 is the schematic diagram at the prompting interface in the embodiment of the present invention;
Fig. 5 is the schematic diagram of the dialog interface in the embodiment of the present invention;
Fig. 6 is the schematic diagram that the file in the embodiment of the present invention is selected interface;
Fig. 7 is the save contents schematic diagram at interface of this locality in the embodiment of the present invention;
The structural representation one of the device of the network data backup that Fig. 8 provides for the embodiment of the present invention;
The structural representation two of the device of the network data backup that Fig. 9 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearer, below in conjunction with drawings and Examples, the present invention is elaborated.
As shown in Figure 1, the method for the network data backup that the embodiment of the present invention provides, comprising:
101,, after the backup trigger condition setting in advance is activated, judge whether this locality is provided with download plug-in.
Wherein, described backup trigger condition is activated can be for the backup button setting in advance is activated, " backup photo " button in routine web interface as shown in Figure 3, in addition, in this web interface, can also there be the conventional buttons such as " upload pictures " button, but be not only confined to this.
Concrete, described download plug-in can be at Netscape plug-in applications DLL (dynamic link library) (Netscape Plugin Application Programming Interface, be called for short NPAPI) under develop, described download plug-in can be moved under different browsers, go up with the mutual of described browser, described browser can call the described download plug-in of developing under described NPAPI by script Javascript.
102, judging that this locality is provided with after described download plug-in, moves described download plug-in.
103, call by described download plug-in the first dynamic base setting in advance.
Wherein, in described the first dynamic base, be packaged with the logical process data for carrying out network data backup.Described the first dynamic base is dynamic link table storehouse (Dynamic Link Library is called for short DLL) file.
104, by described logical process data, described network data is backuped to this locality.
Concrete, in the time that browser has loaded the webpage of network album etc., by described logical process data, can backup to this locality to all or part of picture in described network album.The content of described network data can also be video file or audio file etc., but is not only confined to this.
The method of the network data backup that the embodiment of the present invention provides, owing to passing through operation download plug-in, make to call by described download plug-in the first dynamic base setting in advance, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup; And can backup to this locality to described network data by described logical process data.Thereby in the time of local Web page loading, just can directly complete download of network data in batches by moving described download plug-in, and avoided of the prior art, each file in network data is all needed to copy or need to open third-party application program and carry out backup network data.Therefore it is comparatively simple and efficient that, the mode of network data backup of the present invention can make the backup of network data.
As shown in Figure 2, the method for the network data backup that further embodiment of this invention provides, comprising:
201, the backup trigger condition setting in advance is activated.
Wherein, described backup trigger condition is activated and can be activated for the backup button setting in advance.
For example, " backup photo " button in web interface as shown in Figure 3, in addition, can also have the conventional buttons such as " upload pictures " button, but not only be confined to this in this web interface.
202, judge whether this locality is provided with download plug-in.If judge, this locality is provided with described download plug-in, execution step 203, if judge, this locality is not provided with described download plug-in, execution step 204.
Concrete, described download plug-in can be at Netscape plug-in applications DLL (dynamic link library) (Netscape Plugin Application Programming Interface, be called for short NPAPI) under develop, described download plug-in can be moved under different browsers, go up with the mutual of described browser, described browser can call the described download plug-in of developing under described NPAPI by script Javascript.
203, move described download plug-in.Continue afterwards execution step 205.
204, download described download plug-in from the webserver, and described download plug-in is installed.Return to afterwards execution step 203.
Concrete, judging that this locality is not provided with after described download plug-in, can show prompting interface as shown in Figure 4, in described prompting interface, provide mark is installed, button for example " is installed " immediately, and described prompting interface can also comprise following information: download plug-in is if desired installed, please clicks " installing immediately " button, after successful installation, please reopen the page.
205, call by described download plug-in the first dynamic base setting in advance.
Concrete, in described the first dynamic base, be packaged with logical process data and dialog box data for carrying out network data backup.Described the first dynamic base is dll file.
206, set up dialog box by described dialog box data.
Wherein, described dialog box comprises that this locality saves contents and file is selected module.For example, the schematic diagram of dialog interface as shown in Figure 5, described dialog box comprises this locality button that saves contents, and file is selected button.In addition, described dialog box can also comprise downloaded file progress indicator strip, start download button and exit button etc., but is not only confined to this.
207, after described file selects module to be activated, the icon of display file and selection marker.
Concrete, described file selects module to be activated can be the file in above-mentioned Fig. 5 to select button clicked.Further, as shown in Figure 6, after described file selects button clicked, by the icon of display file and selection marker, the for example atlas one in Fig. 6, atlas two, atlas three and the selection square frame for selecting for user, this square frame can be checked, but is not only confined to this.
208, by after described selection marker select File, determine file to be backed up.
Concrete, as shown in Figure 6, after described square frame is checked, each picture in atlas corresponding to the square frame that is checked is file to be backed up.
209,, after this locality saves contents and is activated, show local path list.
Wherein, in described local path list, carry local memory address.
Concrete, described this locality saves contents and is activated can be that this locality in above-mentioned Fig. 5 button that saves contents is clicked.Further, in the schematic diagram of local path list as shown in Figure 7, carry multiple local memory addresss, such as local disk C, local disk D etc., but be not only confined to this, in addition, described local memory address can also be a certain file in this disk etc.
210, after the local memory address in described local store list is selected, described file backup to be backed up is arrived to described local memory address place.
Concrete, as shown in Figure 7, in the schematic diagram of described local path list, having, local memory address is selected, and after confirming button is clicked, described file backup to be backed up is arrived to described local memory address place.
For example, in the time that browser has loaded the webpage of network album etc., can backup to this locality to all or part of picture in described network album.The content of described network data can also be video file or audio file etc., but is not only confined to this.
The method of the network data backup that further embodiment of this invention provides, owing to passing through operation download plug-in, make to call by described download plug-in the first dynamic base setting in advance, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup; And can backup to this locality to described network data by described logical process data.Thereby in the time of local Web page loading, just can directly complete download of network data in batches by moving described download plug-in, and avoided of the prior art, each file in network data is all needed to copy or need to open third-party application program and carry out backup network data.Therefore it is comparatively simple and efficient that, the mode of network data backup of the present invention can make the backup of network data.
As shown in Figure 8, the device of the network data backup that the embodiment of the present invention provides, comprising:
Judging unit 31, after being activated, judges whether this locality is provided with download plug-in for the backup trigger condition setting in advance.
Running unit 32, for judging that at described judging unit 31 this locality is provided with after described download plug-in, moves described download plug-in.
Described running unit 32, also, for call the first dynamic base setting in advance by described download plug-in, is packaged with the logical process data for carrying out network data backup in wherein said the first dynamic base.
Backup units 33, for backuping to this locality by described logical process data to described network data.
Further, as shown in Figure 9, described device also comprises:
Download unit 34, for judging that at described judging unit 31 this locality is not provided with after described download plug-in, downloads described download plug-in from the webserver.
Described running unit 32, also for installing and move described download plug-in.
Further, as shown in Figure 9, described the first dynamic base is also packaged with dialog box data, and described device also comprises:
Set up unit 35, for setting up dialog box by described dialog box data.
Wherein, described dialog box comprises that this locality saves contents.
Described backup units 33, comprising:
Show subelement 331, after being activated for saving contents in this locality, show local path list, in described local path list, carry local memory address.
Backup subelement 332, after being selected, arrives described local memory address place by described network data backup for the local memory address in described local store list.
Concrete, as shown in Figure 9, described dialog box also comprises file selection module.
Described device, also comprises:
Display unit 36, after selecting module to be activated at file, the icon of display file and selection marker.
Determining unit 37, for by after described selection marker select File, determines file to be backed up.
Concrete, as shown in Figure 9, described backup trigger condition is activated as the backup button setting in advance and is activated.
Described judging unit 31, after being activated, judges whether this locality is provided with download plug-in specifically for the backup button setting in advance.
What deserves to be explained is, the specific implementation of the device of the network data backup that the embodiment of the present invention provides can, referring to the specific implementation of the method for the network data backup of Fig. 1 and Fig. 2, repeat no more herein.
The device of the network data backup that the embodiment of the present invention provides, owing to passing through operation download plug-in, make to call by described download plug-in the first dynamic base setting in advance, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup; And can backup to this locality to described network data by described logical process data.Thereby in the time of local Web page loading, just can directly complete download of network data in batches by moving described download plug-in, and avoided of the prior art, each file in network data is all needed to copy or need to open third-party application program and carry out backup network data.Therefore it is comparatively simple and efficient that, the mode of network data backup of the present invention can make the backup of network data.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a method for network data backup, is characterized in that, comprising:
After the backup trigger condition setting in advance is activated, judge whether this locality is provided with download plug-in;
Judging that this locality is provided with after described download plug-in, moves described download plug-in;
Call the first dynamic base setting in advance by described download plug-in, in wherein said the first dynamic base, be packaged with the logical process data for carrying out network data backup;
By described logical process data, described network data is backuped to this locality.
2. the method for network data backup according to claim 1, is characterized in that, described method also comprises:
Judging that this locality is not provided with after described download plug-in, downloads described download plug-in from the webserver;
Install and move described download plug-in.
3. the method for network data backup according to claim 2, is characterized in that, described the first dynamic base is also packaged with dialog box data, and described method also comprises:
Set up dialog box by described dialog box data; Wherein, described dialog box comprises that this locality saves contents;
Describedly by described logical process data, described network data is backuped to this locality, comprising:
After this locality saves contents and is activated, show local path list, in described local path list, carry local memory address;
After local memory address in described local store list is selected, described network data backup is arrived to described local memory address place.
4. the method for network data backup according to claim 3, is characterized in that, described dialog box also comprises file selection module;
Described by described logical process data, described network data is backuped to this locality before, described method comprises:
After file selects module to be activated, the icon of display file and selection marker;
By after described selection marker select File, determine file to be backed up.
5. according to the method for the network data backup described in claim 1-4, it is characterized in that, described backup trigger condition is activated as the backup button setting in advance and is activated;
Described after the backup trigger condition setting in advance is activated, judge that whether this locality is provided with download plug-in, comprising:
After the backup button setting in advance is activated, judge whether this locality is provided with download plug-in.
6. a device for network data backup, is characterized in that, comprising:
Judging unit, after being activated, judges whether this locality is provided with download plug-in for the backup trigger condition setting in advance;
Running unit, for judging that at described judging unit this locality is provided with after described download plug-in, moves described download plug-in;
Described running unit, also, for call the first dynamic base setting in advance by described download plug-in, is packaged with the logical process data for carrying out network data backup in wherein said the first dynamic base;
Backup units, for backuping to this locality by described logical process data to described network data.
7. the device of network data backup according to claim 6, is characterized in that, described device also comprises:
Download unit, for judging that at described judging unit this locality is not provided with after described download plug-in, downloads described download plug-in from the webserver;
Described running unit, also for installing and move described download plug-in.
8. the device of network data backup according to claim 7, is characterized in that, described the first dynamic base is also packaged with dialog box data, and described device also comprises:
Set up unit, for setting up dialog box by described dialog box data; Wherein, described dialog box comprises that this locality saves contents;
Described backup units, comprising:
Show subelement, after being activated for saving contents in this locality, show local path list, in described local path list, carry local memory address;
Backup subelement, after being selected, arrives described local memory address place by described network data backup for the local memory address in described local store list.
9. the device of network data backup according to claim 8, is characterized in that, described dialog box also comprises file selection module;
Described device, also comprises:
Display unit, after selecting module to be activated at file, the icon of display file and selection marker;
Determining unit, for by after described selection marker select File, determines file to be backed up.
10. according to the device of the network data backup described in claim 6-9, it is characterized in that, described backup trigger condition is activated as the backup button setting in advance and is activated;
Described judging unit, after being activated, judges whether this locality is provided with download plug-in specifically for the backup button setting in advance.
CN201310080378.2A 2013-03-13 2013-03-13 Network data backup method and apparatus Pending CN104052771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310080378.2A CN104052771A (en) 2013-03-13 2013-03-13 Network data backup method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310080378.2A CN104052771A (en) 2013-03-13 2013-03-13 Network data backup method and apparatus

Publications (1)

Publication Number Publication Date
CN104052771A true CN104052771A (en) 2014-09-17

Family

ID=51505135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310080378.2A Pending CN104052771A (en) 2013-03-13 2013-03-13 Network data backup method and apparatus

Country Status (1)

Country Link
CN (1) CN104052771A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395672A (en) * 2017-06-12 2017-11-24 维沃移动通信有限公司 A kind of picture method for down loading and mobile terminal
CN110955852A (en) * 2018-09-25 2020-04-03 北京国双科技有限公司 Content import method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054699A1 (en) * 2000-09-19 2004-03-18 Cory Bear Extensible method for obtaining an historical record of data backup activity (and errors) and converting same into a canonical format
US20080147621A1 (en) * 2006-10-18 2008-06-19 Aaron Charles Newman Method and system for backup and restoration of content within a blog
CN102222091A (en) * 2011-06-03 2011-10-19 奇智软件(北京)有限公司 Providing method and system for plug-in extension in browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054699A1 (en) * 2000-09-19 2004-03-18 Cory Bear Extensible method for obtaining an historical record of data backup activity (and errors) and converting same into a canonical format
US20080147621A1 (en) * 2006-10-18 2008-06-19 Aaron Charles Newman Method and system for backup and restoration of content within a blog
CN102222091A (en) * 2011-06-03 2011-10-19 奇智软件(北京)有限公司 Providing method and system for plug-in extension in browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LANCE: "BackWPup——WordPress 自动备份插件设置使用教程", 《树叶的BLOG》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395672A (en) * 2017-06-12 2017-11-24 维沃移动通信有限公司 A kind of picture method for down loading and mobile terminal
CN110955852A (en) * 2018-09-25 2020-04-03 北京国双科技有限公司 Content import method and device

Similar Documents

Publication Publication Date Title
US10540168B2 (en) Mobile application webview modification
CN106708899B (en) Automatic point burying method and device
US9307342B2 (en) Dynamic rendering for software applications
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN112328344B (en) Screen projection processing method and first equipment
CN102946599A (en) Method for downloading application programs of mobile terminal and mobile terminal
WO2014063552A1 (en) Method, terminal, server and system for downloading application
WO2012065562A1 (en) Method and system for intelligent installation/upgrading of software
WO2013085595A1 (en) Selective image loading in mobile browsers
CN102622270A (en) Switching management method and terminal for application programs
CN113239672B (en) Target file editing method and device, electronic equipment and storage medium
WO2020010725A1 (en) Method and apparatus for automatically synchronously refreshing browser, and computer device
CN104965723B (en) The operation method and device of application program
CN109783172A (en) Language switching method, device, electronic equipment and readable storage medium storing program for executing
CN104793966A (en) Display and loading method and system of Android local application
CN105094841A (en) Page commenting method and device
CN104038520A (en) Multi-version distributed resource management method and multi-version distributed resource management system
CN109032617B (en) Control method and control device for automatically deleting installation package
CN111666220A (en) Method and device for generating Web page object test file
CN105824490A (en) Method and terminal for arranging application icon
CN109144843B (en) Method and device for deploying test environment
WO2016155387A1 (en) Plug-in management method and device based on mobile terminal
CN105630310A (en) Method and device for displaying titles during graph group switching
CN106095448B (en) Desktop layout method and device for mobile equipment
CN112905225A (en) Method and device for creating continuous integration tool construction task

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140917