CN1255679A - Method of Dynamic Editing and Executing of Files - Google Patents
Method of Dynamic Editing and Executing of Files Download PDFInfo
- Publication number
- CN1255679A CN1255679A CN 98123013 CN98123013A CN1255679A CN 1255679 A CN1255679 A CN 1255679A CN 98123013 CN98123013 CN 98123013 CN 98123013 A CN98123013 A CN 98123013A CN 1255679 A CN1255679 A CN 1255679A
- Authority
- CN
- China
- Prior art keywords
- file
- files
- storage unit
- cursor
- folder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000012545 processing Methods 0.000 claims description 27
- 230000003287 optical effect Effects 0.000 claims description 3
- 230000006837 decompression Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明有关一种文件的动态编辑与执行的方法,特别是指一种不须经由解压缩程序,即能编辑一压缩文件内所含的文件的方法;中藉由一数据表单列出压缩文件内的所有的文件,透过光标的点选,以文件编辑器对其中某个文件的内容进行编辑,并且于编辑后将前述的文件,连同改变的数据回存入原压缩文件内,此外经由光标的拖曳,可任意地增加或删除压缩文件中的文件。
The present invention relates to a method for dynamically editing and executing files, and more particularly to a method for editing files contained in a compressed file without going through a decompression program; wherein all files in the compressed file are listed in a data form, and the content of a certain file is edited by a file editor by clicking a cursor, and after editing, the aforementioned file together with the changed data is saved back into the original compressed file, and in addition, files in the compressed file can be added or deleted arbitrarily by dragging the cursor.
Description
本发明涉及一种文件的动态编辑与执行的方法,尤其是一种能任意编辑与执行压缩档内所含文件的方法。The invention relates to a method for dynamically editing and executing files, in particular to a method for arbitrarily editing and executing files contained in a compressed file.
当前各种格式的压缩档的产生方式,均是用其所属的压缩工具依既定参数,将数个文件压缩成压缩档,而形成一占用空间较小的数据包;因此,当使用者要查阅前述压缩档的内容时,就必须由原压缩工具对该压缩档做再次的扫瞄才能浏览得到;此外,若想进一步对该压缩档内的某一文件做编辑或执行该文件时,就必须将前述的压缩档或该文件做完全的解压缩,才能对其进行操作;又,假如目前的工作磁盘空间无法存放该解压缩后的文件,那么就无法编辑或执行该文件了,而且的后还要再以压缩工具对该文件重新作压缩,以将它放回到原压缩档内;如此一来,不但使操作变得较为复杂,影响处理速度,而且在操作的过程中所产生的临时文件,更是会占用磁盘的使用空间,徒增使用者的不便。At present, the generation methods of compressed files in various formats are to use their own compression tools to compress several files into compressed files according to predetermined parameters, so as to form a data package with a small footprint; therefore, when users want to view The contents of the aforementioned compressed file must be scanned again by the original compression tool to browse the compressed file; in addition, if you want to further edit or execute a certain file in the compressed file, you must Only by fully decompressing the aforementioned compressed file or the file can it be operated; in addition, if the current working disk space cannot store the decompressed file, then the file cannot be edited or executed, and the subsequent It is necessary to re-compress the file with a compression tool to put it back into the original compressed file; in this way, not only the operation becomes more complicated, the processing speed is affected, but also the temporary Files will take up space on the disk and increase the inconvenience of users.
本发明的主要目的在于解决上述问题,提出一动态的文件处理方法,令使用者在对前述的压缩档进行内容查询,或对其中某一文件内容编辑时,不需经由习惯繁琐的操作程序,即可达到直接查询文件及任意编辑文件的目的,同时亦可依需求任意新增及删除该压缩档中的文件;是先将存放在一存储单元中的压缩档,处理成一数据匣的型式,并且将该压缩档中所保存各笔数据,转成附属在该数据匣内的各类文件;然后便可以处理一般文件的方式,以编辑器直接进行该笔资料的编辑,并再将修改后的内容直接回存入前述的压缩档中,如此便可简化传统方式的复杂操作程序,及磁盘的使用空间。The main purpose of the present invention is to solve the above problems, and propose a dynamic file processing method, so that the user does not need to go through the cumbersome operating procedures when performing content query on the aforementioned compressed files, or when editing the content of one of the files. The purpose of directly querying files and editing files can be achieved, and at the same time, files in the compressed file can be added and deleted arbitrarily according to requirements; the compressed file stored in a storage unit is first processed into a data box type, And convert each piece of data saved in the compressed file into various files attached to the data box; then you can process the general file, edit the data directly with the editor, and then edit the modified The content of the file is directly stored in the aforementioned compressed file, so that the complex operation procedures of the traditional method and the space used on the disk can be simplified.
有关本发明的详细内容及技术,将参照附图说明如后:Relevant details and technology of the present invention will be described as follows with reference to the accompanying drawings:
图1,为本发明的文件系统管理的基本框图。Fig. 1 is a basic block diagram of the file system management of the present invention.
图2,为本发明的动态文件夹处理的流程图。Fig. 2 is a flow chart of the dynamic folder processing of the present invention.
图3,为本发明的动态文件夹浏览的流程图。Fig. 3 is a flow chart of the dynamic folder browsing of the present invention.
图4,为本发明的动态文件输入/输出的流程图。Fig. 4 is a flow chart of the dynamic file input/output of the present invention.
图5,为本发明的硬件框图。Fig. 5 is a hardware block diagram of the present invention.
图6,为本发明的实施例的一个视窗示意图。FIG. 6 is a schematic view of a window in an embodiment of the present invention.
图7,为本发明的实施例的另一个视窗示意图。FIG. 7 is a schematic diagram of another window according to the embodiment of the present invention.
图1为本发明的文件系统管理的基本框图,如图所示,它包括应用层10、界面控制层20、文件系统管理层30、存储空间管理层40、以及物理层50;主要是藉由该文件系统管理层30中的视窗文件系统管理单元31,来拦截整个作业系统(O.S.)中文件输出/输入的操作;首先是将在视窗(Windows)工作平台11或磁盘操作系统(DOS)工作平台12或其它工作平台13上进行的文件操作,经由其相应的应用程序界面(API)21、磁盘作业系统中断界面22及其它工作平台的操作界面23,以该文件系统管理层30中的文件系统管理单元31转换成一个统一的通讯窗口,然后根据前述各工作平台的所处的物理位置或其所指定的文件存放的物理位置,通过该存储空间管理层40中的一动态文件处理单元32,调用相应的驱动单元,以驱动相关存储设备;因此,若工作标的在本地的物理位置,该动态文件处理单元32则调用本地文件系统驱动单元41来驱动物理层50中的本地存储单元51;若是网络中的某一物理位置,该动态文件处理单元32便调用网络文件系统驱动单元42,驱动网络存储单元52;此外,若属于其它类型的工作平台,就调用其它文件系统驱动单元43,以驱动相应的存储单元53。Fig. 1 is the basic block diagram of file system management of the present invention, as shown in the figure, it comprises
在上述中,各存储单元(51、52、53)可为磁盘或光盘或磁带或存储器,而该动态文件处理单元32则是用以在当用户要对一个压缩档内的文件进行编辑,或新增、删除文件时,将提取自前述各存储单元(51、52、53)中的文件进行动态文件夹处理60、动态文件夹浏览70,以及动态文件输入/输出80的预处理;图2为本发明动态文件夹处理的流程图,如图所示,在提取物理层50中的文件时,首先是以应用层中的任一工作平台获取文件的属性61,然后判断该文件是否为指定的类型62,如果是,则透过该动态文件处理单元32,将文件的属性处理为文件夹621,并将所含的各项资料处理成该文件夹下的文件622,否则直接经由该存储空间管理层将文件自物理层中提取出来63;图3为本发明的动态文件夹浏览的流程图,如图所示,假如欲浏览文件夹的内容时,是于应用层中发出对文件夹内容作浏览71的讯息后,进一步地判断是否是对以动态处理后的文件夹作浏览72,如果是,便经由该动态文件处理单元32,依据该文件内所含的各项资料以文件的型式回传至应用层73;若为否,则直接经由该存储空间管理层,自物理层中提取配置于该文件夹下的文件74;图4为本发明的动态文件输入/输出的流程图,如图所示,当使用者应用层10要打开文件夹内的文件时,即于应用层对文件作输入/输出的操作81,该动态文件处理单元32会截取前述的操作,并判断是否是对该处理为文件夹的文件作输入/输出的操作82,如果是,则对保存在该处理为文件夹的文件内的该项资料作输入/输出的操作83,也就是藉由该动态文件处理单元32,将保存在该处理为文件夹的文件内的该项资料,转为相应的文件型式的数据83,传回至应用层10中,同时在当使用者于应用层10完成文件的编辑后,再由该动态文件处理单元32将修改后的内容,存入该处理为文件夹的文件的相应的该项资料中;否则直接至存储空间管理层,对物理层进行文件输入/输出的操作84。In the above, each storage unit (51, 52, 53) can be a magnetic disk or an optical disk or a magnetic tape or a memory, and the dynamic
因此,图5为本发明的硬件框图,包含有:一中央处理单元91;一显示器92;一输入单元93;以及前述的存储单元(51、52、53);如果在前述的图5的硬件结构中,当一视窗95(Windows 95)系统的文件管理员浏览该存储单元(51、52、53)中的数据时,该中央处理单元91将会依照图2及图3的处理流程,由图1所示的文件系统管理层30中的该动态文件处理单元32,把具有压缩格式的压缩档均处理为文件夹的格式,显示于该显示器92内,如图6中所示,将名为“DosUpg.zip”的压缩档,理为“Dos Upg.zip”的文件夹,并且把该“DosUpg.zip”压缩档的内容,以文件的方式列于文件管理员的内容栏位中。Therefore, Fig. 5 is a hardware block diagram of the present invention, comprising: a
当使用者想编辑前述压缩档内某一项数据时,只需以输入单元93控制显示器92中的光标,开启一编辑器并在该已被处理为文件夹的压缩档中找到所要编辑的文件,该中央处理单元91则会依循图4的处理流程,以该动态文件处理单元32将其相应的内容解压缩,显示于该显示器92内的该编辑器中,如图7所示,即是以Wordpad开启名为“Readme”的文件,供使者查阅或编辑;待使用者于Wordpad中将“Readme”文件编辑完毕,进行存储时,该动态文件处理单元32就会将该“Readme”文件压缩,并回存于压缩档中,参见图6与图7,该“Readme”文件已由原先的18k于变成编辑后的60k。When the user wants to edit a certain item of data in the aforementioned compressed file, he only needs to use the
总结上述,在编辑、浏览压缩档的内容的过程中,本发明不须先行将压缩档作解压缩的处理,只须在当编辑器对压缩档内的某一文件编辑时,通过该动态文件处理单元32,及依据图2至图4的处理流程,适时将该文件解压缩于编辑器中,即可对该文件进行编辑,并于编辑完毕后回存于该压缩档中,不会因而额外占用存储单元(51、52、53)的空间;此外,若是要对磁盘中的某一文件夹或文件进行压缩时,只需将其后缀名改为与压缩档相同的后缀名,该动态文件处理单元32便会对其进行文件压缩,反的,若将压缩档的后缀名改为原来的后缀名时,该压缩档就会被该动态文件处理单元32解压缩,展开成原来的大小与格式;同时亦可在工作平台的文件管理表单中,通过输入单元93控制显示器92中的光标,来新增或删除该压缩档内的资料。To sum up the above, in the process of editing and browsing the content of the compressed file, the present invention does not need to decompress the compressed file first, and only needs to pass the dynamic file when editing a certain file in the compressed file. The
虽然本发明只以一实施例说明如上,然其并非用于限定本发明,本领域的技术人员,在不脱离本发明的精神和范围内,可作一些更动与润饰,因此本发明的保护范围由所附权利要求进行限定。Although the present invention is only described as above with an embodiment, it is not intended to limit the present invention. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection of the present invention The scope is defined by the appended claims.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98123013 CN1255679A (en) | 1998-11-30 | 1998-11-30 | Method of Dynamic Editing and Executing of Files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98123013 CN1255679A (en) | 1998-11-30 | 1998-11-30 | Method of Dynamic Editing and Executing of Files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1255679A true CN1255679A (en) | 2000-06-07 |
Family
ID=5228004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 98123013 Pending CN1255679A (en) | 1998-11-30 | 1998-11-30 | Method of Dynamic Editing and Executing of Files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1255679A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312550C (en) * | 2005-03-28 | 2007-04-25 | 北京紫光华宇软件股份有限公司 | Method for dumping data to mobile storage medium and extracting data therefrom |
-
1998
- 1998-11-30 CN CN 98123013 patent/CN1255679A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312550C (en) * | 2005-03-28 | 2007-04-25 | 北京紫光华宇软件股份有限公司 | Method for dumping data to mobile storage medium and extracting data therefrom |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4201154B2 (en) | Digital story creation and playback method and system | |
US8689125B2 (en) | System and method for automatic information compatibility detection and pasting intervention | |
US7478336B2 (en) | Intermediate viewer for transferring information elements via a transfer buffer to a plurality of sets of destinations | |
US20050102630A1 (en) | Meta window for merging and consolidating multiple sources of information | |
JP3441309B2 (en) | How to display functional objects in graphical programming | |
JP2001306308A (en) | How to define a class for data-centric applications | |
US20050204307A1 (en) | Method, system and interface enabling a user to access the computer resources of a computer processing device in an ergonomic and intuitive manner | |
KR20140132731A (en) | Web page application controls | |
JP4197328B2 (en) | System for controlling display of data editing screen and method thereof | |
JP3601675B2 (en) | Information retrieval apparatus, information retrieval method, and recording medium | |
JP3448874B2 (en) | Document processing apparatus and document processing method | |
CN106126254B (en) | The associated head-up interface game editing system of one kind and method | |
CN100447784C (en) | Information management device and information management method | |
JP2000231570A (en) | Internet information processing apparatus, Internet information processing method, and computer-readable recording medium storing a program for causing a computer to execute the method | |
CN1325056A (en) | How to quickly switch between interfaces | |
CN1255679A (en) | Method of Dynamic Editing and Executing of Files | |
CN111489122A (en) | A method, device and readable storage medium for editing and displaying multiple pieces of BOM data based on a browser | |
CN117115307A (en) | Flutter-based rich text editing method, device, equipment and media | |
JPH0628145A (en) | Icon processing method | |
JPH06251078A (en) | Information processing equipment | |
CN114580365A (en) | Form component drawing method, device, electronic device and storage medium | |
JP2000148799A (en) | Method for making applications in hand-held device share data | |
JP2833158B2 (en) | Browser display method for hypermedia device | |
TW387070B (en) | Method for dynamic editing an execution of file | |
JP3798580B2 (en) | DATA MANAGEMENT SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR EXECUTING THE DATA MANAGEMENT SYSTEM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |