TWI783463B - Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device - Google Patents

Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device Download PDF

Info

Publication number
TWI783463B
TWI783463B TW110115419A TW110115419A TWI783463B TW I783463 B TWI783463 B TW I783463B TW 110115419 A TW110115419 A TW 110115419A TW 110115419 A TW110115419 A TW 110115419A TW I783463 B TWI783463 B TW I783463B
Authority
TW
Taiwan
Prior art keywords
function
interface
input
parameter
code
Prior art date
Application number
TW110115419A
Other languages
Chinese (zh)
Other versions
TW202242618A (en
Inventor
莊育棋
洪政鴻
張育銘
陳加輝
蔡彰寧
郭昭宏
何永慈
Original Assignee
博橡科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 博橡科技股份有限公司 filed Critical 博橡科技股份有限公司
Priority to TW110115419A priority Critical patent/TWI783463B/en
Publication of TW202242618A publication Critical patent/TW202242618A/en
Application granted granted Critical
Publication of TWI783463B publication Critical patent/TWI783463B/en

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)
  • Electrotherapy Devices (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention provides a method for generating a human-machine interface, a computer readable storage medium, computing device, and function operating device. The method for generating a human-machine interface includes generating, at the computing device, a function-parameter interface corresponding to a function, based on the function of a function-option, wherein the function-parameter includes at least one parameter; generating, at the computing device, a function code relative to the function and parameter by a program-generating unit; and outputting the function code to a function operating device, wherein the function operating device generates, when executing the function code, a plurality of command relative to the function.

Description

人機介面產生方法、電腦可讀儲存媒體、計算裝置及功能執行裝置Man-machine interface generation method, computer-readable storage medium, computing device, and function execution device

本發明涉及資訊技術領域,尤其涉及一種關於輸入/輸出(I/O)功能設定之人機介面。The present invention relates to the field of information technology, in particular to a man-machine interface related to input/output (I/O) function setting.

電腦裝置對外接收以及發送訊號都須經過主機板上之I/O接腳(pin),其中接收之訊號可由電腦裝置執行適當之處理,亦可在經轉換後透過接腳輸出。其中關於這些處理以及轉換等過程皆對應至該電腦裝置欲執行之I/O功能(例如通用型輸入輸出(GPIO)、類比數位轉換(ADC)、脈寬調變(PWM)以及通用異步收發器(UART)等)。傳統上,欲執行例如前述該些I/O功能時需撰寫對應該功能之程式碼。且欲變更對應該些功能之參數(例如對應UART功能之鮑率參數)時,亦需要重新更改程式碼之內容。因此,現有技術中,I/O功能的執行需要具有熟習某一種程式語言之人員,因而提升產業發展的技術門檻以及開發成本。The external receiving and sending signals of the computer device must go through the I/O pins (pins) on the motherboard. The received signals can be processed by the computer device or output through the pins after conversion. These processing and conversion processes are all corresponding to the I/O functions to be performed by the computer device (such as general-purpose input and output (GPIO), analog-to-digital conversion (ADC), pulse-width modulation (PWM) and universal asynchronous transceiver. (UART), etc.). Traditionally, to execute such I/O functions as mentioned above, it is necessary to write program codes corresponding to the functions. And when you want to change the parameters corresponding to these functions (such as the baud rate parameters corresponding to the UART function), you also need to change the content of the program code again. Therefore, in the prior art, the execution of the I/O function requires personnel familiar with a certain programming language, thus increasing the technical threshold and development cost of industrial development.

本發明之一目的在於提供一種關於I/O功能設定之人機介面產生方法、電腦可讀儲存媒體、計算裝置及功能執行裝置,可節省撰寫I/O功能程式碼以及修改功能相關參數之過程,降低執行I/O功能之技術門檻以及開發成本。One object of the present invention is to provide a method for generating a man-machine interface for I/O function setting, a computer-readable storage medium, a computing device, and a function execution device, which can save the process of writing I/O function codes and modifying function-related parameters , Lower the technical threshold and development cost of implementing I/O functions.

本發明之一實施方式之人機介面產生方法包括:在計算裝置上,基於功能選項之功能,產生對應該功能之功能參數介面,其中該功能參數介面包括至少一參數;在該計算裝置上,程式產生單元產生關聯於該功能及該參數之功能程式碼;以及將該功能程式碼輸出至功能執行裝置,其中該功能執行裝置執行該功能程式碼時,產生關聯於該功能之複數指令。A method for generating a man-machine interface according to an embodiment of the present invention includes: on the computing device, based on the function of the function option, generating a function parameter interface corresponding to the function, wherein the function parameter interface includes at least one parameter; on the computing device, The program generation unit generates the function code associated with the function and the parameter; and outputs the function code to the function execution device, wherein when the function execution device executes the function code, it generates a plurality of instructions associated with the function.

本發明之另一實施方式之載有程式之電腦可讀儲存媒體,該程式在被執行時產生以下操作:基於功能選項之功能,產生對應該功能之功能參數介面,其中該功能參數介面包括至少一參數;以及產生關聯於該功能及該參數之功能程式碼,其中該功能程式碼被執行時,產生關聯於該功能之複數指令。Another embodiment of the present invention is a computer-readable storage medium loaded with a program. When the program is executed, the following operations are generated: based on the function of the function option, a function parameter interface corresponding to the function is generated, wherein the function parameter interface includes at least a parameter; and generating a function code associated with the function and the parameter, wherein when the function code is executed, a plurality of instructions associated with the function is generated.

本發明之又一實施方式之計算裝置包括功能選項、功能參數介面,該功能參數介面被配置為對應該功能選項之功能,且該功能參數介面包括至少一參數、程式產生單元,該程式產生單元被配置為產生關聯於該功能及該參數之功能程式碼以及顯示元件,該顯示元件被配置為提供該功能選項及該功能參數介面。A computing device according to another embodiment of the present invention includes a function option and a function parameter interface, the function parameter interface is configured to correspond to the function of the function option, and the function parameter interface includes at least one parameter, a program generation unit, and the program generation unit It is configured to generate a function code associated with the function and the parameter, and a display element is configured to provide the function option and the function parameter interface.

本發明之再一實施方式之功能執行裝置被配置為執行對應功能之功能程式碼時,產生關聯於該功能之複數指令,且該功能執行裝置包括主機板,該主機板包括至少一輸入介面和(或)輸出介面。According to another embodiment of the present invention, the function execution device is configured to generate a plurality of instructions related to the function when executing the function code corresponding to the function, and the function execution device includes a motherboard, and the motherboard includes at least one input interface and (or) output interface.

以下透過描述具體之實施例以及參照圖式,說明本發明之人機介面產生方法、電腦可讀儲存媒體、計算裝置及功能執行裝置。本領域技術人員可藉由本公開內容,理解本發明技術概念與效果。惟在不悖離本發明之邏輯脈絡下,本領域技術人員可以基於本發明內容,設計替代之實施例,而不脫離所附專利申請之範圍。意即,本說明書並不旨在限制本發明之實施方式,以下所示出之各個面向皆為本發明之示例性配置。The following describes the man-machine interface generation method, computer-readable storage medium, computing device and function execution device of the present invention by describing specific embodiments and referring to the drawings. Those skilled in the art can understand the technical concepts and effects of the present invention through the disclosure. However, without departing from the logic of the present invention, those skilled in the art can design alternative embodiments based on the content of the present invention without departing from the scope of the attached patent application. That is to say, this description is not intended to limit the implementation of the present invention, and each aspect shown below is an exemplary configuration of the present invention.

以下參照圖1-3說明本發明實施例之人機介面產生方法。The method for generating a man-machine interface according to an embodiment of the present invention will be described below with reference to FIGS. 1-3 .

本發明實施例之人機介面產生方法至少包括產生程序600。其中步驟610包括:在計算裝置30上,基於一功能選項110之功能F,產生對應該功能F之功能參數介面200,其中該功能參數介面200包括至少一參數210。在本實施例中,功能F可以包括關於I/O設定之各種功能(例如通用型輸入輸出(GPIO)、類比數位轉換(ADC)、脈寬調變(PWM)以及通用異步收發器(UART)、輸入捕捉(input capture)、設定系統時間(real-time clock, RTC)以及設定顯示模組背光亮度等)。功能選項110為以例如為視覺化或文字化表示功能F之選項,例如參照圖1,功能選項110a表示GPIO功能、功能選項110b表示ADC功能。所謂「對應功能F」之意義可例如是,不同之I/O設定功能所需之參數210各不相同(例如GPIO須設定暫存器編號以及上拉電阻狀態,UART須設定鲍率(baud rate)等)。因此,對應功能F之功能參數介面200會包含設定功能F所需之參數210。意即,參數210之內容及數量皆會對應功能F而改變。因此,選擇功能選項110會作為計算裝置30的一個輸入,計算裝置30根據該輸入,判斷功能F以及對應之參數210。其後,在功能參數介面200上輸出該對應之參數210。The method for generating a man-machine interface in the embodiment of the present invention includes at least a generating program 600 . The step 610 includes: on the computing device 30 , based on the function F of a function option 110 , generating a function parameter interface 200 corresponding to the function F, wherein the function parameter interface 200 includes at least one parameter 210 . In this embodiment, function F may include various functions related to I/O settings (such as general-purpose input and output (GPIO), analog-to-digital conversion (ADC), pulse-width modulation (PWM), and universal asynchronous transceiver (UART) , input capture (input capture), set system time (real-time clock, RTC) and set display module backlight brightness, etc.). The function option 110 is an option to express the function F, for example, visually or textually. For example, referring to FIG. 1 , the function option 110a indicates the GPIO function, and the function option 110b indicates the ADC function. The meaning of the so-called "corresponding function F" can be, for example, that the parameters 210 required for different I/O setting functions are different (for example, GPIO must set the register number and pull-up resistor state, UART must set the baud rate (baud rate) )Wait). Therefore, the function parameter interface 200 corresponding to the function F will include the parameters 210 required for setting the function F. That is to say, both the content and quantity of the parameter 210 will change corresponding to the function F. Therefore, the selected function option 110 will serve as an input to the computing device 30 , and the computing device 30 will determine the function F and the corresponding parameter 210 according to the input. Afterwards, the corresponding parameter 210 is output on the function parameter interface 200 .

