TWI539301B - The method of electronic document producing and device thereof - Google Patents

The method of electronic document producing and device thereof Download PDF

Info

Publication number
TWI539301B
TWI539301B TW104116790A TW104116790A TWI539301B TW I539301 B TWI539301 B TW I539301B TW 104116790 A TW104116790 A TW 104116790A TW 104116790 A TW104116790 A TW 104116790A TW I539301 B TWI539301 B TW I539301B
Authority
TW
Taiwan
Prior art keywords
module
objects
electronic
electronic file
file
Prior art date
Application number
TW104116790A
Other languages
Chinese (zh)
Other versions
TW201642148A (en
Inventor
李春雄
洪瑞展
Original Assignee
正修科技大學
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 正修科技大學 filed Critical 正修科技大學
Priority to TW104116790A priority Critical patent/TWI539301B/en
Application granted granted Critical
Publication of TWI539301B publication Critical patent/TWI539301B/en
Publication of TW201642148A publication Critical patent/TW201642148A/en

Links

Description

電子文件產生方法及其裝置 Electronic file generation method and device thereof

本發明係關於一種電子文件產生方法及其裝置,尤其是一種可透過物件解析而產生統一檔案格式之電子文件的電子文件產生方法及其裝置。 The present invention relates to an electronic document generating method and apparatus thereof, and more particularly to an electronic document generating method and apparatus capable of generating an electronic file in a unified file format through object analysis.

隨著資訊科技的進步,文獻資料的記載方式已逐漸由紙本紀錄轉變為電子媒體儲存,這種轉變也意味著紙本文件邁向電子化的時代已悄然來臨。其中,凡以文字、聲音、圖片、影像、符號或其他資料,以人之知覺無法直接認識之方式進行紀錄,且可透過電子形式進行處理或輸出之任何電子媒體內容,均可稱為電子文件。 With the advancement of information technology, the way in which the literature has been recorded has gradually changed from a paper-based record to an electronic media store. This change also means that the era of electronic paper-based documents has quietly arrived. Among them, any electronic media content that is recorded in the form of words, sounds, pictures, images, symbols or other materials that cannot be directly recognized by human perception and can be processed or exported through electronic means may be called electronic documents. .

電子文件的檔案格式琳瑯滿目,例如文件檔(.doc檔)、簡報檔(.ppt檔)、圖片檔(.jpg檔)或網頁檔(.htm檔)等,為了使電子文件能以相同的檔案格式於網際網路中傳輸,國際數位出版論壇(IDPF)便提出一套電子出版(Electronic Publication,EPUB)標準以作為電子圖書的標準,使電子文件能統一以電子出版檔(.epub)的檔案格式儲存於一雲端伺服器,以供使用者藉由一使用者裝置讀取該雲端伺服器之電子文件時,能僅透過單一閱讀器即能開啟統一檔案格式之電子文件,令使用者能順利獲取該電子文件所記載的訊息。 The file format of electronic documents is dazzling, such as file files (.doc files), briefing files (.ppt files), image files (.jpg files) or web files (.htm files), etc., in order to make electronic files available in the same file. The format is transmitted over the Internet, and the International Digital Publishing Forum (IDPF) proposes an electronic publication (EPUB) standard as a standard for electronic books, enabling electronic files to be unified into electronic publishing files (.epub) files. The format is stored in a cloud server, so that when the user reads the electronic file of the cloud server by using a user device, the electronic file in the unified file format can be opened only by a single reader, so that the user can smoothly Obtain the message described in the electronic file.

僅管電子出版標準的推動能帶來閱讀電子文件的便利,然而,建立電子出版檔的電子文件目前仍面臨許多問題。舉例而言,當使用 者端建立一原始電子文件時,該原始電子文件的檔案格式可能非為該電子出版檔,例如文件檔或簡報檔等,若欲將不同檔案格式之該原始電子文件轉換為統一檔案格式之一轉換電子文件,必須透過不同的轉換軟體方可對不同檔案格式的原始電子文件進行轉換,使得習知電子文件之檔案格式的轉檔過程具有轉換便利性不佳的問題。此外,當該雲端伺服器對數個原始電子文件進行轉換而分別產生數個轉換電子文件時,由於該轉換電子文件的內容會與所對應的原始電子文件完全相同,若使用者所欲取得的內容係分別位於不同的轉換電子文件,且僅為該數個轉換電子文件中之部分內容時,使用者仍必須讀取整份之該數個轉換電子文件,令使用者同時接收了許多不必要的內容,凸顯了習知電子文件的產生方式具有內容選擇之靈活性不佳的問題。 Although the promotion of electronic publishing standards can bring convenience in reading electronic documents, however, the establishment of electronic documents for electronic publishing documents still faces many problems. For example, when using When the original electronic file is created, the file format of the original electronic file may not be the electronic publishing file, such as a file file or a brief file, etc., if the original electronic file of different file formats is to be converted into one of the unified file formats. In the conversion of electronic files, the original electronic files of different file formats must be converted through different conversion software, so that the file transfer process of the conventional electronic files has a problem of poor conversion convenience. In addition, when the cloud server converts a plurality of original electronic files to generate a plurality of converted electronic files, since the content of the converted electronic file is identical to the corresponding original electronic file, if the user desires to obtain the content When the files are located in different converted electronic files, and only a part of the electronic files are converted, the user still has to read the entire number of converted electronic files, so that the user receives many unnecessary The content highlights the problem of how well-known electronic documents are produced with poor flexibility in content selection.

有鑑於此,有必要提供一種電子文件產生方法及其裝置,以解決習知電子文件在產生過程中所具有的轉換便利性不佳與選擇靈活性不佳等問題。 In view of the above, it is necessary to provide an electronic file generating method and apparatus thereof to solve the problems of poor conversion convenience and poor selection flexibility in the process of generating a conventional electronic file.

本發明之目的係提供一種電子文件產生方法及其裝置,該電子文件產生方法及其裝置可提升電子文件之檔案格式的轉換便利性。 The object of the present invention is to provide an electronic file generating method and an apparatus thereof, which can improve the conversion convenience of an electronic file file format.

本發明之另一目的係提供一種電子文件產生方法及其裝置,該電子文件產生方法及其裝置可提升電子文件之物件的選擇靈活性。 Another object of the present invention is to provide an electronic document generating method and apparatus thereof, which can improve the flexibility of selection of objects of an electronic document.

為達到前述發明目的,本發明所運用之技術手段包含有:一種電子文件產生方法,係包含:一解析步驟,係透過一解析模組對一原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容;一物件儲存步驟,係將該數個物件儲存於一資料庫模組,該資料庫模組係以數個儲存區分別儲存不同種類的該數個物件;一物件選擇步驟,係透過一物件管理模組由該資料庫模組中選擇數個物件;及 一封裝步驟,係透過一封裝模組對該物件管理模組所選擇之該數個物件進行封裝,以產生符合一電子出版標準之一封裝電子文件;其中,該物件係指一電子媒體物件,該物件的種類不同係指以不同形式呈現之電子媒體物件,該物件的內容不同係指以不同內容呈現之電子媒體物件,該電子出版標準係以一可延伸標記式語言或一可延伸超文件標記式語言作為一標準規範。 In order to achieve the foregoing object, the technical means for the present invention includes: an electronic file generating method, comprising: an analyzing step of analyzing and disassembling an original electronic file into a plurality of objects through an analyzing module, and The plurality of objects are different types or different contents; the object storage step is to store the plurality of objects in a database module, wherein the database module stores the different types of the objects in a plurality of storage areas. An object selection step of selecting a plurality of objects from the database module through an object management module; a packaging step of packaging the plurality of objects selected by the object management module through a package module to generate an encapsulated electronic file conforming to an electronic publishing standard; wherein the object refers to an electronic media object. The different types of objects refer to electronic media objects presented in different forms, and the content of the objects refers to electronic media objects presented in different contents, and the electronic publishing standard is in an extendable markup language or an extendable super file. The markup language is a standard specification.

其中,在該解析步驟中,該解析模組係根據該標準規範對該原始電子文件分析並拆解為數個物件。 Wherein, in the analyzing step, the parsing module analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification.

其中,在執行該解析步驟之前,係執行一資料判斷步驟,該資料判斷步驟係由一伺服器判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組。 Before performing the parsing step, performing a data judging step, wherein the data judging step is determined by a server whether the original electronic file conforms to the standard specification, and only the original electronic file conforming to the standard specification is transmitted to The parsing module.

一種電子文件產生裝置,包含:一解析模組,用以對一原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容;一資料庫模組,該資料庫模組耦接該解析模組,用以儲存由該解析模組拆解出的該數個物件,其中該資料庫模組具有數個儲存區,該數個儲存區係用以分別儲存不同種類的該數個物件;一物件管理模組,該物件管理模組耦接該資料庫模組,用以選擇該資料庫模組所儲存之該數個物件;及一封裝模組,該封裝模組耦接該資料庫模組及該物件管理模組,用以對該物件管理模組所選擇之該數個物件進行封裝,以產生符合一電子出版標準之一封裝電子文件;其中,該物件係指一電子媒體物件,該物件的種類不同係指以不同形式呈現之電子媒體物件,該物件的內容不同係指以不同內容呈現之電子媒體物件,該電子出版標準係以一可延伸標記式語言或一可延伸超文件標記式語言作為一標準規範。 An electronic file generating device includes: an analyzing module, configured to analyze and disassemble an original electronic file into a plurality of objects, and the plurality of objects are different types or different contents; a database module, the database The module is coupled to the parsing module for storing the plurality of objects disassembled by the parsing module, wherein the database module has a plurality of storage areas, and the plurality of storage areas are respectively configured to store different types The object management module, the object management module is coupled to the database module for selecting the plurality of objects stored in the database module; and a package module, the package module The group is coupled to the database module and the object management module for packaging the plurality of objects selected by the object management module to generate an encapsulated electronic file conforming to an electronic publishing standard; wherein the object Means an electronic media object, the type of the object being an electronic media object presented in different forms, the content of the object being different from the electronic media object presented in different content, the electronic publishing standard system An Extensible Markup language or may extend over a tag language file as a standard specification.

其中,該解析模組係根據該標準規範將該原始電子文件分析並拆解為數個物件。 The parsing module analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification.

其中,另具有一伺服器,該伺服器耦接該解析模組、該物件管理模組及該封裝模組,該伺服器用以判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組。 The server is coupled to the parsing module, the object management module, and the encapsulating module, and the server is configured to determine whether the original electronic file meets the standard specification, and only The original electronic file of the standard specification is transmitted to the parsing module.

據此,本發明之電子文件產生方法及其裝置,可藉由該解析步驟及該解析模組對該原始電子文件拆解出不同種類或不同內容的數個物件,且該解析步驟及該解析模組適用於符合該標準規範之任何檔案格式的該原始電子資料,進而提升電子文件之檔案格式的轉換便利性。 According to the present invention, the electronic document generating method and apparatus thereof can disassemble a plurality of objects of different types or different contents from the original electronic file by the analyzing step and the analyzing module, and the analyzing step and the analyzing The module is suitable for the original electronic data in any file format conforming to the standard specification, thereby improving the conversion convenience of the file format of the electronic file.

又,本發明之電子文件產生方法及其裝置,可藉由該物件選擇步驟及該物件管理模組以選擇所欲產生之該封裝電子文件的物件內容,進而提升電子文件之物件的選擇靈活性。 Moreover, the electronic document generating method and device thereof of the present invention can select the object content of the packaged electronic file to be generated by the object selecting step and the object management module, thereby improving the selection flexibility of the electronic document object. .

〔本發明〕 〔this invention〕

1‧‧‧伺服器 1‧‧‧Server

2‧‧‧解析模組 2‧‧‧analysis module

3‧‧‧資料庫模組 3‧‧‧Database module

4‧‧‧物件管理模組 4‧‧‧Object Management Module

5‧‧‧封裝模組 5‧‧‧Package Module

U‧‧‧使用者裝置 U‧‧‧User device

S1‧‧‧資料上傳步驟 S1‧‧‧ data uploading steps

S2‧‧‧資料判斷步驟 S2‧‧‧ data judgment steps

S3‧‧‧解析步驟 S3‧‧‧ Analytical steps

S4‧‧‧物件儲存步驟 S4‧‧‧ Object storage steps

S5‧‧‧物件選擇步驟 S5‧‧‧Object selection steps

S6‧‧‧封裝步驟 S6‧‧‧Packaging step

第1圖:本發明電子文件產生裝置之方塊圖。 Figure 1 is a block diagram of an electronic document producing apparatus of the present invention.

第2圖:本發明電子文件產生方法之步驟流程圖。 Figure 2 is a flow chart showing the steps of the electronic document generating method of the present invention.

為讓本發明之上述及其他目的、特徵及優點能更明顯易懂,下文特舉本發明之較佳實施例,並配合所附圖式,作詳細說明如下:本發明全文所述之「耦接」,係指二裝置之間藉由有線實體、無線媒介或其組合(例如:異質網路)等方式,而使該二裝置之資料可以相互傳遞之連接關係。 The above and other objects, features and advantages of the present invention will become more <RTIgt; "connected" means a connection between two devices by means of a wired entity, a wireless medium or a combination thereof (for example, a heterogeneous network), such that the data of the two devices can be transmitted to each other.

本發明全文所述之「物件種類不同」,係指以不同形式呈現之電子媒體物件,例如透過文字呈現之物件與透過圖片呈現之物件,即為物件種類不同。 The term "different types of objects" as used throughout the present invention refers to electronic media objects presented in different forms, such as objects rendered through text and objects rendered through pictures, that is, different types of objects.

本發明全文所述之「物件內容不同」,係指以不同內容呈現之電子媒體物件,例如二段不相同的文字,即為物件內容不同。 The term "different object content" as used throughout the present invention refers to an electronic media object presented in different contents, for example, two different texts, that is, the contents of the object are different.

請參照第1圖所示,本發明電子文件產生裝置包含一伺服器1、一解析模組2、一資料庫模組3、一物件管理模組4及一封裝模組5。該解析模組2耦接該伺服器1,該資料庫模組3耦接該解析模組2,該物件管理模組4耦接該伺服器1及該資料庫模組3,該封裝模組5耦接該伺服器1、該資料庫模組3及該物件管理模組4。 Referring to FIG. 1 , the electronic document generating apparatus of the present invention comprises a server 1 , an analysis module 2 , a database module 3 , an object management module 4 , and a package module 5 . The analysis module 2 is coupled to the server 1 , and the database module 3 is coupled to the analysis module 2 . The object management module 4 is coupled to the server 1 and the database module 3 . 5 is coupled to the server 1, the database module 3, and the object management module 4.

該伺服器1可為任何具有指令收發、軟體執行及資料傳輸功能的雲端電腦或處理器。在本實施例中,該伺服器1可耦接一使用者裝置U,該使用者裝置U可為具有資料收發、儲存資料及執行軟體等功能的行動電話或平板電腦等可攜式電子產品,以使該使用者裝置U可透過上網功能而與該伺服器1進行資料交換。舉例而言,該伺服器1可用以接收由該使用者裝置U傳送之一原始電子文件,以供該伺服器1將該原始電子文件傳輸至該解析模組2。 The server 1 can be any cloud computer or processor with command transceiving, software execution and data transmission functions. In this embodiment, the server 1 can be coupled to a user device U, which can be a portable electronic product such as a mobile phone or a tablet computer having functions of data transmission and reception, storage of data, and execution of software. In order to enable the user device U to exchange data with the server 1 through the Internet access function. For example, the server 1 can be used to receive an original electronic file transmitted by the user device U for the server 1 to transmit the original electronic file to the analysis module 2.

又,該伺服器1係用以判斷該原始電子文件是否符合一標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組2。其中該標準規範係為一可延伸標記式語言(Extensible Markup Language,XML)或一可延伸超文件標記式語言(Extensible Hypertext Markup Language,XHTML)。 Moreover, the server 1 is configured to determine whether the original electronic file conforms to a standard specification, and only transmits the original electronic file conforming to the standard specification to the analysis module 2. The standard specification is an Extensible Markup Language (XML) or an Extensible Hypertext Markup Language (XHTML).

更詳言之,由於本發明之電子文件產生方法係符合一電子出版(Electronic Publication,EPUB)標準,而該電子出版標準係以該可延伸標記式語言或該可延伸超文件標記式語言作為該標準規範,因此,當該伺服器1接收由該使用者裝置U傳送之該原始電子文件時,可藉由具有判斷功能的軟體或裝置判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組2,以使該原始電子文件可順利進行後續的解析與封裝等處理,以確實產生符合該電子出版標準的電子文件。 More specifically, since the electronic document producing method of the present invention conforms to an electronic publication (EPUB) standard, the electronic publishing standard uses the extensible markup language or the extensible hypertext markup language as the a standard specification. Therefore, when the server 1 receives the original electronic file transmitted by the user device U, it can determine whether the original electronic file conforms to the standard specification by a software or device having a determining function, and only conforms The original electronic file of the standard specification is transmitted to the parsing module 2, so that the original electronic file can be smoothly processed by subsequent parsing and encapsulation to surely generate an electronic file conforming to the electronic publishing standard.

該解析模組2耦接該伺服器1,該解析模組2係用以對該原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容。其中,該解析模組2係根據該標準規範將該原始電子文件分析並拆解為數個物件,且該標準規範為該可延伸標記式語言或該可延伸超文件標記式語言。在本實施例中,該解析模組2可為任何具有軟體執行、邏輯運算及資料傳輸功能的雲端電腦或處理器。 The analysis module 2 is coupled to the server 1 for analyzing and disassembling the original electronic file into a plurality of objects, and the plurality of objects are different types or different contents from each other. The parsing module 2 analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification, and the standard specification is the extensible markup language or the extensible hypertext markup language. In this embodiment, the parsing module 2 can be any cloud computer or processor with software execution, logic operations, and data transmission functions.

舉例而言,以簡報檔(ppt)之該原始電子文件為例,若該原始電子文件包含文字、圖片及多媒體等不同種類的物件,由於上述不同種類的物件在該可延伸標記式語言或該可延伸超文件標記式語言的架構下會具有不同標記,因此,該解析模組2可根據標記不同而分析該原始電子文件包含哪些種類的物件(例如判斷該簡報檔包含一文字種類、一圖片種類及一多媒體種類等物件),並將該原始電子文件拆解為具有不同種類的數個物件;或者,該解析模組2亦可根據標記不同而分析該原始電子文件具有不同內容(例如該簡報檔中包含二段不相同的文字),並將該原始電子文件拆解為具有不同內容的數個物件。 For example, taking the original electronic file of the briefing file (ppt) as an example, if the original electronic file contains different kinds of objects such as text, pictures, and multimedia, because the different kinds of objects are in the extendable markup language or The architecture of the extensible hypertext markup language has different tags. Therefore, the parsing module 2 can analyze which kinds of objects the original electronic file contains according to different tags (for example, determining that the brief file includes a type of text, a type of picture) And a multimedia type and the like, and the original electronic file is disassembled into a plurality of objects having different kinds; or the parsing module 2 can analyze that the original electronic file has different contents according to the different tags (for example, the briefing) The file contains two different texts, and the original electronic file is disassembled into several objects with different contents.

更詳言之,由於該電子出版標準係以該可延伸標記式語言或該可延伸超文件標記式語言作為該標準規範,因此,該解析模組2根據該可延伸標記式語言或該可延伸超文件標記式語言將該原始電子文件拆解為數個物件後,可使該數個物件欲於後續步驟中進行封裝時,可確實符合該電子出版標準,且該解析模組2可適用在任何以該標準規範建立的該原始電子資料(例如微軟文書處理軟體之文件檔或簡報檔等),使具有不同檔案格式之該原始電子文件可不需分別透過不同的轉檔器以進行轉檔處理,進而簡化該原始電子文件的轉檔程序,具有提升檔案格式之轉換便利性的效果。 More specifically, since the electronic publishing standard uses the extensible markup language or the extensible hypertext markup language as the standard specification, the parsing module 2 may extend according to the extensible markup language. After the super-document markup language disassembles the original electronic file into a plurality of objects, the plurality of objects can be surely conformed to the electronic publishing standard when the package is to be packaged in a subsequent step, and the parsing module 2 can be applied to any The original electronic data (such as the file or briefing file of the Microsoft word processing software) established by the standard specification enables the original electronic file having different file formats to be transposed through different transposers. The simplification of the conversion process of the original electronic file further has the effect of improving the conversion convenience of the file format.

該資料庫模組3耦接該解析模組2,用以儲存由該解析模組 2拆解出的該數個物件。在本實施例中,該資料庫模組3可為具有資料儲存功能的資料庫。 The database module 3 is coupled to the analysis module 2 for storing the analysis module 2 The pieces of the object are disassembled. In this embodiment, the database module 3 can be a database with a data storage function.

更詳言之,該資料庫模組3較佳具有數個儲存區,該數個儲存區係用以分別儲存不同種類的該數個物件。舉例而言,該資料庫模組3可包含一文字儲存區、一圖片儲存區及一多媒體儲存區,該文字儲存區用以儲存一文字種類的該數個物件,該圖片儲存區用以儲存一圖片種類的該數個物件,該多媒體儲存區用以儲存一多媒體種類的該數個物件。藉此,該資料庫模組3可透過數個儲存區分別儲存不同種類之該數個物件,以供後續進行物件的選擇與讀取時,可直接由相對應的儲存區中讀取所需物件(例如直接於該多媒體儲存區選擇與讀取該多媒體種類之該數個物件),進而降低物件搜索的複雜度,具有提升整體之存取效率的效果。 In more detail, the database module 3 preferably has a plurality of storage areas for storing different kinds of the objects. For example, the database module 3 can include a text storage area, a picture storage area, and a multimedia storage area for storing a plurality of objects of a text type, the image storage area for storing a picture. The plurality of objects of the category, the multimedia storage area is configured to store the plurality of objects of a multimedia category. In this way, the database module 3 can store the different types of objects through a plurality of storage areas for subsequent selection and reading of the objects, and can be directly read by the corresponding storage area. The object (for example, selecting and reading the plurality of objects of the multimedia category directly in the multimedia storage area), thereby reducing the complexity of the object search, has the effect of improving the overall access efficiency.

該物件管理模組4耦接該伺服器1及該資料庫模組3,用以選擇該資料庫模組3所儲存之該數個物件。在本實施例中,該物件管理模組4可為任何具有指令收發、邏輯運算及資料傳輸功能的雲端電腦或處理器。 The object management module 4 is coupled to the server 1 and the database module 3 for selecting the plurality of objects stored in the database module 3. In this embodiment, the object management module 4 can be any cloud computer or processor with command transceiving, logic operations, and data transmission functions.

更詳言之,該物件管理模組4係可紀錄該資料庫模組3中之該數個的物件所相對的種類和內容,並根據上述紀錄而產生一記錄資料,令該使用者裝置U可透過該伺服器1而讀取該物件管理模組4之該記錄資料,且該使用者裝置U可由該記錄資料中選擇感興趣的該數個物件以產生一選擇指令,並將該選擇指令透過該伺服器1而傳輸至該物件管理模組4,該物件管理模組4接收該選擇指令後,即可根據該選擇指令而由該資料庫模組3中選擇相對應的該數個物件,以使該數個物件可以進行後續的封裝處理。其中,該物件管理模組4可同時選擇及讀取該資料庫模組3中的該數個物件,並將該數個物件傳輸至該封裝模組5;或者,該物件管理模組4亦可僅選擇該資料庫模組3中的該數個物件,並發出一選擇清單至該封裝 模組5,以供該封裝模組5直接由該資料庫模組3中讀取該數個物件。 In more detail, the object management module 4 can record the type and content of the plurality of objects in the database module 3, and generate a record according to the record, so that the user device U The record data of the object management module 4 can be read by the server 1 , and the user device U can select the plurality of objects of interest from the record data to generate a selection instruction, and select the selection instruction. The object management module 4 is transmitted to the object management module 4, and after receiving the selection command, the object management module 4 can select the corresponding plurality of objects from the database module 3 according to the selection instruction. So that the several objects can be subjected to subsequent encapsulation processing. The object management module 4 can simultaneously select and read the plurality of objects in the database module 3, and transmit the plurality of objects to the package module 5; or the object management module 4 Selecting only the plurality of objects in the database module 3 and issuing a selection list to the package The module 5 is configured for the package module 5 to directly read the plurality of objects from the database module 3.

該封裝模組5耦接該伺服器1、該資料庫模組3及該物件管理模組4,用以對該物件管理模組4所選擇之該數個物件進行封裝,以產生符合一電子出版標準之一封裝電子文件。在本實施例中,封裝模組5可為任何具有指令收發、軟體執行及資料傳輸功能的雲端電腦或處理器。 The package module 5 is coupled to the server 1, the database module 3, and the object management module 4 for packaging the plurality of objects selected by the object management module 4 to generate an electronic device. One of the publishing standards encapsulates electronic documents. In this embodiment, the package module 5 can be any cloud computer or processor with command transmission, software execution and data transmission functions.

更詳言之,該封裝模組5可由一整併軟體以將該數個物件封裝為單一個該封裝電子文件,且該整併軟體係以符合該電子出版標準的方式對該數個物件進行封裝,以使該封裝電子文件可確實符合電子圖書的標準,且當該封裝模組5產生該封裝電子文件後,亦可透過該伺服器1將該封裝電子文件傳輸至該使用者裝置U,以供使用者透過該使用者裝置U而能閱覽該封裝電子文件。藉由該物件管理模組4及該封裝模組5的設置,可供使用者選擇不同種類的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件;或者,可供使用者選擇不同內容的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件;或者,可供使用者選擇不同種類及不同內容的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件,進而避免使用者接收過多不必要的資料,具有提升物件選擇靈活性的效果。 In more detail, the package module 5 can be packaged into a single electronic package by a software package, and the integrated software system performs the plurality of objects in a manner consistent with the electronic publishing standard. Encapsulating, so that the packaged electronic file can meet the standard of the electronic book, and after the package module 5 generates the packaged electronic file, the packaged electronic file can also be transmitted to the user device U through the server 1 The user can view the packaged electronic file through the user device U. By the arrangement of the object management module 4 and the package module 5, the user can select different types of the objects, and only package the selected ones to generate the package electronic file; or The user can select the plurality of objects of different content, and only the selected one of the objects is packaged to generate the package electronic file; or the user can select the plurality of objects of different types and different contents. And the packaged electronic file is only generated by encapsulating the selected objects, thereby preventing the user from receiving too much unnecessary data, and has the effect of improving object selection flexibility.

請參照第2圖所示,本發明電子文件產生方法係包含一資料上傳步驟S1、一資料判斷步驟S2、一解析步驟S3、一物件儲存步驟S4、一物件選擇步驟S5及一封裝步驟S6。 Referring to FIG. 2, the electronic document generating method of the present invention comprises a data uploading step S1, a data determining step S2, an analyzing step S3, an object storing step S4, an object selecting step S5, and a packaging step S6.

該資料上傳步驟S1係透過該伺服器1接收由該使用者裝置U所傳輸之該原始電子文件。 The data uploading step S1 receives the original electronic file transmitted by the user device U through the server 1.

該資料判斷步驟S2係由該伺服器1判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組2。其中,該標準規範係為該可延伸標記式語言或該可延伸超文件 標記式語言。藉由該資料判斷步驟S2的執行,可判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組2,以使該原始電子文件可順利進行後續的解析與封裝等處理,以確實產生符合該電子出版標準的電子文件。此外,若符合該標準規範之該原始電子文件已位於該解析模組2中,亦可不執行該資料上傳步驟S1及該資料判斷步驟S2,並直接執行該解析步驟S3。 The data judging step S2 is to determine whether the original electronic file conforms to the standard specification by the server 1, and only transmit the original electronic file conforming to the standard specification to the parsing module 2. Wherein the standard specification is the extensible markup language or the extensible super file Marked language. By judging the execution of the step S2, it can be determined whether the original electronic file conforms to the standard specification, and only the original electronic file conforming to the standard specification is transmitted to the parsing module 2, so that the original electronic file can be smoothly performed. Subsequent processing such as parsing and encapsulation is performed to produce an electronic document that conforms to the electronic publishing standard. In addition, if the original electronic file conforming to the standard specification is already located in the analysis module 2, the data uploading step S1 and the data determining step S2 may not be performed, and the analyzing step S3 is directly performed.

該解析步驟S3係透過該解析模組2對該原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容。其中,該解析模組2係根據該標準規範將該原始電子文件分析並拆解為數個物件,且該標準規範為該可延伸標記式語言或該可延伸超文件標記式語言。藉由該解析步驟S3的執行,可根據該可延伸標記式語言或該可延伸超文件標記式語言而將該原始電子文件拆解為數個物件,以使該數個物件欲於後續步驟中進行封裝時,可確實符合該電子出版標準,且該解析步驟S3可適用在任何以該標準規範建立的該原始電子資料(例如微軟文書處理軟體之文件檔或簡報檔等),使具有不同檔案格式之該原始電子文件可不需分別透過不同的轉檔器以進行轉檔處理,進而簡化該原始電子文件的轉檔程序,具有提升檔案格式之轉換便利性的效果。 The analyzing step S3 analyzes and disassembles the original electronic file into a plurality of objects through the analysis module 2, and the plurality of objects are different types or different contents from each other. The parsing module 2 analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification, and the standard specification is the extensible markup language or the extensible hypertext markup language. By performing the parsing step S3, the original electronic file may be disassembled into a plurality of objects according to the extensible markup language or the extensible hypertext markup language, so that the plurality of objects are to be performed in a subsequent step. When encapsulating, the electronic publishing standard can be surely met, and the parsing step S3 can be applied to any of the original electronic materials (such as the file or brief file of the Microsoft document processing software) established by the standard specification, so as to have different file formats. The original electronic file does not need to be transposed separately through different shifters, thereby simplifying the conversion process of the original electronic file, and has the effect of improving the conversion convenience of the file format.

該物件儲存步驟S4係將由該解析模組2拆解出的該數個物件儲存於該資料庫模組3。其中,在該物件儲存步驟S4中,該資料庫模組3係以數個儲存區分別儲存不同種類的該數個物件,例如該資料庫模組3可包含該文字儲存區、該圖片儲存區及該多媒體儲存區,該文字儲存區用以儲存該文字種類的該數個物件,該圖片儲存區用以儲存該圖片種類的該數個物件,該多媒體儲存區用以儲存該多媒體種類的該數個物件。藉此,該資料庫模組3可透過數個儲存區分別儲存不同種類之該數個物件,以供後續進行物件的選擇與讀取時,可直接由相對應的儲存區中讀取所需物件 (例如直接於該多媒體儲存區選擇與讀取該多媒體種類之該數個物件),進而降低物件搜索的複雜度,具有提升整體之存取效率的效果。 The object storage step S4 stores the plurality of objects disassembled by the analysis module 2 in the database module 3. In the object storage step S4, the database module 3 stores a plurality of different types of objects in a plurality of storage areas. For example, the database module 3 can include the text storage area and the image storage area. And the multimedia storage area, the text storage area is configured to store the plurality of objects of the text type, the image storage area is configured to store the plurality of objects of the image type, and the multimedia storage area is configured to store the multimedia category Several objects. In this way, the database module 3 can store the different types of objects through a plurality of storage areas for subsequent selection and reading of the objects, and can be directly read by the corresponding storage area. object (For example, selecting and reading the plurality of objects of the multimedia category directly in the multimedia storage area), thereby reducing the complexity of the object search, and improving the overall access efficiency.

該物件選擇步驟S5係透過該物件管理模組4由該資料庫模組3中選擇數個物件。其中,該物件管理模組4係可紀錄該資料庫模組3中之該數個的物件所相對的種類和內容,並根據上述紀錄而產生該記錄資料,令該使用者裝置U可透過該伺服器1而讀取該物件管理模組4之該記錄資料,且該使用者裝置U可由該記錄資料中選擇感興趣的該數個物件以產生該選擇指令,並將該選擇指令透過該伺服器1而傳輸至該物件管理模組4,該物件管理模組4接收該選擇指令後,即可根據該選擇指令而由該資料庫模組3中選擇相對應的該數個物件,以使該數個物件可以進行後續的封裝處理。又,該物件管理模組4可同時選擇及讀取該資料庫模組3中的該數個物件,並將該數個物件傳輸至該封裝模組5;或者,該物件管理模組4亦可僅選擇該資料庫模組3中的該數個物件,並發出一選擇清單至該封裝模組5,以供該封裝模組5直接由該資料庫模組3中讀取該數個物件。 The object selection step S5 selects a plurality of objects from the database module 3 through the object management module 4. The object management module 4 is configured to record the type and content of the plurality of objects in the database module 3, and generate the record data according to the record, so that the user device U can transmit the The server 1 reads the record data of the object management module 4, and the user device U can select the plurality of objects of interest from the record data to generate the selection instruction, and transmit the selection instruction through the servo The device 1 is transferred to the object management module 4, and after receiving the selection instruction, the object management module 4 can select the corresponding plurality of objects from the database module 3 according to the selection instruction, so that The plurality of objects can be subjected to subsequent encapsulation processing. The object management module 4 can simultaneously select and read the plurality of objects in the database module 3, and transmit the plurality of objects to the package module 5; or the object management module 4 The plurality of objects in the database module 3 can be selected, and a selection list is sent to the package module 5, so that the package module 5 directly reads the plurality of objects from the database module 3. .

該封裝步驟S6係透過該封裝模組5對該物件管理模組4所選擇之該數個物件進行封裝,以產生符合該電子出版標準之該封裝電子文件。藉由該物件選擇步驟S5及該封裝步驟S6的執行,可供使用者選擇不同種類的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件;或者,可供使用者選擇不同內容的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件;或者,可供使用者選擇不同種類及不同內容的該數個物件,並僅以所選擇之該數個物件進行封裝而產生該封裝電子文件,進而避免使用者接收過多不必要的資料,具有提升物件選擇靈活性的效果。 The packaging step S6 encapsulates the plurality of objects selected by the object management module 4 through the package module 5 to generate the packaged electronic file in accordance with the electronic publishing standard. By performing the object selection step S5 and the encapsulating step S6, the user can select the different kinds of the objects, and only package the selected ones to generate the package electronic file; or The user selects the plurality of objects of different content, and only encapsulates the selected ones to generate the package electronic file; or, the user can select the plurality of objects of different types and different contents, and The encapsulated electronic file is only produced by encapsulating the selected plurality of objects, thereby preventing the user from receiving too much unnecessary data, and has the effect of improving object selection flexibility.

綜上所述,本發明之電子文件產生方法及其裝置,可藉由該 解析步驟及該解析模組對該原始電子文件拆解為不同種類或不同內容的數的物件,且該解析步驟及該解析模組適用於符合該標準規範之任何檔案格式的該原始電子資料,具有提升電子文件之檔案格式的轉換便利性的功效。 In summary, the electronic document generating method and apparatus of the present invention can be The parsing step and the parsing module disassemble the original electronic file into objects of different kinds or different contents, and the parsing step and the parsing module are applicable to the original electronic material in any file format conforming to the standard specification. It has the effect of improving the convenience of conversion of the file format of electronic files.

此外,本發明之電子文件產生方法及其裝置,可藉由該物件選擇步驟及該物件管理模組以選擇所欲產生之該封裝電子文件的物件內容,進而提升電子文件之物件的選擇靈活性。 In addition, the electronic document generating method and device thereof of the present invention can select the object content of the packaged electronic file to be generated by the object selecting step and the object management module, thereby improving the selection flexibility of the electronic document object. .

雖然本發明已利用上述較佳實施例揭示,然其並非用以限定本發明,任何熟習此技藝者在不脫離本發明之精神和範圍之內,相對上述實施例進行各種更動與修改仍屬本發明所保護之技術範疇,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the invention has been described in connection with the preferred embodiments described above, it is not intended to limit the scope of the invention. The technical scope of the invention is protected, and therefore the scope of the invention is defined by the scope of the appended claims.

1‧‧‧伺服器 1‧‧‧Server

2‧‧‧解析模組 2‧‧‧analysis module

3‧‧‧資料庫模組 3‧‧‧Database module

4‧‧‧物件管理模組 4‧‧‧Object Management Module

5‧‧‧封裝模組 5‧‧‧Package Module

U‧‧‧使用者裝置 U‧‧‧User device

Claims (6)

一種電子文件產生方法,係包含:一解析步驟,係透過一解析模組對一原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容;一物件儲存步驟,係將該數個物件儲存於一資料庫模組,該資料庫模組係以數個儲存區分別儲存不同種類的該數個物件;一物件選擇步驟,係透過一物件管理模組由該資料庫模組中選擇數個物件;及一封裝步驟,係透過一封裝模組對該物件管理模組所選擇之該數個物件進行封裝,以產生符合一電子出版標準之一封裝電子文件;其中,該物件係指一電子媒體物件,該物件的種類不同係指以不同形式呈現之電子媒體物件,該物件的內容不同係指以不同內容呈現之電子媒體物件,該電子出版標準係以一可延伸標記式語言或一可延伸超文件標記式語言作為一標準規範。 An electronic file generating method includes: an analyzing step of analyzing and disassembling an original electronic file into a plurality of objects through an analyzing module, wherein the plurality of objects are different types or different contents; and an object storing step, The plurality of objects are stored in a database module, wherein the plurality of storage areas respectively store different types of the plurality of objects; and an object selection step is performed by an object management module. Selecting a plurality of objects in the library module; and a packaging step of packaging the plurality of objects selected by the object management module through a package module to generate an encapsulated electronic file conforming to an electronic publishing standard; The object refers to an electronic media object, and the type of the object refers to an electronic media object presented in different forms, and the content of the object is different from the electronic media object presented by different content, and the electronic publishing standard is An extended markup language or an extensible hypertext markup language is used as a standard specification. 如申請專利範圍第1項所述之電子文件產生方法,其中在該解析步驟中,該解析模組係根據該標準規範將該原始電子文件分析並拆解為數個物件。 The electronic document generating method according to claim 1, wherein in the analyzing step, the parsing module analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification. 如申請專利範圍第2項所述之電子文件產生方法,其中在執行該解析步驟之前,係執行一資料判斷步驟,該資料判斷步驟係由一伺服器判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組。 The electronic document generating method of claim 2, wherein before performing the analyzing step, performing a data determining step, wherein the data determining step determines, by a server, whether the original electronic file conforms to the standard specification. Only the original electronic file conforming to the standard specification is transmitted to the parsing module. 一種電子文件產生裝置,包含:一解析模組,用以對一原始電子文件分析並拆解為數個物件,且該數個物件彼此為不同種類或不同內容; 一資料庫模組,該資料庫模組耦接該解析模組,用以儲存由該解析模組拆解出的該數個物件,其中該資料庫模組具有數個儲存區,該數個儲存區係用以分別儲存不同種類的該數個物件;一物件管理模組,該物件管理模組耦接該資料庫模組,用以選擇該資料庫模組所儲存之該數個物件;及一封裝模組,該封裝模組耦接該資料庫模組及該物件管理模組,用以對該物件管理模組所選擇之該數個物件進行封裝,以產生符合一電子出版標準之一封裝電子文件;其中,該物件係指一電子媒體物件,該物件的種類不同係指以不同形式呈現之電子媒體物件,該物件的內容不同係指以不同內容呈現之電子媒體物件,該電子出版標準係以一可延伸標記式語言或一可延伸超文件標記式語言作為一標準規範。 An electronic file generating device includes: an analyzing module, configured to analyze and disassemble an original electronic file into a plurality of objects, and the plurality of objects are different types or different contents from each other; a database module coupled to the parsing module for storing the plurality of objects disassembled by the parsing module, wherein the database module has a plurality of storage areas, and the plurality of storage units The storage area is configured to store the plurality of objects of different types; the object management module is coupled to the database module for selecting the plurality of objects stored in the database module; And a package module coupled to the database module and the object management module for packaging the plurality of objects selected by the object management module to generate an electronic publishing standard A packaged electronic file; wherein the object refers to an electronic media object, the type of the object being an electronic media object presented in a different form, the content of the object being different refers to an electronic media object presented in different content, the electronic The publishing standard is an extensible markup language or an extensible hypertext markup language as a standard specification. 如申請專利範圍第4項所述之電子文件產生裝置,其中該解析模組係根據該標準規範對該原始電子文件分析並拆解為數個物件。 The electronic document generating device of claim 4, wherein the parsing module analyzes and disassembles the original electronic file into a plurality of objects according to the standard specification. 如申請專利範圍第5項所述之電子文件產生裝置,其中另具有一伺服器,該伺服器耦接該解析模組、該物件管理模組及該封裝模組,該伺服器用以判斷該原始電子文件是否符合該標準規範,並僅將符合該標準規範之該原始電子文件傳輸至該解析模組。 The electronic document generating device of claim 5, further comprising a server coupled to the analyzing module, the object management module and the packaging module, wherein the server is configured to determine the Whether the original electronic file conforms to the standard specification, and only transmits the original electronic file conforming to the standard specification to the parsing module.
TW104116790A 2015-05-26 2015-05-26 The method of electronic document producing and device thereof TWI539301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104116790A TWI539301B (en) 2015-05-26 2015-05-26 The method of electronic document producing and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104116790A TWI539301B (en) 2015-05-26 2015-05-26 The method of electronic document producing and device thereof

Publications (2)

Publication Number Publication Date
TWI539301B true TWI539301B (en) 2016-06-21
TW201642148A TW201642148A (en) 2016-12-01

Family

ID=56756009

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104116790A TWI539301B (en) 2015-05-26 2015-05-26 The method of electronic document producing and device thereof

Country Status (1)

Country Link
TW (1) TWI539301B (en)

Also Published As

Publication number Publication date
TW201642148A (en) 2016-12-01

Similar Documents

Publication Publication Date Title
US11256848B2 (en) Automated augmentation of text, web and physical environments using multimedia content
US8135750B2 (en) Efficiently describing relationships between resources
JP2020194567A (en) Methods and systems for web content generation
WO2015039586A1 (en) Method, apparatus and browser for webpage loading
US20150046797A1 (en) Document format processing apparatus and document format processing method
US10289747B2 (en) Dynamic file concatenation
US8561088B2 (en) Registering network applications with an API framework
WO2015043383A1 (en) Webpage loading method and device and browser
JP2008176820A (en) System and method for content delivery over wireless communication medium to portable computing device
CN102609400B (en) Method for converting file formats and conversion tool
US20160026858A1 (en) Image based search to identify objects in documents
WO2009000141A1 (en) Representation method, system and device of layout file logical structure information
TW201423554A (en) Conversion of non-book documents for consistency in e-reader experience
WO2021093673A1 (en) E-mail sending method, apparatus and device, and computer-readable storage medium
US10817646B2 (en) Information processing system and control method therefor
US20090100023A1 (en) Information processing apparatus and computer readable information recording medium
JP2011507074A5 (en)
CN102132313A (en) Content having native and export portions
TWI539301B (en) The method of electronic document producing and device thereof
KR101975111B1 (en) Mass webpage document transforming method, and system thereof
JP4308448B2 (en) Content generation according to the output device
WO2019085235A1 (en) Picture processing method, and user interface display method and device
JP5409090B2 (en) Information processing apparatus, information processing method, program, and storage medium
US10402482B2 (en) Content management system
WO2015154683A1 (en) File publication system, file release method, and network server

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees