TWI629641B - Universally adaptive control system for entertainment application programs on mobile device - Google Patents

Universally adaptive control system for entertainment application programs on mobile device Download PDF

Info

Publication number
TWI629641B
TWI629641B TW106141142A TW106141142A TWI629641B TW I629641 B TWI629641 B TW I629641B TW 106141142 A TW106141142 A TW 106141142A TW 106141142 A TW106141142 A TW 106141142A TW I629641 B TWI629641 B TW I629641B
Authority
TW
Taiwan
Prior art keywords
code
mobile device
program
control
controller
Prior art date
Application number
TW106141142A
Other languages
Chinese (zh)
Other versions
TW201926030A (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 TW106141142A priority Critical patent/TWI629641B/en
Application granted granted Critical
Publication of TWI629641B publication Critical patent/TWI629641B/en
Publication of TW201926030A publication Critical patent/TW201926030A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

本發明關於一種通用控制系統,係應用於一行動裝置上之一娛樂程式,其包含:一介接行動程式,係安裝並執行於該行動裝置上,其提供一使用者自行定義一鍵碼轉換表,該鍵碼轉換表包含一作動代碼與一控制碼間之對應關係,該娛樂程式接受該控制碼;以及一外部控制裝置,其包含一控制器以及一中央處理模組,該控制器經作動產生該作動代碼,並透過該中央處理模組向該介接行動程式傳輸該作動代碼。 The invention relates to a universal control system, which is applied to an entertainment program on a mobile device, comprising: an interworking program installed and executed on the mobile device, which provides a user-defined one-key code conversion table. The key code conversion table includes a correspondence between an actuation code and a control code, the entertainment program accepts the control code, and an external control device including a controller and a central processing module, the controller being actuated The actuation code is generated and transmitted to the interworking program via the central processing module.

Description

行動裝置娛樂程式用通用控制系統 Universal control system for mobile device entertainment programs

本發明有關於一種可以適用於各式控制器、適用在各種作業系統的行動裝置上、可控制各種遊戲程式的萬用控制系統,尤其指一種應用行動裝置的輸入法編輯器來自訂輸入法與鍵碼轉換表,並據此進行通用控制的系統。 The invention relates to a universal control system which can be applied to various types of controllers, is applicable to mobile devices of various operating systems, and can control various game programs, and particularly relates to an input method editor for applying mobile devices. The key code conversion table and the system for general control according to this.

隨著行動裝置的快速普及,目前行動裝置上的遊戲App可以再透過有線或無線的方式連接外部控制設備,例如鍵盤、搖桿或Arduino控制器等,而這樣的做法通常遊戲App與控制設備有高度的專一性,也就是同樣的控制設備換了另一支遊戲App後就無法接收到控制訊號,原因可能是通訊協定不正確或是控制命令無法辨識,反之亦然;如此導致許多既有遊戲App無法再被進一步擴大活用做到虛實整合或是物聯網的功能,如果要與外部控制器進一步整合,通常作法是修改遊戲App,再加入通訊與控制模組。 With the rapid spread of mobile devices, game apps on mobile devices can be connected to external control devices, such as keyboards, joysticks, or Arduino controllers, either by wire or wirelessly, and such games usually have game apps and control devices. The high degree of specificity, that is, the same control device can not receive the control signal after changing another game app, the reason may be that the communication protocol is incorrect or the control command is not recognized, and vice versa; thus leading to many existing games. The App can no longer be further expanded to use the function of virtual integration or the Internet of Things. If it is to be further integrated with the external controller, it is usually done to modify the game app and then add the communication and control module.

第1圖係揭示習用平板電腦與智慧型手機上安裝有遊戲程式之習用技術示意圖;舉例而言,Google Play或App Store上已經開發有很多遊戲App,通常使用者只能透過手機上的觸控螢幕來操控這些遊戲App,如第1圖所揭示,而且以往這些遊戲App要進行虛實整合並不容易或是要透過非常專一的硬體來達成,本發明提出一通用型轉換方法,在不變動既有的 遊戲App、控制設備、通訊協定與控制命令的狀況下,讓兩者可以順利溝通與連結,打破目前專一性的問題。 Figure 1 is a schematic diagram showing the conventional technology of installing a game program on a tablet and a smart phone; for example, a lot of game apps have been developed on Google Play or the App Store, and usually users can only use the touch on the phone. The screen is used to control these game apps, as disclosed in Figure 1, and in the past, the virtual and real integration of these game apps is not easy or achieved through very specific hardware. The present invention proposes a general conversion method that does not change. Existing Under the condition of game apps, control devices, communication protocols and control commands, the two can communicate and link smoothly, breaking the current problem of specificity.

職是之故,申請人鑑於習用技術的缺點,經過悉心試驗與研究,並一本鍥而不捨之精神,終構思出本案「行動裝置娛樂程式用通用控制系統」,能夠克服上述缺點,以下為本發明之簡要說明。 For the sake of his position, the applicant has been able to overcome the above shortcomings due to the shortcomings of the prior art, through careful testing and research, and the spirit of perseverance. A brief description.

本發明針對上述問題,建立行動裝置娛樂程式用通用控制系統,用以整合行動裝置上虛擬的遊戲App世界與真實世界的輸入裝置(例如Arduino),解決目前遊戲App與輸入裝置高度專一性的問題。輸入裝置的控制動作可以透過本發明的輸入方法轉換後進入到虛擬的遊戲App世界,達成虛實整合的目的,讓原本無法透過外界輸入裝置控制或使用專用裝置控制的遊戲App可以經由本系統擴充與轉換成更彈性的使用方式。 The present invention is directed to the above problem, and establishes a universal control system for a mobile device entertainment program for integrating a virtual game App world on a mobile device with a real world input device (for example, Arduino) to solve the problem of high specificity of the current game App and input device. . The control action of the input device can be converted into the virtual game App world through the input method of the present invention, and the purpose of virtual reality integration can be achieved, so that the game app that cannot be controlled by the external input device or controlled by the dedicated device can be expanded and extended by the system. Convert to a more flexible way of using.

另一方面,本發明整合虛擬的遊戲世界與真實的控制器,開發中介程式(稱為Game API)連結兩者,讓控制器的控制動作可以透過中介程式轉換後進入到虛擬的遊戲世界,達成虛實整合的目的,如此讓原本需要鍵盤或手機陀螺儀控制的遊戲,可以轉換成以外部控制器或其他硬體方式來控制。 On the other hand, the present invention integrates the virtual game world with the real controller, and develops a mediation program (called Game API) to link the two, so that the control action of the controller can be converted into a virtual game world through the intermediary program, and the achievement is achieved. The purpose of virtual integration is to allow games that would otherwise require keyboard or mobile gyroscope control to be converted to external controllers or other hardware controls.

本發明提出一種通用控制系統,係應用於行動裝置上所安裝之娛樂程式,該行動裝置上還包含作業系統,該作業系統包含輸入法編輯器,該娛樂程式接受控制碼,其包含:介接行動程式,係安裝並執行於該行動裝置上,其提供使用者自行定義鍵碼轉換表,該鍵碼轉換表包含作動代碼與該控制碼間之對應關係,該介接行動程式透過該輸入法編輯器,在 該作業系統中新增基於該鍵碼轉換表之自訂輸入法;以及外部控制裝置,其包含控制器以及中央處理模組,該控制器經作動產生該作動代碼,並透過該中央處理模組向該介接行動程式傳輸該作動代碼,該介接行動程式接收到該作動代碼後,透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼。 The present invention provides a universal control system for an entertainment program installed on a mobile device, the mobile device further comprising an operating system, the operating system comprising an input method editor, the entertainment program accepting a control code, the method comprising: The action program is installed and executed on the mobile device, and provides a user-defined key code conversion table. The key code conversion table includes a correspondence between the action code and the control code, and the interface program transmits the input method. Editor, at A new custom input method based on the key code conversion table is added to the operating system; and an external control device includes a controller and a central processing module, and the controller generates the actuation code through the central processing module Transmitting the actuation code to the interworking program, after receiving the activation code, the interworking program converts the actuation code into the control code and broadcasts the control code to the entertainment program.

較佳的,該外部控制裝置還包含:該控制器,其因應該使用者之作動而產生該作動代碼;以及該中央處理模組,其與該控制器電連接,並包含傳輸介面、通訊介面、中央處理器、以及記憶體,該中央處理模組接收該作動代碼,並透過該通訊界面向該行動裝置上該介接行動程式傳輸該作動代碼。 Preferably, the external control device further includes: the controller, the activation code is generated according to the user's action; and the central processing module is electrically connected to the controller, and includes a transmission interface and a communication interface. The central processing unit receives the actuation code and transmits the actuation code to the mobile device via the communication interface.

較佳的,該控制器係為遊戲專用手把、鍵盤、搖桿、觸控墊、遊戲專用方向機、電子鼓、感應式腳踏墊、開關式控制器、Arduino控制器。 Preferably, the controller is a game-specific handle, keyboard, joystick, touch pad, game-specific steering machine, electronic drum, inductive foot pad, switch controller, Arduino controller.

較佳的,該控制器以及該中央處理模組係組裝在同一個裝置本體上。 Preferably, the controller and the central processing module are assembled on the same device body.

較佳的,該介接行動程式係儲存於外部控制裝置上的該中央處理模組的該記憶體。 Preferably, the interworking program is the memory of the central processing module stored on the external control device.

較佳的,該介接行動程式係透過介入該行動裝置上的該輸入法編輯器,而在該行動裝置上新增該自訂輸入法所相應的自訂鍵盤。 Preferably, the interworking action program adds a custom keyboard corresponding to the custom input method to the mobile device by intervening in the input method editor on the mobile device.

較佳的,該介接行動程式還包含鍵碼轉換表建置介面,該介接行動程式透過對該使用者提供該鍵碼轉換表建置介面,而提供該使用者自行定義該鍵碼轉換表。 Preferably, the interworking program further includes a key code conversion table creation interface, and the interworking program provides the user with the key code conversion table creation interface, and provides the user to define the key code conversion. table.

本發明進一步提出一種通用控制方法,係用於以外部控制裝 置操控行動裝置上所安裝之娛樂程式,該外部控制裝置經作動產生作動代碼,該娛樂程式接受控制碼,其包含:在該行動裝置上建立鍵碼轉換表,該鍵碼轉換表包含該作動代碼與該控制碼間之對應關係;建立該行動裝置與該外部控制裝置之連線;啟動該行動裝置所安裝之輸入法編輯器,透過該輸入法編輯器新增基於該鍵碼轉換表的自訂輸入法;作動該外部控制裝置而產生該作動代碼;將該作動代碼傳輸給該行動裝置;以及透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼。 The invention further proposes a general control method for externally controlling An entertainment program installed on the mobile device, the external control device being actuated to generate an activation code, the entertainment program accepting the control code, comprising: establishing a key code conversion table on the mobile device, the key code conversion table including the action Corresponding relationship between the code and the control code; establishing a connection between the mobile device and the external control device; starting an input method editor installed by the mobile device, and adding a key conversion table based on the input code editor Customizing the input method; actuating the external control device to generate the actuation code; transmitting the actuation code to the mobile device; and converting the actuation code to the control code and broadcasting the control to the entertainment program through the custom input method code.

400‧‧‧鍵碼轉換表第一建置介面 400‧‧‧Key code conversion table first built interface

410‧‧‧控制項目數量欄位 410‧‧‧Control item quantity field

420‧‧‧新增鍵 420‧‧‧ new key

500‧‧‧鍵碼轉換表第二建置介面 500‧‧‧Key code conversion table second build interface

510‧‧‧名稱欄位 510‧‧‧Name field

520‧‧‧轉換表矩陣 520‧‧‧ conversion table matrix

530‧‧‧確定鍵 530‧‧‧OK key

700‧‧‧傳輸介面選項介面 700‧‧‧Transport interface option interface

710‧‧‧藍牙選項 710‧‧‧Bluetooth option

800‧‧‧藍牙裝置選項介面 800‧‧‧Bluetooth device option interface

900‧‧‧鍵盤選項介面 900‧‧‧ keyboard option interface

910‧‧‧自訂鍵盤 910‧‧‧Custom keyboard

步驟1101‧‧‧在該行動裝置上建立鍵碼轉換表,該鍵碼轉換表包含該作動代碼與該控制碼間之對應關係 Step 1101 ‧ ‧ a key code conversion table is established on the mobile device, and the key code conversion table includes a correspondence between the action code and the control code

步驟1102‧‧‧建立該行動裝置與該外部控制裝置之連線 Step 1102‧‧‧ establish the connection between the mobile device and the external control device

步驟1103‧‧‧啟動該行動裝置所安裝之輸入法編輯器,透過該輸入法編輯器新增基於該鍵碼轉換表的自訂輸入法 Step 1103‧‧‧Initiate the input method editor installed in the mobile device, and add a custom input method based on the key code conversion table through the input method editor

步驟1104‧‧‧作動該外部控制裝置而產生該作動代碼 Step 1104 ‧ ‧ actuating the external control device to generate the actuation code

步驟1105‧‧‧將該作動代碼傳輸給該行動裝置 Step 1105‧‧‧Transfer the actuation code to the mobile device

步驟1106‧‧‧透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼 Step 1106 ‧ ‧ convert the activation code into the control code by the custom input method and broadcast the control code to the entertainment program

第1圖係揭示習用平板電腦與智慧型手機上安裝有遊戲程式之習用技術示意圖。 Figure 1 is a schematic diagram showing the conventional technology of installing a game program on a tablet and a smart phone.

第2圖係揭示本發明行動遊戲程式通用控制系統之概念示意圖。 Figure 2 is a conceptual diagram showing the general control system of the mobile game program of the present invention.

第3圖係揭示本發明行動遊戲程式通用控制系統之系統架構示意圖。 Figure 3 is a schematic diagram showing the system architecture of the universal control system of the mobile game program of the present invention.

第4圖係揭示本發明介接行動程式之鍵碼轉換表第一建置介面示意圖。 Figure 4 is a schematic diagram showing the first interface of the key code conversion table of the present invention.

第5圖係揭示本發明介接行動程式之鍵碼轉換表第二建置介面示意圖。 Figure 5 is a schematic diagram showing the second interface of the key code conversion table of the present invention.

第6圖係揭示本發明介接行動程式之鍵碼轉換表第二建置介面示意圖。 Figure 6 is a diagram showing the second construction interface of the key code conversion table of the present invention.

第7圖係揭示本發明介接行動程式之傳輸介面選項介面示意圖。 Figure 7 is a block diagram showing the interface of the transmission interface of the present invention.

第8圖係揭示本發明介接行動程式之藍牙裝置選項介面示意圖。 Figure 8 is a schematic diagram showing the interface of the Bluetooth device of the present invention.

第9圖係揭示本發明介接行動程式之鍵盤選項介面示意圖。 Figure 9 is a schematic diagram showing the keyboard option interface of the present invention.

第10A圖到第10D圖係揭示本發明外部控制裝置之示意圖。 10A through 10D are schematic views showing an external control device of the present invention.

第11圖係揭示本發明行動遊戲程式通用控制方法之執行流程圖。 Figure 11 is a flow chart showing the execution of the general control method of the mobile game program of the present invention.

本發明將可由以下的實施例說明而得到充分瞭解,使得熟習本技藝之人士可以據以完成之,然本發明之實施並非可由下列實施案例而被限制其實施型態;本發明之圖式並不包含對大小、尺寸與比例尺的限定,本發明實際實施時其大小、尺寸與比例尺並非可經由本發明之圖式而被限制。 The present invention will be fully understood by the following examples, which can be understood by those skilled in the art, but the implementation of the present invention may not be limited by the following embodiments; the drawings of the present invention are The limitations on size, size and scale are not included, and the size, size and scale of the actual implementation of the invention are not limited by the drawings of the invention.

本文中用語“較佳”是非排他性的,應理解成“較佳為但不限於”的開放式用語,不具有限制性含義,不排除其它特徵或步驟;任何說明書或請求項中所描述或者記載的任何步驟可按任何順序執行,而不限於請求項中所述的順序;本發明的範圍應僅由所附請求項及其均等方案確定,不應由實施方式示例的實施例確定;本文中用語“包含”及其變化出現在說明書和請求項中時,是一個開放式的用語,不具有限制性含義,並不排除其它特徵或步驟。 The term "preferred" as used herein is non-exclusive and should be understood as "preferably, but not limited to," an open term, and does not have a limiting meaning, and does not exclude other features or steps; as described or recited in any specification or claim. Any of the steps may be performed in any order, and are not limited to the order described in the claims; the scope of the present invention should be determined only by the accompanying claims and their equivalents, and should not be determined by the embodiments of the embodiments; The term "comprising" and its variations appearing in the specification and claims are an open-ended term that does not have a limiting meaning and does not exclude other features or steps.

第2圖係揭示本發明行動遊戲程式通用控制系統之概念示意圖;行動裝置,例如:Android式(Android-based)智慧型手機、iOS式(iOS based)智慧型手機、或者平板電腦等,其相應的應用程式經過多年的發展,早已累積許多的娛樂性應用程式,例如:遊戲程式,又常稱為手機遊戲、或者簡稱手遊等,現今的行動裝置使用者,或多或少在自己的行動裝置上,都安裝有數量不等的遊戲程式,但如先前技術中所陳述者,大部分的遊戲程式只提供使用者透過行動裝置上的觸控螢幕來操控,只有少部分比較精細的遊戲程式,可以支援使用者外接外部控制器,例如:搖桿、方向盤、或者鍵盤等等,且幾乎只綁定支援特定廠牌、型號的外部控制器。 2 is a schematic diagram showing the concept of a general control system for a mobile game program of the present invention; a mobile device, such as an Android-based smart phone, an iOS-based smart phone, or a tablet computer, etc. After years of development, the app has accumulated a lot of entertainment applications, such as: game programs, often referred to as mobile games, or simply mobile games, etc. Today's mobile device users are more or less in their own actions. There are a number of different game programs installed on the device. However, as stated in the prior art, most of the game programs only provide the user with a touch screen on the mobile device. Only a few of the more detailed game programs are available. It can support users to external external controllers, such as: joystick, steering wheel, or keyboard, etc., and almost only bind external controllers that support specific brands and models.

但畢竟只能透過觸控螢幕操控的遊戲程式占大多數,然而許 多遊戲程式,如果能夠使用外部控制裝置,不但可增加操作樂趣,還能提高對遊戲的控制度,舉例來說,如果賽車遊戲可以使用外接的遊戲方向盤,當然能大幅提升操作擬真度與遊戲樂趣,使用者也能更精準的操控螢幕上虛擬車輛的動態,因此本發明提出之系統,旨在提供一套通用的行動裝置遊戲程式控制系統,提供各式的外部控制裝置、適用在各種作業系統的行動裝置上、可控制各種的遊戲程式,即使這些遊戲程式不支援外接任何外部控制器,本發明系統的整體概念如第2圖所揭示。 But after all, the game programs that can only be controlled through the touch screen are the majority, but Multi-game programs, if you can use external control devices, not only can increase the fun of the operation, but also improve the control of the game. For example, if the racing game can use the external game steering wheel, of course, the operation fidelity and game can be greatly improved. The user can also control the dynamics of the virtual vehicle on the screen more precisely. Therefore, the system proposed by the present invention aims to provide a universal mobile device game program control system, and provides various external control devices for various operations. The various mobile programs can be controlled on the mobile device of the system. Even if these game programs do not support any external controller, the overall concept of the system of the present invention is disclosed in FIG.

第3圖係揭示本發明行動遊戲程式通用控制系統之系統架構示意圖;本發明行動遊戲程式通用控制系統包含兩大基本元件,包含一個外接的外部控制裝置、以及安裝在行動裝置上的一支介接行動程式,外部控制裝置較佳包含兩個基本模組:控制器、以及中央處理模組,控制器以及中央處理模組係組裝在同一個裝置本體上,控制器可以是任何一種外接式的控制器,例如:遊戲專用手把、鍵盤、搖桿、觸控墊、遊戲專用方向機、電子鼓、感應式腳踏墊、開關式控制器、Arduino控制器等等,中央處理模組還包含傳輸介面、通訊介面、中央處理器、記憶體等元件,但在最簡單的實施例中,Arduino單晶片微處理電路板已足夠作為中央處理模組,在Arduino單晶片上,已小規模但全面的整合了中央處理器、記憶體、計數器、有線與無線輸出入模組等。 3 is a schematic diagram showing the system architecture of the universal control system of the mobile game program of the present invention; the universal control system of the mobile game program of the present invention comprises two basic components, including an external external control device and an installation device installed on the mobile device. In connection with the mobile program, the external control device preferably comprises two basic modules: a controller, and a central processing module. The controller and the central processing module are assembled on the same device body, and the controller can be any external type. Controllers, such as game-specific handles, keyboards, joysticks, touch pads, game-specific steering machines, electronic drums, inductive foot pads, switch controllers, Arduino controllers, etc., central processing modules also include Transmission interface, communication interface, central processing unit, memory and other components, but in the simplest embodiment, the Arduino single-chip micro-processing board is sufficient as a central processing module. On the Arduino single-chip, it is small but comprehensive. It integrates central processing unit, memory, counters, wired and wireless input and output modules.

中央處理模組主要是作為控制器與介接行動程式之間的硬體介面,以及對控制器提供傳輸介面,以便向介接行動程式傳輸控制器作動後所送出的作動代碼,當使用者操作控制器時,控制器因應使用者的作動,將向中央處理模組送出一系列通常被視為控制訊號的作動代碼,中央 處理模組接收來自控制器的作動代碼後,將透過通訊介面將其傳輸給行動裝置上的介接行動程式。 The central processing module is mainly used as a hardware interface between the controller and the interworking mobile program, and provides a transmission interface to the controller to actuate the actuation code sent by the interworking mobile program transmission controller when the user operates In the controller, the controller will send a series of actuation codes, usually regarded as control signals, to the central processing module in response to the user's actuation. After receiving the activation code from the controller, the processing module transmits the communication code to the interworking program on the mobile device through the communication interface.

介接行動程式安裝在行動裝置上,經啟動執行後可主動掃描附近的外部控制裝置,並選定並啟動行動裝置上與其相對應的通訊介面,以及在行動裝置上選定要與外部控制裝置對接的目的遊戲程式,介接行動程式將開放對接用的鍵碼轉換表供使用者設定,當鍵碼轉換表設定完成後,介接行動程式將介入外部控制裝置與目的遊戲程式之間,將所接收到的作動代碼,轉換為目的遊戲程式接受、可識別的、並作為控制訊號的控制碼,並透過控制行動裝置作業系統輸入法的方式,將從作動代碼轉換來的控制碼,廣播給目的遊戲程式,使得使用者可以改用外部控制裝置來操控目的遊戲程式,而不限只能使用行動裝置上的觸控螢幕、或者遊戲程式所綁定的特定控制設備。 The interworking program is installed on the mobile device, and after being activated, actively scans the nearby external control device, selects and activates the corresponding communication interface on the mobile device, and selects the mobile device to interface with the external control device. The destination game program, the interworking program will open the docking key code conversion table for the user to set, after the key code conversion table is set, the interworking program will intervene between the external control device and the destination game program, and will receive The obtained activation code is converted into a control code that is accepted, identifiable, and used as a control signal by the destination game program, and broadcasts the control code converted from the activation code to the destination game by controlling the mobile device operating system input method. The program allows the user to use the external control device to control the destination game program, and not only the touch screen on the mobile device, or the specific control device to which the game program is bound.

由於本發明系統將鍵碼轉換表開放給使用者自行設定,因此本發明的外部控制裝置可以適用於任何一支遊戲程式,或者使用者可以使用任何一種外部控制裝置來操控遊戲程式,並不限於遊戲程式原廠所綁定的特定控制設備,另一方面,透過具有實體的外部控制裝置向遊戲程式所輸入的控制訊號,將透過中央處理模組傳輸給行動裝置中對應的遊戲程式,使用者透過操作實體的控制器,就能操控行動裝置上對應的虛擬遊戲程式,本發明的系統還具有虛實整合的效果。 Since the system of the present invention opens the key code conversion table to the user, the external control device of the present invention can be applied to any game program, or the user can use any external control device to control the game program, and is not limited to The specific control device bound to the original game program, on the other hand, the control signal input to the game program through the physical external control device will be transmitted to the corresponding game program in the mobile device through the central processing module, the user By operating the controller of the entity, the corresponding virtual game program on the mobile device can be manipulated, and the system of the present invention also has the effect of virtual reality integration.

本發明的介接行動程式是一支在行動裝置上執行的應用程式,較佳可以儲存在外部控制裝置的中央處理模組的記憶體上,當使用者將外部控制裝置與行動裝置連接時、或者當外部控制裝置的中央處理模組 偵測到與外部行動裝置的連接時,中央處理模組先偵測所連接的行動裝置上,是否已經安裝有本發明介接行動程式,若無則系統自動將介接行動程式安裝到所連接的行動裝置上,或者本發明介接行動程式另外儲存在公開網站上,供使用者自行下載安裝執行。 The interworking program of the present invention is an application executed on a mobile device, preferably stored in the memory of the central processing module of the external control device. When the user connects the external control device to the mobile device, Or when the central processing module of the external control device When detecting the connection with the external mobile device, the central processing module first detects whether the connected mobile device is installed on the connected mobile device, and if not, the system automatically installs the interworking program to the connected device. The mobile device or the present invention is additionally stored on the public website for the user to download and install.

本發明介接行動程式對遊戲程式的控制,主要是透過利用作業系統(OS),例如:Android OS或者iOS,所提供的輸入法編輯器(IME、Input Method Editor)介面,在行動裝置上新增一組自訂鍵盤,這組鍵盤將有自訂的鍵碼轉換表(mapping table),形同在行動裝置作業系統中新增一組自訂輸入法,如果介接行動程式能夠再進一步接收來自外部控制裝置的作動代碼,則只要將這組自訂輸入法中的輸入法鍵碼設定為遊戲程式的控制碼、輸入字符設定為作動代碼,並將這些關係明確定義在鍵碼轉換表上,本發明系統就能達成提供各式的外部控制裝置、適用在各種作業系統的行動裝置上、可控制各種的遊戲程式的通用控制。 The invention controls the control program to control the game program, mainly by using an input system editor (IME, Input Method Editor) interface provided by an operating system (OS), such as Android OS or iOS, to be new on the mobile device. Add a set of custom keyboards, this set of keyboards will have a custom key mapping table, which is similar to the new set of custom input methods in the mobile device operating system. If the interworking mobile program can further receive The activation code from the external control device is as long as the input method key code in the set of custom input methods is set as the control code of the game program, the input characters are set as the actuation code, and the relationships are clearly defined on the key code conversion table. According to the system of the present invention, it is possible to realize general control for providing various types of external control devices, mobile devices applicable to various operating systems, and various game programs.

舉例來說,以設定外部控制裝置連結遊戲程式為例,外部控制裝置可以產生的控制項目共有a個,而遊戲程式接受的控制項目共有b個,因此在a與b之間須要引用一個適當的對應關係或稱鍵碼轉換表,來處理a與b間數量不同與轉換對應的問題,只要能建立這個鍵碼轉換表就可以順利橋接控制器與遊戲程式。 For example, in the case of setting an external control device to connect a game program, the external control device can generate a total of control items, and the game program accepts a total of b control items, so an appropriate reference must be made between a and b. Correspondence relationship or key code conversion table, to deal with the problem of the difference between the number of a and b and the conversion, as long as the key code conversion table can be established, the controller and the game program can be bridged smoothly.

第4圖係揭示本發明介接行動程式之鍵碼轉換表第一建置介面示意圖;要建立鍵碼轉換表,本發明介接行動程式提供如第4圖的鍵碼轉換表第一建置介面400,建置介面400包含兩部分,上半部的控制項目數量欄位410要求使用者或管理者,輸入控制項目的數量,輸入到控制項目數量 欄位410的數量,應以遊戲程式能接受的控制碼的數量就是b個為準,例如:如果遊戲程式只能接受「上、下、左、右」等4個控制項目,則在控制項目數量欄位410中輸入4,即應在控制項目數量欄位410內輸入與b數量相同的控制項目數量,建置介面400的下半部會顯示出目前已經設定過鍵碼轉換表的遊戲程式,例如:第1圖中所顯示的App1可能是Asphalt 9:Shockwave賽車遊戲、App2可能是Walking War Robots機器人戰爭遊戲、App3可能是BanG Dream!少女樂團派對的音樂節奏遊戲,在本實施例,使用者準備要設定第4個遊戲程式App4的鍵碼轉換表,而App4是一個簡單的老鼠逃脫迷宮的益智遊戲,剛好只能接受上、下、左、右等4個控制項目,因此在控制項目數量欄位410中輸入4後按下新增鍵420。 Figure 4 is a schematic diagram showing the first interface of the key code conversion table of the present invention; to establish a key code conversion table, the present invention provides a first implementation of the key code conversion table as shown in Figure 4; Interface 400, the installation interface 400 comprises two parts, the upper part of the control item quantity field 410 requires the user or manager, the number of control items input, the number of control items input The number of fields 410 should be based on the number of control codes that the game program can accept. For example, if the game program can only accept four control items such as "up, down, left, and right", then the control item is controlled. Enter 4 in the quantity field 410, that is, the number of control items with the same number of b should be input in the control item quantity field 410, and the lower part of the construction interface 400 will display the game program that has already set the key code conversion table. For example, the App1 shown in Figure 1 may be Asphalt 9: Shockwave Racing Game, App2 may be Walking War Robots, and App3 may be BanG Dream! In the present embodiment, the user prepares to set the key conversion table of the fourth game program App4, and App4 is a simple mouse escape puzzle game that can only accept the Four control items, such as down, left, and right, are entered, and then the new key 420 is pressed after entering 4 in the control item quantity field 410.

第5圖係揭示本發明介接行動程式之鍵碼轉換表第二建置介面示意圖;鍵碼轉換表第二建置介面500上方為名稱欄位510,提供使用者輸入所要控制的遊戲程式的名稱,而建置介面500下方則為一個有M列×N欄的轉換表矩陣520,矩陣的M個橫列(row)分別為每一個控制項目、N個直欄(column)分別為接收碼以及控制碼,由於使用者在建置介面400控制項目數量欄位410中輸入4,建置介面500將對應自動產生一個4×2的轉換表矩陣520,供使用者輸入每一個控制項目對應的接收碼以及對應的控制碼,轉換表矩陣520中每一個控制項目是以項目1、項目2、項目3、項目4的代號來顯示,控制碼欄位所須填入的是遊戲程式所既存、能接受的來自IME廣播的輸入法鍵碼(key code),接收碼欄位所須填入的是由硬體端、即控制器所送出的作動代碼或稱命令碼。 5 is a schematic diagram showing a second interface of the key conversion table of the present invention; the key mapping table is provided with a name field 510 above the second interface 500 to provide a user to input a game program to be controlled. The name, and below the built-in interface 500, is a conversion table matrix 520 having M columns x N columns. The M rows of the matrix are respectively for each control item, and N columns are respectively received codes. And the control code, since the user inputs 4 in the control interface quantity field 410 of the construction interface 400, the construction interface 500 will automatically generate a 4×2 conversion table matrix 520 for the user to input each control item. Receiving code and corresponding control code, each control item in the conversion table matrix 520 is displayed by the code of item 1, item 2, item 3, item 4, and the control code field must be filled in with the game program. The acceptable input key code from the IME broadcast, the input code field must be filled with the action code or command code sent by the hardware end, that is, the controller.

第6圖係揭示本發明介接行動程式之鍵碼轉換表第二建置介 面示意圖;在本實施例,遊戲程式是只能接受上、下、左、右等4個控制項目的老鼠逃脫迷宮益智遊戲,因此轉換表矩陣520中項目1、項目2、項目3、項目4分別對應到遊戲中上、下、左、右等的控制項目,而遊戲程式程式內部預設代表上、下、左、右的輸入法鍵碼,分別為四組16進位代碼0x11、0x21、0x31、0x41,在控制碼欄位,分別填入這四組16進位代碼,而控制器則是一個開關式外部控制裝置,包含上、下、左、右等四顆按鍵,所送出的作動代碼分別為1、2、3、4等,在接收碼欄位依序填入,一般控制器的作動代碼較常見還有例如國際通用碼(Unicode),上、下、左、右的作動代碼分別為\u2191、\u2193、\u2190、\u2192等,使用者完成轉換表矩陣520各欄位代碼的填寫後,按下確定鍵530,即完成控制器連結遊戲程式所須的鍵碼轉換表,鍵碼轉換表將存檔備用。 Figure 6 is a diagram showing the second construction of the key code conversion table of the present invention. In this embodiment, the game program is a mouse escape maze puzzle game that can only accept four control items such as up, down, left, and right, so the item 1, item 2, item 3, and item in the conversion table matrix 520 4 corresponding to the control items in the game up, down, left, right, etc., and the game program program presets the upper, lower, left and right input method key codes, respectively, four sets of 16 carry code 0x11, 0x21, 0x31, 0x41, in the control code field, fill in the four sets of 16-digit code, and the controller is a switch-type external control device, including four buttons of up, down, left, right, etc., the action code sent 1, 2, 3, 4, etc., in the receiving code field are filled in sequentially, the general controller's actuation code is more common, such as the international common code (Unicode), the upper, lower, left and right actuation code respectively For the \u2191, \u2193, \u2190, \u2192, etc., after the user completes the filling of the field codes of the conversion table matrix 520, press the OK key 530 to complete the key code conversion table required for the controller to connect the game program. The key code conversion table will be archived for backup.

鍵碼轉換表完成後,本發明介接行動程式只須要啟動對輸入法的控制,在行動裝置上新增一組自訂鍵盤作為輸入法,並將鍵碼轉換表上所列的控制碼設定為輸入法的輸入法鍵碼、接收碼設定為輸入法的輸入字符,並給與鍵盤名稱例如:CTUIM Game API,並要求作業系統選定此自訂鍵盤作為輸入法,當介接行動程式接收到來自控制器的作動代碼時,就依照鍵碼轉換表上所列的對應(mapping)關係,將作動代碼即接收碼轉換為遊戲程式能接受的輸入法鍵碼即控制碼,作業系統就會透過輸入法方式自動廣播給所有應用程式,包含遊戲程式,如此就能以控制器操控行動裝置上的遊戲程式。 After the key code conversion table is completed, the present invention only needs to initiate the control of the input method, and a set of custom keyboards is added as an input method on the mobile device, and the control codes listed on the key code conversion table are set. The input method key code and receiving code of the input method are set as the input characters of the input method, and the keyboard name is given, for example, the CTUIM Game API, and the operating system is required to select the custom keyboard as the input method, when the interworking program receives the When the activation code from the controller is used, the activation code, that is, the received code, is converted into a control code that can be accepted by the game program according to the mapping relationship listed in the key code conversion table, and the operating system passes through the control code. The input method is automatically broadcast to all applications, including the game program, so that the controller can control the game program on the mobile device.

第7圖係揭示本發明介接行動程式之傳輸介面選項介面示意圖;本發明介接行動程式在行動裝置上實際執行時,使用者可以選擇目前 行動裝置允許的傳輸介面,如第7圖所示,本發明介接行動程式向使用者顯示一個傳輸介面選項介面700,提供不同的傳輸介面供使用者選擇,傳輸介面選項介面700提供以下傳輸介面但不限於藍牙無線傳輸介面、WiFi無線傳輸介面、USB有線傳輸介面,在本實施例,以藍牙(BlueTooth)無線傳輸為例說明,使用者在通訊協定選項介面700中點選藍牙選項710。 FIG. 7 is a schematic diagram showing an interface of a transmission interface of the present invention; when the implementation program of the present invention is actually executed on a mobile device, the user can select the current The transport interface allowed by the mobile device, as shown in FIG. 7, the present invention provides a transport interface option interface 700 for the user to provide a different transport interface for the user to select. The transport interface option interface 700 provides the following transport interface. However, it is not limited to the Bluetooth wireless transmission interface, the WiFi wireless transmission interface, and the USB wired transmission interface. In the embodiment, the Bluetooth (Bluetooth) wireless transmission is taken as an example, and the user selects the Bluetooth option 710 in the communication protocol option interface 700.

第8圖係揭示本發明介接行動程式之藍牙裝置選項介面示意圖;當使用者在通訊協定選項介面700中點選藍牙選項710後,程式將自動掃描行動裝置附近的藍牙裝置,並透過藍牙裝置選項介面800,向使用者列出目前已經完成配對(paring)、處於待用中的藍牙裝置,即使用者目前可以使用的控制器(available control unit),例如:開關式控制器、鍵盤、搖桿等,在本實施例,藍牙裝置選項介面800中列出的裝置1、裝置2、裝置3分別對應到開關式控制器、鍵盤、搖桿,在本實施例,使用者選擇裝置1,也就是開關式控制器,點選裝置1後程式開始透過MAC與裝置1建立藍牙連線。 Figure 8 is a schematic diagram showing the interface of the Bluetooth device of the present invention; when the user clicks the Bluetooth option 710 in the protocol option interface 700, the program will automatically scan the Bluetooth device near the mobile device and pass the Bluetooth device. The option interface 800 lists the Bluetooth device that is currently in the paring and is in use, that is, an available control unit that the user can currently use, such as a switch controller, a keyboard, and a shake. In the present embodiment, the device 1, the device 2, and the device 3 listed in the Bluetooth device option interface 800 respectively correspond to the switch controller, the keyboard, and the joystick. In this embodiment, the user selects the device 1, also It is the switch controller. After clicking the device 1, the program starts to establish a Bluetooth connection with the device 1 through the MAC.

第9圖係揭示本發明介接行動程式之鍵盤選項介面示意圖;介接行動程式將開始與選定的藍牙裝置即外部控制裝置單元建立連線,連線成功後,本發明介接行動程式向使用者顯示一個鍵盤選項介面900,使用者在鍵盤選項介面900選定自訂鍵盤,也就是名稱為CTUIM Game API的自訂鍵盤910,則介接行動程式會介入作業系統,將行動裝置上的輸入法切換到CTUIM Game API的自訂鍵盤的輸入法,並啟用所須的鍵碼轉換表,至此,行動裝置就處於受本發明介接行動程式控制的狀態,也就是外部控制裝置單元已經與行動裝置上的遊戲程式之間完成橋接,遊戲程式已經開始可以接受外部控制裝置單元的控制。 FIG. 9 is a schematic diagram showing a keyboard option interface of the present invention; the interworking mobile program will start to establish a connection with the selected Bluetooth device, that is, the external control device unit. After the connection is successful, the present invention interfaces to the mobile program. A keyboard option interface 900 is displayed, and the user selects a custom keyboard in the keyboard option interface 900, that is, a custom keyboard 910 named CTUIM Game API, and the interworking program intervenes in the operating system to input the input method on the mobile device. Switch to the input method of the custom keyboard of the CTUIM Game API, and enable the required key code conversion table. At this point, the mobile device is in a state controlled by the intervening action program of the present invention, that is, the external control device unit has been connected with the mobile device. The bridge between the game programs is completed, and the game program has begun to accept the control of the external control unit.

另一方面,在一個最簡單的實施例中,本發明系統可透過一列Arduino開發工具來實施,包含(1)Arduino UNO控制器;(2)Arduino IDE開發平台;(3)Arduino周邊元件,包括按鍵、LED與杜邦線等;(4)Android based行動裝置;以及(5)Android Studio IDE開發平台等工具。 On the other hand, in a simplest embodiment, the system of the present invention can be implemented by a column of Arduino development tools, including (1) Arduino UNO controller; (2) Arduino IDE development platform; (3) Arduino peripheral components, including Buttons, LEDs and DuPont lines; (4) Android based mobile devices; and (5) Android Studio IDE development platform and other tools.

本系統也可視為是整合虛擬的遊戲世界與真實的Arduino控制器,開發中介Android App系統(稱為Game API)連結兩者,讓Arduino的控制動作可以透過中介Android App轉換後進入到虛擬的遊戲世界,達成虛實整合的目的,讓原本需要鍵盤或手機陀螺儀控制的遊戲可以轉換成Arduino或其他硬體方式來控制。 The system can also be regarded as integrating the virtual game world with the real Arduino controller, and developing the intermediary Android App system (called Game API) to link the two, so that the Arduino control actions can be converted into virtual games through the intermediary Android App. In the world, the goal of virtual integration is to allow games that would otherwise require keyboard or cell phone gyroscope control to be converted to Arduino or other hardware controls.

由Arduino形成的系統主要分成兩大部分,分別是(1)Arduino控制器與以及(2)中介Android App系統(稱為Game API);在Arduino控制器部分其功能有:(1)藍牙連線;(2)透過藍牙輸出鍵盤控制碼等;在中介Android App系統即Game API部分其功能有:(1)藍牙連線掃描管理;(2)透過藍牙接收來自於Arduino的控制命令;(3)設定、執行與管理對應的遊戲;以及(4)管理Android系統的軟體鍵盤輸入方式。 The system formed by Arduino is mainly divided into two parts, namely (1) Arduino controller and (2) intermediary Android App system (called Game API); in the Arduino controller part, its functions are: (1) Bluetooth connection (2) output keyboard control code through Bluetooth; in the intermediary Android App system, the Game API part, its functions are: (1) Bluetooth connection scan management; (2) receiving control commands from Arduino via Bluetooth; (3) Setting, executing, and managing the game; and (4) managing the software keyboard input mode of the Android system.

第10A圖到第10D圖係揭示本發明外部控制裝置之示意圖;如前所述,本發明外部控制裝置較佳包含兩個基本模組:控制器、以及中央處理模組,控制器以及中央處理模組係組裝在同一個裝置本體上,因此外部控制裝置之主要外觀基本上由控制器決定,看起來比較像控制器,但控制器內部仍包含有中央處理模組,如第10A圖所揭示者係為以鍵盤作為控制器的鍵盤式外部控制裝置,第10B圖所揭示者係為以搖桿作為控制器的搖桿式外部控制裝置,第10C圖所揭示者係為以開關控制器作為控制器的開關 式外部控制裝置,第10D圖所揭示者係為以觸控板作為控制器的觸控板式外部控制裝置,但值得注意的是,控制器可以是任何一種形式的外接控制器,例如:遊戲專用手把、遊戲專用方向機、電子鼓、感應式腳踏墊、Arduino控制器等等。 10A to 10D are schematic views showing an external control device of the present invention; as described above, the external control device of the present invention preferably includes two basic modules: a controller, a central processing module, a controller, and a central processing unit. The module is assembled on the same device body, so the main appearance of the external control device is basically determined by the controller, which looks like a controller, but the controller still contains a central processing module, as disclosed in FIG. 10A. The keyboard is an external control device with a keyboard as a controller, and the person disclosed in FIG. 10B is a rocker-type external control device with a joystick as a controller, and the person disclosed in FIG. 10C is a switch controller. Controller switch The external control device, which is disclosed in FIG. 10D, is a touch panel type external control device using a touch panel as a controller, but it is worth noting that the controller can be any form of external controller, for example, game-specific. Handlebars, game-specific steering gear, electronic drums, inductive foot pads, Arduino controllers, etc.

換句話說,也就是當本發明介接行動程式,透過設定的連線方式從外部控制裝置單元接收到一個控制命令時,將透過鍵碼轉換表,轉成目的遊戲程式可以懂的正確指令,然後透過作業系統廣播輸入法的方式,讓處於前景模式下的目的遊戲程式可以收到正確指令,如此目的遊戲程式就可以做出正確的回應,只要目的遊戲程式目前正處於前景模式,介接行動程式可以管理多個外部控制裝置單元、以及多支遊戲程式。 In other words, when the present invention interfaces with the mobile program and receives a control command from the external control device unit through the set connection mode, the key code conversion table is converted into a correct command that the destination game program can understand. Then, through the operating system broadcast input method, the destination game program in the foreground mode can receive the correct instruction, so that the game program can respond correctly, as long as the destination game program is currently in the foreground mode, and the action is intervened. The program can manage multiple external control unit units and multiple game programs.

第11圖係揭示本發明行動娛樂程式通用控制方法之執行流程圖,本發明行動娛樂程式通用控制方法,可達成使用非娛樂程式綁定或指定之各種各式的外部控制裝置,來操控安裝在行動裝置上之娛樂程式,外部控制裝置經作動後會產生作動代碼,但娛樂程式只接受特定控制碼作為指令,本發明之方法包含:步驟1101:在該行動裝置上建立鍵碼轉換表,該鍵碼轉換表包含該作動代碼與該控制碼間之對應關係;步驟1102:建立該行動裝置與該外部控制裝置之連線;步驟1103:啟動該行動裝置所安裝之輸入法編輯器,透過該輸入法編輯器新增基於該鍵碼轉換表的自訂輸入法;步驟1104:作動該外部控制裝置而產生該作動代碼;步驟1105:將該作動代碼傳輸給該行動裝置;步驟1106:透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼。 11 is a flowchart showing the execution of the universal control method of the mobile entertainment program of the present invention. The universal control method of the mobile entertainment program of the present invention can realize various external control devices bound or specified by non-entertainment programs to be installed and controlled. An entertainment program on the mobile device, the external control device generates an activation code after being activated, but the entertainment program only accepts a specific control code as an instruction, and the method of the present invention includes: Step 1101: Establish a key code conversion table on the mobile device, The key code conversion table includes a correspondence between the action code and the control code; step 1102: establishing a connection between the mobile device and the external control device; and step 1103: starting an input method editor installed by the mobile device, The input method editor adds a custom input method based on the key code conversion table; step 1104: actuating the external control device to generate the action code; step 1105: transmitting the action code to the mobile device; step 1106: transmitting the action code The custom input method converts the actuation code into the control code and broadcasts the control code to the entertainment program.

許多原來在PC上透過鍵盤控制的遊戲,後來很多都開發成 App,讓使用者可以透過Android或iOS行動裝置來使用,本發明以這些既有使用族群為對象,讓其仍能保留原來的控制方式外,更可以透過其他裝置來進行更有創意的控制方式;例如現今很熱門的MakeyMakey或Arduino裝置,透過手腳觸摸物品方式來控制遊戲,這樣可以讓此些遊戲App更加活化,同時可以讓使用者發揮創意製作更有創意的控制方式。 Many games that were originally controlled by the keyboard on the PC, and many later developed into The App allows users to use the Android or iOS mobile device. The present invention uses these existing user groups to keep the original control mode, and can also use other devices for more creative control. For example, today's popular MakeaxMakey or Arduino devices control the game by touching items with your hands and feet, which can make these game apps more active, and allow users to creatively create more creative control methods.

本發明以上各實施例彼此之間可以任意組合或者替換,從而衍生更多之實施態樣,但皆不脫本發明所欲保護之範圍,茲進一步提供更多本發明實施例如次: 實施例1:一種通用控制系統,係應用於行動裝置上所安裝之娛樂程式,該行動裝置上還包含作業系統,該作業系統包含輸入法編輯器,該娛樂程式接受控制碼,其包含:介接行動程式,係安裝並執行於該行動裝置上,其提供使用者自行定義鍵碼轉換表,該鍵碼轉換表包含作動代碼與該控制碼間之對應關係,該介接行動程式透過該輸入法編輯器,在該作業系統中新增基於該鍵碼轉換表之自訂輸入法;以及外部控制裝置,其包含控制器以及中央處理模組,該控制器經作動產生該作動代碼,並透過該中央處理模組向該介接行動程式傳輸該作動代碼,該介接行動程式接收到該作動代碼後,透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼。 The above embodiments of the present invention may be combined or substituted with each other in any way, thereby deriving more embodiments, without departing from the scope of the present invention. Further embodiments of the present invention are provided as follows: Embodiment 1 : A universal control system is applied to an entertainment program installed on a mobile device. The mobile device further includes an operating system. The operating system includes an input method editor, and the entertainment program accepts a control code, and the The action program is installed and executed on the mobile device, and provides a user-defined key code conversion table. The key code conversion table includes a correspondence between the action code and the control code, and the interface action program transmits the input code through the input code. a method editor, a new custom input method based on the key code conversion table is added to the operating system; and an external control device includes a controller and a central processing module, and the controller generates the actuation code through actuation The central processing module transmits the actuation code to the interworking mobile program, and after receiving the activation code, the interworking mobile program converts the actuation code into the control code and broadcasts the control code to the entertainment program. Control code.

實施例2:如實施例1所述之通用控制系統,其中該外部控制裝置還包含:該控制器,其因應該使用者之作動而產生該作動代碼;以及該中央處理模組,其與該控制器電連接,並包含傳輸介面、通訊介面、中央處理器、以及記憶體,該中央處理模組接收該作動代碼,並透過該通訊 界面向該行動裝置上該介接行動程式傳輸該作動代碼。 Embodiment 2: The universal control system as described in Embodiment 1, wherein the external control device further comprises: the controller generating the actuation code according to the user's action; and the central processing module, The controller is electrically connected and includes a transmission interface, a communication interface, a central processing unit, and a memory, and the central processing module receives the actuation code and transmits the communication code The interface transmits the actuation code to the interworking program on the mobile device.

實施例3:如實施例2所述之通用控制系統,其中該控制器係為遊戲專用手把、鍵盤、搖桿、觸控墊、遊戲專用方向機、電子鼓、感應式腳踏墊、開關式控制器、Arduino控制器。 Embodiment 3: The universal control system as described in Embodiment 2, wherein the controller is a game-specific handle, keyboard, joystick, touch pad, game-specific steering machine, electronic drum, inductive foot pad, switch Controller, Arduino controller.

實施例4:如實施例2所述之通用控制系統,其中該控制器以及該中央處理模組係組裝在同一個裝置本體上。 Embodiment 4: The universal control system as described in Embodiment 2, wherein the controller and the central processing module are assembled on the same device body.

實施例5:如實施例2所述之通用控制系統,其中該介接行動程式係儲存於外部控制裝置上的該中央處理模組的該記憶體。 Embodiment 5: The universal control system of embodiment 2, wherein the interface is stored in the memory of the central processing module on the external control device.

實施例6:如實施例1所述之通用控制系統,其中該介接行動程式係透過介入該行動裝置上的該輸入法編輯器,而在該行動裝置上新增該自訂輸入法所相應的自訂鍵盤。 Embodiment 6: The universal control system as described in Embodiment 1, wherein the interworking action program adds a corresponding custom input method to the mobile device by intervening in the input method editor on the mobile device Custom keyboard.

實施例7:如實施例1所述之通用控制系統,其中該介接行動程式還包含鍵碼轉換表建置介面,該介接行動程式透過對該使用者提供該鍵碼轉換表建置介面,而提供該使用者自行定義該鍵碼轉換表。 Embodiment 7: The universal control system as described in Embodiment 1, wherein the interface program further includes a key code conversion table creation interface, and the interface action program provides a key conversion table creation interface for the user. And provide the user to define the key code conversion table.

實施例8:如實施例1所述之通用控制系統,其中該作業系統係為Android作業系統以及iOS作業系統其中之一。 Embodiment 8: The universal control system as described in Embodiment 1, wherein the operating system is one of an Android operating system and an iOS operating system.

實施例9:一種通用控制方法,係用於以外部控制裝置操控行動裝置上所安裝之娛樂程式,該外部控制裝置經作動產生作動代碼,該娛樂程式接受控制碼,其包含:在該行動裝置上建立鍵碼轉換表,該鍵碼轉換表包含該作動代碼與該控制碼間之對應關係;建立該行動裝置與該外部控制裝置之連線;啟動該行動裝置所安裝之輸入法編輯器,透過該輸入法編輯器新增基於該鍵碼轉換表的自訂輸入法;作動該外部控制裝置而產 生該作動代碼;將該作動代碼傳輸給該行動裝置;以及透過該自訂輸入法將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼。 Embodiment 9: A general control method for operating an entertainment program installed on a mobile device by an external control device, the external control device being actuated to generate an actuation code, the entertainment program accepting a control code, comprising: at the mobile device Establishing a key code conversion table, the key code conversion table includes a correspondence between the action code and the control code; establishing a connection between the mobile device and the external control device; and starting an input method editor installed by the mobile device, Adding a custom input method based on the key code conversion table through the input method editor; operating the external control device Generating the actuation code; transmitting the actuation code to the mobile device; and converting the actuation code to the control code via the custom input method and broadcasting the control code to the entertainment program.

實施例10:如實施例9所述之通用控制方法,其中該介接行動程式係儲存於該外部控制裝置上。 Embodiment 10: The universal control method as described in Embodiment 9, wherein the interworking mobile program is stored on the external control device.

本發明各實施例彼此之間可以任意組合或者替換,從而衍生更多之實施態樣,但皆不脫本發明所欲保護之範圍,本發明保護範圍之界定,悉以本發明申請專利範圍所記載者為準。 The embodiments of the present invention may be combined or substituted with each other in any way, thereby deriving more embodiments, without departing from the scope of the present invention, and the scope of the present invention is defined by the scope of the present invention. The record is subject to change.

Claims (10)

一種行動裝置娛樂程式用通用控制系統,係應用於一行動裝置上所包含之一娛樂程式,該行動裝置包含一作業系統,該作業系統包含一輸入法編輯器,該娛樂程式接受一控制碼,其包含:一介接行動程式,係安裝並執行於該行動裝置上,其透過介入該輸入法編輯器以提供一使用者自行定義一自訂鍵盤,並在該作業系統中新增該自訂鍵盤,該自訂鍵盤包含一作動代碼與該控制碼間之對應關係;以及一外部控制裝置,其不須固定在該行動裝置上,並包含一控制器以及一中央處理模組,該控制器經作動產生該作動代碼,並透過該中央處理模組向該行動裝置傳輸該作動代碼,其中該行動裝置接收到該作動代碼後,透過該自訂鍵盤將該作動代碼轉換為該控制碼並向該娛樂程式廣播該控制碼,使該娛樂程式接受該外部控制裝置之操控。 A universal control system for a mobile device entertainment program is applied to an entertainment program included in a mobile device. The mobile device includes an operating system, and the operating system includes an input method editor, and the entertainment program receives a control code. The method includes: an interworking program installed and executed on the mobile device, by intervening in the input method editor to provide a user to define a custom keyboard, and adding the customized keyboard to the operating system The custom keyboard includes a correspondence between the actuation code and the control code; and an external control device that does not need to be fixed on the mobile device, and includes a controller and a central processing module, the controller Actuating the actuation code, and transmitting the actuation code to the mobile device through the central processing module, wherein after receiving the activation code, the mobile device converts the actuation code into the control code through the custom keyboard and The entertainment program broadcasts the control code to cause the entertainment program to accept manipulation by the external control device. 如請求項第1項所述之通用控制系統,其中該外部控制裝置還包含:該控制器,其因應該使用者之作動而產生該作動代碼;以及該中央處理模組,其與該控制器電連接,並包含一傳輸介面、一中央處理器、以及一記憶體,該中央處理模組接收該作動代碼,並透過該傳輸介面向該行動裝置上該介接行動程式傳輸該作動代碼,該傳輸介面還包含一藍芽無線傳輸介面、一Wi-Fi無線傳輸介面、以及一USB有線傳輸介面。 The universal control system of claim 1, wherein the external control device further comprises: the controller generating the actuation code according to the user's action; and the central processing module, the controller Electrically connected and comprising a transmission interface, a central processing unit, and a memory, the central processing module receiving the actuation code and transmitting the actuation code to the mobile device through the transmission medium The transmission interface also includes a Bluetooth wireless transmission interface, a Wi-Fi wireless transmission interface, and a USB wired transmission interface. 如請求項第1項所述之通用控制系統,其中該外部控制裝置係為一遊戲專用手把、一鍵盤、一搖桿、一觸控墊、一遊戲專用方向機、一電子鼓、一感應式腳踏墊、一開關式控制器、以及一Arduino控制器其中之一。 The universal control system of claim 1, wherein the external control device is a game-specific handle, a keyboard, a joystick, a touch pad, a game-specific steering machine, an electronic drum, and an induction. One of the foot pads, a switch controller, and an Arduino controller. 如請求項第2項所述之通用控制系統,其中該控制器以及該中央處理模組係組裝在同一個裝置本體上。 The universal control system of claim 2, wherein the controller and the central processing module are assembled on the same device body. 如請求項第2項所述之通用控制系統,其中該介接行動程式係儲存於外部控制裝置上的該中央處理模組的該記憶體。 The universal control system of claim 2, wherein the interface is stored in the memory of the central processing module on the external control device. 如請求項第1項所述之通用控制系統,其中該介接行動程式係透過介入該行動裝置上的該輸入法編輯器(IME),而在該行動裝置上新增該自訂鍵盤所相應的一自訂輸入法以及一鍵碼轉換表。 The universal control system of claim 1, wherein the interworking action program is configured to add the custom keyboard to the mobile device by intervening in the input method editor (IME) on the mobile device A custom input method and a one-key conversion table. 如請求項第1項所述之通用控制系統,其中該介接行動程式還包含一鍵碼轉換表建置介面,該介接行動程式透過對該使用者提供該鍵碼轉換表建置介面,而提供該使用者自行定義該自訂鍵盤。 The universal control system of claim 1, wherein the interworking program further includes a key conversion table construction interface, and the interworking program provides an interface for providing the user with the key conversion table. The user is provided to define the custom keyboard. 如請求項第1項所述之通用控制系統,其中該作業系統係為一Android作業系統以及一iOS作業系統其中之一。 The universal control system of claim 1, wherein the operating system is one of an Android operating system and an iOS operating system. 一種行動裝置娛樂程式用通用控制方法,係用於一行動裝置上所安裝之一娛樂程式,該行動裝置包含一作業系統,該作業系統包含一輸入法編輯器,該娛樂程式接受一控制碼,其包含: 在該行動裝置上安裝一介接行動程式,該介接行動程式介入該輸入法編輯器,以提供一使用者自行建立一自訂鍵盤,該自訂鍵盤包含一作動代碼與該控制碼間之對應關係;透過該介接行動程式在該作業系統中新增該自訂鍵盤;建立該行動裝置與一外部控制裝置之連線,其中該外部控制裝置不須固定在該行動裝置上;啟動該行動裝置之該作業系統上的該自訂鍵盤;作動該外部控制裝置而產生該作動代碼;將該作動代碼傳輸給該行動裝置;以及該作業系統透過該自訂鍵盤將該作動代碼轉換為該控制碼,並向該娛樂程式廣播該控制碼,使該娛樂程式接受該外部控制裝置之操控。 A universal control method for a mobile device entertainment program, which is used for an entertainment program installed on a mobile device, the mobile device comprising an operating system, the operating system comprising an input method editor, the entertainment program receiving a control code, It contains: An interworking program is installed on the mobile device, and the interworking program is inserted into the input method editor to provide a user to establish a custom keyboard. The custom keyboard includes an action code and a correspondence between the control code. Relationship; adding the custom keyboard to the operating system through the interworking program; establishing a connection between the mobile device and an external control device, wherein the external control device does not need to be fixed on the mobile device; The custom keyboard on the operating system of the device; actuating the external control device to generate the actuation code; transmitting the actuation code to the mobile device; and the operating system converting the actuation code to the control through the custom keyboard And transmitting the control code to the entertainment program to cause the entertainment program to accept manipulation by the external control device. 如請求項第9項所述之通用控制方法,其中該介接行動程式係儲存於該外部控制裝置上。 The universal control method of claim 9, wherein the interworking program is stored on the external control device.
TW106141142A 2017-11-27 2017-11-27 Universally adaptive control system for entertainment application programs on mobile device TWI629641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106141142A TWI629641B (en) 2017-11-27 2017-11-27 Universally adaptive control system for entertainment application programs on mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106141142A TWI629641B (en) 2017-11-27 2017-11-27 Universally adaptive control system for entertainment application programs on mobile device

Publications (2)

Publication Number Publication Date
TWI629641B true TWI629641B (en) 2018-07-11
TW201926030A TW201926030A (en) 2019-07-01

Family

ID=63640397

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106141142A TWI629641B (en) 2017-11-27 2017-11-27 Universally adaptive control system for entertainment application programs on mobile device

Country Status (1)

Country Link
TW (1) TWI629641B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI701577B (en) * 2019-01-14 2020-08-11 孕龍科技股份有限公司 Game handle external connection control device and game control device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI726433B (en) 2019-10-02 2021-05-01 宏碁股份有限公司 Game operation optimization method and mobile device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201437850A (en) * 2013-03-29 2014-10-01 Dexin Corp Input device and configuration setting system having the same
TW201525696A (en) * 2013-12-19 2015-07-01 Unigrand Ltd Bridging system and method for man-machine input signal
TW201628687A (en) * 2014-11-18 2016-08-16 雷蛇(亞太)私人有限公司 Gaming controller for mobile device, method of operating a gaming controller and computer program product
CN106075902A (en) * 2016-06-14 2016-11-09 广州小鸡快跑网络科技有限公司 Game paddle, the game control method connected based on BLE and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201437850A (en) * 2013-03-29 2014-10-01 Dexin Corp Input device and configuration setting system having the same
TW201525696A (en) * 2013-12-19 2015-07-01 Unigrand Ltd Bridging system and method for man-machine input signal
TW201628687A (en) * 2014-11-18 2016-08-16 雷蛇(亞太)私人有限公司 Gaming controller for mobile device, method of operating a gaming controller and computer program product
CN106075902A (en) * 2016-06-14 2016-11-09 广州小鸡快跑网络科技有限公司 Game paddle, the game control method connected based on BLE and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI701577B (en) * 2019-01-14 2020-08-11 孕龍科技股份有限公司 Game handle external connection control device and game control device

Also Published As

Publication number Publication date
TW201926030A (en) 2019-07-01

Similar Documents

Publication Publication Date Title
CN106896919B (en) Configuration file management method
US8924989B2 (en) System and method for integrated hardware platform for flash applications with distributed objects
US8259072B2 (en) Input control apparatus and an interactive system using the same
US10362158B2 (en) Appliance control system and method
US20220206594A1 (en) Haptic ecosystem
CN113646828B (en) Game controller operable in Bluetooth Low Energy (BLE) mode
US20140121022A1 (en) Method and system for video gaming using touchscreen input adaptation
CN105983229A (en) Electronic go game board and gaming method independently allowing human-machine or online go game
TWI629641B (en) Universally adaptive control system for entertainment application programs on mobile device
WO2022057370A1 (en) Method for adjusting game peripheral mode on bluetooth communication protocol
CN109471667A (en) Computer and mobile phones integrated intelligent interactive method
KR101759537B1 (en) Method for mapping keys or buttons displyed on touchscreen of mobile terminal
CN112827163B (en) Game paddle simulation method and mobile device
WO2018045882A1 (en) Method and system for controlling soft operational key of application of intelligent terminal
WO2023207941A1 (en) Data transmission method and apparatus, and electronic device, storage medium and program product
CN103198201B (en) Based on keyboard-simulating control method for gaming and device
KR100641058B1 (en) Auto game apparatus for using usb connector
TWM449618U (en) Configurable hand-held system for interactive games
CN105550045A (en) Method, device and system for controlling virtual input by mobile terminal
TWI520013B (en) Input device and configuration setting system having the same
RU2750593C1 (en) Method for emulating pressing of directional arrows on keyboard, joystick, or movement of computer mouse connected to computer device, depending on user's position in space
TW201421283A (en) Method of configurable hand-held system for interactive games
JP2015035131A (en) Input device and configuration setting system therefor
CN105898039A (en) Method and system for simulating computer game controller with smart phone
CN113805970A (en) Android system shell permission-based handle operation method

Legal Events

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