TW515998B - Method for simulating multiplex operations in simplex system - Google Patents

Method for simulating multiplex operations in simplex system Download PDF

Info

Publication number
TW515998B
TW515998B TW87114097A TW87114097A TW515998B TW 515998 B TW515998 B TW 515998B TW 87114097 A TW87114097 A TW 87114097A TW 87114097 A TW87114097 A TW 87114097A TW 515998 B TW515998 B TW 515998B
Authority
TW
Taiwan
Prior art keywords
simulating
patent application
item
system described
under
Prior art date
Application number
TW87114097A
Other languages
Chinese (zh)
Inventor
Kuang-Shin Lin
Tong S Chen
Peng Li
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW87114097A priority Critical patent/TW515998B/en
Application granted granted Critical
Publication of TW515998B publication Critical patent/TW515998B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is a method for simulating multiplex operations in a simplex system when cycling control transfer is applied in a simplex operation computer system to allow the simplex operation computer system to process multiple works one after the other in sequence so that the simplex operation computer system can simulate operations of a multiplex operation environment. Also, through such multiplex operation environment simulation, the simplex operation computer system can, by way of simulation, process multiple works at the same time so to provide a graphical user interface.

Description

515998 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(i) 發明背景: 電腦之運作係透過其作業系統(OPERATING SYSTEM,簡 稱爲0.S·)之管理,在使用者所執行之應用程式與硬體裝置間 溝通協調’以使電腦將使用者之輸入依其指示進行處理,並 將處理之結果輸出。 而伴隨著電腦科技的不斷進步,其作業系統也不斷加入 新功能與新技術,以個人電腦(PC-ΑΤ、PC-XT乃至今曰的 Pentium、Pentium II)爲例,其作業系統由早期執行完一個 程式才能執行另一程式之單工作業環境,例如IBM DOS 3·0、MS-DOS 4·〇,到現今廣爲使用而可同時執行多個程式 之多工系統,例如Windows 95及Windows NT等,其間技術 有令人難以想像之演進,而使用者最易察覺之處即在其與電 腦之溝通方式(亦即所謂人機介面),由單工作業系統之文字 (TEXT-MODE)介面演進到多工作業系統之圖形化(GRAPHICAL) 介面。 隨著髙階作業系統不斷被硏究發展出來,其對硬體(諸 如中央處理單元、硬碟容量、記憶體空間等)的要求也同時愈 加嚴格,從而造成作業系統對硬體的髙度依賴,例如,微軟 公司的Windows 95作業系統就不能在INTEL公司80386之前 的中央處理單元上執行,且Windows 95作業系統對硬碟容量 的要求也髙於早期的作業系統,而記憶體空間之不足(早期作 業系統已相當充裕的4MB記憶體空間已不足以啓動Windows 95作業系統)更會造成電腦系統運作遲緩,甚至無法啓動。 以INTEL公司X86系列之中央處理器爲例(例如80486、 PENTIUM、PENTIUM II等),我們對髙階作業系統和基礎作業 ____2 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨〇><297公釐) (請先閱讀背面之注意事項再填寫本頁)515998 Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (i) Background of the invention: The operation of the computer is managed by its operating system (OPERATING SYSTEM, abbreviated as 0.S.). Communication and coordination between the application program and the hardware device, so that the computer will process the user's input according to its instructions and output the result of the processing. With the continuous advancement of computer technology, new operating systems and new technologies have also been added to the operating system. Take personal computers (PC-AT, PC-XT, Pentium, Pentium II, etc.) as examples. A single work environment where one program can execute another program, such as IBM DOS 3.0, MS-DOS 4.0, and many multiplexed systems, such as Windows 95 and Windows NT, etc., during which the technology has an unimaginable evolution, and the most noticeable place for users is in the way they communicate with the computer (the so-called human-machine interface), from the text of a single job system (TEXT-MODE) The interface has evolved to a graphical interface for multitasking systems. As advanced operating systems continue to be researched and developed, their requirements on hardware (such as central processing unit, hard disk capacity, memory space, etc.) are also becoming more stringent at the same time, resulting in operating systems that rely on hardware. For example, Microsoft's Windows 95 operating system cannot be executed on a central processing unit of INTEL before 80386, and the requirements of the hard disk capacity of the Windows 95 operating system also lag behind earlier operating systems, and the lack of memory space ( The 4MB memory space of the early operating system is quite sufficient to start the Windows 95 operating system. It will also cause the computer system to run slowly and even fail to start. Taking the X86 series CPU of INTEL as an example (such as 80486, PENTIUM, PENTIUM II, etc.), we apply the advanced operating system and basic operations to the paper. ____2 This paper size applies the Chinese National Standard (CNS) A4 specification (2 丨 〇 &gt); < 297 mm) (Please read the notes on the back before filling this page)