在步驟620處,包括:在該計算裝置30上,以程式產生單元(未示出)產生關聯於該功能F及該參數210之功能程式碼。在本實施例中,該功能程式碼係對應功能F欲產生之功效(例如將類比訊號轉為數位訊號)而產生。且該功能程式碼中,因應該功效所需之變數則是對應參數210而產生。Step 620 includes: on the computing device 30 , using a program generation unit (not shown) to generate a function code associated with the function F and the parameter 210 . In this embodiment, the function code is generated corresponding to the desired function of the function F (for example, converting an analog signal into a digital signal). And in the function code, the variable required by the function is generated corresponding to the parameter 210 .

在步驟630處,包括:將該功能程式碼輸出至功能執行裝置40,其中功能執行裝置40執行功能程式碼時,產生關聯於功能F之複數指令。其中,該功能程式碼之輸出,可以透過任何有線或無線之連接方式。例如透過通用序列匯流排(USB)、有線乙太網路或是無線區域網路等方式傳輸該功能程式碼,皆包含於本公開內容中「輸出」之定義範圍內。惟前述列出之連接方式僅為示例,本發明並不限於此。Step 630 includes: outputting the function code to the function execution device 40 , wherein the function execution device 40 generates a plurality of instructions associated with the function F when executing the function code. Wherein, the output of the function code can be through any wired or wireless connection method. For example, transmitting the function code through a universal serial bus (USB), wired Ethernet or wireless local area network, etc., are all included in the scope of the definition of "output" in this disclosure. However, the connection methods listed above are only examples, and the present invention is not limited thereto.

