CN103618781B - The document transmission method of operation system and electronic document management system - Google Patents

The document transmission method of operation system and electronic document management system Download PDF

Info

Publication number
CN103618781B
CN103618781B CN201310598396.XA CN201310598396A CN103618781B CN 103618781 B CN103618781 B CN 103618781B CN 201310598396 A CN201310598396 A CN 201310598396A CN 103618781 B CN103618781 B CN 103618781B
Authority
CN
China
Prior art keywords
file
management system
electronic document
document management
bag
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.)
Active
Application number
CN201310598396.XA
Other languages
Chinese (zh)
Other versions
CN103618781A (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.)
Beijing Haitai Fangyuan High Technology Co Ltd
Original Assignee
Beijing Haitai Fangyuan High Technology 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 Beijing Haitai Fangyuan High Technology Co Ltd filed Critical Beijing Haitai Fangyuan High Technology Co Ltd
Priority to CN201310598396.XA priority Critical patent/CN103618781B/en
Publication of CN103618781A publication Critical patent/CN103618781A/en
Application granted granted Critical
Publication of CN103618781B publication Critical patent/CN103618781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a kind of operation system and the document transmission method of electronic document management system, including:Attribute information file, the document entity for the file that operation system will be sent are encapsulated into bag and push to electronic document management system;Electronic document management system records each information wrapped received by a main token;The main table of timing repeating query, each is got successively according to the record of main table to wrap and decompress, the storing path information including structure attribute file after decompression is saved in from table, the packet for including document entity and file attribute information file after decompression is saved in temp directory;Repeating query is from table, according to getting the structure attribute file from the record of table and the resolve packet after decompression is gone out into document entity and attribute information file accordingly;And the file server of electronic document management system is put in storage and is uploaded to accordingly.The uniformity in data transmission procedure can be achieved and reduces the pressure of the server in electronic document management system in a large number of services data transfer.

Description

