TW487879B - Internet document creation system and document-format generator therefor - Google Patents

Internet document creation system and document-format generator therefor Download PDF

Info

Publication number
TW487879B
TW487879B TW090103594A TW90103594A TW487879B TW 487879 B TW487879 B TW 487879B TW 090103594 A TW090103594 A TW 090103594A TW 90103594 A TW90103594 A TW 90103594A TW 487879 B TW487879 B TW 487879B
Authority
TW
Taiwan
Prior art keywords
document
asp
server
file
patent application
Prior art date
Application number
TW090103594A
Other languages
Chinese (zh)
Inventor
Kevin L Warnock
John Shih-Jen Wu
Original Assignee
Hotpaper Com Inc
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 Hotpaper Com Inc filed Critical Hotpaper Com Inc
Application granted granted Critical
Publication of TW487879B publication Critical patent/TW487879B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

A document creation system for providing an Internet service in which users with browsers at remote locations can look for an apporpriate document and format is provided. Such user fills-in-the-blanks and is returned a custom electronic document that can be printed or forwarded to another recipient. A document-creation webserver artends to Internet browsers who log-on and look for a product. Such users are qualified and handed-off to a job-master webserver. The hand-off provides metadata that was collected from the user, and schedules the job for the next available document processor. The jobs and metadata are stored in a database. Master documents are stored on disk. The document processor assigned to do the job collects the metadata from the database using a pointer provided in a job queue, and fetches a copy of the appropriate master document. The blanks in the master document copy are filled in using the metadata and/or other data, perhaps from a database, and the completed document is returned to the customer over the Internet. A backend local area network is used to provide a backbone for scaling larger document processor capacities in a modular fashion. Each document processor is deliberately put to sleep for 100 milliseconds each time it finds no job is waiting to be done in the queue, so as to reduce network congestion and improve system performance. In addition, a forms-generation system is provided which comprises a group of active server page files that run on a WINDOWS-NT platform with IIS and ASP. Each ASP file presents a graphical user interface that allows a lay-user to create mail-merge type word processor documents. Individual ASP files write appropriate HTML phrases in response to a user clicking buttons, entering text, and indicating various preferences.

Description

五、發明說明(1) ^ s 景 登J月範圍— 本!明和網際網路裝備及服務有關,更特別的是, 種並回送完成之文件予在工作輸入表單上 方格夕#3主善案之使用者有關,且本發明和具有填註 是,合併文字處理器文件之產生有關,且更特 。σ、·,際網路文件產生網路伺服器之簡化表單產生 复显技复 個人及公司經常必需重複寫下相 註同類型表單,某此女宝卢神和斗、= 仏件 r αϊ l - /、—文子處理私式及間報程式對一妒 •J如商業文件、個人信件等 :又 類型之作侏僅一十-a二手仏了耗本,必須撰寫 口牛僅或一—人之個人及公司往往i 人已擁有的。Ha 1 lmark及其他問侯卡發行公、,方式 手段較一般人能更佳地以動人方式表達問侯°、、以企 f ’故帶有適當圖案及訊息之預先印製卡片:真、 買並簽名後直接傳送至接收者。 ·'、、千萬人 企業一般上具有多種型式之表單信件, 重複撰擬並郵寄予客戶、供應商、政府機關1件一 ,在此種情況下,若公司政策及法律上要 及其他 話將是有助益的。 同時滿 二美國加州司法委員會公佈了各種法院檔案管王 ^ 議或要求某些加州法院進行檔案管理時使用y埋表單 新修訂及正確使用這些表單對於一般人及 而要依 世主規模不 本發 對各 空白 別的 有關 並填 格式 某些 是他 業化. 及悼 所購 再地 同僚 足的V. Description of the invention (1) ^ s Jing Deng J Yue's scope-this! It is related to Internet equipment and services. More specifically, it is relevant to send and return the completed document to the user of the grid case # 3 above the work input form. The present invention is related to the text with the comment. The generation of processor files is more specific. σ, ·, simplified form generation of Internet document generation web server, re-display technology, and individuals and companies often have to repeatedly write the same type of form that attracts attention, some female treasure Lu Shenhe Dou, = 仏 件 r αϊ l -/ 、 — Wenzi handles private and occasional newspaper programs and is jealous. J such as business documents, personal letters, etc .: Another type of work is only ten-a second-hand used cost, you must write only one or one—person Individuals and companies are often owned by people. Ha 1 lmark and other question cards are issued in a better way than ordinary people to express the question in a moving way °, pre-printed cards with appropriate patterns and messages: true, buy and Signed and transmitted directly to the recipient. · ', And ten-thousand-person enterprises generally have multiple types of form letters, which are repeatedly drafted and mailed to customers, suppliers, government agencies, etc. In this case, if company policy and legal requirements and other words Would be helpful. At the same time, the California Judiciary Committee of the United States has published various court records management proposals or required some California courts to use the new embedded form for the revision of the file management and the correct use of these forms. Each of the blanks is related to some other forms and is filled in other industries.

第7頁 487879 五、發明說明(2) 律師事務而言是困難的,雖然有儲存於— ,但價格昂貴,且如果未購買 ’、上之電子表單 就過時了。 貝後π升級版該電子表單很快 網際網路現在出現一種新媒體 次之使用者可享受用於廣泛目 f f媒肢甚至僅用一 單及信件之益處。 取阿ϋ口貝及最新款式表 重複出現於某一類別文件中之” 圖案及其它人工物件須加以$ ^ 、 註空白對話框以定製一最终文件亦:::$寫任何填 J記語言_編碼係用於撰寫程式原-:將 有正確,,稿件"、圖案、人工物件及填註 ; ,但是此超文字標記語言不易使用, / 、,之、·周頁 或撰寫超文字標記語言之訓練。 、又人亚無使用 璧J摘要 在一方面,本發明之一目的係提供一 網際網路上許多使用者存取。 牛產生糸統可供 者之另一目的為提供一文件產生系統,其允許使用 ^輕易及快速地選擇適當文件格式並供應”填註空白” 舄之資訊。 、 所 #· Ϊ ί明之進一步目的係提供可立即延展之一網際網路文 件產生系統。 吩又 本發明另一進一步之目的為提供一網際網路文件產 統三其可由一般硬體及軟體元件組成。 ^、 簡要地說,本發明之一網際網路文件產生系統具體實施 第8頁 五、發明說明(3) 例包含:網站用以接收來 件之訊息,並且然 —^用者所須填註標準表單文 者或使用者指定之接收者,=整隨即可用文件傳送予使用 料庫,故使用者盔需 類資訊亦可事先預存於一資 之微軟網際網路及在視請作業系統下執行 用程式藉由:器(ns),諸如微軟_之應 務。 /、及链軟別^㈣及視窗NT介接以作為一NT服 可Si::使:發明之另-目的為提供-表單產生系,统 產it::目件的係:r;單產生系統用以⑽^ 框…字標圖二 明之一表單產生系統具體實施例包含-二::埶網;(ASP)槽案’其在具有IIS及…之視窗 許一般使用^ = —Asp棺案顯示一圖形使用者介面以允 ASP g τ $ /信件合併型式文字處理器文件,個別 字、田及/-夂/的_字組以對一使用者鍵擊、輸入文 才曰不σ種選擇作出回應。 且Ϊ = 優點為所提供之-文件產生系統是十分快速 式m:::為更多文件產生處理器可以模組單元· 本發明u—$—步之優點為所提供之一文件產生系統 487879 五、發明說明(4) 允許使用者簡單及迅速地選 ,,填註空白"所需之資訊。 、田文件格式,並然後提供 本發明之另一優點為所提供之一文 網站文件快速開發及運用。 產生叩允a午自動式 本發明之另_進一步優·點為所提供之—文 =使用之網路介面降低了使用者撰寫程式或範= 許=提供之文件產生系統允Page 7 487879 V. Description of the invention (2) It is difficult for lawyers' affairs. Although it is stored in —, it is expensive and if you do n’t purchase it, the electronic form on it is outdated. The updated version of this electronic form will soon be available on the Internet. A new type of media is now available to users, and users can enjoy the benefits of using only one form and letter for a wide range of purposes. The "pattern" and the latest style sheet that repeatedly appear in a certain category of documents, "patterns and other artificial objects" must be added with $ ^, blank dialog box to customize a final document also: :: $ Write any J language _Encoding is used to write the program original-: there will be correct, manuscripts, patterns, artificial objects and comments; but this hypertext markup language is not easy to use, / ,,,,,, or week page or write hypertext markup Language training. Abstract: In one aspect, one object of the present invention is to provide access to many users on the Internet. Another purpose of the cattle generation system is to provide a document generation system. System, which allows the use of ^ to easily and quickly select the appropriate file format and supply "fill-in-the-blank" information. Therefore, a further purpose of Mingming is to provide an Internet document generation system that can be immediately extended. Another further object of the present invention is to provide an Internet document production system which can be composed of general hardware and software components. ^ Briefly, an Internet document production of the present invention System specific implementation Page 8 V. Invention description (3) The example includes: the website is used to receive incoming messages, and then-^ the user must fill in the standard form text or the user specified recipient, = whole immediately Documents can be sent to the use library, so user helmet information can also be pre-stored in a Microsoft Internet and run under the on-demand operating system by: device (ns), such as Microsoft_ 的 应/, And the link software ㈣ 介 and Windows NT interface to serve as an NT server can be Si :: 使: Invention of another-the purpose is to provide-form generation system, the system of production it :: project: r; The single generation system is used to create a frame ... word mark figure one of the two forms. The specific embodiment of the form generation system includes -2 :: 埶 网; (ASP) slot case 'It is generally used in windows with IIS and ... ^ = —Asp The coffin shows a graphical user interface to allow ASP g τ $ / letter-combination type word processor files, individual words, fields, and /-夂 / _ groups to type a user's keystrokes and enter text. Choose to respond. And Ϊ = the advantages are provided-the file generation system is very fast. M ::: 为The multi-file generation processor can be a modular unit. The advantage of the u-$-step of the present invention is that it provides one of the file generation systems 487879. V. Description of the invention (4) Allows users to simply and quickly select, fill in the blanks " The required information. File format, and then provide another advantage of the present invention is the rapid development and use of the provided document website file. Produced to allow a noon-automatic another_further advantages of the present invention are provided No.—The web interface used reduces the user's ability to write programs or applications.

Hm/ASP文件;ί = = = Ί料庫表格、* 或MP ^刀,無需使用胤、HTML、 ^ 4私式搔寫技巧或經驗,此系統亦可用於產生任何 新增WORD檔案時所需之任何合併攔位。 呈:t H亡述及進一步之目的、特徵、及優點在將下列 二體貝轭例坪細描述、及特別是結合所附圖示納Hm / ASP file; ί = = = Ί 料 库 表, * or MP ^ 刀, no need to use 胤, HTML, ^ 4 private writing skills or experience, this system can also be used to generate any new WORD file required Any merger stop. Presented: The further purpose, characteristics, and advantages of t H are described in detail in the following two-body shell yoke example, and in particular in conjunction with the attached drawings

將呈明顯,。 1ST 圖示概要据沭 圖1說明本發明之文件產生系統具體實施例; 圖2為本發明之一 default.asp之流程圖; 圖3為本發明document.asp之流程圖; 圖4為本發明q u e s t i 〇 η · a s p之流程圖;Will be noticeable. 1ST diagram outline According to FIG. 1, the specific embodiment of the file generation system of the present invention will be described; FIG. 2 is a flowchart of default.asp according to the present invention; FIG. 3 is a flowchart of document.asp according to the present invention; FIG. 4 is the present invention. questi 〇η · asp flowchart;

圖5為本發明之resui ts· asp具體實施例之前半部之汽程 圖; 〇 /;,L 圖6為本發明之resu 1 ts· asp具體實施例之後半部之流程 圖;以及 第10頁 五、發明說明(5) 且為興t發明之訂1 te —打社―ί〇Γ—d〇CUment-f〇rm程式子 ^半部貫施例之流程圖,其包含於圖6之reSUlts.asP之 本發明之詳細描述 生系統 圖1說明本發明之一網際網路文件產生系統具體實施例 在此以數碼1 〇 0表示,該系統1 〇 〇包含一網路伺服器1 0 2 ,其和網際網路104及許多用戶或使用者1〇6-112連^,系 統,增單元對11 4及11 6以模組化方式增進網路伺服器丨〇2、 之能力以在使用者106-112要求時產生文件。 網路伺服器102介接網際網路1〇4及網路介控制器118, 互動式網頁使用者介面1 2 〇提供類似於微軟公司 Redmond, WA)主動伺服器網頁(ASP)之功能,一網際網路 檔案及應用伺服器1 2 2 (像是微軟網際網路資訊伺服器丨丨s) 在作業系統1 24控制下執行,微軟視窗Ντ伺服器最好是用 ^作業系統124,一應用工具126係用於顯示一文字處理器 粒式1 2 8,此服務在視窗n τ下有提供,舉例而言,在n τ資 源工具内所提供之srvany· exe (亦即SRVANY)可作為應用工FIG. 5 is a steam diagram of the first half of a specific embodiment of resui ts · asp of the present invention; ○ / ;, L FIG. 6 is a flowchart of the second half of a specific embodiment of resu 1 ts · asp of the present invention; Page V. Description of the invention (5) and the order of the invention 1 te — 打 社 ―ί〇Γ—d〇CUment-f〇rm formula ^ The flow chart of the half-embodiment embodiment, which is included in Figure 6 reSUlts.asP Detailed description of the invention generating system FIG. 1 illustrates a specific embodiment of the Internet file generating system of the present invention is represented by a digital 100, the system 100 includes a network server 102 , Which is connected to the Internet 104 and many users or users 106-112 ^, the system, the additional unit pairs 11 4 and 1 16 in a modular manner to enhance the capabilities of the network server 丨 02, in use Documents are generated upon request by 106-112. The network server 102 is connected to the Internet 104 and the network interface controller 118. The interactive web user interface 12 provides similar functions to the Active Server Web Page (ASP) of Microsoft Corporation. Internet file and application server 1 2 2 (like Microsoft Internet Information Server 丨 丨 s) runs under the control of operating system 1 24, Microsoft Windows NT server is best to use ^ operating system 124, an application Tool 126 is used to display a word processor granular 1 2 8. This service is provided under the window n τ. For example, the srvany · exe (that is, SRVANY) provided in the n τ resource tool can be used as an application tool.

