CN101587480B - System and method for distributed storage of Notes file - Google Patents

System and method for distributed storage of Notes file Download PDF

Info

Publication number
CN101587480B
CN101587480B CN 200810301700 CN200810301700A CN101587480B CN 101587480 B CN101587480 B CN 101587480B CN 200810301700 CN200810301700 CN 200810301700 CN 200810301700 A CN200810301700 A CN 200810301700A CN 101587480 B CN101587480 B CN 101587480B
Authority
CN
China
Prior art keywords
notes
annex
file
newly
path
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.)
Expired - Fee Related
Application number
CN 200810301700
Other languages
Chinese (zh)
Other versions
CN101587480A (en
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 200810301700 priority Critical patent/CN101587480B/en
Publication of CN101587480A publication Critical patent/CN101587480A/en
Application granted granted Critical
Publication of CN101587480B publication Critical patent/CN101587480B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for the distributed storage of a Notes file, which comprises the following steps: acquiring related parameters from a Notes database; loading an attachment in the newly added file to an attachment save path of a Notes application server in the acquired parameters; creating a batch file according to the acquired parameters; according to the batch file, transmitting the loaded attachment to a corresponding distributed storage server; after the loaded attachment is transmitted to the corresponding distributed storage server, deleting the attachment of the newly added file in the Notes database and the loaded attachment in the Notes application server; and adding the path of the loaded attachment in the distributed storage server in the newly added file. In addition, the invention also provides a system for the distributed storage of the Notes file.

Description

Notes file distribution formula storage system and method
Technical field
The present invention relates to a kind of Notes file distribution formula storage system and method.
Background technology
As everyone knows, the Notes system can store various files by the Notes database of self, the corresponding identifier of each file, and the content that each file comprises comprises attachment content and/or non-attachment content, therefore, the Notes system has powerful file polling and the function of uploading.For example: when Notes system during as simple mail platform, each envelope mail of Notes system storage is exactly a file.
At present, there have been a lot of enterprises to utilize the Notes system development multiple application system (for example: wisdom resource system, file electronic approving system etc.).Therefore yet the Notes system also exists following drawback when being widely used: the 1.Notes database volume is very limited, causes the data that can store very limited; 2. when the overabundance of data of Notes database storage, cause the instability of Notes database easily, even the situation of Notes database damage occurs, and then cause the Notes system to use; 3.Notes the more big data query time of database volume can be doubled and redoubled, the index that while Notes database produces also can increase.Along with enterprise constantly enlarges, utilize the data of Notes database storage also being on the increase, the drawback of Notes system database will progressively reveal, and has influence on the normal operation of enterprise.
Summary of the invention
In view of above content, be necessary to provide a kind of Notes file distribution formula storage system, the contained annex that has of file in the Notes system can be stored in the distributed storage server, delete the annex of this document in the Notes system, and the path of the contained annex of this document in distributed storage server is added in this document.
In addition, also be necessary to provide a kind of Notes file distribution formula storage means, the contained annex that has of file in the Notes system can be stored in the distributed storage server, delete the annex of this document in the Notes system, and the path of the contained annex of this document in distributed storage server is added in this document.
A kind of Notes file distribution formula storage system, comprise Notes application server and the Notes database and a plurality of distributed storage server that link to each other with this Notes application server, this Notes application server comprises: acquisition module, be used for obtaining correlation parameter from this Notes database, described correlation parameter comprises the path of storage attachments in the path of storage attachments in the Notes application server and each distributed storage server; Judge module is used for judging according to the identifier of newly-increased file whether this Notes database increases file newly, and when in this Notes database newly-increased file being arranged, judges whether to contain annex by newly-increased file; Download module downloads under the path of Notes application server for storage annex for the annex that will increase file newly; Generation module, be used for according to get parms generate comprise institute's annex of downloading in the path of Notes application server, the path of distributed storage server and the autoexec of transmission command accordingly; Transport module is used for according to described autoexec institute being downloaded annex and transfers to corresponding distributed storage server; Removing module is used for after institute is downloaded annex transferring to corresponding distributed storage server, should increase the annex of downloading in the annex of file and the Notes application server in the deletion Notes database newly; And add module, be used for the download annex is added in this newly-increased file in the path of distributed storage server.
A kind of Notes file distribution formula storage means, this method comprises the steps: to obtain correlation parameter from the Notes database, and described correlation parameter comprises the path of storage attachments in the path of storage attachments in the Notes application server and each distributed storage server; Judge whether increase file in this Notes database newly according to the identifier of newly-increased file; When in this Notes database newly-increased file being arranged, judge whether to contain annex by newly-increased file; Annex in this newly-increased file is downloaded under the path of Notes application server for storage annex; According to get parms to generate and comprise the path of institute's annex of downloading in the Notes application server, the path of distributed storage server and the autoexec of transmission command accordingly; According to described autoexec institute is downloaded annex and transfer to corresponding distributed storage server; After institute's download annex is transferred to corresponding distributed storage server, the annex of downloading in the annex of this newly-increased file and the Notes application server in the deletion Notes database; And the path of download annex in distributed storage server is added in this newly-increased file.
Compared to prior art, Notes file distribution formula storage system provided by the present invention and method, the contained annex that has of file in the Notes system can be stored in the distributed storage server, the annex of this document in the deletion Notes system, and the path of the contained annex of this document in distributed storage server be added in this document, significantly reduce the capacity of Notes system database, improved work efficiency.
Description of drawings
Fig. 1 is the hardware structure figure of Notes file distribution formula storage system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of Notes application server among Fig. 1.
Fig. 3 is the process flow diagram of Notes file distribution formula storage means of the present invention preferred embodiment.
Embodiment
As shown in Figure 1, be the system architecture diagram of Notes file distribution formula storage system of the present invention preferred embodiment.This system mainly comprises Notes application server 1, Notes database 2, reaches distributed storage server 3.This Notes application server 1 links to each other with distributed storage server 3 by network 4, and this Notes application server 1 also links to each other with the Notes database 2 of storage correlation parameter and file.
Described Notes application server 1 is used for downloading the annex of Notes database 2 files, the annex of downloading is transferred to corresponding distributed storage server 3 by network 4, the annex of file is added into the path of deletion annex in distributed storage server 1 in the Notes database 2 at last in deletion Notes application server 1 and the Notes database 2.
Described network 4 is a kind of electric networks, and it can (Transport Control Protocol/Internet Protocol, network TCP/IP) be as intranet based on transmission control protocol/IP Internet Protocol for internet or other.
As shown in Figure 2, be the functional block diagram of Notes application server 1 among Fig. 1.Described Notes application server 1 comprises acquisition module 10, judge module 12, download module 14, generation module 16, transport module 18, removing module 20 and adds module 22.
Described acquisition module 10 is used for obtaining correlation parameter from Notes database 2.Described correlation parameter includes, but not limited to the path of storage attachments in the path of storage attachments in the Notes application server 1 and each distributed storage server 3.
Described judge module 12 is used for judging according to the identifier of newly-increased file whether this Notes database 2 increases file newly.When the identifier of newly-increased file was not present in the Notes database 2, judge module 12 judged in this Notes database 2 that newly-increased file is arranged; When the identifier of newly-increased file was present in the Notes database 2, judge module 12 was judged not newly-increased file in this Notes database 2.
Described judge module 12 also is used for when this Notes database 2 has newly-increased file, judges whether to contain annex by newly-increased file.Particularly, when in the Notes database 2 newly-increased file being arranged, the Notes system can read the annex quantity of this newly-increased file automatically, and when the annex quantity that reads was 0, judge module 12 was judged and should do not contained annex by newly-increased file; When the annex quantity that reads was not 0, judge module 12 was judged and should be contained annex by newly-increased file.
The annex that described download module 14 is used for increasing newly file download under the path of Notes application server 1 storage attachments in getting parms.
Described generation module 16 is used for according to getting parms generation autoexec.Described autoexec comprise path and the transmission command of the path of the annex of downloading in Notes application server 1, corresponding distributed storage server 3.
Described transport module 18 is used for according to described autoexec institute being downloaded annex and transfers to corresponding distributed storage server 3.Particularly, described transport module 18 will transfer under the path of the distributed storage server 3 in this autoexec by the annex under Notes application server 1 path in this autoexec according to the transmission command in the autoexec.Described annex transmits with binary form in transmission course.
Described removing module 20 is used for after institute is downloaded annex transferring to corresponding distributed storage server 3, should increase the annex of downloading in the annex of file and the Notes application server 1 in the deletion Notes database 2 newly.
Described interpolation module 22 is used for the download annex is added in this newly-increased file in the path of distributed storage server 3.The user directly clicks the path of this newly-increased file and just can read the annex that is stored in the distributed storage server 3 when receiving this newly-increased file.
As shown in Figure 3, be the process flow diagram of Notes file distribution formula storage means of the present invention preferred embodiment.At first, step S 10, and acquisition module 10 obtains correlation parameter from Notes database 2.Described correlation parameter includes, but not limited to the path of storage attachments in the path of storage attachments in the Notes application server 1 and each distributed storage server 3.
Step S12, judge module 12 judges whether increase file in this Notes database 2 newly according to the identifier of newly-increased file.When the identifier of newly-increased file was not present in the Notes database 2, judge module 12 judged in this Notes database 2 that newly-increased file is arranged; When the identifier of newly-increased file was present in the Notes database 2, judge module 12 was judged not newly-increased file in this Notes database 2.Judge and whether increase file in this Notes database 2 newly.
Step S14, when increasing file newly in this Notes database 2, judge module 12 judges whether to contain annex by newly-increased file.When in the Notes database 2 newly-increased file being arranged, the Notes system can read the annex quantity of this newly-increased file automatically, and when the annex quantity that reads was 0, judge module 12 was judged and should do not contained annex by newly-increased file; When the annex quantity that reads was not 0, judge module 12 was judged and should be contained annex by newly-increased file.
Step S16, download module 14 will increase newly annex in the file download under the path of Notes application server 1 storage attachments in getting parms.
Step S18, generation module 16 is according to getting parms generation autoexec.Described autoexec comprise path and the transmission command of the path of the annex of downloading in Notes application server 1, corresponding distributed storage server 3.
Step S20, transport module 18 is downloaded annex according to described autoexec with institute and is transferred to corresponding distributed storage server 3.Described transport module 18 will transfer under the path of the distributed storage server 3 in this autoexec by the annex under Notes application server 1 path in this autoexec according to the transmission command in the autoexec.Described annex transmits with binary form in transmission course.
Step S22, after institute's download annex is transferred to corresponding distributed storage server 3, the annex of downloading in the annex of this newly-increased file and the Notes application server 1 in the removing module 20 deletion Notes databases 2.
Step S24 adds module 22 path of download annex in distributed storage server 3 is added in this newly-increased file.

Claims (4)

1. Notes file distribution formula storage system is characterized in that this system comprises:
Acquisition module is used for obtaining correlation parameter from the Notes database, and described correlation parameter comprises the path of storage attachments in the path of storage attachments in the Notes application server and each distributed storage server;
Judge module is used for judging according to the identifier of newly-increased file whether this Notes database increases file newly, and when in this Notes database newly-increased file being arranged, judges whether to contain annex by newly-increased file;
Download module downloads under the path of Notes application server for storage annex for the annex that will increase file newly;
Generation module is used for according to getting parms generation autoexec;
Transport module is used for according to described autoexec institute being downloaded annex and transfers to corresponding distributed storage server;
Removing module is used for after institute is downloaded annex transferring to corresponding distributed storage server, should increase the annex of downloading in the annex of file and the Notes application server in the deletion Notes database newly; And
Add module, be used for the download annex is added in this newly-increased file in the path of distributed storage server.
2. Notes file distribution formula storage system as claimed in claim 1 is characterized in that, described autoexec comprise path and the transmission command of the path of the annex of downloading in the Notes application server, corresponding distributed storage server.
3. a Notes file distribution formula storage means is characterized in that this method comprises the steps:
Obtain correlation parameter from the Notes database, described correlation parameter comprises the path of storage attachments in the path of storage attachments in the Notes application server and each distributed storage server;
Judge whether increase file in this Notes database newly according to the identifier of newly-increased file;
When in this Notes database newly-increased file being arranged, judge whether to contain annex by newly-increased file;
Annex in this newly-increased file is downloaded under the path of Notes application server for storage annex;
According to getting parms generation autoexec;
According to described autoexec institute is downloaded annex and transfer to corresponding distributed storage server;
After institute's download annex is transferred to corresponding distributed storage server, the annex of downloading in the annex of this newly-increased file and the Notes application server in the deletion Notes database; And
The path of download annex in distributed storage server is added in this newly-increased file.
4. Notes file distribution formula storage means as claimed in claim 3 is characterized in that, described autoexec comprise path and the transmission command of the path of the annex of downloading in the Notes application server, corresponding distributed storage server.
CN 200810301700 2008-05-21 2008-05-21 System and method for distributed storage of Notes file Expired - Fee Related CN101587480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810301700 CN101587480B (en) 2008-05-21 2008-05-21 System and method for distributed storage of Notes file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810301700 CN101587480B (en) 2008-05-21 2008-05-21 System and method for distributed storage of Notes file

Publications (2)

Publication Number Publication Date
CN101587480A CN101587480A (en) 2009-11-25
CN101587480B true CN101587480B (en) 2013-08-28

Family

ID=41371729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810301700 Expired - Fee Related CN101587480B (en) 2008-05-21 2008-05-21 System and method for distributed storage of Notes file

Country Status (1)

Country Link
CN (1) CN101587480B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375451A (en) * 2016-09-06 2017-02-01 北京恒华伟业科技股份有限公司 Information acquisition method and system
CN106708428B (en) * 2016-11-21 2018-06-29 平安科技(深圳)有限公司 Data virtualization storage method and device
CN108616603B (en) * 2018-05-15 2021-11-02 厦门市美亚柏科信息股份有限公司 Method and system for synchronizing internal and external network data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381618B1 (en) * 1999-06-17 2002-04-30 International Business Machines Corporation Method and apparatus for autosynchronizing distributed versions of documents
CN1652102A (en) * 2003-05-21 2005-08-10 微软公司 System and method for transparent storage reorganization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381618B1 (en) * 1999-06-17 2002-04-30 International Business Machines Corporation Method and apparatus for autosynchronizing distributed versions of documents
CN1652102A (en) * 2003-05-21 2005-08-10 微软公司 System and method for transparent storage reorganization

Also Published As

Publication number Publication date
CN101587480A (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN103220308B (en) A kind of document down loading method, apparatus and system
US8150927B2 (en) Processing of messages to be transmitted over communication networks
JP6282293B2 (en) Method, computer system and computer program for performing integrity check and selective deduplication based on network parameters
CN102355426B (en) Method for transmitting off-line file and system
EP2091202B1 (en) Data distributing method, data distributing system and correlative devices in edge network
EP2073429A1 (en) Data synchronous method, system and apparatus
CN1638381A (en) A method of and a network for handling wireless session protocol (WSP) sessions
CN103812882A (en) Method and system for transferring files
CN103297447B (en) A kind of resource share method and its equipment
CN110430274A (en) A kind of document down loading method and system based on cloud storage
US20090055468A1 (en) Selectively delivering cached content or processed content to clients based upon a result completed percentage
CN103259819B (en) The method and system of file-sharing
CN110543324B (en) Plug-in increment updating method and device for application program
CN102664950B (en) Data communication method between welding power sources and computers
US20140359066A1 (en) System, method and device for offline downloading resource and computer storage medium
US6912543B2 (en) Object-oriented method and system for transferring a file system
CN103812881B (en) Offline download control method and device
CN101587480B (en) System and method for distributed storage of Notes file
CN113382048A (en) Message pushing method, system, equipment and storage medium
CN110661891B (en) Cross-network file instant transmission method and system based on unidirectional network
CN111857772A (en) Method and equipment for remote transmission and dynamic loading of terminal edge application program
CN113010474A (en) File management method, instant messaging method and storage server
US7296084B2 (en) Data management system and method
CN104065560A (en) Information processing method and system
JP2008065611A (en) Software update method and software update program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130828

Termination date: 20200521

CF01 Termination of patent right due to non-payment of annual fee