p5998 A7 ____ B7 五、發明説明(2) 系統在系統崩潰後,進行系統修復作業的比較結果,將其分 別列表如下= 系統比較表 作業系統 Win 3·χ(英文) Win95(英文) WinNT(英文) DOS7.0C 英文) 系統安裝環境 基於DOS 基於DOS 基於DOS 基於DOS 所佔記憶體 > 8MB > 16MB > 16MB 640KB 成本 <99$ > 100$ > 1000$ <10$ 可 佳 極佳 一般 啓動時間 大約14 sec. 大約15 sec· 大約 2-3 min. 大約5 sec. 啓動所需廳 空間 20-30 MB 大約70 MB 大約150 MB 大約300 KB 軟碟機啓動後 的介面 文字(DOS作業 環境) 文字(DOS作業 環境) 文字(DOS作業 職) 文字(DOS作業 環境) (註:進行測試所使用機器爲Pentium 166MHz , 32 MB記憶體) (請先閲讀背面之注意事項再填寫本頁)p5998 A7 ____ B7 V. Description of the Invention (2) Comparison results of system repair operations performed after the system crashed are listed below = System comparison table operating system Win 3.x (English) Win95 (English) WinNT (English) ) DOS7.0C English) System installation environment DOS-based DOS-based DOS-based DOS-based memory > 8MB > 16MB > 16MB 640KB Cost < 99 $ > 100 $ > 1000 $ < 10 $ may be better Excellent general startup time about 14 sec. About 15 sec · About 2-3 min. About 5 sec. Room space required for startup 20-30 MB About 70 MB About 150 MB About 300 KB Interface text after floppy drive startup ( DOS operating environment) Text (DOS operating environment) Text (DOS operating environment) Text (DOS operating environment) (Note: The machine used for testing is Pentium 166MHz, 32 MB memory) (Please read the precautions on the back before filling in this page)

