[go: up one dir, main page]

CN101393572B - Image file reduction backup system and method - Google Patents

Image file reduction backup 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
database
graphic
file
information
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

一种图档缩容备份方法,该方法包括如下步骤:从模具设计系统中获取需备份图档的名称和该图档的图档数据库;删除该图档数据库中的绘图环境参数,得到新的图档数据库;从该新的图档数据库中获取所有图形的图形信息;从该新的图档数据库中获取所有图形的属性信息;从所述图形的属性信息中获取图形关联信息;获取备份数据库的地址,将备份数据库与模具设计系统建立连接;在该备份数据库中建立一个数据表,该数据表的名称为该图档的名称;及将所获取的图形信息、属性信息及图形关联信息保存至该数据表中。另外,本发明还提供一种图档缩容备份系统。

Figure 200710201769

A drawing file reduction backup method, the method comprises the following steps: obtaining the name of the drawing file to be backed up and the drawing database of the drawing file from a mold design system; deleting the drawing environment parameters in the drawing database, and obtaining a new Graphic file database; acquire graphic information of all graphics from the new graphic file database; acquire attribute information of all graphics from the new graphic file database; acquire graphic association information from the attribute information of the graphic; obtain a backup database address, establish a connection between the backup database and the mold design system; create a data table in the backup database, and the name of the data table is the name of the drawing file; and save the obtained graphic information, attribute information and graphic related information to this datasheet. In addition, the present invention also provides an image file shrinkage backup system.