接續說明步驟630。該複數指令係指,為了使功能執行裝置40執行功能F,而針對功能執行裝置40內部之特定部件發送之控制訊號。意即,該些指令旨在控制功能執行裝置40內部之特定部件。例如,當功能F預期產生之功效為類比/數位轉換時,該些指令可以控制功能執行裝置40內部之類比數位轉換器,使其針對輸入之訊號進行轉換。The description continues with step 630 . The plural commands refer to control signals sent to specific components inside the function executing device 40 in order to make the function executing device 40 execute the function F. That is, these commands are intended to control specific components inside the function executing device 40 . For example, when the expected effect of the function F is analog/digital conversion, these instructions can control the analog-digital converter inside the function executing device 40 to convert the input signal.

本發明之實施例之人機介面產生方法之功能程式碼還可以進一步包括輸入/輸出控制程式碼以及輸入/輸出暫存程式碼。前述程式碼經功能執行裝置40執行後分別產生輸入/輸出控制指令及輸入/輸出暫存指令。該輸入/輸出控制指令旨在控制功能執行裝置40之主機板410,針對功能F對應之特定輸入介面和(或)輸出介面,執行輸入和(或)輸出。例如當功能F對應之功效為ADC時,該輸入/輸出控制指令則控制關聯於ADC之特定接腳執行類比訊號的輸入,並於訊號完成轉換後控制關聯於ADC之特定接腳執行數位訊號的輸出。The function codes of the man-machine interface generating method of the embodiment of the present invention may further include input/output control codes and input/output temporary storage codes. The aforementioned program codes are executed by the function executing device 40 to generate input/output control instructions and input/output temporary storage instructions respectively. The input/output control command is intended to control the main board 410 of the function execution device 40 to perform input and (or) output for a specific input interface and (or) output interface corresponding to the function F. For example, when the function corresponding to the function F is ADC, the input/output control instruction controls the specific pin associated with the ADC to perform the input of the analog signal, and controls the specific pin associated with the ADC to perform the input of the digital signal after the signal conversion is completed. output.

承上,該輸入/輸出暫存指令則旨在控制功能執行裝置40之暫存器,使根據參數210之暫存器可以對應功能F進行寫入和(或)寫出。例如,參數210中可以包含指定之暫存器編號,該暫存器編號作為變數被包含在輸入/輸出暫存程式碼中,使得該輸入/輸出暫存指令能夠控制該編號之暫存器進行寫入和(或)寫出。Continuing from the above, the input/output temporary storage command is intended to control the temporary storage of the function executing device 40 so that the storage according to the parameter 210 can be written and/or written out corresponding to the function F. For example, the parameter 210 may include a designated register number, which is included as a variable in the input/output register code, so that the input/output register command can control the numbered register to perform Write and/or write out.