I έ 經濟部中央標準局員工消費合作社印製 由上表可以看出,利用基礎作業系統(例如DOS)來修復 已經崩潰的作業系統,在時間、成本、和所佔用電腦硬碟空 間、記憶體等各方面,均優於在髙階作業系統下對已崩潰系 統的修復,因此,當運作中之髙階作業系統崩潰而無法正常 工作時,就需要依靠基礎作業系統(例如DOS)來進行系統修 復,但基礎作業系統中其單調乏味的文字介面,對已經習慣 於髙階作業系統圖形化介面的使用者而言,是非常難以接受 的。 3 本紙張又度適用中國國家標準(CNS ) Α4規格(210Χ297公釐) 經濟部中央標準局員工消費合作社印製 515998 A7 _ B7___ 五、發明説明(g ) 習知技藝: 本發明實現了在基礎作業系統上完成對髙階作業系統之 使用者介面的模擬,這樣既可以保持使用者介面與髙階作業 系統的一貫性,又能提供一套完整的圖形化介面。 一般在DOS類型的作業系統中,其應用程式所採用的使 用者介面大部分係文字模式下的圖形化介面,或命令行方式 的介面,其他的應用程式則採用附加32位元記億體管理程式 的方式,例如D0S/4GW等,以增加可使用記億體空間,提供 較富變化的圖形化介面。 在文字模式下的圖形化介面,雖然與命令行方式的介面 相比已有了一定的互動性,使用者操作上也相對較爲方便, 但其單一的色調、簡單的控制並未給使用者帶來大幅之便利 性,且在文字模式下也無法使用輔助輸入裝置(如滑鼠等)操 作,並藉以反映應用程式目前的處理狀態,或提供使用者必 要的協助,而且在程式設計過程中由於缺乏整體之規劃,造 成所設計之應用程式中有大量重複之處理過程。 在採用附加32位元記憶體管理程式的方式下,雖可以使 介面變得較爲友好而易於親近,但其因複雜程度提髙所增加 之開發時間,卻難以符合設計應用程式的成本考量。 發明綱要: 本發明之主要目的是透過雙向循環鏈表之結構,實現單 工系統中對多工系統的模擬,以·同時執行多個工作,有效使 用中央處理單元,且僅須佔用640KB之基本記憶體,無需額 外的32位元記憶體管理程式。 _4 表紙張又度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局員工消費合作社印製 515998 A 7 B7 五、發明説明(4 ) 本發明之另一目的,在藉由對多工系統的模擬,使基礎 作業系統中可產生圖形化使用者介面,讓使用者能夠以較爲 友好而易親近之使用者介面在基礎作業系統中操作電腦。 圖式說明: 第一圖係本發明一實施例之邏輯結構圖; 第二圖係本發明一實施例之功能模組圖; 第三圖係本發明一實施例所使用之類別架構圖; 第四圖係本發明一實施例之處理流程圖; 第五圖係本發明一實施例之圖形化介面示意圖; 第六圖係本發明一實施例之運作示意圖。 詳細說明: 爲了達成在單工系統中對多工系統模擬之目的,需要在 類似DOS等單工型態的基礎作業系統中實現圖形化使用者介 面的管理,最根本的是要解決這種基礎作業系統不能像髙階 作業系統(例如Windows95)那樣進行多工模式操作的限制。 本發明建立了一個附加在單工之基礎作業系統中的外掛 式多工模擬工具,以在單工之系統環境下開發較複雜的圖形 化使用者介面;所謂外掛式係指作業系統本身並無此功能’ 而是由附加之程式予以補充,以Windows作業系統爲例,其 在英文版本之作業環境中顯示中文的軟體就屬於一種外掛式 程式。 多工模擬的工作方式主要是針對基礎作業系統的單工環 境下對多工作業環境之模擬,以DOS(單工)和Windows(多工) ____5 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 515998 A7 B7 五、發明説明(^ ) 爲例,Windows本身屬於多工系統,可在同一時間內開啓並 執行多個工作,並可在各工作間交替傳遞系統之控制權,而 在DOS作業環境中,所有系統資源完全交由單一之應用程式 獨佔使用,因此DOS被稱爲單工系統。 在一單工作業系統中可以採用相對應的資料結構以對多 工作業模式進行模擬,例如採用鏈表描述順序關係,並且可 以透過鏈表來進行訊息的傳遞,從而完成多工作業模式之模 擬,當系統進行運作時透過鏈表來儲存各個工作,並循序對 鏈表進行査詢,以確定一訊息的接受對象,從而在使用者介 面上產生多工作業模式的效果。 爲能模擬髙階作業系統中之圖形化使用者介面,需要實 施對訊息機制(Message)和物件(Object)査詢順序的管理,爲 此採用一雙向循環鏈表來儲存各個工作,請參閱第一圖、第 六圖,鏈表結構是組織資料的一種方式,可動態地進行資料 之增加、刪減。 在 00P(0bject Oriented Programming 物件導向程式設 計)槪念下,我們引入類別(Class)和繼承多態(Polymorphism) 指標的觀念,其中“類別”表現在通用物件上(參見第五 圖)。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 本發明之實施例在建構圖形化介面時,所用到的所有通 用物件之組織關係如第三圖所示,其中根源物件(Root -Object)爲組織圖中的根源類別,它又包含對話窗口 (Dialog)、按鈕(Button)及列表方塊(ListBox)三個附靥之子 類別,而精®對話窗口(WizardDlg,用以安裝對話視窗的通 用圖像)又是對話窗口(Dialog)的子類別;按鈕(Button)又是 ______6 本紙張尺度適用中國國家標準(CNS ) A4規格(21〇X 297公釐) 515998 A7 __B7_ 五、發明説明(^ ) 其所包含之八種子類別的父類別。 父類別與子類別的關係是繼承關係,亦即子類別繼承父 類別的所有特性,但除此之外,各個子類別尙另外具有其他 的特性。 以第三圖中之類別架構圖爲例,其中對話窗口 (Dialog)、按鈕(Button)及列表方塊(ListBox)等三個根源物 件(Root-Object)類別之附靥子類別,皆繼承了根源物件 (Root-Object)所具有之特性,但除此之外三者又分別具有其 相關之不同特性。 以下就以本發明之一具體實施例對模擬之過程進行說 明,以便能淸處說明本發明之技術重點: 爲完成物件邏輯架構模擬(參見第一圖),其所使用的基 本結構中包括了兩組控制指標,一組用來處理滑鼠訊息 (Mouse Message),另一組用以控制選取焦點(Focus),其中 滑鼠訊息包括以滑鼠之左鍵在螢幕上點選、雙按點選,或以 滑鼠之右鍵在螢幕上點選等,而選取焦點則是螢幕上藉滑鼠 或鍵盤使一物件呈反白或浮凸之位置。 當使用者透過滑鼠選取物件1後,其產生的相關訊息由 主控類別取得,並通過第一組指標對雙向循環鏈結進行快速 査詢,以找出應該要對其做回應之物件。 經濟部中央標準局員工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 當査詢過物件1後,將此相關訊息傳到下一物件2,由 此利用雙向鏈表逐一傳遞,直至査詢到最後一個物件,而後 由最後一個物件完成控制,並對該訊息回應後,物件便逐一 向上傳遞回應後的標幟(FLAG),每一個物件都對標幟進行處 理,最後由主控類別作最終之處理。 7 .本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 515998 A7 B7 五、發明説明(f ) 同理,當使用者通過鍵盤選擇一物件,主控類別取得該 鍵盤訊息後,將根據鍵盤之按鍵値做出相應的動作。 根據雙向循環鏈表雙向循環的特性,當使用者透過鍵盤 操作Tab鍵或Shift_Tab鍵時,可以使切換焦點位置的順序 循正向鏈結或反向鏈結進行,主控類別根據雙向循環鏈結 中’目前焦點位置所在的物件,透過下一組指標將鍵盤訊息 繼續逐一向下傳遞,從而完成對鍵盤的回應,由此可完成對 多工系統的模擬。 本發明可以在DOS作業系統下建立共用控制元件(如對話 方塊Dialog、按鈕Button等),在不改變DOS作業系統的情 況下,建立符合視窗標準的圖形化介面。 以下就本發明之實施例做進一步之說明,圖形化介面係 由螢幕上顯示的物件所組成,而這些物件均由根源物件 (Root-Object)統一衍生,其組織圖如第三圖所示,以根源物 件(Root-Object)作爲根源類別,衍生出對話窗口(Dialog)、 按鈕(Button)及列表方塊(ListBox)等三個子類別。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 該技術是對視窗系統所進行的劃分,整體架構係以物件 爲基礎,通過繼承關係維繫在一起,其最上層是所有圖像物 件定義的根源類別,是圖形化介面中所使用物件的一些基本 屬性定義,它提供了所有物件的共同靥性,並允許物件之間 的相互通信。 以根源物件(Root-Object)作爲根源類別,所有物件類 別均由其衍生,其具體方式在於。:多態指標所指向的對象隨 環境改變而變化,當無法預測子類別究竟爲何時可針對父類 別操作,之後藉多態指標完成適合於子類別本身之修改,而 8 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 515998 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(§ ) 根源物件(Root-Object)類別中封裝了對於滑鼠指標及焦點位 置的轉換和循環。 由訊息控制類別對多態指標進行操作,從而完成對其子 類別的焦點位置之切換與滑鼠訊息的傳遞。在此以列表方塊 (ListBox)類別爲例,這個物件只是針對按鈕(Button)的共用 方法進行操作,從而完成物件的行爲,如果希望使用其他具 有按鈕(Button)特性的物件,只需從按鈕(Button)繼承其特 性,並重新載入其共用的函數即可。 該實施例包括三個模組(參見第二圖),三個模組將圖形 化使用者介面分爲三部份,第1部份係物件集合,其中描述 圖形化使用者介面的基本組成元素,第2部份是這些組成元 素的組織架構,第3部份是控制這些組成元素的方法。 1. 物件集合: 其中定義了在介面中使用到的所有物件,且該等物件均 由根源物件(Root-Object)類別統一衍生,其係採用物件導向 的方法維繫在一起,透過父類別和子類別間之繼承關係,達 成繼承動態指標的多層次動態約定。 2. 對話窗口(Dialog)類別: 對話窗口(Dialog)類別完成一個對話視窗的基本工作, 包括接收訊息、完成該訊息對內部物件的管理、驅動各個物 件完成相應之操作等。 3. 選取焦點物件的識別和接收: 對於周邊設備輸入(主要是针對滑鼠和鍵盤)’其中以鍵 盤的焦點位置切換爲主要控制對象,因此,選取焦點(Focus) 類別並不由根源物件(Root-Object)類別衍生,而是獨立存 9 本紙張又度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁)It is printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs. It can be seen from the above table that the use of a basic operating system (such as DOS) to repair a crashed operating system, in terms of time, cost, and occupied computer hard disk space, memory All aspects are better than repairing the crashed system under the advanced operating system. Therefore, when the advanced operating system in operation crashes and cannot work normally, you need to rely on the basic operating system (such as DOS) to perform the system. Repair, but its tedious text interface in the basic operating system is very unacceptable to users who are already accustomed to the graphical interface of advanced operating systems. 3 This paper is again applicable to China National Standard (CNS) A4 specification (210 × 297 mm) Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 515998 A7 _ B7___ V. Description of the invention (g) Known skills: The simulation of the user interface of the advanced operating system is completed on the operating system. This can not only maintain the consistency between the user interface and the advanced operating system, but also provide a complete set of graphical interfaces. Generally, in a DOS-type operating system, most of the user interfaces used by its applications are graphical interfaces in text mode or command line interfaces, and other applications use additional 32-bit memory management. Program methods, such as D0S / 4GW, etc., to increase the usable memory space and provide a more varied graphical interface. The graphical interface in text mode, although it has a certain degree of interaction compared with the command line interface, and the user is relatively easy to operate, but its single color tone and simple control are not given to the user Brings great convenience, and ca n’t use auxiliary input devices (such as mouse) in text mode to reflect the current processing status of the application, or provide the user with the necessary assistance, and during the programming process Due to the lack of overall planning, there are a lot of repeated processes in the designed application. With the addition of a 32-bit memory management program, although the interface can be made more friendly and easy to approach, the increased development time due to increased complexity does not meet the cost considerations of designing applications. Outline of the invention: The main purpose of the present invention is to realize the simulation of a multiplexed system in a simplex system through a structure of a bidirectional circular linked list, so as to perform multiple tasks simultaneously, effectively use a central processing unit, and only need to occupy the basic 640KB. Memory, no additional 32-bit memory manager required. _4 The sheet of paper is again applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back before filling this page) Ordered by the Central Consumers Bureau of the Ministry of Economic Affairs and printed by the consumer cooperative 515998 A 7 B7 Explanation (4) Another object of the present invention is to make a graphical user interface in a basic operating system by simulating a multiplexing system, so that users can use a friendly and accessible user interface in Operating the computer in the basic operating system. Description of the drawings: The first diagram is a logical structure diagram of an embodiment of the present invention; the second diagram is a functional module diagram of an embodiment of the present invention; the third diagram is a category architecture diagram used by an embodiment of the present invention; The fourth diagram is a processing flowchart of an embodiment of the present invention; the fifth diagram is a schematic diagram of a graphical interface of an embodiment of the present invention; and the sixth diagram is an operation diagram of an embodiment of the present invention. Detailed description: In order to achieve the purpose of simulating a multiplexed system in a simplex system, it is necessary to implement graphical user interface management in a simplex-type basic operating system such as DOS. The most fundamental thing is to solve this foundation The operating system cannot perform the multiplexing mode operation restrictions like the advanced operating system (such as Windows 95). The present invention establishes a plug-in multiplexing simulation tool attached to a simplex-based basic operating system to develop a more complex graphical user interface in a simplex system environment; the so-called plug-in refers to the operating system itself does not have This function is supplemented by additional programs. Taking the Windows operating system as an example, software that displays Chinese in the English version of the operating environment is a plug-in program. The working mode of multiplexing simulation is mainly for simulating the multi-working environment in the simplex environment of the basic operating system. DOS (simplex) and Windows (multiplex) ____5 This paper standard is applicable to China National Standard (CNS) A4 specifications (210X297 mm) (Please read the precautions on the back before filling out this page) Order 515998 A7 B7 V. Description of the Invention (^) As an example, Windows itself is a multiplexed system that can be started and perform multiple tasks at the same time In addition, in the DOS operating environment, all system resources are exclusively used by a single application for exclusive use. Therefore, DOS is called a simplex system. In a single work system, the corresponding data structure can be used to simulate the multi-work mode. For example, a linked list is used to describe the sequence relationship, and the information can be transmitted through the linked list to complete the simulation of the multi-work mode. When the system is in operation, each job is stored through a linked list, and the linked list is sequentially searched to determine the recipient of a message, thereby generating the effect of a multi-tasking mode on the user interface. In order to simulate the graphical user interface in a high-level operating system, it is necessary to implement the management of the query sequence of Message and Object. To this end, a two-way circular linked list is used to store each task. Please refer to the first In Figure 6, the linked list structure is a way to organize data, and data can be dynamically added or deleted. Under the idea of 00P (0bject Oriented Programming), we introduced the concepts of Class and Inherited Polymorphism indicators, where "Class" is represented on a common object (see Figure 5). Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling this page). The organization relationship of all common objects used in the embodiment of the present invention when constructing the graphical interface is shown in the third figure The root object (Root-Object) is the root category in the organization chart. It also contains three sub-categories of dialog window (Button), button (Button) and list box (ListBox). , The common image used to install the dialog window) is a sub-category of the dialog window; the button is ______6 This paper size applies to the Chinese National Standard (CNS) A4 specification (21〇X 297 mm) 515998 A7 __B7_ V. Description of the Invention (^) The parent category of the eight seed categories it contains. The relationship between the parent category and the child category is inheritance, that is, the child category inherits all the characteristics of the parent category, but in addition, each child category has other characteristics. Take the category structure diagram in the third figure as an example. The three sub-categories of the Root-Object category, such as Dialog, Button, and ListBox, all inherit the root cause. Objects (Root-Object) have characteristics, but the other three have their own different characteristics. In the following, a specific embodiment of the present invention is used to describe the simulation process in order to explain the technical highlights of the present invention. To complete the simulation of the logical structure of the object (see the first figure), the basic structure used includes Two sets of control indicators, one set is used to process Mouse Message, and the other set is used to control the selection focus. The mouse message includes clicking on the screen with the left button of the mouse and double-clicking. Select, or right-click on the screen with a mouse, etc., and the focus of selection is the position where the object is highlighted or raised on the screen by using the mouse or keyboard. After the user selects object 1 through the mouse, the relevant information generated by the user is obtained by the master control category, and the two-way circular link is quickly queried through the first set of indicators to find the object that should be responded to. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling this page). After querying the item 1, the related information is transmitted to the next item 2, so that it is transmitted one by one using a double linked list Until the last object is queried, and then the last object completes the control and responds to the message, the objects pass the response flags (FLAG) up one by one. Each object processes the flags and is finally controlled by the master. The category is finalized. 7. This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 515998 A7 B7 5. Invention description (f) Similarly, when the user selects an object through the keyboard and the main control category obtains the keyboard message, Corresponding actions will be made according to the keys 値 of the keyboard. According to the characteristics of the two-way circulation linked list, when the user operates the Tab key or Shift_Tab key through the keyboard, the order of switching the focus position can be forward link or reverse link. The main control category is based on the two-way circulation link. In the object where the current focus position is located, the keyboard messages are continuously passed down one by one through the next set of indicators, so as to complete the response to the keyboard, thereby completing the simulation of the multiplexing system. The present invention can establish a common control element (such as a dialog box Dialog, a button Button, etc.) under a DOS operating system, and establish a graphical interface conforming to a window standard without changing the DOS operating system. The following further describes the embodiment of the present invention. The graphical interface is composed of objects displayed on the screen, and these objects are uniformly derived from the root-object. The organization chart is shown in the third figure. Root-Object is used as the root category, and three sub-categories such as Dialog, Button, and ListBox are derived. Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read the notes on the back before filling this page) This technology is a division of the window system. The overall architecture is based on objects and is held together through inheritance relationships. The top level is the root category of all image object definitions. It is the definition of some basic attributes of the objects used in the graphical interface. It provides the commonality of all objects and allows communication between objects. Root-Object is used as the root category, and all object categories are derived from it. The specific method is as follows. : The object pointed by the polymorphic indicator changes with the change of the environment. When it is impossible to predict when the subcategory can be operated on the parent category, the polymorphic indicator is then used to complete the modification suitable for the subcategory itself. 8 paper standards are applicable to China Standard (CNS) A4 specification (210X297 mm) 515998 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (§) The Root-Object category encapsulates the mouse pointer and focus position. Conversion and looping. The polymorphic indicator is operated by the message control category, so that the focus position of its sub-category can be switched and the mouse message can be transmitted. Here we take the ListBox category as an example. This object only operates on the common method of Button to complete the behavior of the object. If you want to use other objects with Button properties, you only need to use the button ( Button) inherits its characteristics and reloads its shared functions. This embodiment includes three modules (see the second figure). The three modules divide the graphical user interface into three parts. The first part is a collection of objects, which describes the basic components of the graphical user interface. The second part is the organizational structure of these constituent elements, and the third part is the method of controlling these constituent elements. 1. Object collection: It defines all the objects used in the interface, and these objects are uniformly derived from the root-object category, which is held together by an object-oriented method, through parent and sub-categories The inheritance relationship between them can reach a multi-level dynamic agreement for inheriting dynamic indicators. 2. Dialog category: The Dialog category completes the basic work of a dialog window, including receiving a message, completing the management of internal objects by the message, and driving each object to complete the corresponding operation. 3. Recognition and reception of selected focus objects: For peripheral device input (mainly for mouse and keyboard), where the focus position of the keyboard is switched as the main control object, therefore, the Focus category is not determined by the root object ( Root-Object) category is derived, but it is stored separately. This paper is also applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back before filling this page)

經濟部中央標準局員工消費合作社印製 515998 A7 _B7__ 五、發明説明(〇 ) 在,選取焦點(Focus)類別內部維護一個雙向循環鏈表(如第 一圖),可以動態地隨系統的改變而變化,以記錄系統中存在 的可接受焦點位置的實體,並按照預定順序使焦點位置在可 接受之位置間切換,對於已經被辨識出處於焦點位置的物 件,即調用相關之外部物件處理函數,做出適當之回應;另 外,滑鼠(Mouse)類別則完成對滑鼠的操控。 參見第四圖,該圖是本實施例的處理流程圖,當透過周 邊設備如滑鼠或鍵盤輸入訊息時,本發明之該實施例接收到 來自滑鼠或鍵盤的訊息(4-2)後,接著取出視窗中的第一個物 件(4-3),判斷周邊設備的訊息是否是針對該物件而發出(4-4),如果不是,則依序取出下一個物件(4-5),接著判斷是否 已檢査過所有物件(4-6),如果是,就回到初始狀態(4-1), 繼續接收下一個周邊設備訊息。 在判斷周邊設備的訊息是否是針對該物件而發出(3-4) 時,若結果爲是,也就是說周邊設備的動作係作用於目前被 檢測的物件,則利用與該物件對應的滑鼠與鍵盤,將所接收 的訊息保存(4-7),接下來利用IsChangable函數來辨識物件 的靥性是否已經被改變(4-8),若靥性未被改變則返回初始狀 態,如果屬性已被改變,則取得當前的靥性變化(4-9);接著 繼續判斷是否要接收訊息的物件發出相應動作(4-10),如果 不需姜物件進行動作,則返回初始狀態,等待新的周邊設備 訊息,如果需要物件進行動作,則做出相應的外部處理(4-11)。 本發明所提供的圖形化介面是藉由物件靥性的操作來完 成,以第五圖爲例具體說明: __10 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁)Printed by the Employees' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 515998 A7 _B7__ V. Description of the Invention (〇) In the Focus category, a two-way circular linked list (such as the first picture) is maintained, which can dynamically change as the system changes. Change to record the entities that can accept the focus position in the system and switch the focus position between acceptable positions in a predetermined order. For objects that have been identified as being in the focus position, the relevant external object processing function is called, Respond appropriately; in addition, the Mouse category completes the manipulation of the mouse. Refer to the fourth figure, which is a processing flowchart of this embodiment. When a message is input through a peripheral device such as a mouse or a keyboard, the embodiment of the present invention receives a message (4-2) from a mouse or a keyboard. , Then take out the first object in the window (4-3), determine whether the message from the peripheral device is directed to the object (4-4), if not, then take out the next object in sequence (4-5), Then it is judged whether all the objects have been checked (4-6), and if so, it returns to the initial state (4-1), and continues to receive the next peripheral device message. When judging whether the message of the peripheral device is sent to the object (3-4), if the result is yes, that is to say, the action of the peripheral device acts on the currently detected object, use the mouse corresponding to the object And the keyboard, save the received message (4-7), then use the IsChangable function to identify whether the property of the object has been changed (4-8), if the property has not changed, return to the initial state, if the property has If it is changed, get the current nature change (4-9); then continue to determine whether the object that needs to receive the message sends the corresponding action (4-10), if the ginger object is not required to perform the action, return to the initial state and wait for the new Peripheral equipment information, if the object is required to perform the action, the corresponding external processing is performed (4-11). The graphical interface provided by the present invention is completed by the natural operation of the object, and the fifth figure is taken as an example to illustrate: __10 This paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read first (Notes on the back then fill out this page)

515998 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明 (1〇 其中之物件爲:兩個按鈕(Button)和一個指令方塊 (ComoBox) ° 精靈對話窗口(WizarDlg)作爲按鈕(Button)和指令方塊 (ComoBox)的主控類別,通過對按鈕(Button)和指令方塊 (ComoBox)的內部屬性的判斷,了解使用者操作單一物件後產 生的結果,包括焦點位置切換和物件的自身操作。 當使用者通過周邊設備(滑鼠或鍵盤)進行操作(輸入訊 息)後,首先由精靈對話窗口(WizarDlg)物件類別接收,並依 序完成對各物件〔另外兩個按鈕(Button)物件〕測試,並將訊 息傳入回應物件中,由物件依相同過程完成對訊息的回應, 如無任何物件回應則放棄本次回應進入下一次循環。 而通過滑鼠或鍵盤的Tab鍵選擇選取焦點(Focus,也就 是目前處於活動狀態的物件)時,焦點位置的判斷通過以下的 雙向鏈表實施。 請參閱第六圖,其中物件1代表指令方塊(ComoBox)中的 反白狀態,物件2代表Next按鈕,物件3代表Exit按鈕,該 等物件利用Tab鍵進行選取焦點切換的循環,其順序如雙向 鏈表所示。 當有物件回應訊息時,在物件完成了自身行爲的動作 後,精靈對話窗口(WizarDlg)類別將判斷物件靥性是否改 變,如有,則獲取目前狀態下物件屬性的變化,然後來完成 與物件相關連的動作,一種物件本身的行爲,是與物件相關 連而由其外層控制所決定的行爲。 當使用者重新設置指令方塊(ComoBox)中的項目後,外 層控制類別在獲知所發生的變化後,調用GetCurrentIDO函 11 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閲讀背面之注意事項再填寫本頁)515998 Printed by A7 B7, Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (1) The objects are: two buttons (Button) and a command box (ComoBox) ° Wizard dialog window (WizarDlg) as the button (Button) And the main control category of the command box (ComoBox), by judging the internal properties of the button (Button) and the command box (ComoBox), to understand the results produced by the user operating a single object, including the focus position switch and the object's own operation. After the user operates (inputs the message) through the peripheral device (mouse or keyboard), it is first received by the WizardDlg object category, and the objects (the other two Button objects) are tested in order. And pass the message into the response object, and the object completes the response to the message in the same process. If there is no response from the object, the response is abandoned and the next cycle is entered. The focus is selected by using the mouse or the Tab key (Focus , Which is the currently active object), the focus position is determined by the following doubly linked list Please refer to the sixth figure, where the object 1 represents the highlighted state in the command box (ComoBox), the object 2 represents the Next button, and the object 3 represents the Exit button. These objects use the Tab key to select the focus switch cycle. The sequence is as follows: As shown in the doubly linked list. When an object responds to the message, after the object has completed its own action, the Wizard dialog window (WizarDlg) category will determine whether the property of the object has changed, and if so, obtain the change of the object property in the current state. , And then to complete the action associated with the object, a kind of behavior of the object itself, is the behavior associated with the object and determined by its outer control. When the user resets the item in the command box (ComoBox), the outer control category After knowing the changes, call GetCurrentIDO 11 This paper size is applicable to Chinese National Standard (CNS) A4 (210X 297 mm) (Please read the precautions on the back before filling this page)