Figure 200710201769

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.一种图档缩容备份系统,包括存储有绘图环境参数、图形信息及图形对应的属性信息的图档数据库、备份数据库及与该图档数据库和备份数据库相连的安装有模具设计系统的计算机主机,其特征在于,该计算机主机包括:1. A drawing file shrinkage backup system, comprising a drawing database storing drawing environment parameters, graphic information and attribute information corresponding to the drawing, a backup database and a mold design system connected to the drawing database and the backup database being installed A computer host, characterized in that the computer host includes: 提取模块,用于从该模具设计系统中提取需备份图档的名称和该图档的图档数据库;An extraction module, used to extract the name of the drawing file to be backed up and the drawing database of the drawing file from the mold design system; 删除模块,用于删除该图档数据库中的绘图环境参数,得到新的图档数据库;The deletion module is used to delete the drawing environment parameters in the drawing database to obtain a new drawing database; 获取模块,用于从该新的图档数据库中获取该图档中所有图形的图形信息,从该新的图档数据库中获取该图档中所有图形的属性信息,及从所述属性信息中获取所述图形的关联信息;The obtaining module is used to obtain the graphic information of all the graphics in the graphic file from the new graphic file database, acquire the attribute information of all the graphics in the graphic file from the new graphic file database, and obtain the graphic information from the attribute information Acquiring associated information of the graphic; 设置模块,用于将该备份数据库与该模具设计系统建立连接,用于在该备份数据库中建立一个数据表,该数据表的名称为该图档的名称;及A setting module is used to establish a connection between the backup database and the mold design system, and to create a data table in the backup database, and the name of the data table is the name of the drawing file; and 保存模块,用于将所获取的图形信息、属性信息及图形关联信息保存至该数据表中。The saving module is used to save the acquired graphic information, attribute information and graphic related information into the data table. 2.如权利要求1所述的图档缩容备份系统,其特征在于,所述删除模块还用于在所获取的图形信息、属性信息及图形关联信息保存至该数据表后,删除新的图档数据库中的所有数据。2. The image file shrinkage backup system according to claim 1, wherein the deletion module is also used to delete the new image file after the acquired image information, attribute information, and image associated information are stored in the data table. All data in the image file database. 3.一种图档缩容备份方法,其特征在于,该方法包括如下步骤:3. A backup method for image file shrinkage, characterized in that the method comprises the steps: 从模具设计系统中提取需备份图档的名称和该图档的存储有绘图环境、图形信息及图形对应的属性信息的图档数据库;Extract the name of the drawing file to be backed up from the mold design system and the drawing file database that stores the drawing environment, graphic information and attribute information corresponding to the drawing file; 删除该图档数据库中的绘图环境参数,得到新的图档数据库;Delete the drawing environment parameters in the picture file database to obtain a new picture file database; 从该新的图档数据库中获取该图档中所有图形的图形信息;Acquiring graphic information of all graphics in the graphic file from the new graphic file database; 从该新的图档数据库中获取该图档中所有图形的属性信息;Obtain attribute information of all graphics in the graphic file from the new graphic file database; 从所述图形的属性信息中获取所述图形的关联信息;Acquiring the associated information of the graphic from the attribute information of the graphic; 将备份数据库与该模具设计系统建立连接;Establish a connection between the backup database and the mold design system; 在该备份数据库中建立一个数据表,该数据表的名称为该图档的名称;及create a data table in the backup database, the name of the data table is the name of the graphic file; and 将所获取的图形信息、属性信息及图形关联信息保存至该数据表中。Save the acquired graphic information, attribute information and graphic associated information into the data table. 4.如权利要求3所述的图档缩容备份方法,其特征在于,该方法还包括步骤:4. the image file reduction backup method as claimed in claim 3, is characterized in that, the method also comprises the step: 在所获取的图形信息、属性信息及图形关联信息保存至该数据表后,删除新的图档数据库中的所有数据。After the acquired graphic information, attribute information and graphic related information are saved in the data table, all data in the new graphic file database is deleted.
CN200710201769XA 2007-09-19 2007-09-19 Image file reduction backup 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 Image file reduction backup system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710201769XA CN101393572B (en) 2007-09-19 2007-09-19 Image file reduction backup 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 Image file reduction backup 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 creation system and method
CN1534898A (en) * 2003-03-31 2004-10-06 ������������ʽ���� Data backup system, data backup method, wearable computer, mail delivery system
CN1670735A (en) * 2004-03-15 2005-09-21 鸿富锦精密工业(深圳)有限公司 Mold 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 creation system and method
CN1534898A (en) * 2003-03-31 2004-10-06 ������������ʽ���� Data backup system, data backup method, wearable computer, mail delivery system
CN1670735A (en) * 2004-03-15 2005-09-21 鸿富锦精密工业(深圳)有限公司 Mold 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
US9250779B2 (en) System and method for content creation
JP5684236B2 (en) Maintain undo and redo functions across metadata merges
CN103049491A (en) Method and device for managing picture file
JP2012525635A5 (en)
KR20160003682A (en) Hydration and dehydration with placeholders
CN103218224A (en) Method and terminal for improving utilization ratio of memory space
CN111159594A (en) Information processing method, information processing device and terminal equipment
EP3468047A1 (en) Method and device for decoding variable-length coding file
CN111813747A (en) File batch renaming method, electronic equipment and computer readable storage medium
CN111563366A (en) Document processing method, device and electronic device
US9063949B2 (en) Inferring a sequence of editing operations to facilitate merging versions of a shared document
US20050281437A1 (en) Talking paper
EP3343395B1 (en) Data storage method and apparatus for mobile terminal
US9111398B2 (en) Method and system to perform dynamic layout of photographs
CN104850559A (en) Slide independent storage, retrieval and recombination method and equipment based on presentation document
US20150089335A1 (en) Smart processing of an electronic document
CN101393572B (en) Image file reduction backup system and method
CN109615668B (en) Component-based digital image synchronization
CN110879762A (en) Cloud backup deleting method and locally-stored cloud backup deleting method
CN103942186A (en) Method and system for managing documents
TWI396985B (en) System and method for reducing space of a drawing document and backed up
CN102270179A (en) Data storing and processing method and system for CAD (Computer Assisted Drafting) system based on fragments
CN101430715B (en) Data memory method and apparatus after type-setting
CN112527911B (en) Data storage method, device, equipment and medium
CN102129702A (en) Image thumbnail making method and system thereof

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