The document transmission method of operation system and electronic document management system
Technical field
The present invention relates to a kind of document transmission method, the text of a kind of operation system and electronic document management system is particularly related to Part transmission method.
Background technology
Generally, operation system is set respectively with electronic document management system.Operation system provides the user related service, and Related file is generated, electronic document management system has the interface of operation system, for receiving associated documents, and is converted to electricity The form of data format required for sub-file management system, such as data form, is stored in the database configured.
At present, when operation system is docked with electronic document management system, the mode asked using Ht tp completes system Data transfer between system and system, the process be the file for generating operation system attribute information file and document entity (or Referred to as annex) separately request transmission.Separately transmitted with annex which results in attribute information, it is impossible to ensure the uniformity of data.
In addition, at present, after the document entity transmitted reaches electronic document management system, current management of electronic documents system System can then perform corresponding form conversion, deposit database action immediately.Electronic document management system distributes more resource (including CPU, internal memory etc.) is to perform the form conversion and the operation of database.Received when the electronic document management system short time During a large number of services data from one or more operation systems, larger can be caused to the server in electronic document management system Pressure.
The content of the invention
In view of this, it is a primary object of the present invention to provide the file of a kind of operation system and electronic document management system Transmission method, to realize uniformity in data transmission procedure and reduce the management of electronic documents in a large number of services data transfer The pressure of server in system.
A kind of operation system and the document transmission method of electronic document management system that the present invention is provided, including step:
Attribute information file, the document entity for the file that A, operation system will be sent are encapsulated under a file and encapsulated again Enter bag, push to electronic document management system;
B, electronic document management system record each information wrapped received by a main token;
C, the main table of electronic document management system timing repeating query, get each according to the record of main table and wrap and unpack successively, The storing path information including structure attribute file after unpacking is saved in from table, by after unpacking include document entity and The packet of file attribute information file is saved in temp directory;
D, electronic document management system repeating query get the structure attribute file and accordingly from table according to from the record of table Resolve packet after unpacking is gone out into document entity and attribute information file;
E, attribute information file is parsed to form required for conversion electron file management system, generation is write table statement and entered Storehouse, obtains document entity information according to corresponding file path attribute information in attribute information and is uploaded to electronic document management system File server.
By upper, attribute information file, the document entity of the file to be sent be encapsulated under a file be encapsulated into again wrap into Row transmission, realizes the uniformity in data transmission procedure.
Also, obtain data, unpacked data bag, encapsulation of data from operation system to be put in storage, whole process asynchronous process, not It is required that electronic document management system is handled the data of reception at once, this can effectively divide when handling big data quantity request Solve the server stress in electronic document management system.
Wherein, the information for each bag that main token record described in step B is received includes:Including push person, bag title and at this The storage path on ground.
Wherein, the content stored described in step C from table includes:The routing information of the structure attribute file preservation, solution Package name UUID after bag.
Wherein, the unpacking state of each bag recorded in main table is also updated after step C is unpacked simultaneously.
Wherein, it is described to be encapsulated into bag to be encapsulated into compressed package;It is described to unpack as decompression bag.
As seen from the above, it can be realized from operation system acquisition data, decompression packet, encapsulation by main table, from table The asynchronous process of each process of data loading, this can effectively decompose management of electronic documents system when handling big data quantity request Server stress in system.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the file transmission of operation system and electronic document management system;
Fig. 2 is compressed package schematic diagram;
Fig. 3 is the schematic diagram after compressed package shown in Fig. 2 is decompressed.
Embodiment
Referring to accompanying drawing, the present invention is described in detail, as Fig. 1 shows operation system and management of electronic documents system The schematic flow sheet of the file transmission of system, this document transmission comprises the following steps:
Step 10:When operation system will transmit file to electronic document management system, operation system is according to certain first Form by the attribute information for the file to be sent be packaged into an attribute information file, the file of such as XML format, this example belong to Property message file be Meta.xml files, by Meta.xml files and the file to be sent(That is document entity)It is encapsulated in one Compressed package, such as zip bags are encapsulated under file again.
It can encapsulate in monofile or composite file, such as Fig. 2 (A) and seal in the example of a zip bag as shown in Figure 2, zip bags Dress monofile be FileLoc.doc files, encapsulate multifile Fig. 2 (B) in multifile show FileLoc.doc, FileLoc1.txt, FileLoc2.xls, FileLoc3.xml, it is seen that different files can also be different types of file.
Wherein, when generating zip bags, zip bag names PackageUUID is that operation system is generated at random.Structure is included in zip bags It is FoldSettingXML.xml files in property file, this example, it is the guiding file of whole zip bags content, wherein, zip Bag name PackageUUID is consistent with PackageUUID in FoldSettingXML.xml;In FoldSettingXML.xml files Face record has the type of document entity packaged in zip bags, classification(Catalogue), the letter such as path of the document entity in zip bags Breath, the following is the example of FoldSettingXML.xml file particular contents, shows partial code.It wherein have recorded file real Title, type, authority of body etc..
<xml version=″1.0″encoding=″UTF-8″>
<PackageInfoManage
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xs:SchemaLocation=″FolderSetting.xsd″>
<!-- package identification is numbered(UUID), for unique mark bag -->
<PackageUUID>38C71948-A70B-4BE8-BC17-BDCBF5F9156A</Package UUID>
<!-- the file type of packet(Monofile, composite file)-->
<FileType>Monofile</FileType>
<!-- the affiliated classification of file, the description of files in packet(Specific format standard is referring to e-file contingency table It is accurate)-->
<FileCategory>Company's qualification-patent draft</FileCategory>
<!-- description of bag meta data file -->
<Metadata>Meta.xml</Metadata>
<!-- representation of APMB package built in packet -->
<PackageFiles>
<File FileLoc=”33D6A748-1F1E-4220-A781-1E21A8D52C6D.doc”
UUID=" 38C71948-A70B-4BE8-BC17-BDCBF5F9156A " Title=" patent
1″ParentFileUUID=″″Format=″doc″/>
</PackageFiles>
<!-- APMB package control of authority information, all accessible objects(Tissue, professional level, user)Mark -->
<Authorizers>
<Authorizer Name=" Zhang San " ObjectType=" users " ID=" zhangsan "/>
<Power>List</Power><!-- browsing items authority -->
<Power>Read</Power><!-- reading content authority -->
<Power>Print</Power><!-- printing content rights -->
</Authorizers>
<!-- packet uploader information -->
<Uploading Name=" OA management systems " DateTime=" 2013-10-03 14:23:12″/></ PackageInfoManage>
Also be packaged with Files files in zip bags, include inside Files files attribute information file Meta.xml and Document entity.Files files and FoldSettingXML.xml sane levels.
The example of Meta.xml structure has been illustrated below, partial code is shown:
<xml version=″1.0″encoding=″UTF-8″>
<MetaRoot xs:SchemaLocation=″metadata.xsd″
xmlns:xs=″http://www.w3.org/2001/XMLSchema-instance″>
<!-- using the document identification of UUID algorithms generation.Automatically generated when not providing by Transformation Service -->
<DocID>33D6A748-1F1E-4220-A781-1E21A8D52C6D</DocID>
<!-- the title of document.Title can be different from filename, the retrieval available for document.-->
<Title>Patent 1</Title>
<!-- the author of document.-->
<Author>Zhang San</Author>
<!-- the theme of document.For document to be grouped according to identical theme, and the text with identical theme can be retrieved Shelves.-->
<Subject>Patents draft draft</Subject>
<!-- the summary and annotation of document.-->
<Abstract></Abstract>
<!-- document changes the date recently.-->
<ModDate>2013-10-02 13:13:02</ModDate>
<!-- the classification of document.Retrieval and packet for document.-->
<DocUsage></DocUsage>
<!-- set of keywords, each keyword is usually expressed with one " keyword " member.-->
<Keywords>
<Keyword></Keyword>
</Keywords>
<!-- User Defined collection of metadata.-->
<CustomDatas>
<CustomData Name=″IDENTIFIER″></CustomData><!-- mark -->
<CustomData Name=″IDENTIFIER_TYPE″></CustomData><!-- identity type -->
<CustomData Name=″IDENTIFIER_NAME″></CustomData><!-- mark title -->
<CustomData Name=″IDENTIFIER_CODE″></CustomData><!-- identification code -->
<CustomData Name=″PROVENANCE″></CustomData><!-- source -->
<CustomData Name=″TITLE″></CustomData><!-- autograph -->
<CustomData Name=″SUBJECT″></CustomData><!-- theme -->
<CustomData Name=″DOCUMENT_NUMBER″></CustomData><!-- reference number of a document -->
<CustomData Name=″FORMAL_CHARACTERISTICS″></CustomData><!-- form feature -- >
<CustomData Name=″QUANTITY_AND_UNIT″></CustomData><!-- quantity and unit -->
<CustomData Name=″OPENLEVEL″></CustomData><!-- opening of documents grade -->
<CustomData Name=″LANGUAGE″></CustomData><!-- languages -->
<CustomData Name=″MANUSCRIPT_TYPE″></CustomData><!-- manuscript -->< CustomData Name=″ELECTRONIC_ATTRIBUTES″></CustomData><!-- electrical attributes -->
<CustomData Name=″FORMAT_INFORMATION″></CustomData><!-- format information -->
<CustomData Name=″COMPUTER_FILE_NAME″></CustomData><!-- computer document name -- >
<CustomData Name=″COMPUTER_FILE_SIZE″></CustomData><!-- computer document is big It is small -->
<CustomData
Name=″DIGITIZATION_PARAMETERS″></CustomData><!-- digitlization parameter -->
<CustomData Name=″MANAGEMENT_ATTRIBUTES″></CustomData><!-- management attribute -->
<CustomData Name=″ONLINE_LOCATION″></CustomData><!-- in line position -->
<CustomData Name=″OFFLINE_STORAGE″></CustomData><!-- offline storage -->
<CustomData Name=″DIGITAL_RIGHTS″></CustomData><!-- Digital Property -->
<CustomData Name=″BUSINESS_DESCRIPTION″></CustomData><!-- business description -->
……
</CustomDatas>
</MetaRoot>
Step 20:Operation system request webservice services push zip bags to electronic document management system.E-file Management system receives the zip bags pushed and returns to push success or failure status information.
Step 30:When step 20 is pushed successfully, then electronic document management system is by operation system pushed information, including pushes away The storage path of the person of sending, zip bags title and the zip bags in electronic document management system locally etc., is saved in main table Table A, with Each zip package informatin received is recorded, the table structure of main table Table A has been illustrated below:
Step 40:The information of each zip bag stored in the main table Table A of electronic document management system timing repeating query, according to Each information is recorded in main table Table A and obtains each zip bags title and zip bags successively in local storage path etc..
Step 50:Electronic document management system locally obtains each zip in storage path according to each zip bag obtained Bag, and each corresponding zip bag is decompressed, by the information after decompression, including package name UUID, structure attribute text after decompression Part is local storing path of FolderSettingXML files etc., is saved in from table table B, and the file after unpacking is believed Breath, the document entity and file attribute information included after unpacking as shown in Figure 3 is saved in temp directory, while updating main table The decompressed state information of each file bag recorded in A.The structure from table table B has been illustrated below:
Step 60:Electronic document management system timing repeating query is from table table B, according to the structure attribute text recorded from table table B The storing path of part, reads FolderSettingXML file contents(As in specific in above-mentioned FoldSettingXML.xml Hold)To parse the packet after whole decompression, document entity and property file are obtained.
Step 70:By property file(Such as Meta.xml)Parsing, the form required for conversion electron file management system, such as Parsing obtains the content after conversion one by one for the conversion of data dictionary, the calculating of retention period, distribution of authority etc., and predicative is write in generation Sentence storage, obtains document entity information according to corresponding file path attribute information in attribute information, is uploaded to e-file pipe The file server of reason system.Wherein, this step is identical with prior art processing mode, repeats no more.
As seen from the above, the present invention obtains data, decompression packet, encapsulation of data storage, whole mistake from operation system Journey asynchronous process, it is not required that electronic document management system is handled the data of reception at once, this is in processing big data quantity Energy effective resolution service device pressure during request, while being packaged with sending by document entity and attribute information, also ensures The integrality and uniformity of data.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (5)