515998 A7 B7 五、發明説明 (11) 數得到當前使用者選定的項目,再根據使用者選擇的項目更 新系統字體,以適應使用者的選擇。 藉由本發明之方法,可在單工系統中對多工系統進行模 擬,從而將基礎作業系統之使用者介面圖形化,讓使用者能 夠以較爲友好而易親近之使用者介面在基礎作業系統中操作 電腦。 以上所述,係本發明之實施例,惟,本發明所主張之權 利範圍,不應因而侷限於上揭之實施例,其僅係爲淸楚揭露 本發明之技術內容而具體施行者,按凡熟悉該項技藝人士, 依據本發明所揭露之技術內容,可輕易思及而作爲之些微改 良與變化,均應靥本發明之保護範疇。 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 12 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)515998 A7 B7 V. Description of the invention (11) Obtain the items selected by the current user, and then update the system font according to the items selected by the user to suit the user's choice. By the method of the present invention, the multiplexing system can be simulated in a simplex system, thereby graphically user interface of the basic operating system, so that the user can use the user interface of the basic operating system to be more friendly and accessible. Operating computer. The above are the embodiments of the present invention. However, the scope of the rights claimed by the present invention should not be limited to the embodiments disclosed above. It is only for the specific implementation of the technical content of the present invention. Those who are familiar with the art and who can easily think about and make minor improvements and changes based on the technical content disclosed by the present invention should all fall within the protection scope of the present invention. (Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs 12 This paper size applies to China National Standard (CNS) A4 (210X297 mm)