透過前述程序600之配置,本發明一實施例之人機介面產生方法可以根據功能選項110之功能F以及功能參考介面200之參數210,自主產生對應之功能程式碼。藉此可以節省撰寫針對I/O功能設定之程式碼,達到快速進行I/O設定之目的,同時也降低了技術之門檻與成本。Through the configuration of the aforementioned program 600 , the man-machine interface generation method of an embodiment of the present invention can automatically generate the corresponding function code according to the function F of the function option 110 and the parameter 210 of the function reference interface 200 . This saves writing codes for I/O function settings, achieves the purpose of fast I/O settings, and also reduces the technical threshold and cost.

此外,本發明之一實施例之人機介面產生方法之計算裝置30還可以進一步包括功能選擇介面100。該功能選擇介面100包含對應複數功能(例如GPIO、ADC、PWM、UART、input capture以及RTC等)之複數功能選項110。且該功能選擇介面100可以由計算裝置30之顯示元件310提供,以呈現給使用者。同時,該複數功能選項110可以由使用者選擇。具體言之,該使用者之選擇可以藉由任何輸入裝置320(例如鍵盤、滑鼠以及觸控螢幕等)輸入計算裝置30。計算裝置30在接收該些輸入裝置320觸發事件後,針對該些點選、觸控或鍵入之標的(即選擇之功能F)產生對應之功能參數介面200。同樣地,該功能參數介面200亦可由計算裝置30之顯示元件310提供,並呈現給使用者。同時,功能參數介面200之參數210亦可由使用者編輯,並藉由例如前述之任何輸入裝置320輸入計算裝置30。使用者編輯之方式可以包括直接鍵入數值、點擊下拉式選單215或者拉動參數滑桿(未示出)等。計算裝置30在接收該些輸入裝置320觸發事件後,針對該些點選、觸控或鍵入之標的(即編輯之參數210)產生對應功能F之功能程式碼。In addition, the computing device 30 of the method for generating a human-machine interface according to an embodiment of the present invention may further include a function selection interface 100 . The function selection interface 100 includes multiple function options 110 corresponding to multiple functions (such as GPIO, ADC, PWM, UART, input capture, and RTC). And the function selection interface 100 can be provided by the display element 310 of the computing device 30 to present to the user. Meanwhile, the plurality of function options 110 can be selected by the user. Specifically, the user's selection can be input into the computing device 30 through any input device 320 (such as a keyboard, a mouse, and a touch screen, etc.). After receiving the trigger events of the input devices 320 , the computing device 30 generates the corresponding function parameter interface 200 for the objects clicked, touched or typed (ie, the selected function F). Likewise, the function parameter interface 200 can also be provided by the display element 310 of the computing device 30 and presented to the user. At the same time, the parameters 210 of the function parameter interface 200 can also be edited by the user, and input into the computing device 30 through, for example, any of the aforementioned input devices 320 . The way for the user to edit may include directly typing in a value, clicking on the drop-down menu 215 or pulling a parameter slider (not shown). After receiving the trigger events of the input devices 320 , the computing device 30 generates a function code corresponding to the function F for the objects selected, touched or typed (ie, the edited parameters 210 ).

在此配置下,使用者可根據預期產生之I/O功效選擇功能選項110,並透過功能參數介面200修改功能F之參數210。藉此,使用者可以快速選擇功能F並且修改其參數210,而不須手動撰寫程式碼。Under this configuration, the user can select the function option 110 according to the expected I/O function, and modify the parameter 210 of the function F through the function parameter interface 200 . In this way, the user can quickly select the function F and modify its parameters 210 without manually writing program codes.

本發明之另一實施例為載有程式之電腦可讀儲存媒體,其可被用以實現前述人機介面之產生方法。計算裝置30讀取該所載之程式時,可至少執行圖2中之步驟610及步驟620。該電腦可讀儲存媒體可以包括任何攜帶或儲存程式碼並且可以被電腦存取之媒體,例如RAM、ROM、光碟、磁碟以及隨身碟等。前述之電腦可讀儲存媒體僅為示例,本發明不對此設限。Another embodiment of the present invention is a computer-readable storage medium carrying a program, which can be used to realize the aforementioned method for generating a human-machine interface. When the computing device 30 reads the loaded program, it can at least execute step 610 and step 620 in FIG. 2 . The computer-readable storage medium may include any medium that carries or stores program codes and can be accessed by a computer, such as RAM, ROM, optical disk, magnetic disk, and pen drive. The aforementioned computer-readable storage medium is only an example, and the present invention is not limited thereto.

