TWI772069B - Illumination control system and method of gaming peripherals - Google Patents

Illumination control system and method of gaming peripherals Download PDF

Info

Publication number
TWI772069B
TWI772069B TW110122490A TW110122490A TWI772069B TW I772069 B TWI772069 B TW I772069B TW 110122490 A TW110122490 A TW 110122490A TW 110122490 A TW110122490 A TW 110122490A TW I772069 B TWI772069 B TW I772069B
Authority
TW
Taiwan
Prior art keywords
light
storage unit
control
lighting
microcontroller
Prior art date
Application number
TW110122490A
Other languages
Chinese (zh)
Other versions
TW202300204A (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 TW110122490A priority Critical patent/TWI772069B/en
Priority to CN202110974077.9A priority patent/CN115499962A/en
Application granted granted Critical
Publication of TWI772069B publication Critical patent/TWI772069B/en
Publication of TW202300204A publication Critical patent/TW202300204A/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/213Input arrangements for video game devices characterised by their sensors, purposes or types comprising photodetecting means, e.g. cameras, photodiodes or infrared cells
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light

Abstract

An illumination control system and method of gaming peripherals is provided. The illumination control system comprises a mainboard and a peripheral device. The mainboard comprises a first storage unit and a first control interface. The first storage unit stores a controlling macro process. The peripheral device comprises a micro control unit, a second storage unit, a plurality of LEDs and a second control interface. The micro control unit couples to the second storage unit, the LEDs and the second control interface. The second storage unit stores a reading script process. The micro control unit access the controlling macro process of the first storage unit according to the reading script process. The micro control unit drives the LEDS according to the controlling macro process.

Description

電競週邊的發光控制系統與方法Lighting control system and method for gaming peripherals

關於一種電子裝置的控制系統與方法,特別有關一種電競週邊的發光控制系統與方法。A control system and method for an electronic device, particularly a lighting control system and method for gaming peripherals.

隨著電子遊戲產業的興起,也帶動電子競賽用的各種硬體。一般而言,電競設備除了能提供高運算能力外,也同時會聯動軟體與其他週邊的交互作用。因此應用程式運行時,處理器除了需要負擔應用程式的執行負載外,處理器還另外需要對電競週邊發送控制指令。控制指令不僅包括電競設備的訊號輸入或訊號輸出,控制指令也包括電競設備的發光二極體的控制。With the rise of the video game industry, it also drives various hardware for electronic competitions. Generally speaking, in addition to providing high computing power, gaming devices can also link the interaction between software and other peripherals. Therefore, when the application is running, the processor not only needs to bear the execution load of the application, but also needs to send control commands to the gaming peripheral. The control command not only includes the signal input or signal output of the gaming device, but also includes the control of the light-emitting diodes of the gaming device.

因此電競設備的連接數量越多,處理器的處理負載就會越高。舉例來說,在電子遊戲中的目標損傷時,主機板所連接的相關週邊與所屬的發光二極體都會聯動閃爍或變色,進而提示玩家當前的遊戲狀態。例如:機殼殼體的燈條或螢幕側邊的發光二極體會隨著目標的損害而聯動閃爍。在處理器運行遊戲的期間,處理器還要另外控制其他電競週邊發光。隨著電競週邊的數量增加也會加重處理器的負載,因此將會影響主機板所連接的各電競週邊的同步發光。除此之外,主機板混合連接不同廠牌的電競週邊時,也會發生各電競週邊的發光不同步的情況。或者是在主機未執行作業系統,處理器將不會向電競週邊發送控制命令,使得各電競週邊也會產生發光不同步。Therefore, the higher the number of connections to the gaming device, the higher the processing load on the processor. For example, when a target in a video game is damaged, the related peripherals connected to the motherboard and the associated LEDs will flash or change color in linkage, thereby prompting the player of the current game state. For example: the light bar of the case shell or the light-emitting diodes on the side of the screen will flash in conjunction with the damage of the target. While the processor is running the game, the processor also controls other gaming peripherals to emit light. As the number of gaming peripherals increases, the load on the processor will also increase, which will affect the synchronous lighting of the gaming peripherals connected to the motherboard. In addition, when the motherboard is mixed with gaming peripherals of different brands, the lighting of the gaming peripherals will also be out of sync. Or when the host computer is not running the operating system, the processor will not send control commands to the gaming peripherals, so that the lighting of the gaming peripherals will also be out of sync.

有鑑於此,在一些實施例中電競週邊的發光控制系統包括主機板與週邊設備。主機板具有第一儲存單元與第一控制介面,第一儲存單元存儲控制巨集;週邊設備具有微控制器、第二儲存單元、多個發光二極體與第二控制介面,微控制器耦接於第二儲存單元、所述發光二極體與第二控制介面,第二控制介面耦接於第一控制介面,第二儲存單元具有腳本讀取程式,微控制器執行腳本讀取程式,微控制器根據腳本讀取程式讀取第一儲存單元的控制巨集,微控制器根據控制巨集驅動所述發光二極體。電競週邊的發光控制系統的各週邊設備可以自行讀取控制巨集,不需由處理器向週邊設備逐一發送控制命令。因此處理器可以降低發送控制命令的工作負載。In view of this, in some embodiments, the lighting control system of the gaming peripheral includes a motherboard and peripheral devices. The motherboard has a first storage unit and a first control interface, the first storage unit stores a control macro; the peripheral equipment has a microcontroller, a second storage unit, a plurality of light emitting diodes and a second control interface, the microcontroller is coupled to connected to the second storage unit, the light emitting diode and the second control interface, the second control interface is coupled to the first control interface, the second storage unit has a script reading program, and the microcontroller executes the script reading program, The microcontroller reads the control macro of the first storage unit according to the script reading program, and the microcontroller drives the light-emitting diodes according to the control macro. The peripheral devices of the lighting control system around the gaming environment can read the control macros by themselves, without the need for the processor to send control commands to the peripheral devices one by one. Therefore, the processor can reduce the workload of sending control commands.

在一些實施例中,更包括電力供應端,傳輸運作電力至週邊設備,提供運作電力至微控制器與所述發光二極體。In some embodiments, a power supply terminal is further included, which transmits operating power to peripheral devices and provides operating power to the microcontroller and the light-emitting diodes.

在一些實施例中,週邊設備於進階組態與電源介面的零號狀態(S0)、第一狀態(S1)、第二狀態(S2)或第三狀態(S3)執行腳本讀取程式以讀取第一儲存單元的控制巨集。In some embodiments, the peripheral device executes the script reading program in the zero state (S0), the first state (S1), the second state (S2) or the third state (S3) of the advanced configuration and power interface to Read the control macro of the first storage unit.

在一些實施例中,週邊設備包括第一發光群與第二發光群,第一發光群為部分所述發光二極體,第二發光群為其餘部分的所述發光二極體,微控制器根據控制巨集分別驅動第一發光群與第二發光群的發光腳本。In some embodiments, the peripheral device includes a first light-emitting group and a second light-emitting group, the first light-emitting group is part of the light-emitting diodes, the second light-emitting group is the rest of the light-emitting diodes, and the microcontroller The light-emitting scripts of the first light-emitting group and the second light-emitting group are respectively driven according to the control macro.

在一些實施例中,週邊設備包括第一發光群與第二發光群,第一發光群為部分所述發光二極體,第二發光群為其餘部分的所述發光二極體,微控制器根據控制巨集分別驅動第一發光群與第二發光群的發光腳本。In some embodiments, the peripheral device includes a first light-emitting group and a second light-emitting group, the first light-emitting group is part of the light-emitting diodes, the second light-emitting group is the rest of the light-emitting diodes, and the microcontroller The light-emitting scripts of the first light-emitting group and the second light-emitting group are respectively driven according to the control macro.

在一些實施例中,控制巨集更包括發光腳本,發光腳本包括發光亮度、發光頻率或發光顏色。In some embodiments, the control macro further includes a lighting script, and the lighting script includes lighting intensity, lighting frequency or lighting color.

在一些實施例中,微控制器將控制巨集寫入第二儲存單元,微控制器根據第二儲存單元的控制巨集驅動所述發光二極體。In some embodiments, the microcontroller writes the control macro to the second storage unit, and the microcontroller drives the light emitting diode according to the control macro of the second storage unit.

在一些實施例中,腳本讀取程式包括直接讀取模式,微控制器每經過第一更新週期,微控制器向第一儲存單元讀取控制巨集,微控制器根據第一儲存單元的控制巨集驅動所述發光二極體。In some embodiments, the script reading program includes a direct reading mode, the microcontroller reads the control macro from the first storage unit every time the microcontroller passes the first update cycle, and the microcontroller reads the control macro from the first storage unit according to the control of the first storage unit. The macro drives the light emitting diodes.

在一些實施例中,腳本讀取程式包括間接讀取模式,微控制器每經過第二更新週期,微控制器將第一儲存單元的控制巨集寫入第二儲存單元;微控制器於第二更新週期間,微控制器根據第二儲存單元的控制巨集驅動所述發光二極體。In some embodiments, the script reading program includes an indirect reading mode, and the microcontroller writes the control macro of the first storage unit into the second storage unit every time the microcontroller passes through the second update cycle; the microcontroller writes the control macro of the first storage unit into the second storage unit; During two refresh cycles, the microcontroller drives the light-emitting diodes according to the control macro of the second storage unit.

在一些實施例中,電競週邊的發光控制方法包括將控制巨集寫入第一儲存單元;由週邊設備讀取第一儲存單元的控制巨集;週邊設備根據控制巨集驅動多個發光二極體發光。電競週邊的發光控制方法是由各週邊設備向第一儲存單元讀取控制巨集,不需由處理器向週邊設備逐一發送控制命令。因此處理器可以降低發送控制命令的工作負載。In some embodiments, the lighting control method of the gaming peripheral includes writing a control macro into a first storage unit; reading the control macro of the first storage unit by a peripheral device; and driving a plurality of light-emitting two by the peripheral device according to the control macro Polar body glows. The lighting control method of the gaming peripheral is that each peripheral device reads control macros from the first storage unit, and it is not necessary for the processor to send control commands to the peripheral devices one by one. Therefore, the processor can reduce the workload of sending control commands.

在一些實施例中,在將控制巨集寫入第一儲存單元之步驟包括將週邊設備連接於主機板,使週邊設備電性連接於主機板的第一儲存單元。In some embodiments, the step of writing the control macro into the first storage unit includes connecting the peripheral device to the motherboard, so that the peripheral device is electrically connected to the first storage unit of the motherboard.

在一些實施例中,在由週邊設備讀取第一儲存單元的控制巨集之步驟包括執行週邊設備的腳本讀取程式,其中於進階組態與電源介面的零號狀態(S0)、第一狀態(S1)、第二狀態(S2)或第三狀態(S3)執行腳本讀取程式。In some embodiments, the step of reading the control macro of the first storage unit by the peripheral device includes executing a script reading program of the peripheral device, wherein in the zero state (S0), the first state of the advanced configuration and the power interface A state (S1), a second state (S2) or a third state (S3) executes the script reading program.

在一些實施例中,在週邊設備根據控制巨集驅動多個發光二極體發光之步驟包括將所述發光二極體分為第一發光群與第二發光群;分別驅動第一發光群與第二發光群的發光腳本。In some embodiments, the step of driving a plurality of light emitting diodes to emit light according to the control macro in the peripheral device includes dividing the light emitting diodes into a first light emitting group and a second light emitting group; respectively driving the first light emitting group and the second light emitting group. The glow script of the second glow group.

所述的電競週邊的發光控制系統與方法除了控制電競週邊的亮度外,更可以降低處理器對於控制指令的派送負擔。處理器不需要全時段對每一項週邊設備發送相應的控制指令。並且電競週邊的發光控制系統不需增加新的硬體成本,透過週邊設備的微控制器自行取得相應的控制巨集,藉以驅動發光二極體動作。The lighting control system and method for gaming peripherals can not only control the brightness of gaming peripherals, but also reduce the processor's burden of dispatching control commands. The processor does not need to send corresponding control commands to each peripheral device at all times. In addition, the lighting control system of the gaming peripheral does not need to increase the cost of new hardware, and the corresponding control macro can be obtained by the microcontroller of the peripheral device, so as to drive the action of the light emitting diode.

請參考圖1所示,其係為此一實施例的電競週邊的發光控制系統100架構示意圖。電競週邊的發光控制系統100可以應用於個人電腦、筆記型電腦或電競相關的計算機中。發光控制系統100包括主機板110與至少一週邊設備120。主機板110具有處理器111、第一儲存單元112與第一控制介面113。處理器111耦接於第一儲存單元112與第一控制介面113。第一儲存單元112存儲控制巨集114。第一儲存單元112可以是唯讀記憶體(read only memory)、快閃記憶體(flash memory)或可抹式唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory)等。Please refer to FIG. 1 , which is a schematic structural diagram of a lighting control system 100 for gaming peripherals according to an embodiment. The lighting control system 100 for gaming peripherals can be applied to a personal computer, a notebook computer or a computer related to gaming. The lighting control system 100 includes a mainboard 110 and at least one peripheral device 120 . The motherboard 110 has a processor 111 , a first storage unit 112 and a first control interface 113 . The processor 111 is coupled to the first storage unit 112 and the first control interface 113 . The first storage unit 112 stores the control macro 114 . The first storage unit 112 may be a read only memory, a flash memory or an Electrically-Erasable Programmable Read-Only Memory or the like.