Claims (1)

515998 A8 B8 C8 D8 六、申請專利範圍 申請專利範圍: 1·一種單工系統下模擬多工作業之方法,係單工作業環 境之電腦系統在其多個順序執行之程式中,利用一雙向循環 鏈表實施控制權之轉移,每一程式以鏈表中之一個節點代 表,每一節點中並儲存其所代表程式之有關屬性,以使該等 程式間可依序轉移控制權並傳遞訊息,俾同時進行該等程式 之處理以模擬一多工作業環境之運作方式。 2·如申請專利第1項所述之單工系統下模擬多工作業之 方法,其中控制權之轉移係以物件導向程式語言實施。 3·如申請專利第1項所述之單工系統下模擬多工作業之 方法,其中控制權轉移之步驟包括接收周邊裝置之訊息。 4·如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中周邊裝置可爲鍵盤。 5.如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中周邊裝置可爲滑鼠。 6·如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中控制權轉移之步驟包括取出雙向循環鏈表中之一 個節點,並以該節點中程式靥性之設定値處理所接收到周邊 裝置之訊息。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 7. 如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中控制權轉移之步驟包括儲存所接收到周邊裝置之 訊息。 8. 如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中以鏈表中一個節點所代表之程式執行另一程式, 且該另一程式未以雙向循環鏈表中之節點代表。 4 13 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 515998 A8 B8 C8 D8 々、申請專利範圍 9. 如申請專利第3項所述之單工系統下模擬多工作業之 方法,其中控制權轉移之步驟包括取出雙向循環鏈表中之下 一個節點。 10. 如申請專利第1項所述之單工系統下模擬多工作業之 方法,其中單工作業環境可爲微軟公司之DOS系列作業環 11. 如申請專利第1項所述之單工系統下模擬多工作業之 方法,其中多工作業環境可爲微軟公司之視窗(Windows)系列 作業環境。 12. 如申請專利第1項所述之單工系統下模擬多工作業之 方法,使用32位元記憶體管理程式增加電腦系統之可用記憶 體空間。 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 14 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公ίΓ)515998 A8 B8 C8 D8 6. Scope of patent application Patent scope: 1. A method of simulating multi-tasking under a simplex system. A computer system in a single-tasking environment uses a two-way cycle in its multiple sequential execution programs. The linked list implements the transfer of control. Each program is represented by a node in the linked list, and each node stores the attributes of the program it represents, so that these programs can transfer control and transfer information in order.俾 Simultaneously process these programs to simulate the operation of a multi-working environment. 2. The method of simulating multitasking under the simplex system described in item 1 of the patent application, wherein the transfer of control is implemented in an object-oriented programming language. 3. The method of simulating multi-tasking under the simplex system described in the first item of the patent application, wherein the step of transferring control includes receiving information from peripheral devices. 4. The method for simulating multitasking tasks under the simplex system described in item 3 of the patent application, wherein the peripheral device may be a keyboard. 5. The method for simulating multi-tasking under the simplex system described in item 3 of the patent application, wherein the peripheral device may be a mouse. 6. The method for simulating multi-tasking under the simplex system described in item 3 of the patent application, wherein the step of transferring control includes taking out a node in the doubly-circulated linked list and using the programmatic setting of the node. Processes messages received from peripheral devices. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the notes on the back before filling this page) 7. The method of simulating multiple jobs under the simplex system described in the patent application item 3, in which the transfer of control rights The steps include storing messages received from the peripheral device. 8. The method for simulating multitasking tasks under the simplex system described in item 3 of the application patent, wherein another program is executed by a program represented by a node in the linked list, and the other program is not in a two-way circular linked list Node representation. 4 13 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 515998 A8 B8 C8 D8 々, patent application scope 9. Method of simulating multi-tasking industry under the simplex system described in item 3 of the patent application , Where the step of transferring control includes taking out the next node in the doubly circular linked list. 10. The method of simulating multiple jobs under the simplex system described in item 1 of the patent application, wherein the single job environment can be a DOS series operating ring of Microsoft Corporation 11. The simplex system described in item 1 of the patent application The method of simulating multi-tasking industry is described below. The multi-tasking environment can be a Windows operating environment of Microsoft Corporation. 12. As the method of simulating multi-tasking under the simplex system described in item 1 of the patent application, a 32-bit memory management program is used to increase the available memory space of the computer system. (Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs 14 This paper is in accordance with China National Standard (CNS) A4 (210X297)
TW87114097A 1998-08-26 1998-08-26 Method for simulating multiplex operations in simplex system TW515998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW87114097A TW515998B (en) 1998-08-26 1998-08-26 Method for simulating multiplex operations in simplex system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW87114097A TW515998B (en) 1998-08-26 1998-08-26 Method for simulating multiplex operations in simplex system

Publications (1)

Publication Number Publication Date
TW515998B true TW515998B (en) 2003-01-01

Family

ID=27801052

Family Applications (1)

Application Number Title Priority Date Filing Date
TW87114097A TW515998B (en) 1998-08-26 1998-08-26 Method for simulating multiplex operations in simplex system

Country Status (1)

Country Link
TW (1) TW515998B (en)

Similar Documents

Publication Publication Date Title
US5732271A (en) Data processing system and method for processing an object oriented development environment employing property inheritance using prototypical objects
US5892512A (en) Selection of operations in a computer system
JP3353812B2 (en) Computer system for displaying GUI and operation method
CA2037750C (en) Hierarchical inter-panel process flow control
US20050273729A1 (en) Information processor and file processing method
JPH0225919A (en) Window display
JP2009506465A (en) Method and computer-readable medium for commanding
WO1995017714A1 (en) Automatic hardware configuration
JPH09218771A (en) Context identification system
US20130219305A1 (en) User interface substitution
CN109725958A (en) The method and device that the file of resource manager management is handled
EP0628904A2 (en) Method of running two applications on a computer system
CN111625312A (en) APP skin changing method and device, electronic equipment and storage medium
Crease et al. A toolkit of mechanism and context independent widgets
US9524149B2 (en) Object property-value specification using pop-up graphical interfaces
EP1025489B1 (en) System to associate control with applications using drag and drop interface
EP0603095A2 (en) Method and apparatus for managing a windowing environment in an object oriented programming system
US7562305B2 (en) Dynamically-generated commanding interface
TW515998B (en) Method for simulating multiplex operations in simplex system
US5812129A (en) Method and system for accessing functions of a user interface environment from processes running outside of the user interface environment
JP4339376B2 (en) Object-oriented cursor tool
JPH07200233A (en) Graphic parts management device
Stille et al. An adaptive window management system
CA1340917C (en) Encapsulation of applications for inclusion within an object management facility environment
JPH01310430A (en) Data processor

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent