TWI234962B - Single-chip monitor and control server - Google Patents

Single-chip monitor and control server Download PDF

Info

Publication number
TWI234962B
TWI234962B TW92113155A TW92113155A TWI234962B TW I234962 B TWI234962 B TW I234962B TW 92113155 A TW92113155 A TW 92113155A TW 92113155 A TW92113155 A TW 92113155A TW I234962 B TWI234962 B TW I234962B
Authority
TW
Taiwan
Prior art keywords
program
server
chip
protocol
microcontroller
Prior art date
Application number
TW92113155A
Other languages
Chinese (zh)
Other versions
TW200425675A (en
Inventor
Chang-Huei Wu
Original Assignee
Chang-Huei Wu
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 Chang-Huei Wu filed Critical Chang-Huei Wu
Priority to TW92113155A priority Critical patent/TWI234962B/en
Publication of TW200425675A publication Critical patent/TW200425675A/en
Application granted granted Critical
Publication of TWI234962B publication Critical patent/TWI234962B/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The single-chip monitor and control server utilizes a microcontroller bundled with a network chip and is characterized by which the microcontroller comprises a firmware containing a server program and a firmware burning program; the server program consists of a hypertext transmission protocol/transmission control protocol/internet protocol (HTTP/TCP/IP), a dynamic link file, a network transmission encryption program and a password privilege management program. The server software application program written by user goes through the said dynamic link file and server program to change data and further goes through Internet to provide services required by remote user.

Description

\!Μί3β% r^i, 92113155____^ 修正 曰 月 五:^ϋ⑴ . 【發明所屬之技術領域】 本發明係一種單晶片監控伺服器,主要係利用一單晶 片微控制器作為一網際網路動態監控伺服器,藉其可遠距 離雙向數據及指令傳輸之功能,可應用於遠端監控或資料 蒐集’亦可應用於需嵌入式伺服器之儀器設備。 【先前技術】 今天人們生活在一個資訊時代,網際網路 (Internet )技術已經走進了人們的工作和生活中,網上 瀏覽資訊,藉由電子郵件交換訊息,及文件傳輸等,讓人 們感覺到交換資訊變得容易而簡單,所以Internet已經成 為目前資訊社會中彳艮重要的組成部分。 、但,目前為止Internet技術主要還是運用在人與人 (或團體)之間資訊的交流。例如電子郵件(_丨1 )、 網頁(Webpage)瀏覽等,即使是““^以技術的♦進一步 應用,例如電子商務(e-business ),也僅僅停留在企業 與企業或與個人在商務方面的資訊交換上。如是,在很^ 程度上限制了人們從其他領域去獲得與人們工作和生活密 =目2的重要資訊。例如從一些電子設備中 控制它們。 一歧爰是,使用者的應用已經越來越集中到曰常生活中的 二些f t設備上,例如移動電話、汽車、自動售貨機、電 2=安系統、醫療監護設備等;這些電子設備都有一些 二二肪特點,即内部都有嵌入式微控制器,它能夠提供一 疋、務和控制功能,能夠獲取、利用一些資訊等,且可\! Μί3β% r ^ i, 92113155 ____ ^ Modified January 5th: ^ ϋ⑴. [Technical field to which the invention belongs] The present invention is a single-chip monitoring server, which mainly uses a single-chip microcontroller as an Internet dynamic The monitoring server can be used for remote monitoring or data collection through its function of long-distance bidirectional data and command transmission. It can also be used for instruments and equipment that require an embedded server. [Previous technology] Today people live in an information age. Internet technology has entered people's work and life, browsing information online, exchanging information through email, and file transfer, etc., to make people feel It is easy and simple to exchange information, so the Internet has become an important part of the current information society. However, until now, Internet technology has mainly been used for information exchange between people (or groups). For example, e-mail (_ 丨 1), webpage (Webpage) browsing, etc., even if "" ^ further application of technology, such as e-business, only stay in the business with enterprises or with individuals in business Information exchange. If so, it restricts people from other fields to obtain important information that is closely related to people's work and life. They are controlled, for example, from some electronic equipment. One disagreement is that users' applications have been increasingly concentrated on two ft devices in daily life, such as mobile phones, cars, vending machines, electrical 2 = security systems, medical monitoring equipment, etc .; these electronic devices They all have some features, that is, they have an embedded microcontroller, which can provide functions, services, and control functions, and can obtain and use some information.

urnurn

第4頁 五、發明說明 …蒙號 ⑵ 92113155 曰 修正 使這些電子設備與丨n t e r n e t連接起來,以便人們能夠遠端 獲得這些電子設備的資訊並控制它們的運行。 由於微控制器本身就是一顆小型的微處理器,内建記 憶體及控制程式,小小一顆晶片就能提升產品的附加價格 j所以微控制器一直是系統設計及自動控制業界所鍾愛的 架構之一;因為,它體積雖小,但卻蘊藏著無數的技術、 應用、知識及商機。 過去透過專用通信線在遠方現場設備的資料採集,進 行遠方顯示和控制之技術也並不是沒有,只是其缺點在於Page 4 V. Description of the invention… mongolian ⑵ 92113155 said to amend these electronic devices with n t e r n e t so that people can remotely obtain information about these electronic devices and control their operation. Because the microcontroller itself is a small microprocessor, with built-in memory and control programs, a small chip can increase the additional price of the product. Therefore, the microcontroller has always been a favorite in the system design and automatic control industry. One of the architectures; because of its small size, it contains countless technologies, applications, knowledge, and business opportunities. In the past, data collection from remote field devices through dedicated communication lines, and remote display and control technology are not without, but the disadvantage is that

該通信介質要專用的,通信協定要自己寫,配套的軟體和 硬體要自己設計。The communication medium should be dedicated, the communication protocols should be written by themselves, and the supporting software and hardware should be designed by themselves.

現今’嵌入式設備的遠方顯示和控制只要能上網,其 上述習知缺點就可迎刃而解了,而且水平很高,不需要專 用的通信線路;因為,現成的全球網路基礎建設以可任你 隔山跨海傳到天涯海角,速度之快足令人目瞪口呆,加上 網際網路通訊協定是現成而公開的,任何一種網頁 (Web )瀏覽器都可以與之連接監視,大到丨〇百萬位元 (Mbyte )的完備桌面瀏覽器,小到6〇〇千位元組 (kbyte )的馬赛克(Mosaic )瀏覽器,也無論是微軟 (Microsoft)的瀏覽器還是網景(Netscape)瀏覽器都 行;資訊直接反映在色彩豐富的網頁上,形式可以是資 料、文字、圖像、表格或語音,即時資料會自動更新,'設 備的操作會有及時可見乃至可聞的反饋。 但是’嵌入式設備又是如何接入I n t e r n e t呢?原則上As long as the remote display and control of 'embedded devices can access the Internet, its conventional shortcomings can be solved, and the level is very high, and no dedicated communication line is needed; because the existing global network infrastructure can be separated from you Spread across the sea to the ends of the earth, the speed is astonishing, coupled with the Internet protocol is readily available and open, any web browser can be connected to monitor, up to 丨 0 million bits ( Mbyte) complete desktop browser, as small as 6,000 kilobytes (kbyte) Mosaic browser, whether it is Microsoft browser or Netscape browser; information Directly reflected on colorful web pages, the form can be data, text, images, tables or voice, real-time data will be automatically updated, 'the operation of the device will have timely visible and even audible feedback. But how do ’embedded devices access I n t e r n e t? In principle

獍 92113155 年月曰 修正 —I、 講,嵌入式設備只要轉變為Web伺服器,再加上傳輸控制 通訊協定/網際網路通訊協定(Transmission Control Protocol/Internet Protocol ; TCP/IP)網路協定就可以 上I n t e r n e t。原則是一個,具體實現的技術有多種樣。習 知之解決方案,有如下之方法; 1、 利用高權微處理器(Micro Processor Unit ; Μ P U )上的系統,例如0 s i c o m公司研發了 N E T + A R Μ的系統級 晶片要算是最正統的方案了。它是使用精簡指令集運算 (Reduced Instruction Set Computing ; RISC)技術中 處理速度40MIPS (Million Instruction Per Second ; 每秒百萬指令)的美商安謀(Arm) A RM 7之智慧財權架構的 微處理器(micrcore),加上乙太網路(Ethernet);使用下 列網路協定··傳輸控制協定(TCP)、用戶資料報協定 (UDP)、反向位址轉換協定(RARP)、網際控制報文協定 (ICMP);還有下列關於Internet網的高層軟體協定:超文 件傳輸協定(HTTP)、簡單郵件傳輸協定(SMTP)、文件傳 輸協定(FTP);再包括即時操作系統(pS〇SRTOS, IntegratedSystem公司的作業系統)等組成的單晶片系統 (System on a Chip ;S0C) 〇 舉例來說,上述SOC嵌入一台印表機就可以上網成為 網上印表機,使Internet網上的任何一個客戶機都可以用 各自的劉覽器在網頁上使用、監視和控制這台印表機。 2、 利用32/ 64位元的嵌入式單晶片微控制器系統,它 有足夠的能力和資源按上述soc —樣的思路,在作業系統b獍 Amended in January, 199213155—I. As long as the embedded device is transformed into a Web server, plus the Transmission Control Protocol / Internet Protocol (TCP / IP) network protocol, You can go to Internet. The principle is one, and there are many different technologies. The conventional solution has the following methods: 1. Utilize the system on the Micro Processor Unit (MPU), for example, the system-level chip developed by sicom company NET + AR M is the most orthodox solution. Already. It is the micro-processing of the smart property rights architecture of Arm A RM 7 using Reduced Instruction Set Computing (RISC) technology with a processing speed of 40 MIPS (Million Instruction Per Second; Millions of instructions per second). Device (micrcore), plus Ethernet (Ethernet); use the following network protocols · Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Reverse Address Translation Protocol (RARP), Internet Control Report Protocol (ICMP); the following high-level software protocols on the Internet: Hyper File Transfer Protocol (HTTP), Simple Mail Transfer Protocol (SMTP), File Transfer Protocol (FTP); and then includes the real-time operating system (pSOSRTOS, Integrated system (System on a Chip; S0C) composed of integrated system company's operating system. For example, when the above SOC is embedded into a printer, it can be connected to the Internet to become an online printer, making any Internet Clients can use this printer to monitor, control and control the printer on their web pages. 2. Using 32 / 64-bit embedded single-chip microcontroller system, it has sufficient capabilities and resources to follow the above-mentioned soc-like thinking in operating system b.

第6頁 1234962Page 6 1234962

和函數的支援下毫不費力地實現。 3、8/ 1 6位元的嵌入式單晶片微控制器系統,實現的 原則與上述並無不同,只是應當照顧到8/丨6位元系統速度 不夠快和記憶體不夠大,要想一些辦法實現簡化和保持最 基本的東西,即嵌入式設備一定要轉變為Web伺服器,一 定要加上T C P / I P網路協定。Implemented effortlessly with the support of the sum function. 3, 8 / 16-bit embedded single-chip microcontroller system, the principle of implementation is not different from the above, but should take care that the 8 / 丨 6-bit system is not fast enough and the memory is not large enough, think about some The method is to simplify and keep the most basic things, that is, the embedded device must be transformed into a web server, and the TCP / IP network protocol must be added.

但是,上述利用嵌入式單晶片微控制器系統接入 Internet的技術難點是:如何利用微控制器本身有限的 源對資訊進行Tcp/iKm定處理,使之變成可以在Intern ^ 上傳輸的IP資料包。目前,解決這個問題有兩種方案:一 種疋個人電腦(pers〇nal c〇mputer ;pc)閘道+專用 、、罔,另種疋32位微控制器(Microcontrol ler ; MCU ) + 及時作業系統(Real-Time OS ; RT0S)。However, the technical difficulties of using the embedded single-chip microcontroller system to access the Internet described above are: how to use the limited source of the microcontroller itself to perform Tcp / iKm fixed processing on the information to make it into IP data that can be transmitted on Intern ^ package. At present, there are two schemes to solve this problem: one is a personal computer (pers〇nal c〇mputer; pc) gateway + dedicated, 罔, the other is a 32-bit microcontroller (Microcontroller; MCU) + timely operation system (Real-Time OS; RT0S).

PC閘道+專用網方案是採用專用網路(如RS232, RS485 ’ CAN Bus等)把一小批單晶片微控制器系統連 一起,然後再將專用網路接到一台pc上。這台pc具有 的作用,將專用網路上的資訊轉換為Ηττρ協定資料包,= 後發到網上貫現資訊共享。這個方案可以連接多種單片、 機,但存在以下缺點:它依賴PC機作為閘道進行協定輟 換’在多個單片機系統分散的情況下,專用網路佈 不便;需要在PC機上安裝專門的協定轉換軟體,而二 體通常是由第三方軟體商提供,費用較高。 一人 ,在統The PC gateway + private network solution uses a private network (such as RS232, RS485 ′ CAN Bus, etc.) to connect a small batch of single-chip microcontroller systems together, and then connects the private network to a pc. This pc has the function of converting the information on the private network into a Ηττρ agreement data packet, and then sending it to the online persistent information sharing. This solution can connect a variety of single-chip computers, but it has the following disadvantages: it relies on the PC as a gateway for protocol swapping. In the case of multiple single-chip computer systems, the private network is inconvenient to deploy; Protocol conversion software, and the second body is usually provided by a third-party software vendor at a higher cost. One person

I/P的協定處理;由於採用高檔單片機,這個方案可以 ,開‘ ί ί ί功能。它的缺點& :高檔單片機價格較高 開發周j較長’並且需要購買昂貴的RT0S開發軟體,且 : 人在"又计時亦必須同時考慮網際網路之通訊協定等規 2 :增加應用程式開發的複雜度,對開發人員的開發能力 要求較高。 』奴月匕刀 【發明内容】 务羑疋本發明之主要目的,在於解決上述之缺失,避I / P agreement processing; thanks to the use of high-end single-chip microcomputers, this solution can open the function of ‘ί ί ί. Its shortcomings: high-end microcontrollers are more expensive, development weeks are longer, and expensive RT0S development software needs to be purchased, and: when people are quoting, they must also consider the Internet protocol and other regulations at the same time 2: increase The complexity of application development requires higher development capabilities of developers. "Slave Moon Dagger" [Summary of the Invention] The main purpose of the present invention is to solve the above-mentioned shortcomings and avoid

i曰、,的存在,本發明係在一簡易架構下,藉由一 8位元 =之^體程式包括一 HTTP/TCP/IP通訊協定與一動態 f ^ 匕括一網路傳輸加密程式、一密碼權限管 捻::’所以使用者只需注重編輯撰寫監控時所需之指令 ^ 2動態網頁,製作伺服器所需之軟體應用程式即可, :土辦""於HTTP/TCP/llP等通訊協定與加密權限管理等基 呢靭體程式。 人一,發明之單晶片監控伺服器,係利用一微控制器,I said that, the present invention is based on a simple architecture. An 8-bit program includes an HTTP / TCP / IP communication protocol and a dynamic f ^ encryption program, a network transmission encryption program, A password authority control :: 'So the user only needs to pay attention to editing the instructions required for writing and monitoring ^ 2 dynamic web pages, software applications required to make the server,: Home Office " " on HTTP / TCP Communication protocols such as / llP and encryption firmware management. One, the invention of a single-chip monitoring server, using a microcontroller,

:、、罔,晶片;其特徵在於,該微控制器係一包括一韌 ;^钤!亥韌體程式包含了一伺服器程式及一韌體燒錄程 協二/司服态程式係包括一超文件傳輸協定/傳輸控制通 ^疋/網際網路通訊協定(HTTP/TCP/IP )、一動態連, :撰宜網路傳輸加密程式、一密碼權限管理程式,由使 伺服器軟體應用程式透過上述動態連結樓與韋刃: 需的服:換貪汛數ί,進而透過網際網路提供遠端用戶; 、 同時藉由该韌體燒錄程式讓使用者不需透j: ,, 罔, chip; characterized in that the microcontroller system includes a firmware; ^ 亥! Hai firmware program includes a server program and a firmware programming process XII / Division service program includes A super file transfer protocol / transmission control protocol / Internet protocol (HTTP / TCP / IP), a dynamic link, a write network encryption program, a password authority management program, and the server software application The program uses the above dynamic link between the building and the blade: the required service: change the number of corruption, and then provide remote users through the Internet; at the same time, the firmware is used to prevent users from passing through the j

第8頁 案號 92113155 ±_^日 修」 五、發明說明(6) 燒錄器,直接將軟體應用程式自體燒錄於微控制器内。 【實施方式】 茲有關本發明之詳細内容及技術說明,現配合圖式說 明如下: 請參閱「第1圖所示」’係本發明之裝置示意圖。如 圖所示:本發明之單晶片監控伺服器,本發明係指一單晶 片伺服器1 0,而該單晶片伺服器1 〇之裝置係包括一電路板 15,一置於上述電路板之微控制器丨丨,一置於上述電路板 1 5之網路晶片1 2,一置於上述電路板1 5用以連接網際網路 之連接介面1 3,一置於上述電路板丨5用以外接及傳送外接 儀器成息之訊息介面1 4,其特徵在於,該微控制写1 1係一 包括一初體程式,而该初體程式包含了 一伺服5|程式及^ 動體燒錄程式;而該伺服器程式係包括一超文ϋ ^協 定/傳輸控制通訊協定/網際網路通訊協定 (HTTP/TCP / I P )等網路通訊規範、一密碼權限管理程 與一動態連結檔;而該動態連結檔係包含一網路傳輸^ 〇 山 * Ύ 士產PIC18F全系列。而,該電路板15上係可設置| 式燒錄器(In - Chip-Programmer)(圖中夫干、 心王 ^微控制以之㈣㈣㈣,讓使用/;y透配合上 器,即可機動性的直體燒錄設定該微控之=二 :程式,以及由使用者撰寫的飼服器應用軟體肩 接介面13係為一般配合網路線接頭之網路連接介面:=Page 8 Case No. 92113155 ± _ ^ Day Repair "V. Description of the invention (6) The writer directly burns the software application program itself into the microcontroller. [Embodiment] The detailed content and technical description of the present invention are described below with reference to the drawings: Please refer to "shown in Fig. 1" which is a schematic diagram of the device of the present invention. As shown in the figure: the single-chip monitoring server of the present invention refers to a single-chip server 10, and the device of the single-chip server 10 includes a circuit board 15 and a circuit board 15 Microcontroller 丨 One network chip 12 placed on the circuit board 15 above, One connection interface 13 placed on the circuit board 15 used to connect to the Internet, and one placed on the circuit board 5 The message interface 1 4 which uses external and transmitting external instruments to generate information is characterized in that the micro-control write 1 1 includes a prototyping program, and the prototyping program includes a servo 5 | program and a moving body programming. Program; and the server program includes a network protocol such as a hypertext protocol / transmission control protocol / Internet protocol (HTTP / TCP / IP), a password authority management process, and a dynamic link file; The dynamic link file contains a network transmission ^ 〇 山 * Ύ full-scale PIC18F series. In addition, the circuit board 15 can be provided with an In- Chip-Programmer (in the figure, the husband and the heart ^ micro-control is used to let /; y through the upper device, you can maneuver The straight-line burning setting of the micro control = 2: program, and the shoulder interface 13 of the feeder application software written by the user is a network connection interface with a general network cable connector: =

第9頁 1234962 ί多正 童-號 921131 %Page 9 1234962 ί Duzheng Tong-No. 921131%

五、發明說明(7) 該訊息介面U係可為序料、似匯流排㈤e卜 ;ntegrated Circuit Bus)或串列周 Penphew Interface ;spi)等可連接外在之設^。 又,忒電路板上係可設置一可消* (E E P R Ο Μ ) Γ圄Φ去-、t 、了私式唯頃記憶體 UMKUM)(圖中未不)與微控制器連接, 儲存裝置,可存放高容量之_頁資 3 、貝7斗 資料之儲存裝置。…頁貝科或為外部擴充的相關 ㈣ί其破Ϊ伺服器程式係包括一超文件傳輸協定/傳輸 控制通Λ協定/網際網路通訊協定(HTTp/Tcp/i Ϊ ί 2 : 一密碼權限管理程式與一動態連結檔;而該動 二^ π檔係包含一網路傳輸加密程式。爰是,使用者只兩 設定該單晶片伺服器之網際網路通訊協定(丨ρ )位址了二 路卡號(MAC address),即可專心且簡單的設計一網路首 頁引用上述之伺服器應用程式,該可擁有一具有使用者之 密碼權限管理程式與網路傳輸加密程式之網際網路動熊於 控伺服器。 心凰 請同時參閱「第2 -1、2 - 2圖所示」,係本發明之作動 流程示意圖。如圖所示:本發明之單晶片監控伺服器主要 作動流程為先開始20本發明裝置之準備動作,先進1燒錄 程式2 1確認該微控制器11是否須重設内部參數,如需^即 進入本發明之燒錄模式211再進入MAC/IP錯誤22判斷,如 不需要則直接進MAC/IP錯誤22判斷,如MAC/IP之參數錯誤 即進M AC/IP設定221程式,如無錯誤就進入使用者設定 23,如使用者需設定亦進入MAC/IP設定221程式;V. Description of the invention (7) The message interface U can be a sequence material, an integrated circuit bus (e.g., an integrated circuit bus) or a serial penpenw interface (spi), etc., which can be connected to an external device ^. In addition, an erasable * (EEPR Ο Μ) Γ 圄 Φ to-, t, and private private memory UMKUM (not shown in the figure) can be set on the circuit board, and connected to the microcontroller, the storage device, It can store high-capacity _page data 3, bay 7 bucket data storage device. … Page Beco or related external extensions. Its broken server program includes a Hyper File Transfer Protocol / Transmission Control Protocol / Internet Protocol (HTTp / Tcp / i Ϊ 2): a password authority management The program and a dynamic link file; and the moving second ^ π file contains a network transmission encryption program. Yes, the user only sets the Internet protocol (丨 ρ) address of the single-chip server by two MAC address, you can concentrate and simply design a network homepage that references the above server application, which can have an Internet bear with a user's password authority management program and network transmission encryption program The server is controlled. Please refer to "Figures 2-1, 2-2" at the same time, which is a schematic diagram of the operation flow of the present invention. As shown in the figure: the main operation flow of the single-chip monitoring server of the present invention is first Started the preparation operation of the device of the present invention 20, advanced 1 programming program 2 1 confirm whether the microcontroller 11 needs to reset internal parameters, if necessary, enter the programming mode 211 of the present invention and then enter the MAC / IP error 22 judgment, If not needed Then enter the MAC / IP error 22 directly. If the MAC / IP parameters are incorrect, enter the M AC / IP setting 221 program. If there are no errors, enter the user setting 23. If the user needs to set, enter the MAC / IP setting 221 program. ;

針對上述如MAC/IP錯誤24還是存在本裝置即進入停止 241程式’如MAC/IP參數設定無誤即進入輸入MAC/Ip設定 25f式’再進入周邊參數設定26程式,再進入超文件傳輸 協定程式27,再進入遠端使用者控制28需求確認,如為需 要則進入遠端控制指令281程式庫;如不需要遠端使用者 控制2 8需求確認’或已確認遠端控制指令2 81,再進入遠 = >料需求2 9確認程式,如遠端有資料需求則進入收集資 料291程式,將所收到的數據以送出Ηττρ檔至Internet3〇 之方式對遠端使用者送出。In response to the above, if the MAC / IP error 24 or the device is still present, it will enter the stop 241 program 'If the MAC / IP parameter setting is correct, enter the MAC / Ip setting 25f type', then enter the peripheral parameter setting 26 program, and then enter the super file transfer protocol program 27, then enter the remote user control 28 to confirm the demand, if it is needed, enter the remote control command 281 library; if remote user control is not required 2 8 demand confirmation 'or the remote control command 2 81 is confirmed, then Enter far = > material requirements 2 9 confirm the program, if there is a data request at the remote end, enter the data collection 291 program, and send the received data to the remote user by sending Ηττρ file to the Internet30.

請參閱「第3圖所示」,係本發明之連線應用示意 圖’如圖所示:本發明之單晶片監控伺服器,本發明係指 一單晶片伺服器1 〇,而該單晶片伺服器i 〇之裝置係包括一 電路板15,一置於上述電路板之微控制器丨丨,一置於上述 電路板1 5之網路晶片1 2,一置於上述電路板1 5用以連接網 際網路之連接介面1 3,一置於上述電路板1 5用以外接及傳 送外接儀器訊息之訊息介面1 4 ;其特徵在於,該微控制器 11係包括一韌體程式,而該韌體程式包含了 一伺服器程式 及一韌體燒錄程式。利用上述之訊息介面1 4與外接之儀器 5 〇連接監控,該儀器5 〇之數目視該微控制器11之規格,而 可有複數個儀器50之連接監控。 一網路裝置6 0與該連接介面1 3連接,因為該單晶片伺 服器10之微控制器11具有HTTP/TCP/IP通訊協定,所以在 該單晶片伺服器1 〇有I p位址後,透過該網路裝置6 〇與Please refer to “shown in FIG. 3”, which is a schematic diagram of the connection application of the present invention 'as shown in the figure: the single-chip monitoring server of the present invention, the present invention refers to a single-chip server 10, and the single-chip server The device of the device i 〇 includes a circuit board 15, a microcontroller placed on the above-mentioned circuit board 丨 丨, a network chip 12 placed on the above-mentioned circuit board 15, and a placement on the above-mentioned circuit board 15 for A connection interface 13 for connecting to the Internet, and a message interface 14 placed on the above-mentioned circuit board 15 for external connection and transmission of external instrument information; characterized in that the microcontroller 11 includes a firmware program, and the The firmware program includes a server program and a firmware programming program. Utilize the above-mentioned information interface 14 to monitor the connection with an external instrument 50. The number of the instrument 50 depends on the specifications of the microcontroller 11, and there may be a plurality of instruments 50 connected for monitoring. A network device 60 is connected to the connection interface 13 because the microcontroller 11 of the single-chip server 10 has the HTTP / TCP / IP communication protocol, so after the single-chip server 10 has an IP address Through the network device 6 〇 and

Internet連接,使遠端顯示7〇透過該具連上internet功能Internet connection to enable remote display 70 to connect to the Internet through this device

----------------------------------- L·^ 92113155----------------------------------- L · ^ 92113155

1234962 玉、發明說明(9 ) 之顯示工具(例如各廠牌之Μ器)、或透過該遠 上之執行程式,經由該透過單晶片词服器1〇如上述之^ 流程示意圖’對需監控之儀器50所送出之訊號做 當然該訊號數據亦可利用一外掛程式使之 I貝 ==0之使用者亦可由該顯示工具或執行程式,透: i:;:i Γ對所需監控之儀器50送出使用者所ί; 制^戒’以控制上述儀器50之狀態。 吓而之 發明本發明之較佳實施例而已,並非用來限定太 % 變化盥於=乾圍。即凡依本發明申請專利範圍所做的均笑 飾’皆為本發明專利範圍所涵蓋。 辱1234962 jade, display tool of invention description (9) (such as the maker of each brand), or through the remote execution program, through the single-chip word server 10, as shown in the above ^ flow diagram 'monitoring needs The signal sent by the instrument 50 is made of course. The signal data can also be used by a plug-in program to make I == 0. The user can also use the display tool or execute the program. Through: i:;: i Γ The instrument 50 sends out the user's system; ^ or 'to control the state of the above-mentioned instrument 50. It is a scary invention of the preferred embodiment of the present invention, and is not intended to limit too much variation. That is, all smiles made according to the scope of patent application of the present invention are covered by the scope of patent of the present invention. disgrace

第12頁 jm 案號 92113155 A_η 修正 圖式簡單說明 【圖式簡單說明】 第1圖,係本發明之裝置示意圖。 第2 - 1、2 - 2圖,係本發明之作動流程示意圖 第3圖,係本發明之連線應用示意圖。 10 11 12 13 14 15 20 21 211 22 221 23 24 241 25 26 27 28 281 29 單晶片伺服器·· · 微控制器..... 網路晶片..... 連接介面..... 訊息介面..... 電路板...... 開始....... 燒錄程式..... 燒錄模式..... MAC/IP 錯誤·· · · MAC/IP 設定·· · · 使用者設定· · · · MAC/IP 錯誤·· · · 停止....... 輸入MAC/IP設定· · 周邊參數設定·· · 超文件傳輸協定程式 遠端使用者控制·· 遠端控制指令·· · 遠端資料需求·· ·Page 12 jm Case No. 92113155 A_η amendment Simple illustration of the drawing [Simplified illustration of the drawing] Fig. 1 is a schematic diagram of the device of the present invention. Figures 2-1 and 2-2 are schematic diagrams of the operation flow of the present invention. Figure 3 is a schematic diagram of the connection application of the present invention. 10 11 12 13 14 15 20 21 211 22 221 23 24 241 25 26 27 28 281 29 Single-chip server ... Microcontroller ... Network chip ... Connection interface ... Message interface ... Circuit board ... Start ... Burning program ... Burning mode ... MAC / IP error ... MAC / IP Settings ... User Settings ... MAC / IP Error ... Stop ... Enter MAC / IP Settings ... Peripheral Parameter Settings ... Control ... Remote control instructions ... Remote data requirements ...

第13頁 1234962Page 13 1234962

第14頁Page 14

Claims (1)

1234962 见 ^ 案號 9211315^ -年月 六、申請專利範圍 1、 一種單晶片監控伺服器,尤指一種 f控伺服器,該單晶片伺服器之系統係包括:不―"^路動態 器,一網路晶片;一用以連接網際網路之連八u控制 以外接及傳送外接儀器訊息之訊息介面,其1,,一用 該微控制器係包括一韌體程式,該韌體程 ' 勺八於· 伺服器程式及一韌體燒錄程式; 工L 3 了一 又,該㈣器程式係包括一超文件傳輸協定/ 通訊協定/網際網路通訊協定(HTTp/Tcp/I 工制 通訊規範、一密碼權限管理程式與一動態連結檔;’、、、路 該伺服器程式先判斷是否須重設定網路曰w 日日/7 <硬體位 址以及網址,待設定完成之後,藉由網際網路傳送而 封包,透過该動態連結檔之程式規範與伺服器程式變換資 訊數據,便依據各通訊協定、密碼權限管理程式,於接二 到封包後判斷是否執行使用者端之指令; ' 而’ ΤΪ亥動體燒錄私式精由微控制器之判斷腳位決定是 否執行韌體燒錄程式,可直接將軟體應用程式自體燒錄I於 微控制器内。 A ' ' 2、 如申請專利範圍第1項所述之單晶片監控伺服器, 其中,該微控制器係為一 8位元之微控制器。 3、 如申請專利範圍第1項所述之單晶片監控伺服器, 其中’該網路晶片係為一具超文件傳輸協定//傳輸控制通 訊協定/網際網路通訊協定(HTTP/TCP/IP)規格之網路晶 片。 4、 如申請專利範圍第1項所述之單晶片監控伺服器,1234962 See ^ Case No. 9211315 ^-June 6, application for patent scope 1. A single-chip monitoring server, especially an f-control server, the system of the single-chip server includes: not "" ^ 路 动 器, A network chip; a connection interface for connecting to the Internet to connect and control the external interface and transmit external instrument information; 1, the use of the microcontroller system includes a firmware program, the firmware program 'The server program and a firmware programming program; the L 3 is a program again and again, the server program includes a hyper file transfer protocol / communication protocol / Internet protocol (HTTp / Tcp / I process Communication rules, a password authority management program, and a dynamic link file; ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, The server program to determine whether to reset the network or day / 7 < hardware address and URL The packet is transmitted through the Internet, and the information specification is changed by the program specification of the dynamic link file and the server program. Then, according to each communication protocol and password authority management program, it is determined whether to execute the application after receiving the packet. User-side instructions; 'And' ΤΪ 海 moving private programming is determined by the microcontroller's judgment pin to determine whether to execute the firmware programming program, and the software application can be directly programmed into the microcontroller. A '' 2. The single-chip monitoring server as described in item 1 of the patent application scope, wherein the microcontroller is an 8-bit microcontroller. 3. As the item 1 in the patent application scope The single chip monitoring server described above, wherein the network chip is a network chip with a super document transfer protocol // transmission control protocol / Internet protocol (HTTP / TCP / IP) specification. 4. Such as The single-chip monitoring server described in item 1 of the patent application scope, 第15頁 、申請專利範圍 ---- 其中,該系統可設置一應用程式燒錄器,^^ 器内之韌體燒錄程式,用以燒錄設定微控=上2微控制 與網際網路之相關設定。 益所需之裎式 5、 如申請專利範圍第丨項所述之單晶 其中,該連接介面係為配合網路線二伺服器, 6、 如申請專利範圍第i項所述==接介面。 其中,該訊息介面係可為序列埠、丨 曰厂,伺服态, τ , , Γ . · ^ 、 儿匯流排(I n t e Γ — Integrated Clrcuit ^幻或串列周邊介面 Peripheral Interface ; SPI) 〇 立φ 7、::Λ專Λ範圍第1項所述之單晶片監控伺服器, 八中動九連、、、“ι係包含—網路傳輪加密程式。 8、如申請專利範圍第1項所+、 σσ 其中,該系統係設置一可消除二早晶片監控伺服器, ^ ^ η ^ '4 μ ^ 自除Τ耘式唯讀記憶體(EEPROM )與斂控制裔連接,精以擴充資Page 15 、 Scope of patent application ---- Among them, the system can be set with an application burner, ^^ firmware firmware burner in the device, used to burn settings Microcontrol = 2 microcontrol and Internet Road related settings. The required formula 5. The single crystal as described in item 丨 of the scope of patent application Wherein, the connection interface is to match the server of the network line 2. 6. As described in item i of the scope of patent application == interface. Among them, the message interface can be a serial port, a factory, a servo state, τ,, Γ. · ^, A child bus (I nte Γ — Integrated Clrcuit ^ Magic or serial peripheral interface Peripheral Interface; SPI) 〇 standing φ7 :: The single-chip monitoring server described in item 1 of the range of Λ, 中, Nine Links,…, “ι” includes-network transfer encryption program. 8, such as the scope of patent application item 1 So, σσ Among them, the system is equipped with a server that can eliminate the early two chips. ^ ^ Η ^ '4 μ ^ The EEPROM is connected to the control controller, which is used to expand resources. 第16頁Page 16
TW92113155A 2003-05-14 2003-05-14 Single-chip monitor and control server TWI234962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92113155A TWI234962B (en) 2003-05-14 2003-05-14 Single-chip monitor and control server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92113155A TWI234962B (en) 2003-05-14 2003-05-14 Single-chip monitor and control server

Publications (2)

Publication Number Publication Date
TW200425675A TW200425675A (en) 2004-11-16
TWI234962B true TWI234962B (en) 2005-06-21

Family

ID=36598005

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92113155A TWI234962B (en) 2003-05-14 2003-05-14 Single-chip monitor and control server

Country Status (1)

Country Link
TW (1) TWI234962B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016140003A (en) * 2015-01-29 2016-08-04 アズビル株式会社 Field equipment

Also Published As

Publication number Publication date
TW200425675A (en) 2004-11-16

Similar Documents

Publication Publication Date Title
CN103092602B (en) software development kit
Guan et al. Design and implementation of an embedded web server based on ARM
CN102449627B (en) Automated content submission to a share site
Ramon et al. Intel galileo and intel galileo gen 2
TWI234962B (en) Single-chip monitor and control server
CN104360983B (en) The Web network and singlechip computer of a kind of compatible HTML5
TW201344605A (en) Method of using single portal to automatically generate listing service and application program
KR20110094874A (en) System and method for manufacturing electronic book
CN101917476B (en) Hyper text transmission protocol (HTTP) message processing method and client system thereof
Bitterli Building a Private Ethereum Blockchain in a Box
CN206039500U (en) Multi -user's real -time network simulation system
Ali et al. TinyPC: enabling low-cost internet access in developing regions
CN110401586A (en) A kind of bus communication, device, equipment and readable storage medium storing program for executing
CN1456973A (en) Single-chip monitering server
Aberomand A Proposed Approach for Web Server Placement Implementation in ARM
Guan et al. Rapid development of IoT applications with TinyLink
JP6860109B1 (en) Brokerage servers, trading systems, brokerage methods, and programs
JP6860108B1 (en) Brokerage servers, trading systems, brokerage methods, and programs
KR100967545B1 (en) management system for online mini-shop
Drăgan et al. Local Monitoring/Recording and Display Device for Power Electricity Meter, using IEC 62056–21 Local AMR application device, hardware solution, for DLMS-COSEM based Power Meters
Delic et al. BO22EB-03-AMS HAN TO WI-FI MQTT INTERFACE WITH DISPLAY AND MOBILE APPLICATION
TWI564731B (en) Property management method and property management system and machine using the same
Shashidhar GSM based Electronic Notice Board
TW466413B (en) Data connecting method and device between computers
Potter et al. OPeNDAP Server4: Buidling a High-Performance Server for the DAP by Leveraging Existing Software

Legal Events

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