控制巨集114記錄設備資訊(無標號)與發光腳本(無標號),設備資訊對應週邊設備120與所屬的發光二極體123(或其集合)。換言之,不同的週邊設備120各自具有對應的設備資訊。發光腳本用於控制發光二極體123的發光,所述發光腳本包括發光亮度、發光頻率或發光顏色。在一實施例中,所有的週邊設備120可以共用相同的設備資訊,以使所有週邊設備120同步發光或同步相同的發光顏色。The control macro 114 records the device information (without label) and the lighting script (without label), and the device information corresponds to the peripheral device 120 and the associated LED 123 (or a set thereof). In other words, different peripheral devices 120 each have corresponding device information. The light-emitting script is used to control the light-emitting of the light-emitting diode 123, and the light-emitting script includes light-emitting brightness, light-emitting frequency or light-emitting color. In one embodiment, all the peripheral devices 120 can share the same device information, so that all the peripheral devices 120 can emit light in synchronization or in the same emission color.

第一控制介面113耦接於週邊設備120。第一控制介面113的種類可以是但不限定為快捷外設組件互連標準(Peripheral Component Interconnect Express,PCIE)、通用序列匯流排(Universal Serial Bus)、雷電通訊協議(thunderbolt)、雙線記憶體模組(Dual In-line Memory Module)或燈座(LED Strip socket)。第一控制介面113傳輸控制巨集114至週邊設備120。在一實施例中,第一控制介面113可以傳輸運作電力至週邊設備120。The first control interface 113 is coupled to the peripheral device 120 . The type of the first control interface 113 can be, but is not limited to, Peripheral Component Interconnect Express (PCIE), Universal Serial Bus (Universal Serial Bus), thunderbolt, dual-line memory Module (Dual In-line Memory Module) or lamp socket (LED Strip socket). The first control interface 113 transmits the control macro 114 to the peripheral device 120 . In one embodiment, the first control interface 113 can transmit operating power to the peripheral device 120 .

週邊設備120具有微控制器121、第二儲存單元122、多個發光二極體123與第二控制介面124。週邊設備120的種類可以是但不限定為鍵盤212、滑鼠、風扇、散熱器、排線、記憶體、燈條、集線器、電源供應器或儲存設備等。微控制器121電性連接第二儲存單元122、發光二極體123與第二控制介面124。第二儲存單元122存儲腳本讀取程式125。微控制器121執行腳本讀取程式125,以獲取第一儲存單元112的路徑位置並讀取控制巨集114。腳本讀取程式125可以透過基本輸入輸出系統(Basic Input/Output System,BIOS)獲取主機板110中的第一儲存單元112的路徑位置與控制巨集114。或者,腳本讀取程式125根據記憶體位址或區段藉以取得控制巨集114。The peripheral device 120 has a microcontroller 121 , a second storage unit 122 , a plurality of light emitting diodes 123 and a second control interface 124 . The types of peripheral devices 120 may be, but are not limited to, keyboard 212 , mouse, fan, radiator, cable, memory, light bar, hub, power supply, or storage device. The microcontroller 121 is electrically connected to the second storage unit 122 , the light emitting diodes 123 and the second control interface 124 . The second storage unit 122 stores the script reading program 125 . The microcontroller 121 executes the script reading program 125 to obtain the path position of the first storage unit 112 and read the control macro 114 . The script reading program 125 can acquire the path position of the first storage unit 112 in the motherboard 110 and the control macro 114 through the Basic Input/Output System (BIOS). Alternatively, the script reader 125 obtains the control macro 114 according to the memory address or sector.

第二控制介面124的種類係對應於第一控制介面113。第二控制介面124耦接於第一控制介面113,第二控制介面124傳輸控制巨集114。微控制器121根據腳本讀取程式125讀取第一儲存單元112的控制巨集114。微控制器121根據控制巨集114驅動發光二極體123的發光動作。控制巨集114除了記錄設備資訊外,也記錄相應設備的發光二極體123與發光腳本。微控制器121可以根據設備資訊獲取相應發光二極體123的發光腳本。控制巨集114可以儲存一組週邊設備120的設備資訊外,也可以同時儲存多組週邊設備120的設備資訊。The type of the second control interface 124 corresponds to the first control interface 113 . The second control interface 124 is coupled to the first control interface 113 , and the second control interface 124 transmits the control macro 114 . The microcontroller 121 reads the control macro 114 of the first storage unit 112 according to the script reading program 125 . The microcontroller 121 drives the light-emitting action of the light-emitting diode 123 according to the control macro 114 . In addition to recording device information, the control macro 114 also records the LEDs 123 and lighting scripts of the corresponding devices. The microcontroller 121 can acquire the lighting script of the corresponding LED 123 according to the device information. The control macro 114 can store the device information of one group of peripheral devices 120 , and can also store the device information of multiple groups of peripheral devices 120 at the same time.

圖2中係以個人電腦主機的圖示代表主機板110,而螢幕所播放之畫面是控制巨集114的內容。以散熱風扇211與鍵盤212為例,散熱風扇211與鍵盤212分別配置不同的設備資訊。當散熱風扇211的微控制器121讀取控制巨集114時,微控制器121可以根據設備資訊獲取相應的發光腳本。散熱風扇211的發光腳本根據所偵測溫度或風扇轉速調整發光二極體123的發光顏色、發光亮度或發光頻率。在圖2中發光顏色係以色碼作為表示。在同一橫列中的不同色碼表示發光二極體123的顏色變化。在圖2中僅以兩組色碼作為漸層變換並且亮度也隨之調整。散熱風扇211的發光二極體123係以500ms (對應圖2)為週期進行前述的亮度與顏色的變化,但控制巨集114並非僅侷限於此之表述方式。In FIG. 2 , the main board 110 is represented by a diagram of a personal computer mainframe, and the displayed image on the screen is the content of the control macro 114 . Taking the cooling fan 211 and the keyboard 212 as an example, the cooling fan 211 and the keyboard 212 are respectively configured with different device information. When the microcontroller 121 of the cooling fan 211 reads the control macro 114, the microcontroller 121 can obtain the corresponding lighting script according to the device information. The light-emitting script of the cooling fan 211 adjusts the light-emitting color, light-emitting brightness or light-emitting frequency of the light-emitting diode 123 according to the detected temperature or the fan speed. In Figure 2, the luminous color is represented by a color code. Different color codes in the same row represent color changes of the light emitting diodes 123 . In Figure 2, only two sets of color codes are used as gradient transformations and the brightness is also adjusted accordingly. The light-emitting diodes 123 of the cooling fan 211 perform the aforementioned changes in brightness and color with a period of 500 ms (corresponding to FIG. 2 ), but the control macro 114 is not limited to this representation.

同理,鍵盤212的微控制器121讀取控制巨集114後,微控制器121根據設備資訊從控制巨集114中獲取相應發光腳本。鍵盤212的發光腳本可以是根據按鍵位置進而決定其他按鍵與其他按鍵的發光二極體123的亮度或顏色。Similarly, after the microcontroller 121 of the keyboard 212 reads the control macro 114 , the microcontroller 121 obtains the corresponding lighting script from the control macro 114 according to the device information. The lighting script of the keyboard 212 may determine other keys and the brightness or color of the LEDs 123 of the other keys according to the key positions.

在一實施例中,發光控制系統100更包括一電力供應端311。電力供應端311提供運作電力至週邊設備120。週邊設備120可以透過第二控制介面124或其他接口耦接於週邊設備120。在一實施例中,第一控制介面113包括電力供應端311。當第一控制介面113與第二控制介面124相接時,第一控制介面113提供運作電力至週邊設備120。若週邊設備120為USB集線器,USB集線器除了配置USB接頭(對應第二控制介面124)外,在USB集線器之側邊可以設置電源輸入端,如圖3所示。電源輸入端可以連接電源供應端(例如:市電或直流供電等),藉以獲取運作電力。In one embodiment, the lighting control system 100 further includes a power supply terminal 311 . The power supply terminal 311 provides operating power to the peripheral device 120 . The peripheral device 120 can be coupled to the peripheral device 120 through the second control interface 124 or other interfaces. In one embodiment, the first control interface 113 includes a power supply terminal 311 . When the first control interface 113 is connected to the second control interface 124 , the first control interface 113 provides operating power to the peripheral device 120 . If the peripheral device 120 is a USB hub, in addition to the USB connector (corresponding to the second control interface 124 ), the USB hub can be provided with a power input terminal on the side of the USB hub, as shown in FIG. 3 . The power input terminal can be connected to a power supply terminal (eg, commercial power or DC power supply, etc.) to obtain operating power.

為進一步說明此實施例的運作過程,還請配合參考圖4,其係為一實施例的電競週邊的發光控制方法。電競週邊的發光控制方法包括以下步驟: 步驟S410:將控制巨集寫入第一儲存單元; 步驟S420:由週邊設備讀取第一儲存單元的控制巨集;以及 步驟S430:週邊設備根據控制巨集驅動多個發光二極體發光。 To further illustrate the operation process of this embodiment, please also refer to FIG. 4 , which is an embodiment of a lighting control method for a gaming peripheral. The lighting control method of the gaming peripheral includes the following steps: Step S410: write the control macro into the first storage unit; Step S420: read the control macro of the first storage unit by the peripheral device; and Step S430: The peripheral device drives the plurality of light-emitting diodes to emit light according to the control macro.

首先,主機板110於運作過程中,處理器111將獲取的控制巨集114寫入第一儲存單元112。處理器111可以透過作業系統、應用程式或遠端伺服器獲得控制巨集114或更新控制巨集114。若第一儲存單元112中不存在控制巨集114或控制巨集114的版本資訊為舊版時,處理器111將所取得的控制巨集114寫入第一儲存單元112中。First, during the operation of the motherboard 110 , the processor 111 writes the acquired control macro 114 into the first storage unit 112 . The processor 111 can obtain the control macro 114 or update the control macro 114 through an operating system, an application program or a remote server. If the control macro 114 does not exist in the first storage unit 112 or the version information of the control macro 114 is an old version, the processor 111 writes the acquired control macro 114 into the first storage unit 112 .

接著,將至少一週邊設備120耦接於主機板110。在週邊設備120耦接於主機板110後,週邊設備120的微控制器121執行腳本讀取程式125。微控制器121根據腳本讀取程式125的路徑尋徑至第一儲存單元112並獲取控制巨集114。微控制器121根據設備資訊與控制巨集114獲取相應的發光二極體123的發光腳本。微控制器121根據控制巨集114與發光腳本驅動發光二極體123。微控制器121將重複步驟S420~S430的讀取與驅動處理,直至主機板110關機或休眠為止。Next, at least one peripheral device 120 is coupled to the motherboard 110 . After the peripheral device 120 is coupled to the motherboard 110 , the microcontroller 121 of the peripheral device 120 executes the script reading program 125 . The microcontroller 121 finds the path to the first storage unit 112 according to the path of the script reading program 125 and obtains the control macro 114 . The microcontroller 121 acquires the corresponding lighting script of the LED 123 according to the device information and the control macro 114 . The microcontroller 121 drives the LEDs 123 according to the control macro 114 and the lighting script. The microcontroller 121 will repeat the reading and driving processes of steps S420 to S430 until the motherboard 110 is shut down or hibernated.

在一些實施例中,週邊設備120可以在進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)的零號狀態(S0)、第一狀態(S1)、第二狀態(S2)或第三狀態(S3)取第一儲存單元112的控制巨集114。在主機板110運行的過程中(對應零號狀態),處理器111可以隨時更新控制巨集114。在第一狀態(S1)、第二狀態(S2)或第三狀態(S3)下,處理器111進入休眠,但週邊設備120與第一儲存單元112還保持運作。因此週邊設備120還是可以透過第二控制介面124取得第一儲存單元112的控制巨集114。In some embodiments, the peripheral device 120 may be in the zero state (S0), the first state (S1), the second state (S2), or the first state (S2) of the Advanced Configuration and Power Interface (ACPI). The three states ( S3 ) take the control macro 114 of the first storage unit 112 . During the running process of the mainboard 110 (corresponding to the zero state), the processor 111 can update the control macro 114 at any time. In the first state ( S1 ), the second state ( S2 ), or the third state ( S3 ), the processor 111 goes into sleep mode, but the peripheral device 120 and the first storage unit 112 keep operating. Therefore, the peripheral device 120 can still obtain the control macro 114 of the first storage unit 112 through the second control interface 124 .

在一些實施例中,腳本讀取程式125包括直接讀取模式511與間接讀取模式512。處理器111可以向週邊設備120發送切換命令,以使週邊設備120選擇直接讀取模式511或間接讀取模式512。當週邊設備120於直接讀取模式511時,微控制器121每經過第一更新週期,微控制器121向第一儲存單元112讀取控制巨集114。微控制器121根據第一儲存單元112的控制巨集114驅動所屬的發光二極體123。第一更新週期的時間長度根據控制巨集114所決定。In some embodiments, the script reading program 125 includes a direct reading mode 511 and an indirect reading mode 512 . The processor 111 may send a switching command to the peripheral device 120 so that the peripheral device 120 selects the direct reading mode 511 or the indirect reading mode 512 . When the peripheral device 120 is in the direct read mode 511 , the microcontroller 121 reads the control macro 114 from the first storage unit 112 every time the microcontroller 121 passes the first update cycle. The microcontroller 121 drives the corresponding light-emitting diodes 123 according to the control macro 114 of the first storage unit 112 . The length of the first update cycle is determined according to the control macro 114 .

請參考圖5所示,在圖5中間部分為時間軸,時間軸的上方均為第一更新週期(無標號),其係雙向箭頭表示讀取控制巨集114的間隔時間長度。時間軸下方均為第二更新週期(於後文另述)。舉例來說,週邊設備120的發光時間長度為1500ms。因此,第一更新週期應小於或等於1500ms。當微控制器121每經過第一更新週期向第一儲存單元112讀取次回的控制巨集114。Please refer to FIG. 5 , the middle part of FIG. 5 is the time axis, and the upper part of the time axis is the first update cycle (no label), and the double-headed arrows indicate the interval length of reading the control macro 114 . Below the time axis are the second update cycles (described later). For example, the light-emitting time length of the peripheral device 120 is 1500 ms. Therefore, the first update period should be less than or equal to 1500ms. When the microcontroller 121 reads the returned control macro 114 from the first storage unit 112 every time the first update cycle passes.

當週邊設備120於間接讀取模式512,微控制器121每經過第二更新週期,微控制器121向第一儲存單元112讀取控制巨集114並將控制巨集114寫入第二儲存單元122。其中,第二更新週期的時長大於第一更新週期的時長。微控制器121於第二更新週期中且每經過第一更新週期時,微控制器121根據第二儲存單元122的控制巨集114驅動所屬的發光二極體123,如圖5所示。When the peripheral device 120 is in the indirect read mode 512 , the microcontroller 121 reads the control macro 114 from the first storage unit 112 and writes the control macro 114 into the second storage unit every time the microcontroller 121 passes the second update cycle. 122. Wherein, the duration of the second update period is greater than the duration of the first update period. The microcontroller 121 drives the corresponding LEDs 123 according to the control macro 114 of the second storage unit 122 in the second update cycle and every time the first update cycle passes, as shown in FIG. 5 .

承接前例,第二更新週期若為4500ms,則微控制器121在第二更新週期間將會歷經三回合的第一更新週期。微控制器121在第二更新週期中且每經過第一更新週期時,微控制器121會從第二儲存單元122中讀取控制巨集114並驅動發光二極體123。當微控制器121歷經第二更新週期時,微控制器121才會向第一儲存單元112讀取控制巨集114。不同的週邊設備120可以設定不同的讀取模式,更進一步的降低對第一儲存單元112的存取頻率。Following the previous example, if the second update period is 4500 ms, the microcontroller 121 will go through three rounds of the first update period during the second update period. The microcontroller 121 reads the control macro 114 from the second storage unit 122 and drives the light emitting diodes 123 in the second update cycle and every time the first update cycle passes. When the microcontroller 121 goes through the second update cycle, the microcontroller 121 reads the control macro 114 from the first storage unit 112 . Different peripheral devices 120 can be set to different read modes, which further reduces the access frequency to the first storage unit 112 .

在一些實施例中,週邊設備120的發光二極體123可以被分為第一發光群611與第二發光群612。控制巨集114記錄第一發光群611的發光腳本、第二發光群612的發光腳本。在此將第一發光群611的發光腳本稱為第一腳本621,第二發光群612的發光腳本為第二腳本622,請參考圖6A與圖6B所示。圖6A中係以具有發光二極體123的機殼為週邊設備120作為說明。微控制器121可以根據第一腳本621與第二腳本622分別驅動第一發光群611與第二發光群612,如圖6B所示。In some embodiments, the light emitting diodes 123 of the peripheral device 120 may be divided into a first light emitting group 611 and a second light emitting group 612 . The control macro 114 records the lighting script of the first lighting group 611 and the lighting script of the second lighting group 612 . Herein, the lighting script of the first lighting group 611 is referred to as the first script 621 , and the lighting script of the second lighting group 612 is referred to as the second script 622 , please refer to FIGS. 6A and 6B . In FIG. 6A , a case with light-emitting diodes 123 is used as the peripheral device 120 for illustration. The microcontroller 121 can drive the first light-emitting group 611 and the second light-emitting group 612 according to the first script 621 and the second script 622, respectively, as shown in FIG. 6B .

第一發光群611與第二發光群612可以在不同的作用條件下(意即圖6A中的週期),第一發光群611可以從色碼#00BFFF轉換為色碼#1E90FF的漸層變換,並且漸層變換時同時改變發光亮度。除了所述色碼的顏色變換外,也可以採用三原色或其他色彩座標作為顏色變換的手段。對於第二發光群612而言,第二發光群612每經過350ms就會由色碼#F08080漸層變化為色碼#FF0000,且第二發光群612的亮度保持恆定。The first light-emitting group 611 and the second light-emitting group 612 can be under different action conditions (that is, the cycle in FIG. 6A ), and the first light-emitting group 611 can be converted from color code #00BFFF to color code #1E90FF Gradient transformation, And the luminous brightness is changed at the same time when the gradient is transformed. In addition to the color transformation of the color code, three primary colors or other color coordinates can also be used as a means of color transformation. For the second light-emitting group 612, the second light-emitting group 612 gradually changes from the color code #F08080 to the color code #FF0000 every 350 ms, and the brightness of the second light-emitting group 612 remains constant.

所述的電競週邊的發光控制系統100與方法除了控制電競週邊的亮度外,更可以降低處理器111對於控制指令的派送負擔。處理器111不需要全時段對每一項週邊設備120發送相應的控制指令,如圖7所示。圖7上方係為習知技術的全時段發送控制指令的處理器111負載記錄,圖7下方係為電競週邊的發光控制系統100的處理器111之負載記錄。The lighting control system 100 and method for the gaming peripheral can not only control the brightness of the gaming peripheral, but also reduce the burden of the processor 111 for dispatching control commands. The processor 111 does not need to send corresponding control instructions to each peripheral device 120 at all times, as shown in FIG. 7 . The upper part of FIG. 7 is the load record of the processor 111 sending control commands at all times according to the prior art, and the lower part of FIG. 7 is the load record of the processor 111 of the lighting control system 100 around the gaming environment.

此外,電競週邊的發光控制系統100不需增加新的硬體成本,透過週邊設備120的微控制器121自行取得相應的控制巨集114,藉以驅動發光二極體123動作。處理器111於零號狀態之外,其他週邊設備120仍可自行讀取控制巨集114,藉以維持發光二極體123的同步發光。In addition, the lighting control system 100 for gaming peripherals does not need to increase the cost of new hardware, and obtains the corresponding control macro 114 through the microcontroller 121 of the peripheral device 120 to drive the LEDs 123 to operate. When the processor 111 is in the zero state, other peripheral devices 120 can still read the control macro 114 by themselves, so as to maintain the synchronous lighting of the light-emitting diodes 123 .

100:發光控制系統 110:主機板 111:處理器 112:第一儲存單元 113:第一控制介面 114:控制巨集 120:週邊設備 121:微控制器 122:第二儲存單元 123:發光二極體 124:第二控制介面 125:腳本讀取程式 211:散熱風扇 212:鍵盤 311:電力供應端 511:直接讀取模式 512:間接讀取模式 611:第一發光群 612:第二發光群 621:第一腳本 622:第二腳本 S410~S430:步驟 100: Lighting Control System 110: Motherboard 111: Processor 112: The first storage unit 113: The first control interface 114: Control Macros 120: Peripherals 121: Microcontroller 122: Second storage unit 123: Light Emitting Diode 124: Second control interface 125: Script Reader 211: cooling fan 212: Keyboard 311: Power supply terminal 511: Direct read mode 512: Indirect read mode 611: The first light group 612: The second luminous group 621: First Script 622: Second script S410~S430: Steps

[圖1] 係為一實施例的系統架構示意圖。 [圖2] 係為一實施例的多種週邊設備與相應發光腳本的示意圖。 [圖3] 係為一實施例的電力供應端之示意圖。 [圖4] 係為一實施例的電競週邊的發光控制流程示意圖。 [圖5] 係為一實施例的直接讀取模式與間接讀取模式之示意圖。 [圖6A] 係為一實施例具有多發光群的控制巨集之示意圖。 [圖6B] 係為一實施例以相應腳本控制相應發光群之結構示意圖。 [圖7] 係為一實施例的處理器之負載示意圖。 [FIG. 1] is a schematic diagram of a system architecture of an embodiment. [ FIG. 2 ] is a schematic diagram of various peripheral devices and corresponding lighting scripts according to an embodiment. [FIG. 3] is a schematic diagram of a power supply end of an embodiment. [FIG. 4] is a schematic diagram of a lighting control flow of an gaming peripheral according to an embodiment. FIG. 5 is a schematic diagram of a direct reading mode and an indirect reading mode according to an embodiment. [FIG. 6A] is a schematic diagram of an embodiment of a control macro having multiple light-emitting groups. [FIG. 6B] is a schematic diagram of the structure of controlling the corresponding light-emitting group with the corresponding script according to an embodiment. [ FIG. 7 ] is a schematic diagram of the load of the processor according to an embodiment.

100:發光控制系統 100: Lighting Control System

110:主機板 110: Motherboard

111:處理器 111: Processor

112:第一儲存單元 112: The first storage unit

113:第一控制介面 113: The first control interface

114:控制巨集 114: Control Macros

120:週邊設備 120: Peripherals

121:微控制器 121: Microcontroller

122:第二儲存單元 122: Second storage unit

123:發光二極體 123: Light Emitting Diode

124:第二控制介面 124: Second control interface

125:腳本讀取程式 125: Script Reader

Claims (13)

一種電競週邊的發光控制系統,包括:一主機板,具有一第一儲存單元與一第一控制介面,該第一儲存單元存儲一控制巨集;以及一週邊設備,具有一微控制器、一第二儲存單元、多個發光二極體與一第二控制介面,該微控制器耦接於該第二儲存單元、該些發光二極體與該第二控制介面,該第二控制介面耦接於該第一控制介面,該第二儲存單元具有一腳本讀取程式,該微控制器執行該腳本讀取程式,該微控制器根據該腳本讀取程式讀取該第一儲存單元的該控制巨集,該微控制器根據該控制巨集驅動該些發光二極體。 A lighting control system for gaming peripherals, comprising: a motherboard with a first storage unit and a first control interface, the first storage unit stores a control macro; and a peripheral device with a microcontroller, a second storage unit, a plurality of light-emitting diodes and a second control interface, the microcontroller is coupled to the second storage unit, the light-emitting diodes and the second control interface, the second control interface coupled to the first control interface, the second storage unit has a script reading program, the microcontroller executes the script reading program, and the microcontroller reads the first storage unit according to the script reading program The control macro, the microcontroller drives the light emitting diodes according to the control macro. 如請求項1所述的電競週邊的發光控制系統,其中更包括一電力供應端,傳輸一運作電力至該週邊設備,提供該運作電力至該微控制器與該些發光二極體。 The lighting control system for gaming peripherals as claimed in claim 1, further comprising a power supply terminal for transmitting an operating power to the peripheral device, and providing the operating power to the microcontroller and the light emitting diodes. 如請求項1所述的電競週邊的發光控制系統,其中該第一控制介面相應於該第二控制介面,該第一控制介面係為快捷外設組件互連標準、通用序列匯流排、雷電通訊協議、雙線記憶體模組或燈座。 The lighting control system for gaming peripherals as claimed in claim 1, wherein the first control interface corresponds to the second control interface, and the first control interface is a fast peripheral component interconnection standard, a universal serial bus, a lightning bolt Communication protocol, two-wire memory module or lamp holder. 如請求項1所述的電競週邊的發光控制系統,其中該週邊設備於該主機板的一進階組態與電源介面的零號狀態(S0)、第一狀態(S1)、第二狀態(S2)或第三狀態(S3)讀取該第一儲存單元的該控制巨集。 The lighting control system for gaming peripherals as claimed in claim 1, wherein the peripheral device is in an advanced configuration of the motherboard and in the zero state (S0), the first state (S1), and the second state of the power interface (S2) or the third state (S3) reads the control macro of the first storage unit. 如請求項1所述的電競週邊的發光控制系統,其中該週邊設備包括一第一發光群與一第二發光群,該第一發光群為部分該些發 光二極體,該第二發光群為其餘部分的該些發光二極體,該微控制器根據該控制巨集分別驅動該第一發光群與該第二發光群的一發光腳本。 The lighting control system for gaming peripherals as claimed in claim 1, wherein the peripheral device includes a first lighting group and a second lighting group, and the first lighting group is part of the lighting The second light-emitting group is the light-emitting diodes of the remaining parts, and the microcontroller drives a light-emitting script of the first light-emitting group and the second light-emitting group respectively according to the control macro. 如請求項1所述的電競週邊的發光控制系統,其中該控制巨集更包括該發光腳本,該發光腳本包括一發光亮度、一發光頻率或一發光顏色。 The lighting control system for gaming peripherals according to claim 1, wherein the control macro further includes the lighting script, and the lighting script includes a lighting intensity, a lighting frequency or a lighting color. 如請求項1所述的電競週邊的發光控制系統,其中該微控制器將該控制巨集寫入該第二儲存單元,該微控制器根據該第二儲存單元的該控制巨集驅動該些發光二極體。 The lighting control system for gaming peripherals as claimed in claim 1, wherein the microcontroller writes the control macro to the second storage unit, and the microcontroller drives the control macro according to the control macro of the second storage unit some light-emitting diodes. 如請求項1所述的電競週邊的發光控制系統,其中該腳本讀取程式包括一直接讀取模式,該微控制器每經過一第一更新週期,該微控制器向該第一儲存單元讀取該控制巨集,該微控制器根據該第一儲存單元的該控制巨集驅動該些發光二極體。 The lighting control system for gaming peripherals as claimed in claim 1, wherein the script reading program includes a direct reading mode, and each time the microcontroller passes through a first update cycle, the microcontroller sends the data to the first storage unit. Reading the control macro, the microcontroller drives the light emitting diodes according to the control macro of the first storage unit. 如請求項8所述的電競週邊的發光控制系統,其中該腳本讀取程式包括一間接讀取模式,該微控制器每經過一第二更新週期,該微控制器將該第一儲存單元的該控制巨集寫入該第二儲存單元;該微控制器於該第二更新週期間,該微控制器根據該第二儲存單元的該控制巨集驅動該些發光二極體。 The lighting control system for gaming peripherals as claimed in claim 8, wherein the script reading program includes an indirect reading mode, and each time the microcontroller passes through a second update cycle, the microcontroller stores the first storage unit. The control macro of the second storage unit is written into the second storage unit; the microcontroller drives the light-emitting diodes according to the control macro of the second storage unit during the second update cycle. 一種電競週邊的發光控制方法,包括:由一處理器將一控制巨集寫入一第一儲存單元;由一週邊設備讀取該第一儲存單元的該控制巨集;以及該週邊設備根據該控制巨集驅動多個發光二極體發光。 A lighting control method for gaming peripherals, comprising: writing a control macro into a first storage unit by a processor; reading the control macro of the first storage unit by a peripheral device; and the peripheral device according to The control macro drives a plurality of light emitting diodes to emit light. 如請求項10所述的電競週邊的發光控制方法,其中在將該控制巨集寫入該第一儲存單元之步驟包括:將該週邊設備連接於一主機板,使該週邊設備電性連接於該主機板的該第一儲存單元。 The light-emitting control method for gaming peripherals as claimed in claim 10, wherein the step of writing the control macro into the first storage unit comprises: connecting the peripheral device to a motherboard to electrically connect the peripheral device the first storage unit on the motherboard. 如請求項10所述的電競週邊的發光控制方法,其中在由該週邊設備讀取該第一儲存單元的該控制巨集之步驟包括:執行該週邊設備的一腳本讀取程式,其中於該主機板的一進階組態與電源介面的零號狀態(S0)、第一狀態(S1)、第二狀態(S2)、第三狀態(S3)或第四狀態(S4)執行該腳本讀取程式。 The lighting control method for gaming peripherals according to claim 10, wherein the step of reading the control macro of the first storage unit by the peripheral device comprises: executing a script reading program of the peripheral device, wherein in An advanced configuration of the motherboard and the zero state (S0), first state (S1), second state (S2), third state (S3) or fourth state (S4) of the power interface to execute the script Read the program. 如請求項10所述的電競週邊的發光控制方法,其中在該週邊設備根據該控制巨集驅動多個發光二極體發光之步驟包括:將該些發光二極體分為一第一發光群與一第二發光群;以及分別驅動該第一發光群與該第二發光群的一發光腳本。 The light-emitting control method for gaming peripherals as claimed in claim 10, wherein the step of driving a plurality of light-emitting diodes to emit light according to the control macro in the peripheral device comprises: dividing the light-emitting diodes into a first light-emitting diode group and a second light-emitting group; and a light-emitting script for respectively driving the first light-emitting group and the second light-emitting group.
TW110122490A 2021-06-18 2021-06-18 Illumination control system and method of gaming peripherals TWI772069B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW110122490A TWI772069B (en) 2021-06-18 2021-06-18 Illumination control system and method of gaming peripherals
CN202110974077.9A CN115499962A (en) 2021-06-18 2021-08-24 Light-emitting control system and method for electronic competition periphery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110122490A TWI772069B (en) 2021-06-18 2021-06-18 Illumination control system and method of gaming peripherals

Publications (2)

Publication Number Publication Date
TWI772069B true TWI772069B (en) 2022-07-21
TW202300204A TW202300204A (en) 2023-01-01

Family

ID=83439721

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110122490A TWI772069B (en) 2021-06-18 2021-06-18 Illumination control system and method of gaming peripherals

Country Status (2)

Country Link
CN (1) CN115499962A (en)
TW (1) TWI772069B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201824953A (en) * 2016-12-22 2018-07-01 華擎科技股份有限公司 Light emission control circuit and mother board having the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201824953A (en) * 2016-12-22 2018-07-01 華擎科技股份有限公司 Light emission control circuit and mother board having the same

Also Published As

Publication number Publication date
TW202300204A (en) 2023-01-01
CN115499962A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
TWI664887B (en) Smart computer case
CN106354610B (en) Server system and operation method thereof
US10269325B2 (en) Display system for an array of video displays
TW201617911A (en) Computer-readable medium and multiple-protocol-system-management method and system
MX2014001056A (en) Method and system for building a low power computer system.
US7571274B2 (en) Method and system for virtual enclosure management
TWI431473B (en) A system and method of a storage expansion unit for a network attached storage device
TWI772069B (en) Illumination control system and method of gaming peripherals
WO2019052124A1 (en) Data processing method and electronic device
CN109117347A (en) The method of BMC control hard disk indication lamp state
CN107765993A (en) Hard disk interface device
CN101377753A (en) Accessory test device and method
US20110063750A1 (en) System and method to control spin-up of storage device
US7065661B2 (en) Using request and grant signals to read revision information from an adapter board that interfaces a disk drive
US20070239976A1 (en) Message displaying system and method
US20200383191A1 (en) Lighting memory device and memory module
TWI683254B (en) Server power saving system and power saving method thereof
JP6856884B1 (en) Information processing systems, information processing equipment and programs
WO2022178665A1 (en) Led display screen and parameter configuration method therefor
TWI819749B (en) Fan control system
WO2024036427A1 (en) Fan control system
TWI819746B (en) Light control device, light control method and server thereof
TWI678129B (en) Light-emitting storage device and light-emitting control method
US8825897B2 (en) Positional addressing for a computer cluster
TWI758013B (en) Baseboard management control system, electronic device and baseboard management control method