參照圖1及圖3說明本發明之又一實施例之計算裝置30,計算裝置30包括功能選擇介面100、功能參數介面200以及顯示元件310。其中功能選擇介面100及功能參數介面200係藉由該顯示元件310呈現給使用者。類似於本發明之一實施例之人機介面產生方法,該功能選擇介面100具有複數功能選項110可供使用者選擇,且該功能參數介面200之參數210可由使用者編輯。其中,計算裝置30還包括程式產生單元(未示出),可根據使用者選擇之功能選項110以及參數210產生關連於功能F之功能程式碼。Referring to FIG. 1 and FIG. 3 , a computing device 30 according to another embodiment of the present invention is described. The computing device 30 includes a function selection interface 100 , a function parameter interface 200 and a display element 310 . The function selection interface 100 and the function parameter interface 200 are presented to the user through the display element 310 . Similar to the man-machine interface generation method of an embodiment of the present invention, the function selection interface 100 has a plurality of function options 110 for the user to select, and the parameters 210 of the function parameter interface 200 can be edited by the user. Wherein, the computing device 30 further includes a program generating unit (not shown), which can generate a function code related to the function F according to the function option 110 and the parameter 210 selected by the user.

承上,類似於本發明之一實施例之人機介面產生方法,本實施例之功能程式碼可以進一步包括輸入/輸出控制程式碼以及輸入/輸出暫存程式碼。執行前述兩種程式碼時可以分別產生對應功能F以及參數210的兩種指令。該兩種指令可以分別控制輸入輸出介面執行輸入和(或)輸出動作,以及控制暫存器執行寫入和(或)寫出動作。As mentioned above, similar to the man-machine interface generation method of an embodiment of the present invention, the function code of this embodiment may further include an input/output control code and an input/output temporary storage code. When executing the aforementioned two kinds of program codes, two kinds of instructions corresponding to the function F and the parameter 210 can be generated respectively. These two kinds of instructions can respectively control the input and output interface to perform input and (or) output actions, and control the temporary register to perform write and (or) write actions.

參照圖3及圖4說明本發明再一實施例之功能執行裝置40,其包括主機板410以及至少一個暫存器。該主機板410可以包括複數個不同作用之輸入介面和輸出介面。具體而言,該輸入介面和輸出介面之數量及作用係對應於複數功能選項110。例如在本實施例中,複數功能選項110之功能F包括ADC,則主機板410包含能夠接收類比訊號之接腳412。或者,在本實施例中,複數功能選項110之功能F包括設定顯示模組背光亮度,則主機板410包含能夠連接顯示模組之連接器415,使得主機板410能夠透過該連接器415傳輸訊號以控制該顯示模組之亮度。應當注意的是,主機板410可以包括任何能夠達成功能F之輸入介面和(或)輸出介面,以上僅為示例性說明。Referring to FIG. 3 and FIG. 4 , a function execution device 40 according to another embodiment of the present invention is illustrated, which includes a motherboard 410 and at least one register. The motherboard 410 may include a plurality of input interfaces and output interfaces with different functions. Specifically, the number and function of the input interface and output interface correspond to the plurality of function options 110 . For example, in this embodiment, the function F of the multiple function options 110 includes ADC, and the motherboard 410 includes a pin 412 capable of receiving an analog signal. Or, in this embodiment, the function F of the multiple function options 110 includes setting the backlight brightness of the display module, and the motherboard 410 includes a connector 415 capable of connecting the display module, so that the motherboard 410 can transmit signals through the connector 415 To control the brightness of the display module. It should be noted that the main board 410 may include any input interface and/or output interface capable of achieving the function F, and the above is only an exemplary description.

承上,功能執行裝置40可以任何方式接收如前述實施例中之功能程式碼。功能執行裝置40執行該功能程式碼時,產生對應功能F之複數指令。類似於本發明實施例之人機介面產生方法,該些指令旨在控制功能執行裝置40內部之特定部件,使功能執行裝置達成功能F。例如主機板410在接受到相關之指令時,可以依指令控制輸入和(或)輸出介面執行輸入和(或)輸出動作。相同地,暫存器在接受到相關之指令時,也可以控制暫存器執行寫入和(或)寫出動作。其中,主機板410與暫存器所執行之動作皆係達成功能F所需要之程序。As mentioned above, the function execution device 40 may receive the function codes in the foregoing embodiments in any manner. When the function execution device 40 executes the function code, it generates a plurality of instructions corresponding to the function F. Similar to the man-machine interface generation method of the embodiment of the present invention, these instructions are intended to control specific components inside the function executing device 40 to enable the function executing device to achieve the function F. For example, the main board 410 can control the input and (or) output interface to perform input and (or) output actions according to the command when receiving related commands. Similarly, when the temporary register receives related instructions, it can also control the temporary register to perform writing and/or writing actions. Wherein, the actions performed by the main board 410 and the register are all programs required to achieve the function F.

本文中所稱之「計算裝置」,可以是任何具有計算功能之電子設備,例如桌上型電腦、筆記型電腦、行動裝置等。類似地,「功能執行裝置」可以包括任何具有處理功能之電子設備,例如處理器、微控制器、特殊應用積體電路或者數位信號處理器等。應當理解的是,前述示出之電子設備皆為示例性說明,本發明並不限於此。The "computing device" referred to in this article can be any electronic device with computing functions, such as desktop computers, notebook computers, mobile devices, etc. Similarly, a "function implementing device" may include any electronic device with processing functions, such as a processor, a microcontroller, an application-specific integrated circuit, or a digital signal processor. It should be understood that the electronic devices shown above are all illustrative, and the present invention is not limited thereto.

在本發明中揭露之所有程式碼可以是任何程式語言(例如C語言、python、Java等)之語句,本發明並未設限。且本公開內容中所稱之「執行」程式碼,可以包括將程式碼編譯後產生執行檔之過程。All the program codes disclosed in the present invention may be statements of any programming language (such as C language, python, Java, etc.), and the present invention is not limited thereto. Moreover, the "execution" of the program code in this disclosure may include the process of compiling the program code to generate an executable file.

上述之實施方式僅係為了使本領域之技術人員能夠理解本發明之說明性示例,而不具有限制之目的。例如,本文中使用之單數用語「一」、「該」同時亦包含複數之情況。所附圖式中各個元素、部件以及單元等之形狀、位置以及大小等均旨在簡潔、明確示出本發明之技術內容,而非對本發明產生限制。同時,眾所周知之細節或構造亦將在圖式中被省略。The above-mentioned embodiments are only illustrative examples for those skilled in the art to understand the present invention, and are not intended to be limiting. For example, the singular terms "a" and "the" used herein also include plural cases. The shape, position, and size of each element, component, and unit in the accompanying drawings are intended to be concise and clearly illustrate the technical content of the present invention, rather than to limit the present invention. Also, well-known details or constructions may be omitted in the drawings.

30…計算裝置 40…功能執行裝置 100…功能選擇介面 110…功能選項 200…功能參數介面 210…參數 215…下拉式選單 310…顯示元件 320…輸入裝置 410…主機板 412…接腳 415…連接器 417…主晶片 600…程序 610…步驟 620…步驟 630…步驟 F…功能 30…computing device 40...Function executing device 100...Function selection interface 110...Function options 200...Function parameter interface 210...parameters 215…Drop-down menu 310...display components 320…Input device 410…Motherboard 412…Pin 415…connector 417…main chip 600...program 610...step 620...step 630...steps F...function

圖1為本發明一實施例之人機介面產生方法之實施示意圖。FIG. 1 is a schematic diagram of the implementation of a method for generating a human-machine interface according to an embodiment of the present invention.

圖2為本發明一實施例之人機介面產生方法之流程圖。FIG. 2 is a flowchart of a method for generating a man-machine interface according to an embodiment of the present invention.

圖3為本發明各單元間之關係示意方塊圖。Fig. 3 is a schematic block diagram of the relationship among the units of the present invention.

圖4為本發明另一實施例之功能執行裝置之示意圖。FIG. 4 is a schematic diagram of a function executing device according to another embodiment of the present invention.

600…程序 610…步驟 620…步驟 630…步驟 600...program 610...step 620...step 630...steps

Claims (23)

一種人機介面產生方法,包括:在一計算裝置上,基於一功能選項之一功能,產生對應該功能之一功能參數介面,其中該功能參數介面包括至少一參數;在該計算裝置上,以一程式產生單元產生關聯於該功能及該參數之一功能程式碼;以及將該功能程式碼輸出至一功能執行裝置,其中該功能執行裝置執行該功能程式碼時,產生關聯於該功能之複數指令。 A method for generating a man-machine interface, comprising: on a computing device, based on a function of a function option, generating a function parameter interface corresponding to the function, wherein the function parameter interface includes at least one parameter; on the computing device, using A program generating unit generates a function code associated with the function and the parameter; and outputs the function code to a function execution device, wherein when the function execution device executes the function code, it generates a plurality of numbers associated with the function instruction. 如請求項1所述之人機介面產生方法,其中該功能程式碼進一步包括一輸入/輸出控制程式碼,其中該功能執行裝置執行該輸入/輸出控制程式碼時產生關聯於該功能之一輸入/輸出控制指令。 The human-machine interface generation method as described in Claim 1, wherein the function code further includes an input/output control code, wherein the function execution device generates an input associated with the function when executing the input/output control code /Output control command. 如請求項2所述之人機介面產生方法,其中該功能執行裝置之一主機板接收該輸入/輸出控制指令後,對應該功能控制該主機板之一輸入介面和(或)輸出介面進行輸入和(或)輸出。 The man-machine interface production method as described in claim 2, wherein one of the main boards of the function execution device receives the input/output control command, and controls an input interface and/or an output interface of the main board corresponding to the function. and (or) output. 如請求項1所述之人機介面產生方法,其中該功能程式碼進一步包括一輸入/輸出暫存程式碼,其中該功能執行裝置執行該輸入/輸出暫存程式碼時,產生關聯於該功能之一輸入/輸出暫存指令。 The human-machine interface generation method as described in claim 1, wherein the function code further includes an input/output temporary storage code, wherein when the function executing device executes the input/output temporary storage code, it generates an input/output temporary storage code associated with the function One of the input/output scratchpad instructions. 如請求項4所述之人機介面產生方法,其中該功能執行裝置之一暫存器接收該輸入/輸出暫存指令後,對應該功能執行寫入和(或)寫出。 The man-machine interface generation method as described in Claim 4, wherein after receiving the input/output temporary storage instruction, one of the registers of the function execution device executes writing and/or writing corresponding to the function. 如請求項1所述之人機介面產生方法,其中該計算裝置進一步包括一功能選擇介面,且該功能選擇介面可藉由該計算裝置之一顯示 元件提供。 The human-machine interface generation method as described in Claim 1, wherein the computing device further includes a function selection interface, and the function selection interface can be displayed by one of the computing devices components provided. 如請求項1所述之人機介面產生方法,其中該功能參數介面可藉由該計算裝置之一顯示元件提供。 The method for generating a man-machine interface as claimed in claim 1, wherein the function parameter interface can be provided by a display element of the computing device. 如請求項6所述之人機介面產生方法,其中該功能選擇介面包括對應複數功能之複數功能選項可由使用者選擇。 The method for generating a man-machine interface as described in Claim 6, wherein the function selection interface includes multiple function options corresponding to multiple functions that can be selected by the user. 如請求項7所述之人機介面產生方法,其中該功能參數介面之該參數可由使用者編輯。 The method for generating a man-machine interface as described in claim item 7, wherein the parameter of the function parameter interface can be edited by the user. 一種載有程式之電腦可讀儲存媒體,該程式在被執行時產生以下操作:基於一功能選項之一功能,產生對應該功能之一功能參數介面,其中該功能參數介面包括至少一參數;以及產生關聯於該功能及該參數之一功能程式碼,其中該功能程式碼被執行時,產生關聯於該功能之複數指令。 A computer-readable storage medium loaded with a program, when the program is executed, the following operations are generated: based on a function of a function option, a function parameter interface corresponding to the function is generated, wherein the function parameter interface includes at least one parameter; and A function code associated with the function and the parameter is generated, wherein when the function code is executed, a plurality of instructions associated with the function is generated. 如請求項10所述之電腦可讀儲存媒體,其中該功能程式碼進一步包括一輸入/輸出控制程式碼,其中該輸入/輸出控制程式碼被執行時產生關聯於該功能之一輸入/輸出控制指令。 The computer-readable storage medium as described in claim 10, wherein the function code further includes an input/output control code, wherein when the input/output control code is executed, an input/output control associated with the function is generated instruction. 如請求項11所述之電腦可讀儲存媒體,其中一主機板接收該輸入/輸出控制指令後,對應該功能控制該主機板之一輸入介面和(或)輸出介面進行輸入和(或)輸出。 The computer-readable storage medium as described in claim 11, after receiving the input/output control command, one of the motherboards controls an input interface and (or) output interface of the motherboard to perform input and (or) output corresponding to the function . 如請求項10所述之電腦可讀儲存媒體,其中該功能程式碼進一步包括一輸入/輸出暫存程式碼,其中該輸入/輸出暫存程式碼被執行時,產生關聯於該功能之一輸入/輸出暫存指令。 The computer-readable storage medium as described in claim 10, wherein the function code further includes an input/output temporary storage code, wherein when the input/output temporary storage code is executed, an input associated with the function is generated /Output scratchpad instruction. 如請求項13所述之人電腦可讀儲存媒體,其中一暫存器接收該輸入/輸出暫存指令後,對應該功能執行寫入和(或)寫出。 In the computer-readable storage medium according to claim 13, after receiving the input/output temporary storage instruction, one of the temporary registers executes writing and/or writing corresponding to the function. 如請求項10所述之電腦可讀儲存媒體,其中該程式在被執行時進一步產生一功能選擇介面,且該功能選擇介面可藉由一顯示元件提供。 The computer-readable storage medium as described in claim 10, wherein the program further generates a function selection interface when executed, and the function selection interface can be provided by a display element. 如請求項10所述之電腦可讀儲存媒體,其中該功能參數介面可藉由一顯示元件提供。 The computer-readable storage medium as claimed in claim 10, wherein the function parameter interface can be provided by a display element. 如請求項15所述之電腦可讀儲存媒體,其中該功能選擇介面包括對應複數功能之複數功能選項可由使用者選擇。 The computer-readable storage medium as described in claim 15, wherein the function selection interface includes multiple function options corresponding to multiple functions that can be selected by the user. 如請求項16所述之電腦可讀儲存媒體,其中該功能參數介面之該參數可由使用者編輯。 The computer-readable storage medium as described in claim 16, wherein the parameter of the function parameter interface can be edited by a user. 一種計算裝置,包括:一功能選項;一功能參數介面,該功能參數介面被配置為對應該功能選項之一功能,且該功能參數介面包括至少一參數;一程式產生單元,該程式產生單元被配置為產生關聯於該功能及該參數之一功能程式碼;以及一顯示元件,該顯示元件被配置為提供該功能選項及該功能參數介面。 A computing device, comprising: a function option; a function parameter interface, the function parameter interface is configured to correspond to a function of the function option, and the function parameter interface includes at least one parameter; a program generation unit, the program generation unit is configured to configured to generate a function code associated with the function and the parameter; and a display element configured to provide the function option and the function parameter interface. 如請求項19之計算裝置,其中該功能程式碼進一步包括一輸入/輸出控制程式碼。 The computing device according to claim 19, wherein the function code further includes an input/output control code. 如請求項19之計算裝置,其中該功能程式碼進一步包括一輸入/輸出暫存程式碼。 The computing device according to claim 19, wherein the function code further includes an input/output temporary storage code. 如請求項19之計算裝置,進一步包括一功能選擇介面,其中該功能選擇介面包括對應複數功能之複數功能選項可由使用者選擇,且該功能選擇介面可藉由該顯示元件提供。 The computing device according to claim 19 further includes a function selection interface, wherein the function selection interface includes multiple function options corresponding to multiple functions that can be selected by the user, and the function selection interface can be provided by the display element. 如請求項19之計算裝置,其中該功能參數介面之該參數可由使用者編輯。 The computing device according to claim 19, wherein the parameter of the function parameter interface can be edited by the user.
TW110115419A 2021-04-28 2021-04-28 Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device TWI783463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110115419A TWI783463B (en) 2021-04-28 2021-04-28 Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110115419A TWI783463B (en) 2021-04-28 2021-04-28 Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device

Publications (2)

Publication Number Publication Date
TW202242618A TW202242618A (en) 2022-11-01
TWI783463B true TWI783463B (en) 2022-11-11

Family

ID=85793273

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110115419A TWI783463B (en) 2021-04-28 2021-04-28 Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device

Country Status (1)

Country Link
TW (1) TWI783463B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408843A (en) * 2008-11-18 2009-04-15 广东威创视讯科技股份有限公司 Method and apparatus for generating program menu
CN102289375A (en) * 2011-09-02 2011-12-21 中兴通讯股份有限公司 Code generation method and system
TW202115570A (en) * 2019-10-03 2021-04-16 奧暢雲服務股份有限公司 User interface generating method and a computer system implementing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408843A (en) * 2008-11-18 2009-04-15 广东威创视讯科技股份有限公司 Method and apparatus for generating program menu
CN102289375A (en) * 2011-09-02 2011-12-21 中兴通讯股份有限公司 Code generation method and system
TW202115570A (en) * 2019-10-03 2021-04-16 奧暢雲服務股份有限公司 User interface generating method and a computer system implementing the same

Also Published As

Publication number Publication date
TW202242618A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
Anderson et al. Pro Arduino
WO2015039628A1 (en) Visualization step programming method
US20050093817A1 (en) Apparatus method and system for improved feedback of pointing device event processing
TWI427965B (en) Remote management system, kvm switch, and remote managing method
US20180107286A1 (en) Virtual input device system
TWI783463B (en) Method for generating a human-machine interface, computer readable storage medium, computing device, and function operating device
EP2801012B1 (en) Supporting different event models using a single input source
US20140351251A1 (en) Text-based command generation
EP4130960A1 (en) Ui control generation and trigger methods, and terminal
Khner Expert. NET Micro Framework
CN106371818B (en) Method for processing user-level events to program application program
KR20140116400A (en) Enabling performant cascading operations
CN101650656B (en) Control method for software logic input device, input control system and computer system
KR20200022254A (en) Apparatus and method for configuration of os based on self-defined definition
JP5705383B1 (en) Touch operation compatible program code conversion method and program
Reuben et al. GUI Composer: A Lightweight GUI Software Development Framework for WSN, IoT and Control System Application
CN114328302B (en) Multi-host input control method, system, equipment and storage medium
JP7241931B2 (en) Method, device, electronic device, storage medium and computer program for debugging mini-programs
JP5161558B2 (en) Keyboard hot key code transmission method
TWM462860U (en) Debug system and apparatus for providing graphical pin interface
US8122359B2 (en) Apparatus, system, and method for topological display of user interface elements
CN211125024U (en) CDROM controller
Lei et al. Design of the instrument soft panel using windows presentation foundation
JP2007156728A (en) Logic verification method and logic verification system
JP2018049350A (en) CAD command input device