具126 ’微軟W0RD-97可用為文字處理器程式128,SRVANY 應用工具1 26亦可用於執行其他應用程式(例如應用程式 1 3 0 )以作為視窗n τ服務。 微軟視窗NT服務為無需使用者登入系統(例如微軟SQL伺 服器、微軟交換伺服器(Exchange Server)、主動主機介 接協定(Dynamic Host Interface Protocol)、甚至視窗 487879The tool 126 'Microsoft WORD-97 can be used as the word processor program 128, and the SRVANY application tool 1 26 can also be used to execute other applications (such as the application program 1 30) as a window n τ service. The Microsoft Windows NT service does not require users to log in to the system (such as Microsoft SQL Server, Microsoft Exchange Server, Active Host Interface Protocol, or even Windows 487879).

網際網路名稱服務(W I NS)伺服器之作業。 依據微軟,該srvany.exe應用工具允許應用程 窗NT服務執行,此使得多項應用程式不受登出/登入。、、、不 干擾,且節省對於每一新使用者重新開始之工作負/,序^ 至當無使用者登入時,伺服器應用程式可出現並進= 要求。應用程式可在一和目前已登入使用者不同之护—八 入帳戶下驅動並執行一工作,此在一指定登入帳戶^:二 工作之能力延展了Word 97及其他文字處理軟體程 订 完成之範圍。舉例而言,當在一具有使用者名稱帳戶% 業日守’產生Adobe PDF檔案要比在一般狀況下執行之田 區域系統帳戶服務程式來的實際且容易,僅管某此應σ月。 式被啟動以進行服務,這些應用程式若不能忽略…用私 wm-endsessiori 訊息或ctrl_log〇ff—event,則會在登 一工作佇列132定時地由文字處理器程式128及其他 程式1 3 0所徵詢以檢視是否有任何工作等待,一所謂,,μ 集”程式可寫入伴隨MS-Word應用程式以執行此類佇% =杳 (例如表格1),此類巨集程式可使用微軟Visual — 應用程式撰寫,巨集在功能上亦可藉由撰寫主動鏈、^e程"式 館(DLLs)而達成,其可由Word啟動,DLLs —般上較正^ ^ 集執行速度為快,如果無工作等待,則巨集程式^好^ 成呼叫AP I系統功能,其將置文字處理器丨28或其他鹿^程 式1 3 0於短暫休眠狀態,已經建立之範例指出休眠時間^ ^ 微秒會產生好的結果,當AP I系統功能允許文字處理器程Operation of Internet Name Service (W IN NS) server. According to Microsoft, the srvany.exe application tool allows applications to run on Windows NT services, which prevents multiple applications from logging out / logging in. ,,, Do not interfere, and save the work burden for each new user to restart /, sequence ^ to when no user is logged in, the server application can appear concurrently = request. The application can drive and execute a job under a different protection from the currently logged-in user—the eight-entry account, which can extend the ability of Word 97 and other word processing software to be completed in a designated login account ^: two job capabilities. range. For example, when generating an Adobe PDF file in an account with a user ’s account% business day, it ’s more practical and easier than running a field account service program under normal circumstances, no matter what it should be. It is started for services. If these applications cannot be ignored ... using private wm-endsessiori messages or ctrl_log〇ff_event, it will be scheduled by the word processor program 128 and other programs on the task queue 132 regularly. 1 3 0 Asked to see if there is any work waiting, a so-called, μ set ”program can be written to accompany MS-Word applications to execute this kind of 伫% = 杳 (such as Table 1), such macro programs can use Microsoft Visual — Application writing, macros can also be achieved by writing active chains, ^ e Cheng " (DLLs), which can be started by Word, DLLs-generally faster than ^ ^ set execution speed, if If there is no work waiting, the macro program ^ good ^ will call the AP I system function, which will set the word processor 丨 28 or other deer ^ program 1 3 0 in a short sleep state. The established example indicates the sleep time ^ ^ microseconds Will produce good results when the AP I system function allows word processor programs

第12頁 487879 五、發明說明(7) 式1 2 8或其他應用程式1 3 0甦醒時,會再一次檢視工作佇列 1 3 2,請注意,對文字處理程式並無必要”進行休眠",然 而,此休眠期間可減少網路交通並在擁塞時精進效率。 表1 文字巨集 ’版權所有(c) 1999 Kevin L.WarnockPage 12 487879 V. Description of the invention (7) When the formula 1 2 8 or other applications 1 30 is awake, the task queue 1 2 2 will be reviewed again. Please note that there is no need for the word processing program to "sleep" " However, this dormant period can reduce network traffic and improve efficiency in times of congestion. Table 1 Text Macro 'Copyright (c) 1999 Kevin L. Warnock

Declare Function Beep & Lib nKernel32M (By Val dwFreq As Long, By Val dwDuration As Long)Declare Function Beep & Lib nKernel32M (By Val dwFreq As Long, By Val dwDuration As Long)

Declare Sub Sleep Lib ’’Kernel32.dll’’(By Val dwMilliseconds As Long)Declare Sub Sleep Lib ’’ Kernel32.dll ’’ (By Val dwMilliseconds As Long)

Sub hot()Sub hot ()

I •hot巨集 •巨集於01/03/99由Kevin L. Warnock撰寫 噹NT驅動時,本巨集自動啟動,假設Word 97是和SRVANY.EXE(來自微軟並和NT資源工 具包裝一起)共同安裝,此巨集使用一COM物件(Hotworker.Cluster)以決定是否有工作需進 行,如果有工作,則呼叫DraftHot函式,否則,此巨集經由Win32 api呼叫”Sleep',進入休眠 狀態,在此時,CPU時間不會被佔用。I • Hot macro • Macro was written by Kevin L. Warnock on 01/03/99. When NT drives, this macro starts automatically, assuming Word 97 is with SRVANY.EXE (from Microsoft and packaged with NT resource tools) Installed together, this macro uses a COM object (Hotworker.Cluster) to determine whether there is work to be done. If there is work, then call the DraftHot function. Otherwise, the macro calls "Sleep 'via the Win32 api and enters the sleep state. At this time, CPU time will not be taken up.

On Error GoTo err一hotOn Error GoTo err a hot

Dim ret, i, strSwitch, status, InvokeWord, WorkPath, DelimitedData Dim objCluster As Object •將數值設為1,因此迴圈將執行至少乙次。 strSwitch = 'Τ' ’產生Hotpaper群集物件Dim ret, i, strSwitch, status, InvokeWord, WorkPath, DelimitedData Dim objCluster As Object • Set the value to 1, so the loop will be executed at least twice. strSwitch = 'Τ' ’generates Hotpaper cluster objects

Set objCluster = CreateObject(MHotworker.Cluster")Set objCluster = CreateObject (MHotworker.Cluster ")

Do While strSwitch:'丨 Γ ’藉由呼叫方法產生文件 ret=objCluster.ReadFromCluster(nCompaq NT Server")Do While strSwitch: '丨 Γ ’Generate a file by calling method ret = objCluster.ReadFromCluster (nCompaq NT Server ")

Select Case retSelect Case ret

Case "draft"Case " draft "

第13頁 487879 五、發明說明(8) •草稿文件 status=drafthot(objC1 uster.MasterDoc, obj C1 uster. ResultDoc, objCIuster.ResultDOcIC, objCluster.DSN, objCIuster.WorkPath, objCluster.Fieldl, objCluster.Fie!d2, objCluster.Field3, objCluster.Field4) '現在使用二階段確認之第二階段 ret=obj C1 uster. StatusC 1 uster(obj C1 uster. W orkKey)Page 13 487879 V. Description of the invention (8) • Draft file status = drafthot (objC1 uster.MasterDoc, obj C1 uster. ResultDoc, objCIuster.ResultDOcIC, objCluster.DSN, objCIuster.WorkPath, objCluster.Fie! D2 , objCluster.Field3, objCluster.Field4) 'Now use the second stage of the two-stage confirmation ret = obj C1 uster. StatusC 1 uster (obj C1 uster. W orkKey)

Beep 1500, 100Beep 1500, 100

DoEventsDoEvents

Case "idle'’Case " idle '’

Sleep 100 DoEvents End Select ’藉由檢查磁碟上之切換文字檔案以決定是否巨集應繼續 '1為繼續執行,0為終止Sleep 100 DoEvents End Select ’Determines whether the macro should continue by checking the switched text files on the disk '1 for continued execution and 0 for termination

Open ’’c:\temp\s\s.txt” For Input As #1Open ‘’ c: \ temp \ s \ s.txt ”For Input As # 1

Input #1, strSwitchInput # 1, strSwitch

Close #1Close # 1

Loop '釋放物件Loop 'Release Object

Set objCluster = Nothing err—hot:Set objCluster = Nothing err—hot:

Debug.Print "Error: "& Err.Description & "Number: " & Err.Number End SubDebug.Print " Error: " & Err.Description & " Number: " & Err.Number End Sub

Function drafthot(MasterDoc, ResultDoc, ResultDOCID, DSN, SQL, WorkPath, Field 1, Field2, Field3, Field4) '此巨集實際開啟Word 97文件 On Error GoTo EiT-drafthotFunction drafthot (MasterDoc, ResultDoc, ResultDOCID, DSN, SQL, WorkPath, Field 1, Field2, Field3, Field4) 'This macro actually opens the Word 97 document On Error GoTo EiT-drafthot

Dim strMsg, DSNstring, PhysicalPath, SaveFormat, ReturnValue '變更目錄至主體文件所在之目錄 ChangeFileOpenDirectory WorkPath strMsg = strMsg & n3. Changed directory to where masters are kept. Time:"& Now & vbCrLf 第14頁 487879 五、發明說明(9) ’開啟主體微軟Word 97文件,但並不納入文字資料源. •請注意,使用者所使用之NT伺服器可能未安裝任何系統DSN文字驅動器 ’使用者是否欲以主動方式納入文字資料源?如果是,將出現一對話框 ’以詢問使用者欲選擇何驅動器進行使用,此對話框將懸住Word並跳出此應用 ’在此例中,僅將資料源納入主體Word文件並將其儲存,其將 •可順利完成,但是使用者會失去變更應用程式位置之能力,因為資料源 •係以硬編碼(hardcoded)方式進該主體文件.Dim strMsg, DSNstring, PhysicalPath, SaveFormat, ReturnValue 'Change Directory OpenDirectory WorkPath strMsg = strMsg & n3. Changed directory to where masters are kept. Time: " & Now & vbCrLf Page 14 487879 V. Description of the invention (9) 'Open the main Microsoft Word 97 document, but it does not include the text data source. • Please note that the NT server used by the user may not have any system DSN text driver installed' Is the user willing to take the initiative Way to incorporate text sources? If it does, a dialog box will appear 'Ask the user what drive they want to use, this dialog box will hover Word and exit this application' In this example, only the data source is included in the main Word file and stored, It will be completed successfully, but the user will lose the ability to change the location of the application, because the data source is hardcoded into the body file.

Documents.Open FileName:=MasterDoc, ReadOnly:=True ’納入SQL伺服器資料源Documents.Open FileName: = MasterDoc, ReadOnly: = True ’Include SQL server data source

ActiveDocument.MailMerge.OpenDataSource name: 一 ConfirmConversions:=False,_ActiveDocument.MailMerge.OpenDataSource name: a ConfirmConversions: = False, _

Read Only: =False, LinkToSource:=True, AddToRecentFiles:=False, _ PasswordDocument:=,,n, PasswordTemplate:=M", WritePasswordDocument:=MM, _ WritePasswordTemplate:=",,J Revert:=False, Format:=wdOpenFormatAuto, _ Connection=MDSN=M & DSN & SQLStatement:=SQL, SQLStatement:=,7;, ’擷取稍後吾人將儲存檔案之實際路徑Read Only: = False, LinkToSource: = True, AddToRecentFiles: = False, _ PasswordDocument: = ,, n, PasswordTemplate: = M ", WritePasswordDocument: = MM, _ WritePasswordTemplate: = " ,, J Revert: = False, Format : = wdOpenFormatAuto, _ Connection = MDSN = M & DSN & SQLStatement: = SQL, SQLStatement: =, 7 ;, 'Retrieve the actual path where I will save the file later

PhysicalPath=ActiveDocument.MailMerge.DataSource.DataFields(nPhysicalPath_n) '擷取使用者要求檔案將被儲存之格式PhysicalPath = ActiveDocument.MailMerge.DataSource.DataFields (nPhysicalPath_n) 'Retrieve the format in which the user request file will be stored

SaveFormat=ActiveDocument.MailMerge.DataSource.DataFields(MFormat") strMsg=strMsg & "4. Opened Word mail merge master document. Time:" & Now & vbCrLf '進行合併SaveFormat = ActiveDocument.MailMerge.DataSource.DataFields (MFormat ") strMsg = strMsg & " 4. Opened Word mail merge master document. Time: " & Now & vbCrLf 'Merge

With ActiveDocument.MailMerge •Destination = wdSendToNewDocument .Execute End With 識別碼置於文件上,據此吾人可告其將被產生於何種伺服器 Selection.EndKey Unit:=wdStoryWith ActiveDocument.MailMerge • Destination = wdSendToNewDocument .Execute End With identification code is placed on the file, based on which we can tell which server it will be generated Selection.EndKey Unit: = wdStory

Selection.TypeText Text:=uCreated on Dell 2300/450 server"Selection.TypeText Text: = uCreated on Dell 2300/450 server "

Selection.InsertDateTime DateTimeFormat:=HM/d/yy h:mm:ss am/pmM? _Selection.InsertDateTime DateTimeFormat: = HM / d / yy h: mm: ss am / pmM? _

InsertAsfield:=False Selection.TypeText Text:=V strMsg = strMsg & "5. Performed mail merge. Time:" & Now & vbCrLfInsertAsfield: = False Selection.TypeText Text: = V strMsg = strMsg & " 5. Performed mail merge. Time: " & Now & vbCrLf

'變更檔案開啟目錄實際路徑& T'Change file open directory actual path & T

ChangeFileOpenDirectory n\\hot\hotc\hotdrafts\M '變更棺案開啟目錄 nd:\hotpaperenginetestdrafts\” IIIIIll 第15頁 487879 五、發明說明(ίο) strMsg = strMsg & "6. Deleted any existing version of Word document about to be saved. Time: & Now & vbCrLf 乂諸存檔案ChangeFileOpenDirectory n \\ hot \ hotc \ hotdrafts \ M 'Change the coffin opening directory nd: \ hotpaperenginetestdrafts \ "IIIIIll Page 15 487879 V. Description of the invention (ίο) strMsg = strMsg & " 6. Deleted any existing version of Word document about to be saved. Time: & Now & vbCrLf

Select Case SaveFormat Case Mword97" •先刪除任何存在之版本Select Case SaveFormat Case Mword97 " • Delete any existing version first

If Dir(ResuItDoc & ResultDocID & M.docM)<>"" Then Kill (ResultDoc & ResultDocID & M.docM) ’儲存檔案If Dir (ResuItDoc & ResultDocID & M.docM) < > " " Then Kill (ResultDoc & ResultDocID & M.docM) 'Save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & ".doc", FileFormat:=wdFormatDocument Case "word95丨’ '先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & " .doc ", FileFormat: = wdFormatDocument Case " word95 丨 ’'Delete any existing version first

If Dir(ResultDoc & ResultDocID & ".docM)〇,M, Then Kill (ResultDoc & ResultDocID & ".doc") '儲存檔案If Dir (ResultDoc & ResultDocID & " .docM) 〇, M, Then Kill (ResultDoc & ResultDocID & " .doc ") 'Save file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & M.doc", FileFormat:=l 1 Case "works4” ’先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & M.doc ", FileFormat: = l 1 Case " works4 ”’ delete any existing version first

If Dir(ResultDoc & ResultDocID & ".wps") 〇"" Then Kill (ResultDoc & ResultDocID & M.wpsM) '儲存檔案If Dir (ResultDoc & ResultDocID & " .wps ") 〇 " " Then Kill (ResultDoc & ResultDocID & M.wpsM) 'Save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & M.wpsM, FileFormat:=17ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & M.wpsM, FileFormat: = 17

Case "word5Imac" ’先刪除任何存在之版本Case " word5Imac " ‘Remove any existing versions first

If Dir(ResultDoc & ResultDocID & M.mcw") 〇"" Then Kill (ResultDoc & ResultDocID & ".mew") '儲存檔案If Dir (ResultDoc & ResultDocID & M.mcw ") 〇 " " Then Kill (ResultDoc & ResultDocID & " .mew ") 'Save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & ".mew", FileFormat:=14 Case "rtf' '先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & " .mew ", FileFormat: = 14 Case " rtf '' Delete any existing version first

If Dir(ResultDoc & ResultDocID & ".rtf') 〇M" Then Kill (ResultDoc & ResultDocID & ".rtf') '儲存檔案If Dir (ResultDoc & ResultDocID & " .rtf ') 〇M " Then Kill (ResultDoc & ResultDocID & " .rtf') 'Save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & M.rtf', FileFormat:=wdFormatRTF Case "wp5Iwinn '先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & M.rtf ', FileFormat: = wdFormatRTF Case " wp5Iwinn' Delete any existing version first

If Dir(ResultDoc & ResultDocID & ".doc") ◊·"' Then Kill (ResultDoc & ResultDocID & 'doc1,) __ 第16頁 487879 五、發明說明(11) ’儲存檔案If Dir (ResultDoc & ResultDocID & " .doc ") ◊ · " 'Then Kill (ResultDoc & ResultDocID &' doc1,) __ Page 16 487879 V. Description of the invention (11)

ActiveDociiment.SaveAs FileName:=ResuItDoc & ResultDocID 8c ".doc", FileFormat:=22 Case "wp5Idos" ’先刪除任何存在之版本ActiveDociiment.SaveAs FileName: = ResuItDoc & ResultDocID 8c " .doc ", FileFormat: = 22 Case " wp5Idos " ‘Delete any existing version first

If Dir(ResultDoc & ResultDocID & M.docM) <>ΜΠ Then Kill (ResultDoc & ResultDocID & doc") ’儲存檔案If Dir (ResultDoc & ResultDocID & M.docM) < > ΜΠ Then Kill (ResultDoc & ResultDocID & doc ") ‘Save File

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & ".doc", FileFormat:=21 Case ’’htmr •先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & " .doc ", FileFormat: = 21 Case ’’ htmr • Delete any existing versions first

If Dir(ResultDoc & ResultDocID & ".html") <>MM Then Kill (ResultDoc & ResultDocID & ".html") 存檔案If Dir (ResultDoc & ResultDocID & " .html ") < > MM Then Kill (ResultDoc & ResultDocID & " .html ") save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & ".html”, FileFormat:=10 Case Else •先刪除任何存在之版本ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & " .html ", FileFormat: = 10 Case Else • Delete any existing versions first

If Dir(ResultDoc & ResultDocID & n.docn) ◊,," Then Kill (ResultDoc & ResultDocID & n.doc·’) '儲存檔案If Dir (ResultDoc & ResultDocID & n.docn) Well, " Then Kill (ResultDoc & ResultDocID & n.doc · ’) 'Save the file

ActiveDocument.SaveAs FileName:=ResultDoc & ResultDocID & ".doc", FileFormat:=wdFormatDocument End Select 'Dim conv '對於每一個在FileConverters内之變數conv ’如果conv.CanSave為真,則執行Debug.Print conv.FormatName & conv.SaveFormat '執行下一 conv strMsg = strMsg & ”7. Saved completed Word mail merge document. Time:’’ & Now & vbCrLf strMsg = strMsg &"8. Wrote out HTML link screen. Time:" & Now & vbCrLf ’設定函式傳回值ActiveDocument.SaveAs FileName: = ResultDoc & ResultDocID & " .doc ", FileFormat: = wdFormatDocument End Select 'Dim conv' For every variable conv within FileConverters' If conv.CanSave is true, execute Debug.Print conv.FormatName & conv.SaveFormat 'Go to the next conv strMsg = strMsg & "7. Saved completed Word mail merge document. Time:' '& Now & vbCrLf strMsg = strMsg & " 8. Wrote out HTML link screen. Time: " & Now & vbCrLf 'Set function return value

Return Value = "Word 97 document drafted successfully." draft hot = Return Value strMsg = strMsg & M9. Set Return Value of function. Time:" & Now & vbCrLf Exit_drafthot:Return Value = " Word 97 document drafted successfully. &Quot; draft hot = Return Value strMsg = strMsg & M9. Set Return Value of function. Time: " & Now & vbCrLf Exit_drafthot:

IliRHlI 第17頁 487879 五、發明說明(12) :關閉所有文件無需儲存 一 如果文件计數> 〇則執行Documents.Close aveChanges.—wdDoNotSaveChangesIliRHlI Page 17 487879 V. Description of the invention (12): Close all files without storing one. If the file count > 〇, execute Documents.Close aveChanges.—wdDoNotSaveChanges

Active Window.Close.SaveChanges:=wdDoNotSaveChanges Active Window.Close.SaveChanges:=wdDoNotSaveChanges strMsg - strMsg & "10.Closed open documents. Time:" & Now & vbCrLf ’將傳回數值寫入檔案,此數值將被傳回ASP範本語言,並且如果某些 地方出錯’其將内含文字'error1 '對於輸出存取寫入鎖定狀態進行開啟WorkPath & TWWWizWordReturnValue.txt,, 以#2寫入 ’列印#2傳回數值 '關閉#2 strMsg = strMsg &"11. Wrote return value to disk. Time:" & Now & vbCrLf '將進行字串寫入檔案 '對於輪出存取寫入鎖定狀態進行開啟WorkPath &,,\WWWizWordProgress.txt,, 以#2寫入 ’列印#2, strMsg '關閉#2Active Window.Close.SaveChanges: = wdDoNotSaveChanges Active Window.Close.SaveChanges: = wdDoNotSaveChanges strMsg-strMsg & " 10.Closed open documents. Time: " & Now & vbCrLf 'Write the returned value to the file, This value will be passed back to the ASP template language, and if something goes wrong 'it will contain the text' error1 'for output access write lock status to open WorkPath & TWWWizWordReturnValue.txt, write to # 2' column Print # 2Return the value 'Close # 2 strMsg = strMsg & " 11. Wrote return value to disk. Time: " & Now & vbCrLf' Will perform string write to file ' Enter the locked state to open WorkPath &, \ WWWizWordProgress.txt, write to # 2 'print # 2, strMsg' close # 2

Debug.Print Return Value Exit Function Err一drafthot: ’設定函式傳回值Debug.Print Return Value Exit Function Err-drafthot: ’Set function return value

ReturnValue = "ERROR: Word 97 document not drafted. Error Description: Err.Description & Error number: " & Err.Number & Time:" & Now ’對除錯視窗寫入傳回數值 Debug.Print ReturnValueReturnValue = " ERROR: Word 97 document not drafted. Error Description: Err.Description & Error number: " & Err.Number & Time: " & Now 'Write a return value to the debug window Debug .Print ReturnValue

StrMsg = strMsg & "ERROR HANDLER: " & Return Value & vbCrLf ’跳出此函式 GoTo Exit_drafthotStrMsg = strMsg & " ERROR HANDLER: " & Return Value & vbCrLf ’Exit this function GoTo Exit_drafthot

End Function _ 第18頁 487879 五、發明說明(13) 工作彳宁列1 3 2可以V i s u a 1 B a s i c程式語言撰寫(例如表I I 所示),工作會傳至等待串列或彳宁列,任何準備執行工作 之文字處理器程式1 2 8或其他應用程式1 3 0會檢視等待串列 ,如果一適當的工作已被認定,其在工作佇列1 3 2内之攔 位會移至π進行中"串列,該文字處理器程式1 2 8或其他應 用程式1 3 0然後會將其所需要之資訊片段自一電腦資料儲 存磁碟1 3 4及一資料庫1 3 6中擷取出來,該資訊片段亦可以 另一種方式擷取(像是自一記憶體位置),該工作然後會被 執行,並且所顯示之電子文件型式結果會存入磁碟1 34, 視窗NT 1 2 4然後將此文件傳送至使用者1 0 6 - 1 1 2或使用者 指定之接收者,當該工作完成時,其位於工作佇列之進行 中欄位1 3 2會移至π完成π串列。End Function _ Page 18 487879 V. Description of the invention (13) The working queue 1 3 2 can be written in the V isua 1 B asic programming language (as shown in Table II), and the job will be transmitted to the waiting queue or the queue. Any word processor program 1 2 8 or other application 1 3 0 that is ready to perform the task will look at the waiting queue. If a suitable task has been identified, its position in the task queue 1 2 2 will be moved to π Ongoing " serialization, the word processor program 1 2 8 or other applications 1 3 0 will then extract the information pieces it needs from a computer data storage disk 1 3 4 and a database 1 3 6 Take it out, the information fragment can also be retrieved in another way (such as from a memory location), the task will then be performed, and the displayed electronic file type result will be stored on disk 1 34, window NT 1 2 4 Then send this document to the user 1 0 6-1 1 2 or the receiver specified by the user. When the task is completed, it is in the ongoing field 1 3 2 of the task queue and will move to π to complete the π string. Column.

表I I (VB佇列) ’版權所有(c) 1999年Kevin L. WarnockTable I I (VB line) ’Copyright (c) 1999 Kevin L. Warnock

Private strMasterDoc As Variant Private strSQL As Variant Private strFieldl As Variant Private strField2 As Variant Private strField3 As Variant Private strField4 As Variant Private strDSN As Variant Private strMacro As Variant Private strSubmitTime As Variant Private strResultDoc As Variant Private strResultDocID As Variant Private strWordVisible As Variant Private strMyname As String Private strWorkpath As StringPrivate strMasterDoc As Variant Private strSQL As Variant Private strFieldl As Variant Private strField2 As Variant Private strField3 As Variant Private strField4 As Variant Private strDSN As Variant Private strMacro As Variant Private strSubmitTime As Variant Private strResultDoc As Variant Private strResultDocID As Variant Private strWordVisible As Variant Private strMyname As String Private strWorkpath As String

第19頁 487879Page 19 487879

’對於來自IIS之工作產生中央檢視目錄變數 HotqueuePath = "\\hot\hotc\temp\q\" ’對於現行正由文字群集機器處理之文件產生目錄變數 HotqueueDrafting = "\\hot\hotc\temp\d\" '對完整完成之要求產生將送達之目錄變數 HotqueuePathFinished = "\\hot\hotc\temp\f\" •檢視是否有任何要求等待處理 mypath = HotqueuePath &'Central view directory variable generated for work from IIS HotqueuePath = " \\ hot \ hotc \ temp \ q \ "' Catalog variable generated for files currently being processed by a text cluster machine HotqueueDrafting = " \\ hot \ hotc \ temp \ d \ " 'A request for complete completion generates a directory variable to be served HotqueuePathFinished = " \\ hot \ hotc \ temp \ f \ " • Check if there are any requests waiting to be processed mypath = HotqueuePath

Myname = Dir(mypath) strMyname = Myname 取ίίί在要求’將其移至'|理中n目錄並將數值讀人特徵變數’據此文字群集作業可存 If Myname Then A 了移動檔案,吾人自ASP群集機器中使用filesystemobject需要ASP 故其可使用此指令?Myname = Dir (mypath) strMyname = Myname Take ίίίIn the request 'Move it to' | Let's manage the n directory and read the value of the person's characteristic variable 'Based on this text clustering operation can be saved if Myname Then A Mobile file, I since ASP Using filesystemobject in a cluster machine requires ASP, so can it use this directive?

Set fso = CreatObject("scripting.filesystemobject")Set fso = CreatObject (" scripting.filesystemobject ")

Set a = fso.getfile(HotqueuePath & Myname) a.Move HotqueueDrafting 1賣取要求之内容並將數值賦予特徵數值 Open HotqueueDrafting & Myname For Input As #1 Input #1, strMacroTemplate, strMacroName, strMasterDoc, strResultDoc, strResultDocID, strDSN, strSQL, strlnvokeWord, strDelimitedData, strHeader, strRecord, strWorkpath, strWordVisible, strFieldl, strField2, strField3, strField4 Close # 1 ’關閉檔案系統物件Set a = fso.getfile (HotqueuePath & Myname) a.Move HotqueueDrafting 1 Sell the requested content and assign the value to the characteristic value Open HotqueueDrafting & Myname For Input As # 1 Input # 1, strMacroTemplate, strMacroName, strMasterDoc, strResultDoc, strResultDocID, strDSN, strSQL, strlnvokeWord, strDelimitedData, strHeader, strRecord, strWorkpath, strWordVisible, strFieldl, strField2, strField3, strField4 Close # 1 'Close file system objects

Set fso=Nothing *對此函式賦予傳回數值 ReadFromCluster = "draft"Set fso = Nothing * Assign a return value to this function ReadFromCluster = " draft "

Else '對此函式賦予傳回數值Else 'Assign a return value to this function

第20頁 487879 五、發明說明(15)Page 20 487879 V. Description of the invention (15)

ReadFromCluster=Midle"ReadFromCluster = Midle "

End IfEnd If

Exi_ReadFromC 1 uster:Exi_ReadFromC 1 uster:

Exit Function Err_ReadFromCluster:Exit Function Err_ReadFromCluster:

ReadFromCluster = "Error number:" & Err.Number & ", error description:" & Err.Description & ", error source:" & Err.Source &ReadFromCluster = " Error number: " & Err.Number & ", error description: " & Err.Description & ", error source: " & Err.Source &

GoTo Exit_ReadFrom ClusterGoTo Exit_ReadFrom Cluster

End FunctionEnd Function

Public Function StatusCluster(WKey) ’在文件完成撰擬後,吾人希望將要求 - ’槽案由HotqueueDrafting目錄移至 ’HotqueuePathFinished目錄,因為若 ’能夠用視窗網路探險家(explorer)審視該文件 ’將是有助益的,在成功的完成文件撰擬後,該 ’要求檔案會移至n完成’’目錄 ’以對曾完成之工作保持一份記錄 •傳入Wkey,其為將移入之要求 ‘檔案檔名Public Function StatusCluster (WKey) 'After the document has been prepared, I hope to move the request-' Slot case from the HotqueueDrafting directory to the 'HotqueuePathFinished directory, because if' the file can be reviewed with a Windows Internet explorer (explorer), there will be For the benefit, after the successful completion of the drafting of the document, the 'request file will be moved to the n completion' directory 'to maintain a record of the work that has been completed name

On Error GoTo Err_StatusCluster ’對於目前正由文字群集機器處理之文件產生目錄變數 HotqueueDrafting="\\hot\hotc\temp\d\" '對於完整完成之要求產生將送達之目錄變數 HotqueuePathFinished = "\\hot\hotc\temp\f\" ’檢視是否有任何要求等待處理 mypath = HotqueueDrafting & Wkey Myname = Dir(mypath) *如果存在要求,將其移至HotqueueDrafting目錄並讀取數值予特徵變數,故文字群集處 理器可存取數值 第21頁 487879 五、發明說明(16)On Error GoTo Err_StatusCluster 'Generate directory variables HotqueueDrafting = " \\ hot \ hotc \ temp \ d \ " for files currently being processed by the text cluster machine HotqueuePathFinished = " \\ hot \ hotc \ temp \ f \ " 'Check if there are any requests waiting to be processed mypath = HotqueueDrafting & Wkey Myname = Dir (mypath) * If there is a request, move it to the HotqueueDrafting directory and read the value to the feature variable , So the word cluster processor can access the value Page 21 487879 V. Description of the invention (16)

If Myname 〇 "" Then 义移動檔案,吾人使用來自ASP群集機器之filesystemobject需要ASP,故其可使用此指令? Set fso = CreatObject("scripting.filesystemobject")If Myname 〇 " " Then move the file, I need to use ASP from the filesystemobject of the ASP cluster machine, so it can use this command? Set fso = CreatObject (" scripting.filesystemobject ")

Set a =fso.getfile(HotqueueDrafting & Myname) a.Move HotqueuePathFinished Set fso = Nothing '對此函式賦予傳回數值 StatusCluster="success"Set a = fso.getfile (HotqueueDrafting & Myname) a.Move HotqueuePathFinished Set fso = Nothing 'Assign a return value to this function StatusCluster = " success "

Else 'Assign return value for this function StatusCluster=MfailurenElse 'Assign return value for this function StatusCluster = Mfailuren

End IfEnd If

Exit_StatusCluster:Exit_StatusCluster:

Exit Function Err_StatusCluster:Exit Function Err_StatusCluster:

StatusCluster = MError number: M & Err.Number & M, error description: H &StatusCluster = MError number: M & Err.Number & M, error description: H &

Err.Description & ", error source: M & Err.Source & n.MErr.Description & ", error source: M & Err.Source & n.M

GoTo Exit_StatusCluster End FunctionGoTo Exit_StatusCluster End Function

Public Property Get MasterDoc() As String MasterDoc = strMasterDoc End PropertyPublic Property Get MasterDoc () As String MasterDoc = strMasterDoc End Property

Public Property Get SQL() As String SQL = strSQL End PropertyPublic Property Get SQL () As String SQL = strSQL End Property

Public Property Get Macro() As String Macro = strMacro End PropertyPublic Property Get Macro () As String Macro = strMacro End Property

Public Property Get SubmitTime() As String SubmitTime = strSubmitTime End Property ΙΙ1ΪΙ1Ι1Ι 第22頁 487879 五、發明說明(17)Public Property Get SubmitTime () As String SubmitTime = strSubmitTime End Property ΙΙ1ΪΙ1ΙΙΙ page 22 487879 V. Description of the invention (17)

Public Property Get ResultDoc() As String ResultDocID = strResultDoc End PropertyPublic Property Get ResultDoc () As String ResultDocID = strResultDoc End Property

Public Property Get ResultDocID() As String ResultDocID = strResultDocID End PropertyPublic Property Get ResultDocID () As String ResultDocID = strResultDocID End Property

Public Property Get WordVisibleQ As String WordVisibIe=strWordVisibIe End PropertyPublic Property Get WordVisibleQ As String WordVisibIe = strWordVisibIe End Property

Public Property Get Field 1() As String Field 1 = strFieldl End PropertyPublic Property Get Field 1 () As String Field 1 = strFieldl End Property

Public Property Get Field2() As String Field2 = strField2 End PropertyPublic Property Get Field2 () As String Field2 = strField2 End Property

Public Property Get Field3() As String Field3 = strField3 End PropertyPublic Property Get Field3 () As String Field3 = strField3 End Property

Public Property Get Field4() As String Field4 = strField4 End PropertyPublic Property Get Field4 () As String Field4 = strField4 End Property

Public Property Get DSN() As String DSN=strDSN End PropertyPublic Property Get DSN () As String DSN = strDSN End Property

Public Property Get WordKey () As String WordKey = strMyname End PropertyPublic Property Get WordKey () As String WordKey = strMyname End Property

Public Property Get WorkPath() As String WorkPath = strWorkPath End Property 一"撰寫者"編碼由ASP 1 2 0所驅動,以對使用者1 0 6 - 11 2 作出回應,並將新工作置於工作佇列1 3 2中,對此一典型 來源碼係顯示於表I I I。Public Property Get WorkPath () As String WorkPath = strWorkPath End Property-"Writer" coding is driven by ASP 1 2 0 to respond to users 1 06-11 2 and place new work at work 伫In column 1 32, a typical source code for this is shown in Table III.

第23頁 487879 五、發明說明(18)Page 23 487879 V. Description of the invention (18)

表I I I ‘版權所有(c) 1999年Kevin L. WarnockTable I I I ‘Copyright (c) 1999 Kevin L. Warnock

Public Finction SubmitToCluster(MacroTemplate, MacroName, MasterDoc, ResultDoc, ResultDocID, DSN, SQL, InvokeWord, DelimitedData, Header, Record, WordPath, WordVisible, Fieldl, Field2, Field3, Field4)Public Finction SubmitToCluster (MacroTemplate, MacroName, MasterDoc, ResultDoc, ResultDocID, DSN, SQL, InvokeWord, DelimitedData, Header, Record, WordPath, WordVisible, Fieldl, Field2, Field3, Field4)

On Error GoTo Err—SubmitToCluster ’寫下文字檔俾傳遞參數至Word巨集On Error GoTo Err—SubmitToCluster ’Write a text file and pass parameters to the Word macro

Open Mc:\temp\q\" & ResultDoc &ResultDocID & M.txtM For Output As #1 Write #1, Macro Template, MacroName, MasterDoc, ResultDoc, ResultDocID, DSN, SQL, InvokeWord, DelimitedData, Header, Record, WorkPath, WordVisible, Field 1, Field2, Field3, Field4 Close #1Open Mc: \ temp \ q \ " & ResultDoc & ResultDocID & M.txtM For Output As # 1 Write # 1, Macro Template, MacroName, MasterDoc, ResultDoc, ResultDocID, DSN, SQL, InvokeWord, DelimitedData, Header , Record, WorkPath, WordVisible, Field 1, Field2, Field3, Field4 Close # 1

SumitToCluster = ’’Success”SumitToCluster = ’’ Success ”

Exit_SubmitToCluster:Exit_SubmitToCluster:

Exit Function Err—SubmitToCluster:Exit Function Err—SubmitToCluster:

SubmitToCluster = "Error number:" & Err.Number & M, error description: M & Err.Description & ·’,error source:” & Err.Source & 'V’SubmitToCluster = " Error number: " & Err.Number & M, error description: M & Err.Description & · ’, error source:” & Err.Source & 'V ’

GoTo Exit SubmitToClusterGoTo Exit SubmitToCluster

End Function 位於網路伺服器1 0 2中之一系統匯流排1 3 8可透過區域網 路(LAN)網路介面控制器(NIC) 140加以延展,如果因為使 用者要求太多而令網路伺服器1 0 2對於使用者1 0 6 - 11 2產生 文件之能力不足,一區域網路(LAN ) 1 42可加入服務行列 ,此區域網路1 4 2允許一或多個模組擴增單元1 1 4及11 6加 入,此項優點為在實際需求之外無需添置或安裝額外容量End Function is located in one of the network servers 1 0 2 The system bus 1 3 8 can be extended through the local area network (LAN) network interface controller (NIC) 140. If the user requests too much, the network Server 1 2 has insufficient ability to generate files for users 10 6-11 2. A local area network (LAN) 1 42 can join the service ranks. This local area network 1 4 2 allows one or more modules to be expanded. Units 1 1 4 and 11 6 are added. This advantage is that there is no need to add or install additional capacity beyond the actual needs.

第24頁 487879 發明說明(19) ’每一模組擴增單元1丨4及1 1 6將存取工作佇列1 3 2並搜尋 工作以執行’每一模組擴增單元1 1 4及1 1 6將操取索引資料 並將其工作產品置於資料庫1 3 6及磁碟1 3 4。 區域網路1 4 2最好是專用的且無法為網際網路1 〇 4及任何 1 0 6 - 11 2使用者存取,標準乙太網路元件可用於區域網路 1 4 2、網際網路介面控制器(n I c) 1 4 0及每一對N I C1 4 4及 14 6。 該模組擴展單元11 4及11 6複製網路伺服器1 〇 2之一部份 ,並且提供平行文件產生處理,每一單元具有一視窗NT作 業系統148及150,一對SRVANY應用工具152及154允許微軟 Word文字處理器程式1 56及1 58之一對應集合以和微軟w〇rd 128平行方式執行視窗^服務,其他應用亦可以和視窗^ 服務平行方式執彳于,並且這些情況係和其他應用程式1 6 〇 及1 6 2顯示於圖1。 網路伺服器1 0 2已在此進行描述,其已完全地和微軟公 司所生產之產生共同應用,但是來自競爭供應商之其他類 似產品亦可被使用。舉例而言,網路伺服器丨2 2可來自網 景(Netscape)或阿帕契(Apache),文字處理器128可來自 Corel或Lotus,並且作業系統124可為除了視窗NT伺服器 外之Linux作業系統。在此例中,僅有文字處理器為Li^x 而設計’而諸如來自Corel之WordPerfect軟體可替代文字 處理器128。範本語言引擎ASP 120可來自AUaire(冷融合 (Cold Fusion))、或可和java 伺服器分頁器(Java ServerPage 24 487879 Description of the invention (19) 'Each module expansion unit 1 丨 4 and 1 1 6 will access the task queue 1 3 2 and search for a job to execute' each module expansion unit 1 1 4 and 1 1 6 will access the index data and store its work products in the database 1 3 6 and the disk 1 3 4. LAN 1 4 2 is preferably dedicated and cannot be accessed by Internet 1 0 4 and any other 10 6-11 2 users. Standard Ethernet components can be used for LAN 1 4 2 and Internet. Road interface controller (n I c) 1 4 0 and each pair of NI C1 4 4 and 14 6. The module expansion units 11 4 and 11 6 copy a part of the network server 10 and provide parallel document generation processing. Each unit has a Windows NT operating system 148 and 150, a pair of SRVANY application tools 152 and 154 allows one of the corresponding sets of Microsoft Word word processor programs 1, 56 and 1 58 to execute Windows ^ services in parallel with Microsoft Word 128, other applications can also be executed in parallel with Windows ^ services, and these conditions are related to Other applications 16 and 16 are shown in Figure 1. The web server 102 has been described here, and it has been completely used in conjunction with the production produced by Microsoft, but other similar products from competing vendors can also be used. For example, the web server 22 may be from Netscape or Apache, the word processor 128 may be from Corel or Lotus, and the operating system 124 may be Linux other than the Windows NT server. System. In this example, only word processors are designed for Li ^ x 'and WordPerfect software such as Corel can replace the word processor 128. The template language engine ASP 120 can be from AUaire (Cold Fusion), or can be used with the Java Server Pager (Java Server

Pages)、Java Servlets、Perl 或 Java 或其他軟體同運用Pages), Java Servlets, Perl, or Java or other software

第25頁 487879 五、發明說明(20) :作業時乃用者1〇6-m在被導入網路伺服器」, 會由另一網站或該網站之部份進行問侯、檢查、及顯干次 訊,因此其他網站允許使用者發現、探索、及遞送至= 供之文件產生服務,一旦使用者106_112具有資格成為—& ί ^或其他ΐ授權之使用者’—文件格式會被選取俾進行 =,此文件格式將要求使用者對各種問題提供答詢,其 匕3將使用於填註空白之資訊,對於問題之回答、該文件 袼式之選擇、以及用於填j主允白 次 傳送至網賴2。 真工白之貝㈣以索引資料型式 此類索引資料代表必須執行之工作#述〇列如一工作命 二人之工///_之特徵會儲存於資料庫136,一指向此工作 ^ ^日Γ、一代碼代表放置於該工作佇列1 3 2内之新工 作串列内係為何種作 儲存於磁和4,並件"之大型選擇會 ^ ^ U 1 為了備伤及速度之理由會置於從屬 文=機為114及116之區域磁碟上。 式1田3(! H =子程式128、156及158或任何其他應用程 式會各自檢杳位於工作強:定期休眠中”甦醒”時,這些程 作需執行,:果二:::::132;之新工作串列是否有工 將該指標自新工作串列::工作需要執行,该應用程式會 為一索引好現所L 進行中串歹彳’該指標#料係作 之索引資料:一見Π::存於資料庫136中之新工作有關 話)從屬機器之區域'二體上件會自磁碟134或果合適的 ^ &碟中擷取,該應用程式然後產生被Page 25 487879 V. Description of the invention (20): During the operation, the user 106-m is introduced into the web server ", which will be questioned, checked, and displayed by another website or part of the website. Dry news, so other websites allow users to discover, explore, and deliver to the document generation service provided. Once the user 106_112 is eligible to become— & ί ^ or other authorized user'—the file format will be selected俾 Perform =, this file format will require users to provide answers to various questions, and its dagger 3 will be used to fill in the blank information, the answer to the question, the choice of the file mode, and the main permission Sends to Internet Lai 2 times. The real work Bai Bei's index data type This type of index data represents the tasks that must be performed # describe 0 features such as a job and two workers /// _ will be stored in the database 136, one point to this job ^ ^ Γ, a code represents what is stored in the new job series in the job queue 1 3 2 What is stored in the magnetic sum 4, the large selection of the "&"; ^ U 1 For reasons of injury and speed It will be placed on regional disks with slaves 114 and 116. Formula 1 Tian 3 (! H = subroutines 128, 156, and 158 or any other application will detect each of them. When the program is "waking up" during regular hibernation, these routines need to be performed: Fruit 2 ::::: 132; Is there a job in the new job list? Will this index the job from the new job ?: The job needs to be executed. The application will index an existing site in progress. The index #Materials index data: see Π :: Relevant to the new job stored in the database 136) The area of the slave machine 'two-body upload will be retrieved from disk 134 or the appropriate ^ & disk, and the application will then generate

487879 五、發明說明(21) 購買或免費文件(有許多文件可對公眾開放)予 工作叩令中之使用者1 0 6 - 1 2 2所指定之網址。 ^軟網際網路資訊伺服器(IIS)為一網際網路檔案及包 含微軟視窗NT伺服器作業系統之應用伺服器,根據微軟 IIS可個別用為一網際網路伺服器,或和相容技術結人八以 設置一網際網路商務自各種資料源中存取並處理資°料",二 且利用伺服器範本語言及元件碼遞送主從(clientl 亚 server)相關功能俾構建網際網路應用程式,最新技| 從微軟I I S網站獲得,π s提供了安全、網路性、及管理 關功能,並且具有内建式能力以協助管理者防禦網二,: 及進行開發及分配具有高度伺服器使用負荷之網路應用程 式,I I S包含一基於網路之管理工具玎透過網頁流覽^ 王 ,用而行遠端管理網路伺服器,使用者據此可具有能之" 遠端管理其擁有之網站、利用防護包封層(SSL)安 《 送執行完成之資料。 得 該11 S和視窗NT伺服器緊密地結合一起,並且因此复 用内含於視窗NT伺服器内之管理工具協助管理系統㈠、使 ,對於網域(Domains)之使用者管理者、執行效率於=如 網路監測、事件檢視、以及簡易網路管理協定(sn^' : 在I IS 4.0版中,對於在一單一網際網路協定(ιρ)位甚 生-無限制數目之網站是可能的,且對於每—網站 不同構型資訊,這在過去是項挑戰,目為每Η :有 擁有一網域名稱,網際網路引擎工作團隊之Ηττρ ^版^ 487879 、發明說明(22) 明主機標題資訊允許在單_ Z p位址上有多重網域名稱 必要Ϊ用者:至正確之網站,1 IS藉由來自這些流覽器之 支杈以存取網站,當多重網站在一機器上運作時, 处4 · 〇版提供使用者對於每—網站分配網路頻寬之管理 :镅丄此一"頻寬控制閥"確保機器上之每-網站擁有足夠 1頻見,對於顯示靜態HTML頁面(例如htm"檔案)可享有 U 6之頻寬控制閥之全部優點。 ,=窗Ίg版選擇組包含了微軟Site Server _ress 用者:罔2吕理者可分析伺服器登錄檔案並產生有關詳細使 域端:t 告、分析網站内容及校正錯f吳,以及對於區 找^及遠端伺服器公佈網頁。 =網,網路上需要交易防護時’ IIS及視窗NT伺服器 護二包層3·。(SSL)俾使資訊可在客戶端及飼服 ^ $換,SSL 3. 0版對於伺服器提供了一種方式透過數 ίτς\ 使用以驗証使用者之身份而無需登入伺服器, 二庳過微一軟5,伺服器公佈並管理這些簽註,㈣ 及服;2右::上之使用者帳戶,以提供使用者對於擋案 基本認= ϊ用:名窗…IIS亦提供 密碼之加密認証、以及對於:=稱及役碼、挑戰/回應 卩m ^ Iγ ;使用於銀行及其他金融機構交 咖伺服器閉具隱密性之128位元加密。 交易伺服器(MTS) 2 0運用,日、έ又易支杈係透過微軟 功或失敗,像是要求或存取亚且追縱整體系統作業之成 〆存取、以及操控資料。當ASP頁 五、發明說明(23) =被旦告將進行父易時,交易伺服器會掌控發生於該頁面 内之正在產生定義之交易細部,當需要時,交易元件會被 =動,而在停止使用時將停滯俾節省系統資源,MTS管理 亦透過微軟管理控制台進行控制。 — ole型式控制令程式開發者得以產生微軟Visuai 1 c應用紅式並將展現視窗NT服務功能,藉由μ服務控 1封使用者可安裝-服務、登錄事件、以及對㈣、結束 而5、及持續事件作出回應,對於眾服務之作業系統介 =要一召回函式並阻斷(bl〇cks)主要執行緒(thread), 二S^al Bas i c 4. 0版並未具有緒(thread)及召回函式 ,月b耘式開發者無法直接呼叫這些應用程式介面(Ap〖s ) 之“ BaS。應用程式可仰賴視窗NT資源工具庫所提供 序日士啟@工二程式而令任何可執行程式在電腦進行開機程 “窗^自 在SR讀及應用程式間之通訊僅限於標 SRvlY:广故此類解決方案並非是特別有效的,再者, SRV—ANY缺乏對於暫停及持續函式之支援。 以^ = = fNY制亦可藉由啟動仏⑷BaS1C應用程式 接和服務程式之ΑΡΙ=^126之協助作#之需求,俾直 傳輸信號至可由Vl m〇LE控制程式自作業系統 對服務典型要求之^Wasic應用程式處理之事件,其亦 產生一服疏^ _ν· /二式提供支援,像是安裝及事件登錄, ,-般上服矛J ;呈;::在—表單上投下旧服務控制而開始 ^ 衣早以作為内容器,至少,使487879 V. Description of the invention (21) Purchase or free documents (many documents are open to the public) to the website specified by the user in the work order 1 06-1 2 2. ^ Soft Internet Information Server (IIS) is an Internet file and an application server containing Microsoft Windows NT server operating system. According to Microsoft IIS, it can be used as an Internet server individually, or compatible technology Set up an Internet business to set up an Internet business to access and process data from various data sources. Second, use the server template language and component code to deliver master-slave (clientl subserver) related functions, and build the Internet. Applications, the latest technology | Obtained from the Microsoft IIS website, π s provides security, network, and management functions, and has built-in capabilities to help managers defend the network II: and has a high degree of development and distribution Server uses a load-based web application, IIS includes a web-based management tool: browse through web pages ^ king, and use it to remotely manage a web server, and users can have the ability of " remote management The website it owns uses the security envelope (SSL) to send the completed information. The 11 S and the Windows NT server are tightly integrated, and therefore the management tools contained in the Windows NT server are reused to help manage the system. For the user manager of the domains, the implementation efficiency In = such as network monitoring, event viewing, and simple network management protocols (sn ^ ': In I IS version 4.0, it is possible to have a single Internet Protocol (ιρ) site-an unlimited number of websites is possible It ’s a challenge in the past for each site with different configuration information. It ’s a challenge in the past: There is a domain name, , ττρ ^ version ^ 879879 of the Internet engine working team, invention description (22) The host header information allows multiple domain names on a single Zp address. Necessary users: To the correct website, 1 IS accesses the website through the branches from these browsers. When multiple websites are on one machine, When operating on the Internet, version 4.0 provides users with the management of network bandwidth allocation for each site: "This bandwidth control valve" ensures that each site on the machine has enough frequency. For Display static HTML pages (e.g. htm " file) can enjoy all the advantages of the U 6 bandwidth control valve., = window Ίg version selection group includes Microsoft Site Server _ress User: 罔 2 Lu Li can analyze the server login file and generate detailed operating domain End: Reporting, analyzing website content and correcting errors, as well as local search and remote server publishing webpages. = Net, when transaction protection is required on the Internet, IIS and Windows NT server protection 2 cladding 3. (SSL) so that information can be exchanged on the client and the server ^ $, SSL version 3.0 provides a way for the server to verify the identity of the user through the number ίτς \ without the need to log in to the server. A soft 5, the server announces and manages these endorsements, and provides services; 2 Right :: The user account on the above, to provide users with basic recognition of the case = Use: Name window ... IIS also provides password authentication, And for: = said pass code, challenge / response 卩 m ^ Iγ; used in banks and other financial institutions to close the secrets of the 128-bit encryption server. Transaction server (MTS) 2 0 use, Japan It ’s easy or impossible to branch off through Microsoft. , Such as requesting or accessing Asia and tracking the success of the overall system operation, accessing, and manipulating data. When ASP page V. Invention Description (23) = When the defendant will conduct a parent transaction, the transaction server will control the occurrence The defined transaction details are being generated on this page. When needed, the trading components will be activated, and when they are not used, they will stagnate and save system resources. MTS management is also controlled through the Microsoft management console. — Ole type control Allows program developers to generate Microsoft Visuai 1 c applications in red and will display Windows NT service functions, with μ service control 1 user installable-services, login events, and confrontation, end and 5, and continuous events In response, for the operating system of many services = to recall a function and block the main thread (blOcks), the second S ^ al Basic version 4.0 does not have a thread and a recall letter Developers ca n’t directly call “BaS” of these application program interfaces (Ap 〖s). Applications can rely on the sequence provided by the Windows NT resource tool library to open up any executable program on the computer. The window ^ read from SR and communication between applications is limited to SRvlY: The solution is not particularly effective, in addition, SRV-ANY lacks support for pause and continuous functions. ^ = = FNY system can also be assisted by starting 仏 ⑷BaS1C application program connection and service program ΑΡΙ = ^ 126 For the requirements of #, directly transmit signals to events that can be processed by the Vl mOLE control program from the operating system's typical request for service ^ Wasic application, which also generates a service ^ _ν · / second type to provide support, such as installation And event registration,,-general service spear J; present; :: start on the-form to drop the old service control ^ Yi Zao as the content container, at least, make

第29頁 487879 五、發明說明(24) 並執打安裝裎序以及操控開始及 用者將需要設定某些 結束事件。 件在中產生服務程式許多細節擁有完整文 件,並且各種例子假設完整應用程式係圍繞由”心2 所定義之視窗NT服務程式架構而設計 s 式呈式介面和一一應=== (st : 務程式呼叫啟動服務程式控制分派 (StartSerV1CeCtrlDlspatcher) API ,並 式控制器所使用之召回函今Μ & & 專k由5亥服務程 式在-方法中無法二=,該控制程 哭首5服菸Ργ L 式因為此函式阻斷了呼叫 口口直至服泰私式停止,為解決此 個別執行緒以負責傳呼分派函式,此種作==產生:Page 29 487879 V. Description of the invention (24) And perform the installation sequence and start of control and the user will need to set some end events. The software generates many details of the service program in full documentation, and various examples assume that the complete application is designed around the Windows NT service program architecture defined by "Heart 2". The s-style presentation interface and one by one === (st: The service program calls the start service program control dispatch (StartSerV1CeCtrlDlspatcher) API, and the recall function used by the parallel controller is used by the service program in the method. Because of this function, the call Pγ L blocked the call port until the service was stopped. In order to resolve this individual thread, it is responsible for paging the dispatch function. This operation == produces:

Basic所使用之主要執行緒可在其他執行緒為服、八al 派函式阻斷時持續作業。 力#王式刀 當應用程式作為_服務程式執 緒及該控制程式要求捭 爭仵將自服務執仃 v"asic程= ;啟動,此二函式在來自The main thread used by Basic can continue to operate when other threads are blocked and the eight-al function is blocked.力 # 王 式 刀 When the application is running as a service program and the control program requires it, the service will be executed from the service v " asic process =;

BaSlc並非具有緒安全之二=行緒内文上執行,Vmal 控制法則明示所有傳 (thread —Safe),隔間模式〇L£ 上發生,位於NT服務控制;^該物件所產生之相同執行緒 行緒傳遞執行訊息以產王式上之效應為其必須對主要執 傳遞至控制程式=不生通知事件,此係藉由將視窗訊息 之視窗訊息分派函式;窗,並令位於Vlsual BaS1CR 該控制視窗對於從 遞執行訊息至控制程式。 乃ί王式之分派函式至Visual Basic 第30頁 五、發明說明(25) _ 應用程式之訊息傳遞路徑是重要的, 器在控制才見窗產t日寺會擁有某些,„㈤程式容 知該容器視窗必須持續存在,此係 ^ 控制程式通 OLEMZSC —SIMPLEFRAME屬性標於該控曰由將 構器中啟動簡易框架介面。 祆式内並在控制建 僅管一應用程式係作為一服務 其可掌控諸如微軟SQL伺服哭^式^執行,其並不意謂著 式伺服器之作業要求 一 Λ权乂換伺服器等應用程 緒,並且並未出示程Bwc服務程式為單一執行 分散式元件物件模纟且# 位於視ή NT 4· 0版内之 OLE # ^ ^ ^ , ^ 器、,舉例t : 7如^ :服務程式可用於擴增應用程式伺服 播之-即時資肖,可f用者需要擷取在- SQL資料庫中散 式易於管理,同樣地視窗NT服務支援以使得該應用程 換伺服器信箱代理哭使用者可以一高階語言撰寫微軟交 以簡化程式開發。如、利用現存元件(像是0LE訊息傳遞) 該NT服務控制程式八 式之Visual Basie^ '程式發展者創造作為視窗NT服務程 動、遠端管理及搴:用程式,這些應用程式可具有自動啟 主動伺服器網頁為二2之功能二一 一 開發環境以產生執二、、"3 HTML、範本語言、及兀件之程式 使用者已經創迭Ύ I於词服裔之網際網路應用程式’如果 用元件之網站用:合HTML、範本語言、及某些可重複使 f可利用ASP將這些元件緊密地結合一BaSlc is not thread-safe. The thread is executed on the thread. The Vmal control rule expressly states that all threads (Safe — Safe) occur in the compartment mode 0L £ and are located in NT service control. ^ The same thread generated by the object Pass the execution message to the effect of the production king style. It must be passed to the control program = control notification event. This is by assigning a window message to the window message; the window, and the control window located in Vlsual BaS1CR. For running messages from the control program. It is a king-style distribution function to Visual Basic. Page 30 V. Description of the invention (25) _ The message transmission path of the application is important. Only when the device is under control can the window property be held. The container window must exist continuously. The control program is called OLEMZSC — The SIMPLEFRAME attribute is marked on the control panel. The simple framework interface is started in the constructor. In the control mode, only an application system can be used as a service. Controlling applications such as Microsoft SQL Server Crying ^, which does not mean that the server's operation requires a right to change the server and other applications, and does not show the process Bwc service program as a single execution distributed component object model纟 和 # OLE # ^ ^ ^, ^ device in NT 4.0 version 0, such as t: 7 such as ^: service program can be used to augment the application server broadcast-real-time information, can be used by users Need to extract the scattered in the-SQL database for easy management, as well as the Windows NT service support so that the application server can be written in a high-level language to simplify the program development. Components (such as 0LE messaging) The NT service control program of the eight types of Visual Basie ^ 'Program developers created as a Windows NT service program, remote management and software: these programs can have automatic start active server The web page is a function of 2 2 1 1 development environment to generate a program user who has implemented "3, HTML, template language, and components. Web site for components: Combine HTML, template language, and some reproducible components. ASP can be used to tightly combine these components into one.

第31頁 487879 五、發明說明(26) 起,使用者可藉由將範本語言元件加入至HTML網頁以對該 應用程式產生一 HTML介面,並且使用者可將商業邏輯包裝 於可重複使用元件内’這些元件可自範本語言或其他元件 處呼叫。 微軟主動伺服器網頁(ASP)為伺服器端範本語言環境, 使用者可藉其產生主動網頁或構建網路應用程式,A s p頁 面為包含HTML標記、文字、及範本語言指令之檔案,Asp 頁面可呼叫主動X (ActiveX)元件以執行諸般工作,像是 連接至資料庫或執行一商業計算,藉由ASp,使用者可將 互動式内容加入至網頁或構建利用HTML頁面作為用戶端介 面之整體網路應用程式。 "和網^結合時,一使用者可在具有副檔名為 .asp之正常狀況下指定頁面之網站進行整備,該使用者 之流覽器自網路伺服器索求Asp播案’一伺服器端範本語 s開始執行ASP,所索求之播案會由Asp自上而下處理 Ϊ ίίϊΐ案内之任何範本語言,其結果為-HTML、網頁合 被產生並傳达至使用者之流覽器。因為此類範本語今、二 服器上執行,該網路伺服器處理所有作業, ° 5 頁可因此產生並傳蔓至流覽器、’該網路伺服;: 網路飼服器支援項目。將範本語言存置於飼服哭^於该 優點為使用者無法在原始範本語言及程式碼上,:之々另一Page 31 487879 V. Description of the invention (26), users can add template language components to HTML pages to generate an HTML interface to the application, and users can package business logic in reusable components 'These components can be called from the template language or other components. Microsoft Active Server Page (ASP) is a server-side template locale. Users can use it to generate active pages or build web applications. Asp pages are files containing HTML tags, text, and template language commands. Asp pages ActiveX components can be called to perform various tasks, such as connecting to a database or performing a business calculation. With ASp, users can add interactive content to a web page or build an entire HTML page as a client interface Web application. " In combination with Internet ^, a user can prepare on a website with a specified page under the normal extension of .asp, and the user ’s browser requests an Asp broadcast from a web server. The server-side template language s starts to implement ASP, and the requested broadcast will be processed from top to bottom by any of the template languages in the case. The result is -HTML, web pages are generated and communicated to users. Browser. Because this type of template is executed on the current server and the second server, the web server handles all operations. ° 5 pages can be generated and transmitted to the browser, 'This web server; . The template language is stored in the feeding clothes and crying ^ The advantage is that the user cannot use the original template language and code:

源π ’而是’該使用者僅能查看其流覽頁面上:貝, 及非HTML内容(像是xml)。 產生之HTML 文件格式產咮 4^/879 五、發明說明(27) 當一終端使用者在網站102上存取一文件時,該文件所 需之資訊必須冑入至一文件表單w匕表單包含了html及 程式碼之混合ϋ,當該表單上之㈣資訊傳送至伺服 态時,该ASP 1 20會處理輸入之資料並將其插入位於資料 庫136之表格中’這些表格是專門為該文件而設的,並且 僅包含該文件所需資訊之特別攔位。 本發明之文件產生作業具體實施例可藉由 =於由”處理議、156、15δ等等所監控之目錄而 文字處理器128(舉例而言)讀取工作仔列132以決定 之何主體文件,並決定所對應文件資 = 庫1Γ何處’該文字處理器然後針對該主 併椚汗 D檔案,其包含用於文件資料集之郵件合 =二:處理器128然後在文件資料庫136中開啟對於 後、^ ,亚且擷取該文件資料以併入該文件中,最 後’儲存該文件槽。 站it 明之Λ件產生器具體實施例通常可快速開發並於網 站102進仃自動文件運用,此一精靈工具藉由一 ,π ίϊ::因此減少使用者撰寫程式或範本語言之必要 ^文件自λ文件、資料庫表格、甚至麵 開發技巧_驗此方7W而無需深、HTML、或ASP程式 任何所需Ϊ二:式亦可用於在產纖D槽案時創造 本發明之軟體具體實施例可AASp 取,每-ASP播案、T^ASH而為ASP 120所存 呆對使用者顯不一螢幕或圖形使用者介面 第33頁 487879 五、發明說明(28) -- (GUI),舉例而言,~defaultasp允許一程式開發者選取 一文件主體進行編輯、或產生一新檔案,如果一新檔案產 生,該電腦主機將驗証和名稱設定規則相符之檔名,並自 現存文件主體拷貝問題集。 一documents· asp顯示並允許編輯文件主體設定,包含 其名稱、描述、位置、及其他組態資訊,該程式驗証文件 主體之改變俾確保資訊已正確輸入,由該文件所詢問之問 題會顯示於螢幕,一程式内容開發者最好是能執行刪除、 產生2或重複要求問題集。在一問題上鍵擊(在超文字中) 最好疋可讓私式内容開發者編輯該問題之細節,相關選項 可包含旎夠產生貢料庫表格及具有合併攔位、&HTML/Asp 文件表單之基本WORD樣版。 一quest ions· asp螢幕最好是允許一程式内容開發者得 以檢視或編輯問題細節,在此,該程式開發者可設定問題 名稱、文字、型式、及正常值。 一 results.asp螢幕產生一資料表格、w〇RD樣版、及 HTML/ASP文件表單,然後並顯示結果。 圖2為本>發明之—defaultasp具體實施例之流程圖,並 且在此由參數20 0代表,一步驟2〇 2檢查是否一使用者已經 輸入並已選擇一文件,一子程式2〇4自文件主體資料庫表 格中擷取文件主體串列、顯示文件主體串列於螢幕上、顯 不遞送按鍵、顯示一”新文件主體名稱"輸入欄位、以及 顯不=於拷貝問題集之文件主體串列。如果使用者已經在 一決定206中選擇一文件主體,一文件主體會在步驟2〇8設Source π 'but' the user can only view on their browsing page: shell, and non-HTML content (like xml). The generated HTML file format is 4 ^ / 879 V. Description of the invention (27) When an end user accesses a document on the website 102, the information required by the document must be entered into a document form. Mixed with html and code, when the information on the form is sent to the server, the ASP 1 20 will process the input data and insert it into the form located in the database 136. These forms are specifically for the document This is a special stop that contains only the information needed for the document. The specific embodiment of the document generation operation of the present invention can read the task queue 132 (for example) by the word processor 128 (for example) by using the directory monitored by "Processing, 156, 15δ, etc." to determine which main document And determine the corresponding file data = library 1 Γ where 'the word processor then targets the master and D files, which contains mail for the file data set = two: processor 128 and then in the file database 136 Turn on the post, ^, and extract the file information to merge into the file, and finally 'save the file slot. The specific embodiment of the Λ file generator can be quickly developed and used for automatic file application on the website 102 This wizard tool uses one, π ϊ :: Therefore reducing the need for users to write programs or template languages ^ Documents from λ files, database tables, and even development skills Any required second step of the ASP program: The formula can also be used to create the software embodiment of the present invention when producing the fiber D slot. The specific embodiment of the software can be taken by AASp. Different screens or graphics User interface, page 33, 487879 V. Description of the invention (28)-(GUI), for example, ~ defaultasp allows a program developer to select a document body for editing, or generate a new file. If a new file is generated, The computer host will verify the file name that matches the name setting rules, and copy the problem set from the existing document body. A documents · asp displays and allows editing of the file body settings, including its name, description, location, and other configuration information. The program verifies the change of the document body. Make sure that the information has been entered correctly. The questions asked by the document will be displayed on the screen. A program content developer is best able to execute delete, generate 2 or repeatedly request a question set. Click on a question (In hypertext), it is best not to allow private content developers to edit the details of the problem. The relevant options may include basic WORDs that are sufficient to generate the tribute form and have merge stops, & HTML / Asp file forms. A questions · asp screen is best to allow a program content developer to view or edit the details of the problem. Here, the program developer can Define the problem name, text, type, and normal value. A results.asp screen generates a data form, a WORD template, and an HTML / ASP file form, and then displays the results. Figure 2 This is the invention> defaultasp The flowchart of the specific embodiment is represented by the parameter 200, a step 202 checks whether a user has entered and selected a document, and a subroutine 204 retrieves a document from the document body database table. Main body list, showing the main body of the file on the screen, displaying the delivery button, displaying a "new file body name" input field, and displaying the main body of the file in the copy problem set. If the user has selected a document body in a decision 206, a document body is set in step 208.

第34頁 487879 五、發明說明(2 9) 置。如果一決定2 1 0發現一 π拷貝問題集已被選取’則步 驟2 1 2會擷取問題集之文件主體名稱以行備份’上述然後 重新導入一 document.asp程式(圖3) ’如果一決定214發現 該使用者已選取”產生新文件主體” ’則步驟2 1 6會榻取一 新文件主體名稱。一決定2 1 8檢視疋否一拷貝問題集已 被選取,如果是,步驟220擷取該問題集之文件主體名稱 以行拷貝。步驟2 2 2設定一新文件主體旗標,並且程式控 制會被重新導向document.asp程式(圖3)。 圖3為本發明之d 〇 c u m e n t · a s p具體實施例之流程圖,並 且由一般參數3 0 0所代表。步驟3 0 2檢視是否一新文件主體 旗標為真,如果是,一子程序3 0 4會設定文件主體攔位正 常值’其檢查該文件主體名稱,如果該名稱已存在,控制 會重新導向default.asp 2 0 0 (圖2),如果該名稱不符命名 規則’則控制會再一次的重新導向d e f a u 11 · a s p 2 0 0 (圖2 ) 。子程序3 0 4將任何新文件主體資料插入至一文件主體資 料表格’如果一拷貝問題集為真,問題設定資訊會拷貝至 一文件主體問題資料庫表格,其然後選取該文件主體。一 決定306檢視是否現存文件主體已被選取,如果是,一子 程序3 08自文件主體問題表格擷取文件主體問題,其顯示 (a)文件主體欄位及文件資料、(b) 一更新資料按鍵、(c) 一帶有問題鏈結之問題表格、(d) 一新問題按鍵、(e) 一檢 視箱用於每一”產生資料庫表格”及,,HTML/ASp文件表單„ 以及(f ) 一 ”遞交產生”按鍵。一決定3丨〇檢視是否一,,新問 題"按鍵已被選取,如果是,步驟3丨2設定一新問題旗標,Page 34 487879 V. Description of Invention (2 9). If a decision 2 1 0 finds that a pi copy problem set has been selected, then step 2 1 2 will retrieve the file body name of the problem set to back up 'the above and then re-import a document.asp program (Figure 3)' if a Decision 214 finds that the user has selected "Generate new document body" and then step 2 16 will take a new document body name. A decision is made 2 1 8 to see if a copy of the question set has been selected. If so, step 220 retrieves the file body name of the question set for copying. Step 2 2 2 Set a new document body flag and program control will be redirected to the document.asp program (Figure 3). FIG. 3 is a flow chart of a specific embodiment of d o c u m en t · as s p according to the present invention, and is represented by a general parameter 3 0 0. Step 3 2 Check whether the flag of a new file body is true. If so, a subroutine 3 0 4 will set the normal value of the file body stop. 'It checks the name of the file body. If the name already exists, control will redirect to default.asp 2 0 0 (Figure 2), if the name does not match the naming rule ', then the control will redirect to defau 11 · asp 2 0 0 (Figure 2). Subroutine 3 0 4 inserts any new document subject data into a document subject data form 'If a copy question set is true, the question setting information is copied to a document subject question database form, and then the document subject is selected. A decision 306 checks whether an existing document body has been selected. If so, a subroutine 3 08 retrieves the document body question from the document body question form, which displays (a) the document body field and document data, and (b) an updated data. Key, (c) a question form with a question link, (d) a new question key, (e) a view box for each "generate database form" and, HTML / ASp document form „and (f ) A "Submit Generate" button. One decides whether to check 3, 0, the new question & button has been selected, if yes, step 3 2 sets a new question flag,

第35頁 487879 五、發明說明(30) 权式控制然後重新導向q u e s t丨〇 n · a s p (圖4 )。一決定3 1 4檢 視是否一 ”更新資訊”按鍵已被選取,如果是,一子程序 3 1 6驗註表單資料。如果此類表單資料有問題,會顯示一 錯誤訊息’如果表單資料為〇κ,則程式繼續(例如)更新位 於文件主體表格中之文件主體資料。一決定3丨8檢視是否 產生按鍵已被選取’如果是,重新導入resultsasp(圖5) 〇 圖4為本發明之一qUesti〇nasp具體實施例流程圖,並 且在此以一般參數4 〇 〇代表。一決定4 〇 2檢視是否一新問題 旗標已被設定;一步驟4〇4設定任何正常問題攔位數值; 一決定406檢視是否一問題已被選取;一步驟4〇8自一文件 主體問題表格中擷取問題資料;一決定4丨〇檢視是否一"更 新問題π按鍵已被選取,如果是,步驟4丨2會將問題資料更 新或插入文件主體問題表格。一子程序414顯示該表單, 例如V有攔位名稱之問題攔位、問題文字、問題參數、及 正常值,其亦顯示一 ”更新問題”按鍵。 圖5為本發明之results· asp具體實施例之上半部流程圖 並且在此以一般參數值5 0 〇代表。一決定5 〇 2檢視是否一 產生資料庫表格按鍵已被選取,如果是,一步驟5〇4自文 件主體問題表格中對於文件主體擷取一問題串列,一子程 序5 0 6構建一SQL型式指令行,其將產生一表格,該指令串 啟始處係和一SQL產生表格指令及一帶有文件主體名稱之 =檔名表格構建一起。一程式迴圈重複穿過一問題串列, 對每一問題而言,一欄位名稱會被加入該SQL指令以對該Page 35 487879 V. Description of the invention (30) Weighted control then redirects to q u e s t 丨 n · a s p (Figure 4). A decision 3 1 4 checks whether an "Update Info" button has been selected, and if so, a subroutine 3 1 6 checks the form data. If there is a problem with such form data, an error message is displayed ‘If the form data is 0κ, the program continues (for example) to update the document body data located in the document body table. A decision 3 丨 8 to see if a key has been selected has been selected 'If yes, re-import resultsasp (Figure 5) 〇 Figure 4 is a flow chart of a specific embodiment of qUesti〇nasp of the present invention, and here is represented by the general parameter 4 〇〇 . A decision 4 02 checks whether a new question flag has been set; a step 4 0 4 sets any normal question stop value; a decision 406 checks whether a question has been selected; a step 4 08 from a document main question Extract the question data from the form; one decides whether to check whether the "Update Question" button has been selected. If so, step 4 2 will update or insert the question data into the question form of the document body. A subroutine 414 displays the form, for example, V has a stop name, a question text, a question parameter, and a normal value of the stop name. It also displays an "Update Question" button. FIG. 5 is a flowchart of the upper half of the results and asp embodiment of the present invention, and is represented by a general parameter value of 50. A decision 5 〇 2 check whether a database table button has been selected. If yes, a step 504 retrieves a question series for the file body from the file body question table. A subroutine 5 06 builds a SQL A type command line, which will generate a table. The start of the command string is constructed with an SQL generate table command and a = file name table with the name of the file body. A program loop repeatedly passes through a series of questions. For each question, a field name is added to the SQL command to

第36頁Page 36

487879 五、發明說明(31) 、資料庫欄位 該SQL指令會 —決定5 0 8檢 如果是,控 才*1位產生一新行列。該問題型別會被對照, 型式及長度會被擷取,並且附於SQL指令上, 關閉’並且該SQL指令會執行以產生該表格。 視是否該”產生HTML/ASP文件表單”已被選取,如 制ml程繼績刖進以產生η τ M L / A S P文件程式(圖r、 制流程返回。 τ Ί以),否則控 、圖6為本發明之一resuits· “口具體實施例之後 並且在此以一般參數6 0 0表示。一步驟6〇2開啟 σ二 文件主體後寫入名稱,一步驟604寫入檔案於文1 二子程序606寫入變數定義,其對於每一問題 = 問題表格中擷取有關文件主體之問題串列,接 午主體 欄位名稱寫下變數定義。一步驟6〇8寫下一主考',。其使用 文字檔,此子程序控制該程式碼之整體流路。—if ^ 寫下一 submit_d0c_values子程序,其將插入任=610 單數值至資料庫内,其然後寫下指令以更新—7文件表 該表格追蹤每一使用者所產生之文件,其亦 j格, 新一文件專屬表格,該表格掌控任何輸入至文件二=更 資料。步驟610自文件主體問題表格中擷取有㈣表早内之 體之問題串列,對於每-問冑,—變數清除程序主 刪除不合法之輸入(例如輸入資料太長將被截斷)::以 每-問題而言,該變數會加入至一SQL救述中, 對 資料插入至一文件專屬表格中。—步驟612寫下二攻述將 geLdoc — values子程序,其擷取先前數值並將1 欄位,此功能係用於一”重複使用先前答宰崔)特入表單 第37頁 487879487879 V. Description of the invention (31), database field This SQL command will-determine 5 0 8 check. If yes, the control * 1 bit will generate a new row. The question type will be compared, the type and length will be retrieved and attached to the SQL command, close 'and the SQL command will be executed to generate the table. Depending on whether the "Generate HTML / ASP file form" has been selected, such as the process of making ml to continue to produce η τ ML / ASP document program (Figure r, system process returns. Τ Ί), otherwise control, Figure 6 for this One of the inventions is resuits. "After the specific embodiment and here is represented by the general parameter 60 0. One step 602 opens the σ two file body and writes the name, one step 604 writes the file in the text 1 two subroutine 606 write Enter the variable definition, which for each question = extract the question series related to the main body of the document from the question form, then write the definition of the variable in the main field name. One step 608 write a main test '. It uses a text file This subroutine controls the overall flow of the code. —If ^ Write the next submit_d0c_values subroutine, which will insert any = 610 single value into the database, and then write the instruction to update the -7 file table. This table tracks Each user-generated document also has a grid, a new document-specific form, and the form controls any input to document two = more information. Step 610 extracts from the document main question form the contents of the document that are in the table. problem Column, for each-question, the -variable clearer deletes illegal input (for example, the input data is too long and will be truncated): For each-question, the variable will be added to a SQL statement to the data Insert it into a file-specific form. —Step 612 Write down the second attack and add the gELdoc — values subroutine, which retrieves the previous values and puts 1 field. This function is used for a “reuse the previous answer to Choi). Forms Page 37 487879

入之心7會檢視是否一文件識別碼曾傳遞至該文件表單, ^果否’子程序612之重設會被略過。接著會自動寫下指 令以利用文件識別碼自文件專屬表格中擷取先前答案,文 件數值會賦予至表單變數,有關文件主體之一問題串列會 自文件主體問題表中被擷取,接著對於每一問題,一文件 數值賦予會寫入該表單變數。一get— default 一 values子程 序6 1 4寫^下一程序在如果無任何數值被賦予之情況下將賦 予文2欠數正常值。一有關文件主體之問題串列會伴隨任 何正吊’值自 文件主體問題表格中擷取出來,對於每一問 題’一正常值賦予會寫入表單變數。一撰寫耵社表單程式 碼子=序616自文件主體表單中擷取文件主體資訊,其寫 下包含植名及關鍵字iHTML檔頭,任何文件描述及指令會 被f下。在使用執照規範下之贊助單位標誌及公司表格會 被榻取俾利使用,用於包含該贊助單位標誌之HTML程式碼 會被寫下,其對於該文件表單寫下HTML程式碼。圖7更完 整地將此最後步驟細部顯示出來,有關一 ”檢視及感覺,,之 一HTML字組樣本亦會自動地插入該HTML字組。 圖7為該results.asp 600(圖6)之有關"對文件表單寫下 HTML”部份之流程圖。一步驟7〇 2產生一表格,並自文件主 體問題表格中擷取有關文件主體之問題串列,對於每一問 題丄其產生一列、寫下問題文字、並寫下一輸入欄位HTML 。 表格末端標記會被設置,且將進行檢查以檢視是否該 文件主體具有一解放(disclaimer)敘述,且如果否,寫下 必要之打以1^以包含一適切合法之解放((1丨%1以11^1〇敘述。 •1ΙΛΑ 第38頁 487879 五、發明說明(33) 子程序70 2之最終部份寫下必要之HTML程式碼以支援一π遞 交及休息π按鍵。 儘管本發明之特別具體實施例已進行描述及說明,其並 非在於限制本發明,對於熟知本領域之人士而言,各種修 訂及改變無疑地將呈明顯,且本發明僅限制於下列申請專 利範圍。The heart 7 will check whether a document identification code has been passed to the document form, and the reset of the subroutine 612 will be skipped. Then the command will be automatically written to retrieve the previous answer from the document-specific form using the document identification code. The document value will be assigned to the form variable. One of the question series about the document body will be retrieved from the document body question table. For each question, a file value assignment will be written to the form variable. A get-default-values subroutine 6 1 4 Write ^ The next program will assign the normal value of the number 2 owe if no value is assigned. A series of questions about the document body will be extracted from the document body question table along with any positive values. For each question, a normal value will be written into the form variable. One writes the form code of the social agency form = sequence 616 to retrieve the document body information from the document body form, which includes the iHTML file header and keywords, and any document descriptions and instructions will be downloaded. The sponsor's logo and company form under the license specification will be used for profit, and the HTML code used to contain the sponsor's logo will be written. It will write the HTML code for the document form. Figure 7 shows the details of this last step more completely. Regarding a "view and feel", an HTML word sample is also automatically inserted into the HTML word. Figure 7 is the result.asp 600 (Figure 6) A flowchart about "Writing HTML for Document Forms". A step 702 generates a form, and extracts a series of questions related to the document body from the document body question form. For each question, it generates a row, writes the question text, and writes an input field HTML. The end-of-form marker will be set, and a check will be performed to see if the body of the document has a disclaimer narrative, and if not, write the necessary 1 and type 1 ^ to include a proper legal liberation ((1 丨% 1 It is described by 11 ^ 10. • 1ΙΛΑ page 38 487879 V. Description of the invention (33) The final part of the subroutine 70 2 writes the necessary HTML code to support a π submission and rest π button. Although the invention is special The specific embodiments have been described and illustrated, and they are not intended to limit the present invention. To those skilled in the art, various modifications and changes will undoubtedly be obvious, and the present invention is limited only to the scope of the following patent applications.

第39頁 487879 圖式簡單說明 第40頁Page 39 487879 Schematic illustrations Page 40

Claims (1)

487879 六、申請專利範圍 1. 一種文件產生系統,包含: 一網路伺服器,用以介接網際網路及多數遠端網路使 用者及流覽者,並且包含一網路作業系統,其可呼叫各種 伺服器作業,以及一主動伺服器網頁作業,其對於每一該 遠端網路使用者及流覽者提供互動式網頁; 一資料庫,其包含於該網站内,用以自該多數遠端網 路使用者及流覽者處接收用於產生多數使用者文件之必要 索引資料, 一磁碟,其包含於該網站内,包含選擇用以產生該多 數使用者文件之必要主體文件; 至少一應用程式,用以將該索引資料之一特別部份及 該主體文件之一所選擇部份進行合併;以及 一工作佇列,依據該索引資料及該主體文件之所選擇 部份將該應用程式進行排程; 其中,該應用程式自該主體文件之備份及索引資料中 產生該多數使用者文件,並且所產生之產品會回送至相對 應之多數遠端網路使用者及流覽者之中。 2. 如申請專利範圍弟1項之文件產生糸統’其中· 該工作佇列及應用程式其特性為每一應用程式可定期 地且獨立地檢查該工作彳宁列俾以執行。 3. 如申請專利範圍第1項之文件產生系統,其中: 該工作佇列及應用程式其特性為在工作佇列内無工作 可執行之情況下,每一應用程式可將其本身置於休眠狀態 並持續一段時間。487879 VI. Scope of Patent Application 1. A document generation system including: a network server for interfacing the Internet and most remote network users and viewers, and including a network operating system, which It can call various server operations and an active server webpage operation, which provides interactive webpages for each remote network user and viewer; a database, which is included in the website, and is Most remote network users and viewers receive the necessary index data for generating the majority of user documents. A disk, which is included in the website, contains the necessary main documents selected to generate the majority of user documents. ; At least one application program for merging a special part of the index data and a selected part of the main document; and a task queue, based on the index data and the selected part of the main document The application schedules; wherein, the application generates the majority of user files from the backup and index data of the main file, and the generated products It will be sent back to the corresponding remote network users and viewers. 2. If the patent application scope of item 1 of the patent application system is included, the job queue and application are characterized in that each application can periodically and independently check the job list for execution. 3. If the file generation system of the scope of patent application is the first, in which: the task queue and application are characterized in that when there is no work to be performed in the task queue, each application can put itself to sleep Status and last for a while. 第41頁 487879 六、申請專利範圍 4. 如申請專利範圍第1項之文件產生系統,進一步包含 一應用工具,用以在該網路作業系統及應用程式間作 為一介面,其允許該應用程式作為伺服器作業執行。 5. 如申請專利範圍第1項之文件產生系統,進一步包含 一連接至該網路作業系統之區域網路(LAN ),並用於 提供附加應用程式之一後端擴增基幹。 6. 如申請專利範圍第5項之文件產生系統,其中: 該區域網路(LAN)無法直接由網際網路存取。 7. 如申請專利範圍第1項之文件產生系統,其中: 至少一應用程式為文字處理程式,其包含一巨集容量 及巨集指令,用以在該工作佇列内無工作可執行時,將該 應用程式置入休眠狀態持續一段時間。 8. 如申請專利範圍第1項之文件產生系統,其中: 該工作佇列係以VISUAL BASIC程式執行,且包含一工 作等待串列、一工作進行中串列、以及一工作完成串列。 9. 如申請專利範圍第8項之文件產生系統,其中·· 該網路伺服器進一步包含一網際網路資訊伺服器,其 連接至該主動伺服器網頁以提供索引資料至該資料庫以及 提供一指向位於資料庫内之該索引資料之指標,其置於該 工作等待串列中。 1 0.如申請專利範圍第9項之文件產生系統,其中: 當該應用程式其中之一已被賦予一相對應工作時,Page 41 487879 6. Scope of patent application 4. If the file generation system of the scope of patent application item 1 further includes an application tool, it is used as an interface between the network operating system and the application program, which allows the application program Run as a server job. 5. If the file generation system of item 1 of the patent application scope further includes a local area network (LAN) connected to the network operating system, and is used to provide a back-end expansion backbone for additional applications. 6. If the file generation system of the scope of patent application No.5, where: The local area network (LAN) cannot be directly accessed by the Internet. 7. If the document generation system of the first patent application scope, wherein: at least one application is a word processing program, which includes a macro capacity and macro instructions, when there is no job to execute in the task queue, Put the app to sleep for a while. 8. If the document generation system of the first patent application scope, wherein: the job queue is executed by the VISUAL BASIC program, and includes a job waiting queue, a job in progress queue, and a job completion queue. 9. If the file generation system for item 8 of the scope of patent application, the web server further includes an internet information server connected to the active server webpage to provide index data to the database and provide An indicator pointing to the index data located in the database is placed in the job waiting list. 10. The file generation system according to item 9 of the scope of patent application, wherein: when one of the applications has been assigned a corresponding job, 第42頁 487879 六、申請專利範圍 該V I S U A L B A S I C程式促使該指標自該工作等待串列移動至 該工作進行中串列。 1 1.如申請專利範圍第9項之文件產生系統,其中: 當該應用程式其中之一已完成一相對應工作時,該 V I S U A L B A S I C私式促使该指標自工作進行中串列移動至工 作完成串列。 1 2 · —種文件產生精靈,包含:。 伺服时立而|巳本語言環境,用以提供主動網頁產生 功能; —夕個主動伺服$網頁’每一頁面包含謂l標藏、文 字以及欠用”於伺服裔端範本語言環境之範本指令; 一貧料庫,其包含多個文件樣版; HTML原始碼產生器,其自動撰寫HTML原始碼且將 内嵌於該任一多個文件樣版中; 一圖形使用者介面,連接至該伺服器端範本語言環 境、該HTML原始碼產生器、以及該資料庫;不 其中,一使用者無需直接提供HTML原始螞用以包 於由該伺服器端範本語言環境所執行之文件中。 1 3.如申請專利範圍第1 2項之文件產生精靈,其中. 談伺服器端範本語言環境包含微軟主 = 百:光0 勒柯服為網 該主動伺服器網頁可呼叫一ACTIVEX元 資料庫且進行商業計算; ^連接至該 其中’該使用者可將互動式内容加入至〜 網貝,且Page 42 487879 VI. Scope of patent application The VI S U A L B A S I C program prompts the indicator to move from the job waiting series to the work in progress series. 1 1. The file generation system according to item 9 of the scope of patent application, wherein: When one of the applications has completed a corresponding job, the VISUALBASIC private type causes the indicator to move from the in-progress sequence to the job completion sequence. Column. 1 2 · — a file generation wizard, including:. Serve immediately | 巳 This locale is used to provide the function of generating active webpages; —Each active server $ webpage 'Each page contains predicate labels, text, and unused "template commands in the locale of the server-side template locale A lean library containing multiple document templates; an HTML source code generator that automatically composes the HTML source code and embeds them in any of the multiple document templates; a graphical user interface that connects to the The server-side template locale, the HTML source code generator, and the database; otherwise, a user does not need to provide the HTML source directly for inclusion in a document executed by the server-side template locale. 1 3. If the file generation wizard of item 12 of the patent application scope, among them, the server-side template language environment includes Microsoft main = hundred: light 0 Leke server is the web. The active server web page can call an ACTIVEX meta database and Perform business calculations; ^ connect to the 'the user can add interactive content to ~ web shells, and 第43頁 487879Page 43 487879 構建以HTML網頁作為一使用者介面之整體網路應用。 1 4 ·如申請專利範圍第1 2項之文件產生精靈,其中: 松抑該饲服器端範本語言環境允許一使用者以一 _路流 覽器構建一具有default, asp頁面之網站,並且其可自一 網路伺服器要求任何asp型式檔案以執行一伺服器端範本 語言。 1 5 ·如申請專利範圍第1 2項之文件產生精靈,其中: 备 5玄祠服器端範本語言環境其特徵為所要求之a s p型式 指案係自上而下處理,以執行包含於該檔案中之 語言指令; j槐本 其中’ —HTML網頁係為主動產生之結果,並將藉由 二處理有關所有作業之網路伺服器傳送至使用者網路3流 裔;以及 見* 其中’因為該範本指令置存於一網路伺服器上,該 使,者無法檢視任何原始範本語言及程式碼源,該使用者 僅能檢視在該正被流覽HTML網頁中之被產生之HTML碼。 1 6 ·如申請專利範圍第1 2項之文件產生精靈,進一步包 含: 、眾夕ASP型式檔案,其和伺服器端範本語言環境伴 ’用以產生圖形使用者介面;以及 一 default.asp檔案,包含於眾多Asp型式檔案内, ,7内谷耘式没計者得以選取一文件主體進行編輯、咬 產生一新文件。 4 Π.如中請專利I爸目第12項之文件產生精靈,進一步包Build an overall web application that uses HTML pages as a user interface. 1 4 · According to the file generation wizard of the scope of patent application No. 12, in which: the language environment of the feeder end template is allowed to allow a user to build a website with default, asp pages through a browser, and It can request any ASP file from a web server to run a server-side template language. 1 5 · If the file generation wizard of item 12 of the scope of patent application is applied, among them: Prepare 5 Xuanci server end template language environment characterized by the required asp type designation from top to bottom, to execute Language commands in the file; j Huaben among them — HTML web pages are the result of active generation, and will be sent to the user's network by a web server that processes all operations; 3 See also * wherein ' Because the template command is stored on a web server, the user cannot view any of the original template language and code source. The user can only view the generated HTML code in the HTML page being browsed. . 16 · If the file generation wizard of item 12 of the patent application scope, further includes:, Zhongxi ASP type file, which is used with the server-side template locale companion to generate a graphical user interface; and a default.asp file Contained in many Asp-type files, Gu Yun-style users in 7 can select a document body for editing, and generate a new document. 4 Π. Please refer to the patent document 1 item 12 for generating wizards, 第44頁 487879 六、申請專利範圍 含: 眾多ASP型式檔案,其和伺服器端範本語言環境伴連 ,用以產生圖形使用者介面;以及 一 documents, asp槽案,包含於眾多ASP型式檔案内 ’其顯不並允許任何文件主體設定之編輯,並且其可驗言正 對於一文件主體所產生之任何變化以確保資訊已被完整地 輸入; 其中,由該文件主體所要求之一問題串列會顯示於 一螢幕顯示器上,據此,一内容程式設計者可刪除、創造 、及重新整理一問題集。 1 8.如申請專利範圍第1 2項之文件產生精靈,進一步包 含: 眾多ASP型式檔案,其和伺服器端範本語言環境伴 連,用以產生圖形使用者介面;以及 一 questions.asp槽案,包含於眾多ASP型式權案内 ,其允許一内容程式設計者得以檢視並編輯文件問題細節 ,其包含一問題名稱、任何文字字串、以及一正常數值。 1 9.如申請專利範圍第1 2項之文件產生精靈,進一步包 含: 眾多ASP型式檔案,其和伺服器端範本語言環境伴連 ,用以產生圖形使用者介面;以及 一 results, asp檔案,包含於眾多ASP型式槽案内, 其產生一資料庫表格、一WORD樣版、以及一HTML/ASP文件 格式、且其將會對一使用者顯示於螢幕上。Page 44 487879 6. The scope of patent application includes: many ASP-type files, which are associated with the server-side template language environment to generate graphical user interfaces; and a document, ASP slot file, which is included in many ASP-type files 'It does not allow editing of any document body settings, and it can verify that any changes to a document body have been made to ensure that the information has been completely entered; of which, a list of issues requested by the document body Will be displayed on a screen display, whereby a content programmer can delete, create, and rearrange a problem set. 1 8. The file generation wizard according to item 12 of the scope of patent application, further comprising: a number of ASP-type files, which are associated with the server-side template language environment to generate a graphical user interface; and a questions.asp slot Included in many ASP-type rights, it allows a content programmer to view and edit the document problem details, which includes a problem name, any text string, and a normal value. 19. The file generation wizard according to item 12 of the scope of patent application, further comprising: a plurality of ASP-type files, which are associated with a server-side template language environment for generating a graphical user interface; and a results, asp file, Contained in many ASP-type slots, it generates a database table, a WORD template, and an HTML / ASP file format, and it will be displayed on the screen for a user. 第45頁 487879 六、申請專利範圍 2 0.如申請專利範圍第1 9項之文件產生精靈,其中: 該r e s u 11 s · a s p檔案產生一文件,其徵詢第三者有關 必須輸入一文件格式内之資訊,其包含HTML及ASP之混合 程式碼,且其中該資訊稍後會被傳送至一伺服器以處理任 何輸入之資料’並將此貧料插入該資料庫之表格中。 2 1. —種文件產生器用於網站上之自動文件產生及運用 ,包含: 一網路伺服器,用於連接網際網路; 一主動伺服器網頁(ASP)伺服器端範本語言環境,其 裝置於該網路伺服器上; 眾多ASP型式檔案,其和伺服器端範本語言環境伴連 ,用以產生圖形使用者介面; 一 default, asp檔案,内含於眾多ASP型式槽案内, 俾令一内容程式設計者得以選取一文件主體進行編輯、或 產生一新文件; 一 documents.asp檔案,包含於眾多ASP型式槽案内 ,其顯示並允許任何文件主體設定之編輯,並且其可驗証 對於一文件主體所產生之任何變化以確保資訊已被完整地 輸入; 一 questions.asp檔案,包含於眾多ASP型式檐案内 ,其允許一内容程式設計者得以檢視並編輯文件問題細節 ,其包含一問題名稱、任何文字字串、以及一正常數值; 以及 一 results, asp樓案,包含於眾多ASP型式槽案内,Page 45 487879 VI. Patent application scope 20. For example, the file generation wizard of item 19 of the patent application scope, where: The resu 11 s · asp file generates a file, which is consulted by a third party and must be entered in a file format. Information, which contains a mix of HTML and ASP code, and where the information is later sent to a server to process any input data 'and insert this data into a table in the database. 2 1. —A kind of document generator for automatic document generation and application on the website, including: a web server for connecting to the internet; an active server page (ASP) server-side template locale, its device On the web server; many ASP-type files are associated with the server-side template locale to generate a graphical user interface; a default, asp file is included in many ASP-type slots, order one Content programmers can select a document body for editing, or generate a new document. A documents.asp file is included in many ASP-style slots, which displays and allows editing of any document body settings, and it can verify that a document Any changes made by the main body to ensure that the information has been completely entered; a questions.asp file is included in many ASP-type eaves cases, which allows a content programmer to view and edit the details of the document issue, which includes a question name, Any text string, and a normal value; and a results, asp case, included in many ASP types Within the case, 第46頁 487879 六、申請專利範圍 其產生一資料庫表格、一W0RD樣版、以及_HTML/ASp文件 格式、且其將會藉由一網際網路用戶端流覽器對一使用者 顯示於螢幕上; 其中’使用者透過一易於使用之網路介面進行程 式及範本語言開發之必要性可降至最低,且内容程式發展 者可對於自動式文件、資料庫表格、及HTML/ASP文件格式 ,一 ^必要元件無需具有SQL、HTML、或ASP程式發展技巧或 經驗,且此 創1 & 又件產生器可進一步在WORD檔案產生時,用於 们&所需之任何合併欄位。Page 46 487879 6. The scope of patent application will generate a database table, a WORD template, and _HTML / ASp file format, and it will be displayed to a user by an Internet client browser. On-screen; where the need for users to develop programs and template languages through an easy-to-use web interface can be minimized, and content program developers can use automatic document, database tables, and HTML / ASP file formats A required component does not need to have SQL, HTML, or ASP program development skills or experience, and this innovation 1 & component generator can be further used for any merge fields required when the WORD file is generated. 第47頁Page 47
TW090103594A 2000-02-16 2001-02-16 Internet document creation system and document-format generator therefor TW487879B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US50546700A 2000-02-16 2000-02-16

Publications (1)

Publication Number Publication Date
TW487879B true TW487879B (en) 2002-05-21

Family

ID=24010423

Family Applications (1)

Application Number Title Priority Date Filing Date
TW090103594A TW487879B (en) 2000-02-16 2001-02-16 Internet document creation system and document-format generator therefor

Country Status (5)

Country Link
EP (1) EP1257902A4 (en)
AR (1) AR030052A1 (en)
AU (1) AU2001238321A1 (en)
TW (1) TW487879B (en)
WO (1) WO2001061466A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7386539B2 (en) 2002-11-29 2008-06-10 Taiwan Semiconductor Manufacturing Company, Ltd. System, method, and user interface providing customized document portfolio management
US7817163B2 (en) 2003-10-23 2010-10-19 Microsoft Corporation Dynamic window anatomy
US7839419B2 (en) 2003-10-23 2010-11-23 Microsoft Corporation Compositing desktop window manager

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10254055B4 (en) * 2002-11-19 2006-10-26 Deutsche Post Ag System and method for the automated generation of printable data files
US8549170B2 (en) 2003-12-19 2013-10-01 Nvidia Corporation Retransmission system and method for a transport offload engine
CN112651711B (en) * 2020-12-22 2023-08-22 北京市市政工程设计研究总院有限公司 Construction system of collaborative design management platform based on XDB file under BS architecture

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2191373A1 (en) * 1995-12-29 1997-06-30 Anil Dass Chaturvedi Greeting booths
US5862325A (en) * 1996-02-29 1999-01-19 Intermind Corporation Computer-based communication system and method using metadata defining a control structure
US5835712A (en) * 1996-05-03 1998-11-10 Webmate Technologies, Inc. Client-server system using embedded hypertext tags for application and database development
US5819271A (en) * 1996-06-04 1998-10-06 Multex Systems, Inc. Corporate information communication and delivery system and method including entitlable hypertext links
US5987480A (en) * 1996-07-25 1999-11-16 Donohue; Michael Method and system for delivering documents customized for a particular user over the internet using imbedded dynamic content
US6026433A (en) * 1997-03-17 2000-02-15 Silicon Graphics, Inc. Method of creating and editing a web site in a client-server environment using customizable web site templates
US5983227A (en) * 1997-06-12 1999-11-09 Yahoo, Inc. Dynamic page generator
US6023724A (en) * 1997-09-26 2000-02-08 3Com Corporation Apparatus and methods for use therein for an ISDN LAN modem that displays fault information to local hosts through interception of host DNS request messages
US5940843A (en) * 1997-10-08 1999-08-17 Multex Systems, Inc. Information delivery system and method including restriction processing
US5986652A (en) * 1997-10-21 1999-11-16 International Business Machines Corporation Method for editing an object wherein steps for creating the object are preserved
WO2000002149A1 (en) * 1998-07-07 2000-01-13 Signature-Mail.Com, L.L.C. System and method for personalizing electronic mail messages

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7386539B2 (en) 2002-11-29 2008-06-10 Taiwan Semiconductor Manufacturing Company, Ltd. System, method, and user interface providing customized document portfolio management
US7817163B2 (en) 2003-10-23 2010-10-19 Microsoft Corporation Dynamic window anatomy
US7839419B2 (en) 2003-10-23 2010-11-23 Microsoft Corporation Compositing desktop window manager
US8059137B2 (en) 2003-10-23 2011-11-15 Microsoft Corporation Compositing desktop window manager

Also Published As

Publication number Publication date
EP1257902A4 (en) 2006-04-19
WO2001061466A1 (en) 2001-08-23
AU2001238321A1 (en) 2001-08-27
AR030052A1 (en) 2003-08-13
EP1257902A1 (en) 2002-11-20

Similar Documents

Publication Publication Date Title
US7194473B1 (en) Application platform development environment
JP2020530610A (en) Editing the database while previewing a virtual web page
US8549472B1 (en) System and method for web design
Latteier et al. The Zope Book (2.)
US20070100829A1 (en) Content manager system and method
US20150067503A1 (en) System and method for virtual assistants with agent store
WO2002001397A1 (en) Method and system for providing a framework for processing markup language documents
JP2001514422A (en) Distributed computer system
CA2883029C (en) Method and system for securely updating a website
US20210073175A1 (en) Systems and Methods for Implementing Content Aware File Management Labeling
US7058582B2 (en) Method for performing programming by plain text requests
TW487879B (en) Internet document creation system and document-format generator therefor
JP4671753B2 (en) Document management system, document management method, information processing apparatus, program, and storage medium
CN101211366B (en) Method and system for providing information from a plurality of disparate data sources
DuBois MySQL and Perl for the Web
TWI816036B (en) Web page file generation system that can be modified by the client
Robinson et al. An introduction to developing GitLab/Jacamar runner analyst centric workflows at Sandia
JPH09160822A (en) Hyper text with access right function
Benjelloun Archimède: A Canadian solution for institutional repository
Venkateshmurthy Introduction to unix and shell programming
Zehoo Oracle Application Express 4 Recipes
Smith ASP. Net by Example
Lu Replacing a monolithic web application with a new backend framework
Aker et al. Running weblogs with Slash
Bernstein Zope bible

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees