CN101393572B - Chart and document contractancy and standby system and method - Google Patents

Chart and document contractancy and standby system and method Download PDF

Info

Publication number
CN101393572B
CN101393572B CN200710201769XA CN200710201769A CN101393572B CN 101393572 B CN101393572 B CN 101393572B CN 200710201769X A CN200710201769X A CN 200710201769XA CN 200710201769 A CN200710201769 A CN 200710201769A CN 101393572 B CN101393572 B CN 101393572B
Authority
CN
China
Prior art keywords
information
shelves
database
file database
backup
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
CN200710201769XA
Other languages
Chinese (zh)
Other versions
CN101393572A (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 CN200710201769XA priority Critical patent/CN101393572B/en
Publication of CN101393572A publication Critical patent/CN101393572A/en
Application granted granted Critical
Publication of CN101393572B publication Critical patent/CN101393572B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a method for backing up figure file reduced capacity. The method comprises the following steps: acquiring the name of the figure file to be backed up and the figure file database of the figure file from a mould design system; deleting a drawing environmental parameter in the figure file database to obtain a new figure file database; acquiring figure information of all figures from the new figure file database; acquiring attribute information of all figures from the new figure file database; acquiring figure correlative information from the attribute information of the figures; acquiring the address of the backed-up database, and establishing connection between the backed-up database and the mould design system; establishing a data table in the backed-up database, wherein the name of the data table is the name of the figure file; and storing the obtained figure information, attribute information and figure correlative information in the data table. In addition, the invention also provides a system for backing up figure file reduced capacity.

Description

Figure document contractancy and standby system and method
Technical field
The present invention relates to a kind of figure document contractancy and standby system and method.
Background technology
In the mould design, the figure grade of speed of depositing and reading always is one of key factor of restriction mould design efficiency.The time of common mould design, in whole design process, each time point all will carry out the backup of figure shelves between 2 days to 5 days.After one mold design was finished, the hard drive space that is used for backing up designed graphic document was schemed about 20 times of shelves itself size often, and not only taking hard drive space influences system speed, influences the management and control of die drawing and archives simultaneously.In addition, with a cover small mould designed graphic document, between the 40M, time for reading is between 35 seconds to 60 seconds at 15M for figure shelves size, and time for reading is long and occur mistake easily when reading and cause the figure shelves to damage.
Summary of the invention
In view of above content, be necessary to provide a kind of figure document contractancy and standby system, the speed of depositing and reading of figure shelves is promoted significantly, guarantee the security of figure shelves simultaneously.
In addition, also be necessary to provide a kind of figure shelves capacity reducing backup method, the speed of depositing and reading of figure shelves is promoted significantly, guarantee the security of figure shelves simultaneously.
A kind of figure document contractancy and standby system, comprise figure file database, backup database and the main frame that mold designing system is installed that links to each other with backup database when database with this figure, this main frame comprises: extraction module is used for needing the title of backup figure shelves and the figure file database of these figure shelves from the mold designing system extraction; Removing module is used for deleting the drawing environment parameter of this figure file database, obtains new figure file database; Acquisition module is used for obtaining from this new figure file database the graphical information of all figures these figure shelves, obtains the attribute information of all figures in these figure shelves from this new figure file database, and obtains graphical association information from described attribute information; Module is set, is used to obtain the address of backup database, this backup database and this mold designing system are connected, be used for setting up a tables of data at this backup database, the name of this tables of data is called the title of these figure shelves; And preserve module, the graphical information, attribute information and the graphical association information that are used for being obtained are saved to this tables of data.
A kind of figure shelves capacity reducing backup method, this method comprise the steps: that extraction needs the title of backup figure shelves and the figure file database of these figure shelves from mold designing system; Delete the drawing environment parameter in this figure file database, obtain new figure file database; From this new figure file database, obtain the graphical information of all figures in these figure shelves; From this new figure file database, obtain the attribute information of all figures in these figure shelves; From the attribute information of described figure, obtain graphical association information; Obtain the address of backup database, backup database and this mold designing system are connected; Set up a tables of data in this backup database, the name of this tables of data is called the title of these figure shelves; And graphical information, attribute information and the graphical association information of being obtained is saved in this tables of data.
Compared to prior art, described figure document contractancy and standby system and method are deleted drawing environment from figure file database, the backup content uses external data base to preserve, and the figure shelves are deposited and the speed read promotes significantly, greatly save design person's time, also guaranteed the security of figure shelves simultaneously.
Description of drawings
Fig. 1 is the hardware structure figure of figure document contractancy and standby system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of computing machine among Fig. 1.
Fig. 3 is the operation process chart of figure shelves capacity reducing backup method of the present invention preferred embodiment.
Embodiment
As shown in Figure 1, be the hardware structure figure of figure document contractancy and standby system of the present invention preferred embodiment.This system comprises main frame 1, backup database 2, figure file database 3 and client 4.Wherein, main frame 1 is used for deleting the drawing environment parameter of figure file database 3 and with the associative operation of required figure shelves information back-up to backup database 2, it can be computing machine, the Mac PC of Apple company, personal computer, the webserver of IBM, can also be any computing machine that other is suitable for.Figure file database 3 links to each other with this main frame 1, is used for storing the information of all figure shelves of mold designing system.Backup database 2 links to each other with this main frame 1, and this backup database 2 is the external data base of mold designing system, is used for backing up the figure shelves information of figure file database 2.Client 4 links to each other with this main frame 1, is used for providing an interactive interface to the user, is convenient to user's input information to main frame 1.
As shown in Figure 2, be the functional block diagram of computing machine 1 among Fig. 1.Described computing machine 1 comprises extraction module 10, removing module 12, acquisition module 14, module 16 is set and preserves module 18.
Extraction module 10 is used for obtaining the figure file database 3 that the title that needs backup figure shelves and this need backup figure shelves from mold designing system.This figure file database 3 is used for preserving the figure shelves information of die design process, and this figure shelves information comprises: the attribute information of drawing environment parameter, graphical information and figure correspondence.
Removing module 12 is used for deleting the drawing environment parameter of this figure file database 3, obtains new figure file database.Described drawing environment parameter has taken big quantity space in figure file database, it comprises: figure layer information, font information, colouring information, line style information and mould global variable.This new figure file database is compared to the figure file database 3 before the deletion drawing environment parameter, and new chart file data storage capacity significantly reduces, and the speed of depositing and reading of figure shelves is promoted significantly.
Acquisition module 14 is used for obtaining from this new figure file database the graphical information of all figures these figure shelves.Described graphical information comprises: linear (for example: dotted line, solid line) of figure, linear color, linear width, the figure layer of figure and the type (for example: circle, circular arc, straight line) of figure.
Described acquisition module 14 also is used for obtaining from this new figure file database the attribute information of all figures these figure shelves.The attribute information of described figure comprises: the note and the corresponding graphical information of material, processing mode, machining precision, correspondence.
Described acquisition module 14 also is used for obtaining graphical association information from the attribute information of described figure.In attribute information,, then judge to exist and the corresponding graphical information of described attribute information if on the field of corresponding graphical information, shown the graphical information sequence number; In attribute information,, then judge not exist and the corresponding graphical information of described attribute information if on the field of corresponding graphical information, be shown as sky.This graphical information sequence number can represent with arabic numeral, for example: 1,2,3.If show 2 on the corresponding graphical information field in attribute information, then expression has and the corresponding graphical information of this attribute information, and this corresponding graphical information is 2; If be shown as sky on the corresponding graphical information field in attribute information, then expression does not have and the corresponding graphical information of this attribute information.
Module 16 is set, is used for this backup database 2 and mold designing system are connected.This backup database 2 is the external data base of mold designing system, utilize this backup database 2 to come data in the storage map profile database 3, not only save the shared space of mold designing system greatly, utilized database to come the control chart shelves to guarantee the security of figure shelves more simultaneously.
The described module 16 that is provided with also is used for setting up a tables of data at this backup database 2, and the name of this tables of data is called the title of these figure shelves that need back up.This tables of data can be the form of Excel.
Preserve module 18, the graphical information, attribute information and the graphical association information that are used for being obtained are saved to this tables of data.
After graphical information, attribute information and the graphical association information that described removing module 12 also is used for being obtained is saved to this tables of data, delete all data in the new figure file database.
As shown in Figure 3, be the operation process chart of figure shelves capacity reducing backup method of the present invention preferred embodiment.At first, step S10, extraction module 10 extract from mold designing system needs backup figure grade the title and the figure file database 3 of these figure shelves.
Step S12, the drawing environment parameter in removing module 12 these figure file database 3 of deletion obtains new figure file database.
Step S14, acquisition module 14 obtain the graphical information of all figures in these figure shelves from this new figure file database.
Step S16, acquisition module 14 obtain the attribute information of all figures in these figure shelves from this new figure file database.
Step S18, acquisition module 14 obtain graphical association information from the attribute information of described figure.
Step S20 is provided with module 16 backup database 2 and mold designing system is connected.
Step S22 is provided with module 16 and sets up a tables of data in this backup database 2, and the name of this tables of data is called the title of these figure shelves.
Step S24 preserves module 18 graphical information, attribute information and the graphical association information of being obtained is saved in this tables of data.
Step S26, graphical information, attribute information and the graphical association information of being obtained is saved to this tables of data after, all data in removing module 12 these new figure file database of deletion.

Claims (4)

1. figure document contractancy and standby system, comprise figure file database, the backup database of the attribute information that stores drawing environment parameter, graphical information and figure correspondence and the main frame that mold designing system is installed that links to each other with backup database with this figure file database, it is characterized in that this main frame comprises:
Extraction module is used for needing the title of backup figure shelves and the figure file database of these figure shelves from this mold designing system extraction;
Removing module is used for deleting the drawing environment parameter of this figure file database, obtains new figure file database;
Acquisition module is used for obtaining from this new figure file database the graphical information of all figures these figure shelves, obtains the attribute information of all figures in these figure shelves from this new figure file database, and obtains the related information of described figure from described attribute information;
Module is set, is used for this backup database and this mold designing system are connected, be used for setting up a tables of data at this backup database, the name of this tables of data is called the title of these figure shelves; And
Preserve module, the graphical information, attribute information and the graphical association information that are used for being obtained are saved to this tables of data.
2. figure document contractancy and standby system as claimed in claim 1 is characterized in that, described removing module also is used for after the graphical information of being obtained, attribute information and graphical association information are saved to this tables of data, deletes all data in the new figure file database.
3. a figure shelves capacity reducing backup method is characterized in that this method comprises the steps:
The figure file database of the attribute information that stores drawing environment, graphical information and figure correspondence of the title of extraction need backup figure shelves and these figure shelves from mold designing system;
Delete the drawing environment parameter in this figure file database, obtain new figure file database;
From this new figure file database, obtain the graphical information of all figures in these figure shelves;
From this new figure file database, obtain the attribute information of all figures in these figure shelves;
From the attribute information of described figure, obtain the related information of described figure;
Backup database and this mold designing system are connected;
Set up a tables of data in this backup database, the name of this tables of data is called the title of these figure shelves; And
Graphical information, attribute information and the graphical association information obtained are saved in this tables of data.
4. figure shelves capacity reducing backup method as claimed in claim 3 is characterized in that this method also comprises step:
After the graphical information of being obtained, attribute information and graphical association information are saved to this tables of data, delete all data in the new figure file database.
CN200710201769XA 2007-09-19 2007-09-19 Chart and document contractancy and standby system and method Expired - Fee Related CN101393572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710201769XA CN101393572B (en) 2007-09-19 2007-09-19 Chart and document contractancy and standby system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710201769XA CN101393572B (en) 2007-09-19 2007-09-19 Chart and document contractancy and standby system and method

Publications (2)

Publication Number Publication Date
CN101393572A CN101393572A (en) 2009-03-25
CN101393572B true CN101393572B (en) 2011-03-30

Family

ID=40493865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710201769XA Expired - Fee Related CN101393572B (en) 2007-09-19 2007-09-19 Chart and document contractancy and standby system and method

Country Status (1)

Country Link
CN (1) CN101393572B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288023A (en) * 2001-03-28 2002-10-04 Sekisui House Ltd Automatic backup file creating system and its method
CN1534898A (en) * 2003-03-31 2004-10-06 ������������ʽ���� Data back-up system and method, portable computer and mail transmitting system
CN1670735A (en) * 2004-03-15 2005-09-21 鸿富锦精密工业(深圳)有限公司 Mould design system and method
WO2005119460A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288023A (en) * 2001-03-28 2002-10-04 Sekisui House Ltd Automatic backup file creating system and its method
CN1534898A (en) * 2003-03-31 2004-10-06 ������������ʽ���� Data back-up system and method, portable computer and mail transmitting system
CN1670735A (en) * 2004-03-15 2005-09-21 鸿富锦精密工业(深圳)有限公司 Mould design system and method
WO2005119460A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk

Also Published As

Publication number Publication date
CN101393572A (en) 2009-03-25

Similar Documents

Publication Publication Date Title
CN103870492A (en) Data storing method and device based on key sorting
CN103678685A (en) Webpage labeling method and device
CN109726177A (en) A kind of mass file subregion indexing means based on HBase
EP4145334A1 (en) Document processing method and apparatus, and electronic device
CN102984357B (en) Contact person information managing method and managing device
WO2014110940A1 (en) A method, apparatus and system for storing, reading the directory index
EP3123360B1 (en) Partition filtering using smart index in memory
EP3343395B1 (en) Data storage method and apparatus for mobile terminal
US20140279842A1 (en) Inferring a sequence of editing operations to facilitate merging versions of a shared document
CN110019063A (en) Method, terminal device and the storage medium of calculate node data disaster tolerance playback
WO2018019310A1 (en) Big data system data backup and recovery methods and devices, and computer storage medium
CN101393572B (en) Chart and document contractancy and standby system and method
CN103207916A (en) Metadata processing method and device
CN106547438B (en) Method and device for checking electronic notes
CN103942186A (en) Method and system for managing documents
CN114692573A (en) Text structuring method, apparatus, computer device, medium, and product
CN113468377A (en) Video and literature association and integration method
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium
US8630984B1 (en) System and method for data extraction from email files
CN113536047A (en) Graph database data deleting method, system, electronic equipment and storage medium
CN103914481A (en) Data storage method and device
CN110879762A (en) Cloud backup deleting method and locally-stored cloud backup deleting method
TWI396985B (en) System and method for reducing space of a drawing document and backed up
CN102750290B (en) Realizing method of STB (Set Top Box) database and STB
CN110704385A (en) Lucene-based Payloads compression method

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

Termination date: 20140919

EXPY Termination of patent right or utility model