TW201818238A - Monitoring program generating system and method thereof - Google Patents
Monitoring program generating system and method thereof Download PDFInfo
- Publication number
- TW201818238A TW201818238A TW105135481A TW105135481A TW201818238A TW 201818238 A TW201818238 A TW 201818238A TW 105135481 A TW105135481 A TW 105135481A TW 105135481 A TW105135481 A TW 105135481A TW 201818238 A TW201818238 A TW 201818238A
- Authority
- TW
- Taiwan
- Prior art keywords
- monitoring
- monitoring program
- program
- module
- condition
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012544 monitoring process Methods 0.000 claims abstract description 161
- 238000006243 chemical reaction Methods 0.000 claims abstract description 19
- 238000004891 communication Methods 0.000 claims description 7
- 238000011161 development Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本發明係有關於一種監控程式產生系統及其產生方法,尤其是指一種將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落之監控程式產生系統及其產生方法。The invention relates to a monitoring program generating system and a generating method thereof, in particular to a monitoring program generating system for converting a monitoring condition corresponding to a monitoring parameter into a monitoring program segment corresponding to a monitoring condition and a generating method thereof.
一般而言,實務上在監控如風扇或是其他工作機台的方式中,係以一監控系統進行監控,而監控系統中一般係由業者端來提供,且監控系統的韌體一般係以一程式語言(Hard Code)來執行,而客戶端在針對各風扇或是工作機台的控制方式時,需要提供業者端的開發團隊上述相關資訊,藉以開發出可執行上述功能的監控程式。Generally speaking, in the way of monitoring such as a fan or other working machine, the monitoring system is monitored by a monitoring system, and the monitoring system is generally provided by the operator, and the firmware of the monitoring system is generally The program is executed by the Hard Code. When the client controls the fan or the work machine, it needs to provide the relevant information of the developer's development team to develop a monitoring program that can perform the above functions.
現有開發方式中,客戶端係將一監控條件填入一表格中,以供開發團隊依據表格之內容編譯上述監控程式中的監控程式段落。其中,雖然客戶可以自定義上述表格的內容,但現有技術中,仍需以上述監控程式的規則存在韌體中,因而在開發的過程中,若有計算流程更動,客戶端必須透過開發團隊的配合修改,甚至在修改過程會因為相關問題而必須持續溝通,耗費雙方許多人力與時間。In the existing development method, the client fills a monitoring condition into a form for the development team to compile the monitoring program paragraph in the above monitoring program according to the contents of the table. Among them, although the customer can customize the content of the above table, in the prior art, the firmware of the above-mentioned monitoring program still needs to exist in the firmware. Therefore, in the process of development, if the calculation process is changed, the client must pass through the development team. In conjunction with the revision, even during the revision process, continuous communication must be carried out due to related issues, which consumes a lot of manpower and time on both sides.
此外,若客戶端在自行開發的過程中有特別之演算規則,受限於監控程式之規則而必須提供給業者端的開發團隊,進而無法保有智慧財產權的隱密性。另外,開發團隊在校正表格的內容時,也需要重新根據表格的內容重新編譯監控程式並反覆進行測試,因而造成開發時間冗長,因此,現有技術仍具備改善之空間。In addition, if the client has special calculation rules in the process of self-development, it is limited to the rules of the monitoring program and must be provided to the development team of the operator, so that the privacy of intellectual property rights cannot be preserved. In addition, when the development team corrects the contents of the form, it also needs to recompile the monitoring program according to the contents of the form and repeat the test, which results in a long development time. Therefore, the existing technology still has room for improvement.
有鑒於現有之監控系統在開發的過程中,普遍具有無法保護智慧財產權以及開發時間冗長之問題。緣此,本發明主要係提供一種監控程式產生系統及其產生方法,其主要係將監控條件直接轉換為監控條件所對應之監控程式段落,以達到智慧財產權的保護及降低開發時間之目的。In view of the fact that the existing monitoring system is in the process of development, there is a general problem of not being able to protect intellectual property rights and the length of development time. Therefore, the present invention mainly provides a monitoring program generating system and a generating method thereof, which mainly converts monitoring conditions into monitoring program segments corresponding to monitoring conditions, so as to achieve intellectual property rights protection and reduce development time.
基於上述目的,本發明所採用之主要技術手段係提供一種監控程式產生系統,係用以主動將複數個引導描述語言提示給一使用者,藉以引導使用者與監控程式產生系統互動而產生一監控程式,並包含一監控程式樣板產生模組、一接收模組、一轉換模組以及一監控程式產生模組。監控程式樣板產生模組依據一監控項目產生一監控程式樣板,且監控程式樣板由該些引導描述語言所組成,各引導描述語言對應於一監控條件與一監控程式段落。接收模組電性連接於監控程式樣板產生模組,用以接收一使用者依照引導描述語言所輸入之至少一對應於監控條件之監控參數。轉換模組電性連接於接收模組以及監控程式樣板產生模組,並用以將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落。監控程式產生模組通信連接於接收模組與轉換模組,用以將監控參數填入監控程式段落,據以在接收到使用者依照該些引導描述語言所輸入該至少一對應於監控條件之監控參數後,產生複數個上述之監控程式段落,並將該些監控程式段落結合成監控程式。Based on the above objective, the main technical means adopted by the present invention is to provide a monitoring program generating system for actively prompting a plurality of guiding description languages to a user, thereby guiding the user to interact with the monitoring program generating system to generate a monitoring. The program includes a monitoring program template generation module, a receiving module, a conversion module, and a monitoring program generation module. The monitoring program template generating module generates a monitoring program template according to a monitoring item, and the monitoring program template is composed of the guiding description languages, and each guiding description language corresponds to a monitoring condition and a monitoring program paragraph. The receiving module is electrically connected to the monitoring program template generating module for receiving at least one monitoring parameter corresponding to the monitoring condition input by the user according to the guiding description language. The conversion module is electrically connected to the receiving module and the monitoring program template generating module, and is configured to convert the monitoring condition corresponding to the monitoring parameter into a monitoring program segment corresponding to the monitoring condition. The monitoring program generating module is connected to the receiving module and the conversion module for filling the monitoring parameter into the monitoring program segment, so as to receive at least one corresponding to the monitoring condition according to the receiving user in accordance with the guiding description language. After monitoring the parameters, a plurality of the above-mentioned monitoring program paragraphs are generated, and the monitoring program paragraphs are combined into a monitoring program.
在上述必要技術手段的基礎下,上述監控程式產生系統還包含以下所述的較佳附屬技術手段。監控程式樣板產生模組包含一第一儲存單元,第一儲存單元儲存有一對應關係表,對應關係表包含監控條件與監控程式段落之對應關係,轉換模組係依據對應關係表將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落。監控程式產生系統更包含一第二儲存單元,第二儲存單元係電性連接於監控程式產生模組,用以接收並儲存監控程式,第一儲存單元與第二儲存單元為一快閃記憶體、一硬碟以及一電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory; EEPROM)中之一者。此外,監控項目為一風扇轉速百分比、一風扇溫度值以及一區域控制參數中之至少一者。Based on the above-mentioned necessary technical means, the above-mentioned monitoring program generation system further includes the following preferred technical means. The monitoring program template generating module includes a first storage unit, and the first storage unit stores a correspondence relationship table, wherein the correspondence relationship table includes a correspondence relationship between the monitoring condition and the monitoring program paragraph, and the conversion module corresponds to the monitoring parameter according to the correspondence relationship table. The monitoring condition is converted into a monitoring program section corresponding to the monitoring condition. The monitoring program generating system further includes a second storage unit electrically connected to the monitoring program generating module for receiving and storing the monitoring program. The first storage unit and the second storage unit are a flash memory. One of a hard disk and an Electronically-Erasable Programmable Read-Only Memory (EEPROM). In addition, the monitoring item is at least one of a fan speed percentage, a fan temperature value, and a zone control parameter.
基於上述目的,本發明所採用之主要技術手段係還提供一種監控程式產生方法,係用以主動將複數個引導描述語言提示給一使用者,藉以引導使用者與該監控程式產生系統互動而產生一監控程式,包含步驟(a)利用一監控程式樣板產生模組依據一監控項目產生一監控程式樣板,且監控程式樣板係由該些引導描述語言所組成,各引導描述語言係對應於一監控條件與一監控程式段落。步驟(b)利用一電性連接於監控程式樣板產生模組之接收模組接收一使用者依照引導描述語言所輸入之至少一對應於監控條件之監控參數。步驟(c)利用一電性連接於接收模組以及監控程式樣板產生模組之轉換模組將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落。步驟(d)利用一通信連接於接收模組與轉換模組之監控程式產生模組將監控參數填入監控程式段落,據以在接收到使用者依照該些引導描述語言所輸入該至少一對應於監控條件之監控參數後,產生複數個上述之監控程式段落,並將該些監控程式段落結合成一監控程式。Based on the above objective, the main technical means adopted by the present invention further provides a monitoring program generating method for actively prompting a plurality of guiding description languages to a user, thereby guiding the user to interact with the monitoring program generating system. a monitoring program, comprising the steps (a) using a monitoring program template generating module to generate a monitoring program template according to a monitoring item, and the monitoring program template is composed of the guiding description languages, each guiding description language corresponding to a monitoring Conditions and a monitoring program paragraph. Step (b): receiving, by the receiving module electrically connected to the monitoring program template generating module, at least one monitoring parameter corresponding to the monitoring condition input by the user according to the guiding description language. Step (c) converts the monitoring condition corresponding to the monitoring parameter into a monitoring program section corresponding to the monitoring condition by using a conversion module electrically connected to the receiving module and the monitoring program template generating module. Step (d) using a communication module connected to the receiving module and the conversion module to generate monitoring parameters into the monitoring program paragraph, so as to receive the at least one correspondence entered by the user according to the guiding description languages After monitoring the monitoring parameters of the condition, a plurality of the above-mentioned monitoring program paragraphs are generated, and the monitoring program paragraphs are combined into a monitoring program.
在上述必要技術手段的基礎下,上述監控程式產生方法還包含以下所述的較佳附屬技術手段。監控程式樣板產生模組包含一第一儲存單元,第一儲存單元儲存有一對應關係表,對應關係表包含監控條件與監控程式段落之對應關係,步驟(c)中,轉換模組係依據對應關係表將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落。步驟(d)之後更包含一步驟(e)利用一電性連接於監控程式產生模組之第二儲存單元儲存監控程式。此外,第一儲存單元與第二儲存單元為一快閃記憶體、一硬碟以及一電子抹除式可複寫唯讀記憶體中之一者,監控項目為一風扇轉速百分比、一風扇溫度值以及一區域控制參數中之至少一者。Based on the above-mentioned necessary technical means, the above-mentioned monitoring program generating method further includes the following preferred technical means. The monitoring program template generating module includes a first storage unit, and the first storage unit stores a correspondence relationship table, wherein the correspondence relationship table includes a correspondence relationship between the monitoring condition and the monitoring program paragraph, and in the step (c), the conversion module is based on the corresponding relationship. The table converts the monitoring condition corresponding to the monitoring parameter into the monitoring program segment corresponding to the monitoring condition. Step (d) further comprises a step (e) of storing a monitoring program by using a second storage unit electrically connected to the monitoring program generating module. In addition, the first storage unit and the second storage unit are one of a flash memory, a hard disk, and an electronic erasable rewritable read-only memory, and the monitoring item is a fan speed percentage and a fan temperature value. And at least one of a regional control parameter.
本發明關聯於一種監控程式產生系統及其產生方法,可有效降低現行物聯網架構及環境中監控程式開發的難度。在採用本發明所提供之監控程式產生系統及其產生方法之主要技術手段後,由於可直接對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落,因此客戶端可不需再將自行開發出的演算規則提供給業者端的開發團隊,因此可保護本身的智慧財產權,並也可減少雙方的溝通時間以及修改程式語言的時間,進而大幅降低開發時間。The invention relates to a monitoring program generating system and a generating method thereof, which can effectively reduce the difficulty of developing the monitoring program in the current Internet of Things architecture and environment. After adopting the main technical means of the monitoring program generating system and the generating method provided by the present invention, since the monitoring condition directly corresponding to the monitoring parameter is converted into the monitoring program section corresponding to the monitoring condition, the client does not need to The developed calculus rules are provided to the developer's development team, so they can protect their intellectual property rights, and also reduce the communication time of both parties and the time to modify the programming language, thus greatly reducing development time.
本發明所採用的具體實施例,將藉由以下之實施例及圖式作進一步之說明。The specific embodiments of the present invention will be further described by the following examples and drawings.
由於本發明所提供之監控程式產生系統及其產生方法中,其組合實施方式不勝枚舉,故在此不再一一贅述,僅列舉一個較佳實施例加以具體說明。The combination of the monitoring program generation system and the method for generating the same according to the present invention are numerous, and therefore will not be further described herein, and only a preferred embodiment will be specifically described.
請一併參閱第一圖至第八圖,第一圖係顯示本發明較佳實施例之監控程式產生系統之方塊示意圖,第二圖係顯示本發明較佳實施例之監控程式產生方法之流程示意圖,第三圖係顯示本發明較佳實施例之監控參數之示意圖,第四圖至第七圖係顯示本發明較佳實施例之對應關係表之示意圖,第八圖係顯示本發明較佳實施例之溫度值、功率消耗值與責任週期值之示意圖。Please refer to the first to eighth figures. The first figure shows a block diagram of a monitoring program generating system according to a preferred embodiment of the present invention, and the second figure shows the flow of the monitoring program generating method of the preferred embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 3 is a schematic view showing monitoring parameters of a preferred embodiment of the present invention, and FIGS. 4 to 7 are schematic views showing a correspondence table of a preferred embodiment of the present invention, and FIG. 8 is a view showing a preferred embodiment of the present invention. Schematic diagram of the temperature value, power consumption value and duty cycle value of the embodiment.
如圖所示,本發明較佳實施例之監控程式產生系統1係係用以主動將複數個引導描述語言提示給一使用者,藉以引導使用者與監控程式產生系統1互動而產生一監控程式。其中,本發明較佳實施例所定義之互動係指監控程式產生系統1主動提供該些引導描述語言,使得使用者可依據該些引導描述語言對應地輸入相關之參數,使得監控程式產生系統1可轉換而產生出監控程式(以下將詳述)。As shown in the figure, the monitoring program generating system 1 of the preferred embodiment of the present invention is configured to actively prompt a plurality of boot description languages to a user, thereby guiding the user to interact with the monitoring program generating system 1 to generate a monitoring program. . The interaction defined by the preferred embodiment of the present invention means that the monitoring program generating system 1 actively provides the guiding description languages, so that the user can input relevant parameters according to the guiding description languages, so that the monitoring program generating system 1 It can be converted to produce a monitoring program (described in more detail below).
監控程式產生系統1包含一監控程式樣板產生模組11、一接收模組12、一轉換模組13、一監控程式產生模組14、一第二儲存單元15以及一程式執行模組16。The monitoring program generating system 1 includes a monitoring program template generating module 11, a receiving module 12, a converting module 13, a monitoring program generating module 14, a second storage unit 15, and a program execution module 16.
監控程式樣板產生模組11包含一第一儲存單元111,並可為監控程式樣板產生器或是現有之處理器,第一儲存單元111為一快閃記憶體、一硬碟以及一電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory; EEPROM)中之一者,並儲存有一對應關係表1111,對應關係表1111包含一監控條件與一監控程式段落之對應關係,較佳者,對應關係表還包含該些引導描述語言、上述的監控條件以及監控程式段落之對應關係(如第四至七圖所示)例如,監控條件為RET時,其引導描述語言為敘明此監控條件的使用方式以及意義(即功能規範),,而依據上述監控條件RET所產生之監控程式段落例如是以其他種程式語言所表現,且監控程式段落可能由複數個上述其他種程式語言所組成;例如,監控條件為SYS_ST時,其引導描述語言為暫存當前正在計算溫度點的溫度值,使得監控程式段落即是以其他種程式語言表現出「暫存當前正在計算溫度點的溫度值」之意義。The monitoring program template generating module 11 includes a first storage unit 111, and can be a monitoring program template generator or an existing processor. The first storage unit 111 is a flash memory, a hard disk, and an electronic eraser. One of the Electrically-Erasable Programmable Read-Only Memory (EEPROM), and a correspondence table 1111 is stored, and the correspondence table 1111 includes a correspondence between a monitoring condition and a monitoring program segment. Preferably, the correspondence table further includes the mapping description language, the above-mentioned monitoring condition, and the corresponding relationship of the monitoring program paragraphs (as shown in the fourth to seventh figures). For example, when the monitoring condition is RET, the guiding description language is the description. The use of the monitoring condition and the meaning (ie, the functional specification), and the monitoring program segment generated by the RET according to the above monitoring condition is represented by other programming languages, for example, and the monitoring program paragraph may be composed of a plurality of other programming languages. Composition; for example, when the monitoring condition is SYS_ST, its boot description language is to temporarily store the temperature at which the temperature point is currently being calculated. So that the monitoring program is a paragraph that is, other kinds of programming languages exhibit "Temporary currently being calculated temperature point temperature value" of meaning.
其中,本發明較佳實施例中,監控條件所指的即是以第一程式語言所定義之一功能規範,而監控程式段落即是以第二程式語言所定義之該功能規範,也就是說,監控條件與監控程式段落僅是語言不相同但為相同之功能。另外,引導描述語言係指描述監控條件之功能之文字。In the preferred embodiment of the present invention, the monitoring condition refers to one of the functional specifications defined by the first programming language, and the monitoring program paragraph is the functional specification defined by the second programming language, that is, The monitoring conditions and monitoring program paragraphs are only different languages but the same functions. In addition, the guide description language refers to the text describing the function of the monitoring condition.
接收模組12係電性連接於監控程式樣板產生模組11,並可為現有之接收器或是具有接收功能之處理器或功能電路。轉換模組13係電性連接於接收模組12與監控程式樣板產生模組11,並可為轉換器或是具有轉換功能之處理器或功能電路所組成。其中,監控程式樣板產生模組11、接收模組12以及轉換模組13所構成之裝置例如為桌上型電腦、筆記型電腦或是其他具有運算功能的裝置。The receiving module 12 is electrically connected to the monitoring program template generating module 11 and can be an existing receiver or a processor or a functional circuit having a receiving function. The conversion module 13 is electrically connected to the receiving module 12 and the monitoring program template generating module 11, and can be composed of a converter or a processor or a functional circuit having a conversion function. The device formed by the monitoring program template generation module 11, the receiving module 12, and the conversion module 13 is, for example, a desktop computer, a notebook computer, or other device having an arithmetic function.
監控程式產生模組14係通信連接於接收模組12與轉換模組13(可為有線通信連接或無線通信連接),並可為現有之監控程式產生器或是具有運算功能之處理器或功能電路。第二儲存單元15係電性連接於監控程式產生模組14,並同樣可為快閃記憶體、硬碟以及電子抹除式可複寫唯讀記憶體中之一者。程式執行模組16係電性連接於第二儲存單元15,並可為韌體,或是現有之監控程式產生器或是具有運算功能之處理器或功能電路。其中,監控程式產生模組14、第二儲存單元15與程式執行模組16所構成之裝置例如為風扇控制器。The monitoring program generation module 14 is communicatively connected to the receiving module 12 and the conversion module 13 (which may be a wired communication connection or a wireless communication connection), and may be an existing monitoring program generator or a processor or function having an arithmetic function. Circuit. The second storage unit 15 is electrically connected to the monitoring program generation module 14, and can also be one of a flash memory, a hard disk, and an electronic erasable rewritable read-only memory. The program execution module 16 is electrically connected to the second storage unit 15 and can be a firmware, or an existing monitor generator or a processor or a functional circuit having an arithmetic function. The device formed by the monitoring program generation module 14, the second storage unit 15, and the program execution module 16 is, for example, a fan controller.
如第二圖所示,本發明較佳實施例之監控程式產生方法包含以下步驟:As shown in the second figure, the monitoring program generating method of the preferred embodiment of the present invention comprises the following steps:
步驟S101:依據一監控項目產生一監控程式樣板,且監控程式樣板係由複數個引導描述語言所組成,各引導描述語言係對應於一監控條件與一監控程式段落。Step S101: Generate a monitoring program template according to a monitoring item, and the monitoring program template is composed of a plurality of guiding description languages, and each guiding description language corresponds to a monitoring condition and a monitoring program paragraph.
步驟S102:接收一使用者依照引導描述語言所輸入之至少一對應於監控條件之監控參數。Step S102: Receive at least one monitoring parameter corresponding to the monitoring condition input by the user according to the guiding description language.
步驟S103:將對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落。Step S103: Convert the monitoring condition corresponding to the monitoring parameter into a monitoring program segment corresponding to the monitoring condition.
步驟S104:將監控參數填入監控程式段落,據以在使用者依照該些引導描述語言所輸入該至少一對應於監控條件之監控參數後,產生複數個上述之監控程式段落,並將該些監控程式段落結合成一監控程式。Step S104: Filling the monitoring parameter into the monitoring program paragraph, after the user inputs the at least one monitoring parameter corresponding to the monitoring condition according to the guiding description language, generating a plurality of the above monitoring program paragraphs, and The monitoring program sections are combined into a monitoring program.
步驟S105:儲存監控程式。Step S105: Store the monitoring program.
其中,步驟S101中,監控程式樣板產生模組11係依據監控項目產生一監控程式樣板100,監控項目例如是一風扇轉速百分比、一風扇溫度值以及一區域控制參數中之至少一者,但其他實施例中並不限於風扇之控制。另外,監控程式樣板100係由上述之引導描述語言(圖未示)所組成,各引導描述語言係對應於一監控條件1001、1002、1003、1004與1005與一監控程式段落,也就是說,如上表所示,每個引導描述語言有各自對應的監控條件與監控程式段落。In step S101, the monitoring program template generating module 11 generates a monitoring program template 100 according to the monitoring item, and the monitoring item is, for example, at least one of a fan speed percentage, a fan temperature value, and a region control parameter, but other The embodiment is not limited to the control of the fan. In addition, the monitoring program template 100 is composed of the above-mentioned guiding description language (not shown), and each guiding description language corresponds to a monitoring condition 1001, 1002, 1003, 1004, and 1005 and a monitoring program paragraph, that is, As shown in the above table, each boot description language has its own corresponding monitoring conditions and monitoring program paragraphs.
此外,在此需要一提的是,本發明較佳實施例中,監控程式段落係指單個程式語言或是複數個程式語言所組成之段落,且本發明較佳實施例中,監控程式段落僅為示意。In addition, in the preferred embodiment of the present invention, the monitoring program section refers to a single programming language or a paragraph composed of a plurality of programming languages, and in the preferred embodiment of the present invention, the monitoring program paragraph only To indicate.
步驟S102中,接收模組12接收一使用者依照引導描述語言所輸入之至少一對應於監控條件1001、1002、1003、1004與1005之監控參數。舉例來說,監控條件1001、1002與1003中,使用者即是透過如鍵盤之輸入裝置在監控條件1001、1002與1003中輸入0、1與2中之至少一者,並輸入相關代號(例如英文字),監控條件1004中即是輸入監控區域代號,監控條件1005同樣也是輸入監控項目的代號以及數值(以下將詳述)。In step S102, the receiving module 12 receives at least one monitoring parameter corresponding to the monitoring conditions 1001, 1002, 1003, 1004, and 1005 input by the user according to the guiding description language. For example, in the monitoring conditions 1001, 1002, and 1003, the user inputs at least one of 0, 1, and 2 in the monitoring conditions 1001, 1002, and 1003 through an input device such as a keyboard, and inputs a related code (for example, English word), the monitoring condition code 1004 is the input monitoring area code, and the monitoring condition 1005 is also the code and value of the input monitoring item (more details below).
步驟S103中,轉換模組13將對應於監控參數之監控條件1001、1002、1003、1004與1005轉換為監控條件1001、1002、1003、1004與1005所對應之監控程式段落,具體來說,轉換模組13可依據對應關係表1111找出監控條件1001、1002、1003、1004與1005所對應之監控程式段落以轉換監控條件1001、1002、1003、1004與1005。In step S103, the conversion module 13 converts the monitoring conditions 1001, 1002, 1003, 1004, and 1005 corresponding to the monitoring parameters into monitoring sections corresponding to the monitoring conditions 1001, 1002, 1003, 1004, and 1005, specifically, converting The module 13 can find the monitoring program segments corresponding to the monitoring conditions 1001, 1002, 1003, 1004 and 1005 according to the correspondence table 1111 to convert the monitoring conditions 1001, 1002, 1003, 1004 and 1005.
步驟S104中,監控程式產生模組14係將監控參數對應地填入監控程式段落(即將上述的0與1、監控區域代號等數值填入對應的監控程式段落),據以在接收到使用者依照該些引導描述語言所輸入該至少一對應於該監控條件1001、1002、1003、1004與1005之監控參數後,產生複數個上述之監控程式段落,並將該些監控程式段落結合成一監控程式。In step S104, the monitoring program generation module 14 fills the monitoring parameters correspondingly into the monitoring program paragraph (that is, the above-mentioned 0 and 1, the monitoring area code and the like are filled into the corresponding monitoring program paragraph), so as to receive the user. After the at least one monitoring parameter corresponding to the monitoring conditions 1001, 1002, 1003, 1004, and 1005 is input according to the guiding description language, a plurality of the monitoring program segments are generated, and the monitoring program segments are combined into a monitoring program. .
步驟S105中,第二儲存單元15係儲存上述的監控程式,以供程式執行模組16受觸發執行監控程式時,至第二儲存單元15獲取監控程式以執行。In step S105, the second storage unit 15 stores the above-mentioned monitoring program, so that when the program execution module 16 is triggered to execute the monitoring program, the second storage unit 15 acquires the monitoring program for execution.
請一併參閱第三圖、第九圖至第九A圖,第九圖與第九A圖係顯示本發明較佳實施例之設定監控參數與依據設定監控參數執行風扇監控之流程示意圖。具體來說,第九圖為設定監控參數之流程示意圖,如圖所示,設定監控參數之流程包含以下步驟:Please refer to the third diagram, the ninth diagram and the ninth A diagram. The ninth diagram and the ninth diagram are diagrams showing the process of setting the monitoring parameters according to the preferred embodiment of the present invention and performing fan monitoring according to the set monitoring parameters. Specifically, the ninth figure is a schematic flow chart for setting monitoring parameters. As shown in the figure, the process of setting monitoring parameters includes the following steps:
步驟S201:設定分配值。Step S201: setting the assigned value.
步驟S202:建立熱區域編排。Step S202: Establish a hot area arrangement.
步驟S203:增加溫度感測器編排。Step S203: Increase the temperature sensor arrangement.
步驟S204:增加演算法。Step S204: Add an algorithm.
步驟S205:建立資料表。Step S205: Establish a data table.
步驟S206:判斷是否為最後的溫度感測器。Step S206: It is judged whether it is the last temperature sensor.
步驟S201中係對應於監控條件1001的設定,其主要是將監控條件1001中的MARGIN_MIN設定於USERENV[0]中,並將MARGIN_MAX設定於USERENV[0]中。In step S201, it corresponds to the setting of the monitoring condition 1001, which mainly sets the MARGIN_MIN in the monitoring condition 1001 to USERENV[0], and sets MARGIN_MAX in USERENV[0].
接著,步驟S202中係對應於監控條件1002的設定,其係將監控條件1002中的THERMALZONE的ID設定為0,表示建立了第一個熱區域的監控設定,而需要一提的是,熱區域指的是將系統上的溫度感測器分組,每組都有對應單一演算法或資料表,並求得風扇的轉速比。Next, in step S202, it corresponds to the setting of the monitoring condition 1002, which sets the ID of THERMALZONE in the monitoring condition 1002 to 0, indicating that the monitoring setting of the first hot zone is established, and it is necessary to mention that the hot zone Refers to grouping the temperature sensors on the system, each group has a corresponding single algorithm or data table, and find the fan speed ratio.
步驟S203中係對應於監控條件1003的設定,主要係設定三組溫度感測器,即將監控條件1003中的<sensor>與<sensor>間分別輸入0、1以及2。In step S203, corresponding to the setting of the monitoring condition 1003, three sets of temperature sensors are mainly set, that is, 0, 1, and 2 are respectively input between <sensor> and <sensor> in the monitoring condition 1003.
步驟S204中係對應於監控條件1004的設定,其係於<ALGO>與<ALGO>輸入需要的演算式,例如是輸入LOOKUP、GETFIELD、MAX與PUT之演算式,但不限於此,其係視實務上之需要而定。Step S204 corresponds to the setting of the monitoring condition 1004, which is an arithmetic formula required for inputting <ALGO> and <ALGO>, for example, a calculation formula of inputting LOOKUP, GETFIELD, MAX, and PUT, but is not limited thereto, and the system is not limited thereto. It depends on the needs of practice.
步驟S205中係對應於監控條件1005的設定,其係建立表格,例如是將<TABLE>與<TABLE>之間,利用<FIELD>與<DATA>建立了溫度值、功率消耗值(Power Consumption; PC)與責任週期值的控制。其中,由圖中所示之表格可知,溫度值為30℃且功率消耗值為600W時,以40%的責任週期值進行控制;溫度值為40℃且功率消耗值為600W時,以50%的責任週期值進行控制,但其他實施例中不限於此。Step S205 corresponds to the setting of the monitoring condition 1005, which is to establish a table, for example, between <TABLE> and <TABLE>, using <FIELD> and <DATA> to establish a temperature value and a power consumption value (Power Consumption; PC) and control of the duty cycle value. Among them, from the table shown in the figure, when the temperature value is 30 ° C and the power consumption value is 600 W, the duty cycle value is controlled by 40%; when the temperature value is 40 ° C and the power consumption value is 600 W, 50%. The duty cycle value is controlled, but other embodiments are not limited thereto.
步驟S206中,係確認設定後的資料是否已經是在此熱區域中最後一個溫度感測器的設定,若為否則重新執行步驟S202;若為是則執行第九A圖之步驟S207。In step S206, it is confirmed whether the set data is already the setting of the last temperature sensor in the hot zone, and if not, step S202 is re-executed; if yes, step S207 of FIG.
其中,係以程式執行模組16執行依據設定監控參數執行風扇監控的方法,依據設定監控參數執行風扇監控之流程包含以下步驟:Wherein, the program execution module 16 performs a method of performing fan monitoring according to the set monitoring parameter, and the process of performing fan monitoring according to the set monitoring parameter includes the following steps:
步驟S207:輪詢溫度感測器。Step S207: Polling the temperature sensor.
步驟S208:獲取溫度感測器所感應到的溫度。Step S208: Acquire the temperature sensed by the temperature sensor.
步驟S209:依據溫度查詢資料表以獲取責任週期值。Step S209: Query the data table according to the temperature to obtain the responsibility period value.
步驟S210:獲取資料表中責任週期值之最大值。Step S210: Acquire the maximum value of the duty cycle value in the data table.
步驟S211:將責任週期值之最大值儲存於指定之風扇區之設定。Step S211: Store the maximum value of the duty cycle value in the setting of the designated fan zone.
步驟S212:判斷是否為最後的溫度感測器。Step S212: determining whether it is the last temperature sensor.
步驟S213:以風扇區之設定之值執行控制並確認下一熱區域之設定。Step S213: Perform control by the value set by the fan zone and confirm the setting of the next hot zone.
步驟S207中係對應於監控條件1003的設定,係採用輪詢(polling)的方式向溫度感測器獲取資料,例如是對被設定為0、1與2的溫度感測器獲取資料,藉以在步驟S208中獲取每個溫度感測器所感應到風扇的溫度值。In step S207, corresponding to the setting of the monitoring condition 1003, the polling method is used to acquire data from the temperature sensor, for example, the temperature sensor set to 0, 1, and 2 acquires data, thereby In step S208, the temperature value of the fan sensed by each temperature sensor is obtained.
步驟S209中係對應於監控條件1004與1005的設定,具體來說,係對應於監控條件1004中LOOKUP(“TEMP”,$SYS_ST,“PC”,$SYS_PC)、GETFIELD(SRET,) “DUTY”以及監控條件1005中<TABLE>與<TABLE>之間的資料,其係依據獲取到的溫度值進行查表,而得到每個溫度值所對應到的責任週期值。Step S209 corresponds to the setting of the monitoring conditions 1004 and 1005, specifically, corresponding to the LOOKUP ("TEMP", $SYS_ST, "PC", $SYS_PC), GETFIELD (SRET,) "DUTY" in the monitoring condition 1004. And the data between <TABLE> and <TABLE> in the monitoring condition 1005, which is based on the obtained temperature value, and obtains the duty cycle value corresponding to each temperature value.
步驟S210中係對應於監控條件1004中之MAX($SYS_FZD[0],SRET),其係比較獲取到的所有責任週期值以及舊有資料(即$SYS_FZD[0]的責任週期值),藉以獲取出最大者。In step S210, it corresponds to MAX ($SYS_FZD[0], SRET) in the monitoring condition 1004, which compares all the acquired duty cycle values and the old data (ie, the duty cycle value of $SYS_FZD[0]). Get the biggest one.
步驟S211中係對應於監控條件1004中之PUT($SYS_FZD[0],SRET),其係將步驟S210中找出最大者存入$SYS_FZD[0]。接著步驟S212中係確認是否為此熱區域中最後一個溫度感測器,若為否則執行步驟S207,若為是則執行步驟S213,以當前$SYS_FZD[0]之風扇區之設定之值執行控制並確認下一熱區域之設定。需要一提的是,風扇區係指多個風扇加以分組,每個組別可獨立執行不同轉速比,組內的風扇則必須執行一致的轉速比。In step S211, it corresponds to PUT ($SYS_FZD[0], SRET) in the monitoring condition 1004, which stores the largest one found in step S210 into $SYS_FZD[0]. Next, in step S212, it is confirmed whether it is the last temperature sensor in the hot zone. If otherwise, step S207 is performed. If yes, step S213 is performed to perform control with the value of the fan zone of the current $SYS_FZD[0]. And confirm the setting of the next hot zone. It should be noted that the fan zone refers to a plurality of fans grouped, each group can independently execute different speed ratios, and the fans in the group must perform a consistent speed ratio.
藉由上述之步驟S201至步驟S213即可達到對監控風扇參數的設定以及依據所設定之參數來進行監控,藉此進行風扇轉速控制(Fan Speed Control; FSC)。Through the above steps S201 to S213, the setting of the monitoring fan parameters can be achieved and the monitoring can be performed according to the set parameters, thereby performing fan speed control (Fan Speed Control; FSC).
綜合以上所述,在採用本發明所提供之監控程式產生系統及其產生方法之主要技術手段後,由於可直接對應於監控參數之監控條件轉換為監控條件所對應之監控程式段落,因此客戶端可不需再將自行開發出的演算規則提供給業者端的開發團隊,因此可保護本身的智慧財產權,並也可減少雙方的溝通時間以及修改程式語言的時間,進而大幅降低開發時間。此外,也由於透過互動的方式產生監控程式,因此即使使用者在不懂監控程式的狀況下也可透過引導描述語言完成監控程式,進而提升實務上使用之方便性。In summary, after adopting the main technical means of the monitoring program generating system and the generating method thereof provided by the present invention, since the monitoring condition directly corresponding to the monitoring parameter is converted into the monitoring program segment corresponding to the monitoring condition, the client It is no longer necessary to provide the self-developed calculation rules to the developer's development team, so it can protect its intellectual property rights, and can also reduce the communication time of both parties and modify the programming language time, thus greatly reducing development time. In addition, because the monitoring program is generated through interaction, even if the user does not understand the monitoring program, the monitoring program can be completed through the boot description language, thereby improving the convenience of practical use.
藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。The features and spirit of the present invention will be more apparent from the detailed description of the preferred embodiments. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.
1‧‧‧監控程式產生系統
11‧‧‧監控程式樣板產生模組
111‧‧‧第一儲存單元
1111‧‧‧對應關係表
12‧‧‧接收模組
13‧‧‧轉換模組
14‧‧‧監控程式產生模組
15‧‧‧第二儲存單元
16‧‧‧程式執行模組
100‧‧‧監控程式樣本
1001-1005‧‧‧監控條件
1‧‧‧Monitor generation system
11‧‧‧Monitor sample generation module
111‧‧‧First storage unit
1111‧‧‧ correspondence table
12‧‧‧ receiving module
13‧‧‧Transition module
14‧‧‧Monitor generation module
15‧‧‧Second storage unit
16‧‧‧Program execution module
100‧‧‧Monitor sample
1001-1005‧‧‧Monitoring conditions
第一圖係顯示本發明較佳實施例之監控程式產生系統之方塊示意圖。 第二圖係顯示本發明較佳實施例之監控程式產生之流程示意圖。 第三圖係顯示本發明較佳實施例之監控參數之示意圖。 第四圖至第七圖係顯示本發明較佳實施例之對應關係表之示意圖。 第八圖係顯示本發明較佳實施例之溫度值、功率消耗值與責任週期值之示意圖。 第九圖與第九A圖係顯示本發明較佳實施例之設定監控參數與依據設定監控參數執行風扇監控之流程示意圖。The first figure shows a block diagram of a monitoring program generation system in accordance with a preferred embodiment of the present invention. The second figure shows a schematic flow chart of the generation of the monitoring program of the preferred embodiment of the present invention. The third figure shows a schematic diagram of monitoring parameters of a preferred embodiment of the present invention. 4 to 7 are schematic views showing a correspondence table of a preferred embodiment of the present invention. The eighth figure shows a schematic diagram of temperature values, power consumption values, and duty cycle values in accordance with a preferred embodiment of the present invention. The ninth and ninth diagrams show the flow chart of setting the monitoring parameters and performing the fan monitoring according to the set monitoring parameters according to the preferred embodiment of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105135481A TW201818238A (en) | 2016-11-02 | 2016-11-02 | Monitoring program generating system and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105135481A TW201818238A (en) | 2016-11-02 | 2016-11-02 | Monitoring program generating system and method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TW201818238A true TW201818238A (en) | 2018-05-16 |
Family
ID=62949244
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105135481A TW201818238A (en) | 2016-11-02 | 2016-11-02 | Monitoring program generating system and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TW201818238A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI770451B (en) * | 2019-12-17 | 2022-07-11 | 財團法人金屬工業研究發展中心 | Real-time visualization process for machining process information of machine tool and real-time visualization system of machine tool |
-
2016
- 2016-11-02 TW TW105135481A patent/TW201818238A/en unknown
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI770451B (en) * | 2019-12-17 | 2022-07-11 | 財團法人金屬工業研究發展中心 | Real-time visualization process for machining process information of machine tool and real-time visualization system of machine tool |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103718155B (en) | runtime system | |
| CN110990019B (en) | Java class analysis method and device, storage medium and electronic equipment | |
| CN113805882A (en) | Method and device for developing application program, electronic equipment and storage medium | |
| CN111414057A (en) | Fan rotating speed control method and system, electronic equipment and storage medium | |
| US9274755B2 (en) | Infrastructure for generating code using annotation and template generators | |
| CN112966824A (en) | Deployment method and device of inference library and electronic equipment | |
| CN110192178B (en) | Method, device, micro control unit and terminal equipment for program patching | |
| TW201432442A (en) | System and method of displaying baseboard management controller's running status | |
| CN115390825B (en) | Application building methods, devices and electronic devices | |
| TW201818238A (en) | Monitoring program generating system and method thereof | |
| CN115289638B (en) | Air conditioning frequency control method, device, equipment and storage medium | |
| JP7735026B2 (en) | Model transformation device, model equivalence verification device, model transformation method, and model transformation program | |
| CN112905931B (en) | Page information display method and device, electronic equipment and storage medium | |
| US20140258973A1 (en) | Systems And Methods For Automatically Generating Applications | |
| CN108196906A (en) | A kind of user instruction treatment method and embedded device | |
| CN104597999B (en) | A kind of heat dissipating method and device | |
| US9052881B2 (en) | Discovering thermal relationships in data processing environments | |
| CN115510839A (en) | Service data configuration method, device, equipment and storage medium | |
| JP5846853B2 (en) | Support system, support method, and support program | |
| CN111736886B (en) | A unified management method and device for package dependency management tools in Go language | |
| JP5582006B2 (en) | Development support program, development support method, and development support apparatus | |
| JP4870956B2 (en) | Embedded program generation method, embedded program development system, and information table section | |
| JP4541127B2 (en) | Power control information management device | |
| JP2015011476A (en) | Software development support device, software development support method and software development support program | |
| CN107977293A (en) | Monitoring programme generation system and its production method |