1. the document transmission method of a kind of operation system and electronic document management system, it is characterised in that including:
Attribute information file, the document entity for the file that A, operation system will be sent are encapsulated under a file and are encapsulated into again Bag, pushes to electronic document management system;
B, electronic document management system record each information wrapped received by a main token;
C, the main table of electronic document management system timing repeating query, get each according to the record of main table and wrap and unpack, will solve successively The storing path information including structure attribute file after bag is saved in from table, will include document entity and file after unpacking The packet of attribute information file is saved in temp directory;
D, electronic document management system repeating query are from table, according to getting the structure attribute file from the record of table and accordingly will solution Resolve packet after bag goes out document entity and attribute information file;
E, by attribute information file parse conversion electron file management system required for form, generation write table statement storage, root The text that document entity information is uploaded to electronic document management system is obtained according to corresponding file path attribute information in attribute information Part server.
2. the document transmission method of operation system according to claim 1 and electronic document management system, it is characterised in that The information for each bag that main token record described in step B is received includes:Including push person, bag title and in local storage path.
3. the document transmission method of operation system according to claim 1 and electronic document management system, it is characterised in that The content stored described in step C from table includes:Routing information that the structure attribute file is preserved, unpack after package name UUID。
4. the document transmission method of operation system according to claim 1 and electronic document management system, it is characterised in that Step C also updates the unpacking state of each bag recorded in main table simultaneously after unpacking.
5. the document transmission method of operation system according to claim 1 and electronic document management system, it is characterised in that It is described to be encapsulated into bag to be encapsulated into compressed package;It is described to unpack as decompression bag.
CN201310598396.XA 2013-11-22 2013-11-22 The document transmission method of operation system and electronic document management system Active CN103618781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310598396.XA CN103618781B (en) 2013-11-22 2013-11-22 The document transmission method of operation system and electronic document management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310598396.XA CN103618781B (en) 2013-11-22 2013-11-22 The document transmission method of operation system and electronic document management system

Publications (2)

Publication Number Publication Date
CN103618781A CN103618781A (en) 2014-03-05
CN103618781B true CN103618781B (en) 2017-09-15

Family

ID=50169485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310598396.XA Active CN103618781B (en) 2013-11-22 2013-11-22 The document transmission method of operation system and electronic document management system

Country Status (1)

Country Link
CN (1) CN103618781B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317601B (en) * 2014-10-31 2017-10-17 北京思特奇信息技术股份有限公司 A kind of file interface development approach and system
CN105426348B (en) * 2015-10-22 2018-05-25 江苏国泰新点软件有限公司 A kind of generation method, the device and system of expandable mark language XML file
CN106302751A (en) * 2016-08-17 2017-01-04 中国联合网络通信集团有限公司 The archiving method of electronic record, interface server and filing system
CN106408270A (en) * 2016-10-08 2017-02-15 北京恒华伟业科技股份有限公司 Management method and device for service function configurable attachment
WO2020034154A1 (en) * 2018-08-16 2020-02-20 朱小军 Data protein acting on biomimetic data cell body
CN117041244B (en) * 2023-08-25 2024-07-09 广东保伦电子股份有限公司 Implementation method for batch uploading of audio files and processing terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094026A (en) * 2006-06-19 2007-12-26 上海全成通信技术有限公司 Method for synchronizing, transmitting mass data, and inputting mass data to database
CN101770503A (en) * 2009-12-31 2010-07-07 深圳联友科技有限公司 File packing and unpacking method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146110B (en) * 2007-09-25 2011-06-29 深圳市迅雷网络技术有限公司 A method for playing stream media
CN101764849B (en) * 2010-01-19 2016-04-27 深圳市同洲电子股份有限公司 Digital TV front-end server, the method setting up catalog organization structure and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094026A (en) * 2006-06-19 2007-12-26 上海全成通信技术有限公司 Method for synchronizing, transmitting mass data, and inputting mass data to database
CN101770503A (en) * 2009-12-31 2010-07-07 深圳联友科技有限公司 File packing and unpacking method

Also Published As

Publication number Publication date
CN103618781A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN103618781B (en) The document transmission method of operation system and electronic document management system
US9300764B2 (en) High efficiency binary encoding
US8135750B2 (en) Efficiently describing relationships between resources
US20120246129A1 (en) Efficient storage and retrieval for large number of data objects
TW200300889A (en) Computer implemented PDF document management
Chiu et al. A binary XML for scientific applications
US10601897B2 (en) Transfer of files with arrays of strings in SOAP messages
US20100241651A1 (en) Processing of files for electronic content management
US20080140700A1 (en) Navigation of the content space of a document set
JP2002169761A (en) Multimedia data electronic mail system
CN101395920A (en) Device and method for generating a media package
US20100287247A1 (en) Method and system for secure web service data transfer
CN106339362B (en) A kind of big Document encapsulation method of archive information packet and client
US6714950B1 (en) Methods for reproducing and recreating original data
CN101799890B (en) Certificate data processing method and system
US20070112848A1 (en) Method and system for concurrently processing multiple large data files transmitted using a multipart format
CN101005373A (en) E-mail transmitting system and method for patent application
EP1205855A2 (en) Data managing method, data managing system, data managing apparatus, data handling apparatus, computer program, and recording medium
KR102169930B1 (en) Semantic Information Management Method for a M2M/IoT platform
US20040098498A1 (en) Composable data streams for managing flows
KR20180108505A (en) Method for transforming data for low volume transmission of meta model base protocol, and data transmitting system for low volume transmission of meta model base protocol
US20140317067A1 (en) Data de-duplication
Smith et al. Creating preservation-ready web resources
CN112464267B (en) Electronic file packaging method
CN114357249B (en) Data processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100094, Beijing, Haidian District, West Road, No. 8, Zhongguancun Software Park, building 9, international software building E, one floor, two layers

Applicant after: BEIJING HAITAI FANGYUAN HIGH TECHNOLOGY CO., LTD.

Address before: 100094, Beijing, Haidian District, West Road, No. 8, Zhongguancun Software Park, building 9, international software building E, one floor, two layers

Applicant before: Beijing Haitai Fangyuan High Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant