[go: up one dir, main page]

CN115563042A - Composite game device and composite game device configuration method - Google Patents

Composite game device and composite game device configuration method Download PDF

Info

Publication number
CN115563042A
CN115563042A CN202211357931.8A CN202211357931A CN115563042A CN 115563042 A CN115563042 A CN 115563042A CN 202211357931 A CN202211357931 A CN 202211357931A CN 115563042 A CN115563042 A CN 115563042A
Authority
CN
China
Prior art keywords
protocol
usb
hid
usb hub
protocol device
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211357931.8A
Other languages
Chinese (zh)
Inventor
刘贤忠
王亚举
林云胜
邱琳
曹白恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huijiazhi Technology Co ltd
Original Assignee
Shenzhen Huijiazhi Technology Co ltd
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 Shenzhen Huijiazhi Technology Co ltd filed Critical Shenzhen Huijiazhi Technology Co ltd
Priority to CN202211357931.8A priority Critical patent/CN115563042A/en
Publication of CN115563042A publication Critical patent/CN115563042A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention provides a compound game device and a compound game device configuration method, and relates to the technical field of game peripheral devices. The compound game device of the present invention includes: the system comprises a USB HUB device, a custom protocol device, an HID protocol device and an upper computer; one end of the USB HUB equipment is provided with a USB interface, and the USB HUB equipment is connected to the upper computer through the USB interface; the other end of the USB HUB device is respectively connected with the custom protocol device and the HID protocol device, and the custom protocol device is in communication connection with the HID protocol device. The beneficial effects of this technical scheme are: the USB HUB device is respectively connected with the custom protocol device and the HID protocol device, so that various peripheral devices are added to the compound game device by using the HID protocol device on the basis of the custom protocol device.

Description

一种复合游戏设备及复合游戏设备配置方法Composite game device and composite game device configuration method

技术领域technical field

本发明涉及游戏外围设备技术领域,具体而言,涉及一种复合游戏设备及复合游戏设备配置方法。The present invention relates to the technical field of game peripherals, in particular to a compound game device and a method for configuring the compound game device.

背景技术Background technique

定制协议是为某些特定的外设设备定制的外设协议。使用定制协议的设备统称为定制协议设备。目前的定制协议主要有:(1)PS协议,包含PS3、PS4和PS5协议,是索尼公司为PS3/PS4/PS5主机制定的游戏外设协议;(2)XBOX协议,包含XINPUT、XBOXONE(GIP)协议,是微软公司为XBOX(XBOX360/XBOXONE/XBOX SERIES)和PC主机专门制定的游戏外设协议;(3)NS协议,包含WIIU和SWITCH协议,是任天堂为WIIU和SWITCH主机专门制定的外设协议。A custom protocol is a peripheral protocol customized for some specific peripheral devices. Devices using custom protocols are collectively referred to as custom protocol devices. The current custom protocols mainly include: (1) PS protocol, including PS3, PS4 and PS5 protocols, which is a game peripheral protocol developed by Sony for PS3/PS4/PS5 consoles; (2) XBOX protocol, including XINPUT, XBOXONE (GIP ) protocol, which is a game peripheral protocol specially formulated by Microsoft for XBOX (XBOX360/XBOXONE/XBOX SERIES) and PC hosts; (3) NS protocol, including WIIU and SWITCH protocols, is a peripheral protocol specially formulated by Nintendo for WIIU and SWITCH hosts Set up an agreement.

现有游戏外围设备以定制协议设备为主,定制协议设备具有较好的游戏兼容性。但是由于定制协议设备协议已经定制完成,无法修改,因此只能适配特定设备(例如定制协议中的XINPUT协议,只能适配游戏手柄),无法满足人们对于多样化的游戏外设的需求。The existing game peripherals are mainly customized protocol devices, which have better game compatibility. However, since the custom protocol device protocol has been customized and cannot be modified, it can only be adapted to specific devices (for example, the XINPUT protocol in the custom protocol can only be adapted to gamepads), which cannot meet people's needs for diverse game peripherals.

发明内容Contents of the invention

本发明解决的问题是如何在定制协议设备上适配多样化的游戏外设。The problem solved by the invention is how to adapt various game peripherals on the customized protocol equipment.

为解决上述问题,本发明提供一种复合游戏设备包括:USB HUB设备、定制协议设备、HID协议设备和上位机;所述USB HUB设备一端设置有USB接口,通过所述USB接口连接于所述上位机;所述USB HUB设备另一端分别与所述定制协议设备和所述HID协议设备连接,所述定制协议设备和所述HID协议设备通信连接。In order to solve the above problems, the present invention provides a composite game device including: USB HUB device, customized protocol device, HID protocol device and host computer; one end of the USB HUB device is provided with a USB interface, and is connected to the Host computer; the other end of the USB HUB device is respectively connected to the custom protocol device and the HID protocol device, and the custom protocol device and the HID protocol device are connected in communication.

本发明的有益效果是:通过USB HUB设备分别连接定制协议设备和HID协议设备,实现了在定制协议设备的基础上利用HID协议设备为所述复合游戏设备增加了多种外设。既保证了在定制协议框架下的游戏兼容性,同时为游戏者提供了更多外设设备可供选择,提升了游戏体验。The beneficial effect of the present invention is that the custom protocol device and the HID protocol device are respectively connected through the USB HUB device, and various peripherals are added to the composite game device by using the HID protocol device on the basis of the custom protocol device. It not only ensures the game compatibility under the customized protocol framework, but also provides gamers with more peripheral devices to choose from, which improves the game experience.

可选地,所述定制协议设备与所述HID协议设备通过接口连接,并进行数据交互。Optionally, the customized protocol device is connected to the HID protocol device through an interface, and performs data interaction.

可选地,所述定制协议设备与所述HID协议设备集成在一颗芯片中。Optionally, the custom protocol device and the HID protocol device are integrated into one chip.

可选地,所述USB HUB设备、所述定制协议设备和所述HID协议设备集成在一颗芯片中。Optionally, the USB HUB device, the customized protocol device and the HID protocol device are integrated into one chip.

可选地,在所述芯片上开设有至少两个所述USB接口,所述USB接口包括USB设备接口、USB主机和设备接口和USB On-The-Go接口中的至少一种。Optionally, at least two USB interfaces are provided on the chip, and the USB interfaces include at least one of a USB device interface, a USB host and device interface, and a USB On-The-Go interface.

可选地,所述定制协议设备和所述HID协议设备通过读取对方数据缓存区的方式实现数据交互。Optionally, the customized protocol device and the HID protocol device realize data interaction by reading the other party's data buffer.

可选地,所述定制协议设备、所述HID协议设备和所述USB HUB设备通过互相读取数据缓存区的方式实现数据交互。Optionally, the custom protocol device, the HID protocol device and the USB HUB device realize data interaction by reading data buffer areas from each other.

可选地,所述定制协议设备的参数由所述上位机经过所述HID协议设备传输至所述定制协议设备。Optionally, the parameters of the customized protocol device are transmitted from the host computer to the customized protocol device through the HID protocol device.

本发明还提供一种复合游戏设备配置方法,基于上述任一项所述的复合游戏设备,包括:获取复合游戏设备中USB HUB设备的工作状态,所述工作状态包括开启和关闭;当所述USB HUB设备处于开启状态时,将定制协议设备与HID协议设备挂载到所述USB HUB下游端口,控制分别枚举所述定制协议设备和所述HID协议设备;当所述USB HUB设备处于关闭状态时,控制枚举所述定制协议设备。The present invention also provides a composite game device configuration method, based on the composite game device described in any one of the above, including: acquiring the working state of the USB HUB device in the composite game device, the working state includes on and off; when the When the USB HUB device is in the open state, the custom protocol device and the HID protocol device are mounted to the downstream port of the USB HUB, and the control enumerates the custom protocol device and the HID protocol device respectively; when the USB HUB device is closed state, the control enumerates the custom protocol devices.

可选地,本发明所述的复合游戏设备配置方法还包括:获取所述HID协议设备的连接状态,根据所述连接状态控制所述USB HUB设备的开启和关闭。Optionally, the compound game device configuration method of the present invention further includes: obtaining the connection state of the HID protocol device, and controlling the opening and closing of the USB HUB device according to the connection state.

本发明所述的复合游戏设备配置方法与上述复合游戏设备相对于现有技术的优势相同,在此不再赘述。The composite game device configuration method of the present invention has the same advantages as the above composite game device over the prior art, and will not be repeated here.

附图说明Description of drawings

图1为本发明实施例中的复合游戏设备结构示意图一;Fig. 1 is a schematic structural diagram of a composite game device in an embodiment of the present invention;

图2为本发明实施例中的复合游戏设备结构示意图二;Fig. 2 is a structural schematic diagram II of the compound game device in the embodiment of the present invention;

图3为本发明实施例中的复合游戏设备结构示意图三;Fig. 3 is a structural schematic diagram three of the compound game device in the embodiment of the present invention;

图4为本发明实施例中的定制协议设备与HID协议设备通讯框图一;Fig. 4 is a communication block diagram 1 between a customized protocol device and an HID protocol device in an embodiment of the present invention;

图5为本发明实施例中的定制协议设备与HID协议设备通讯框图二;Fig. 5 is a communication block diagram two between customized protocol equipment and HID protocol equipment in the embodiment of the present invention;

图6为本发明实施例中的定制协议设备、HID协议设备和USB HUB设备通讯框图;Fig. 6 is a communication block diagram of a customized protocol device, a HID protocol device and a USB HUB device in an embodiment of the present invention;

图7为本发明实施例中的复合游戏设备配置方法流程图一;Fig. 7 is a flow chart 1 of the composite game device configuration method in the embodiment of the present invention;

图8为本发明实施例中的复合游戏设备配置方法流程图二。Fig. 8 is the second flow chart of the composite game device configuration method in the embodiment of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.

在本说明书的描述中,参考术语“实施例”、“一些实施例”和“可选的实施例”等的描述意指结合该实施例或实施方式描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示实施方式中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或实施方式。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或实施方式以合适的方式结合。In the description of this specification, descriptions with reference to the terms "embodiments", "some embodiments" and "alternative embodiments" mean that specific features, structures, materials or characteristics described in conjunction with the embodiments or implementations include In at least one embodiment or implementation of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or implementation. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or implementations.

目前游戏场景逐渐多样化,为了提升游戏体验,游戏需要适配的外围设备越来越多,例如鼠标、键盘、耳麦,操纵杆、马达等等。现有游戏外围设备以定制协议设备为主,定制协议设备具有较好的游戏兼容性。但是由于定制协议设备协议已经定制完成,无法修改,因此只能适配特定设备,无法满足人们对于多样化的游戏外设的需求。At present, the game scene is gradually diversified. In order to improve the game experience, more and more peripheral devices need to be adapted to the game, such as mouse, keyboard, headset, joystick, motor and so on. The existing game peripherals are mainly customized protocol devices, which have better game compatibility. However, since the custom protocol device protocol has been customized and cannot be modified, it can only be adapted to specific devices and cannot meet people's needs for diverse game peripherals.

HID(Human Interface Device人机接口设备)是计算机直接与人交互的设备。HID协议可以将设备定义成游戏手柄、鼠标、键盘、音频设备等单个设备,也可以将设备定义成游戏手柄+鼠标+键盘+音频的复合设备。因此HID协议通常可适配多种外设设备,是一种通用性很强的协议。因此将HID协议设备融入到定制协议设备中,成为满足游戏多样化外设需求的一种有效方式。HID (Human Interface Device) is a device that directly interacts with humans. The HID protocol can define a device as a single device such as a gamepad, mouse, keyboard, and audio device, or as a composite device of a gamepad+mouse+keyboard+audio. Therefore, the HID protocol is usually adaptable to a variety of peripheral devices and is a highly versatile protocol. Therefore, integrating HID protocol devices into custom protocol devices has become an effective way to meet the diverse peripheral requirements of games.

基于此,结合图1至图3所示,本发明实施例提供一种复合游戏设备包括:USB HUB设备、定制协议设备、HID协议设备、上位机;所述上位机可以包括PC或游戏主机,所述USBHUB设备一端设置有USB接口,通过所述USB接口连接于所述上位机;所述USB HUB设备另一端分别与所述定制协议设备和所述HID协议设备连接,所述定制协议设备和所述HID协议设备通信连接。Based on this, as shown in FIG. 1 to FIG. 3 , an embodiment of the present invention provides a composite game device including: USB HUB device, customized protocol device, HID protocol device, and host computer; the host computer may include a PC or a game host, One end of the USB HUB device is provided with a USB interface, which is connected to the host computer through the USB interface; the other end of the USB HUB device is respectively connected to the custom protocol device and the HID protocol device, and the custom protocol device and the HID protocol device are respectively connected. The HID protocol device is connected for communication.

在一些实施例中,结合图1和图4所示,使用三颗芯片,分别是一颗USB HUB芯片,两颗USB芯片。两颗USB芯片分别用来实现定制协议设备和HID协议设备,通过USB线分别连接到USB HUB芯片的两个下游端口。两颗USB芯片之间通过硬件接口进行数据交换。其中,所述硬件接口包括SPI、UART和I2C等。定制协议设备芯片和HID协议设备芯片分别可以实现数据的打包或解包,通过硬件接口实现数据传输。In some embodiments, as shown in FIG. 1 and FIG. 4 , three chips are used, namely one USB HUB chip and two USB chips. The two USB chips are used to realize the custom protocol device and the HID protocol device respectively, and are respectively connected to the two downstream ports of the USB HUB chip through the USB cable. Data exchange is performed between two USB chips through a hardware interface. Wherein, the hardware interface includes SPI, UART, I2C and so on. The customized protocol device chip and the HID protocol device chip can realize data packing or unpacking respectively, and realize data transmission through the hardware interface.

具体地,在本实施例中,关于所述定制协议设备和所述HID协议设备之间的通信,在数据有更新时就立即发送,没有更新时保持总线空闲,尽量降低延迟时间。针对信道可能堵塞的情况,在发送和接收端分别创建一定大小的缓存区,对于无法及时处理的数据暂存在缓存区中,可以保证信道不会堵塞。Specifically, in this embodiment, regarding the communication between the custom protocol device and the HID protocol device, the data is sent immediately when there is an update, and the bus is kept idle when there is no update, so as to reduce the delay time as much as possible. In case of possible channel congestion, buffer areas of a certain size are created at the sending and receiving ends, and data that cannot be processed in time is temporarily stored in the buffer area to ensure that the channel will not be blocked.

在一些实施例中,结合图2所示,使用两颗芯片,分别是一颗USB HUB芯片,一颗带有两个USB功能的芯片。一颗带两个USB功能的芯片,其中一个USB用来实现定制协议设备,另一个USB用来实现HID协议设备,这两个USB接口分别接到USB HUB设备芯片的两个下游端口。In some embodiments, as shown in FIG. 2 , two chips are used, namely a USB HUB chip and a chip with two USB functions. A chip with two USB functions, one of which is used to implement custom protocol devices, and the other USB is used to implement HID protocol devices. These two USB interfaces are respectively connected to two downstream ports of the USB HUB device chip.

在本实施例中,所述定制协议设备和所述HID协议设备设置在同一颗芯片中,由此,所述定制协议设备和所述HID协议设备之间的数据交换不需要额外的硬件接口来实现,数据传输更通畅便捷。In this embodiment, the custom protocol device and the HID protocol device are set in the same chip, thus, the data exchange between the custom protocol device and the HID protocol device does not require an additional hardware interface to Realization, data transmission is smoother and more convenient.

在一些实施例中,结合图3所示,使用一颗芯片,这颗芯片既带有USB HUB功能,还带有至少两个USB设备功能,其中一个USB用来实现定制协议设备,另一个USB用来实现HID协议设备。In some embodiments, as shown in FIG. 3, a chip is used. This chip not only has a USB HUB function, but also has at least two USB device functions, one of which is used to implement a custom protocol device, and the other USB Used to implement HID protocol devices.

具体地,在本实施例中,所述USB HUB设备也在芯片内部,与定制协议设备和HID协议设备的连接也不需要USB接口。三个设备功能在同一颗芯片中,可以通过固件控制,将设备切换成复合游戏设备或者单独定制协议设备,满足最大兼容性。Specifically, in this embodiment, the USB HUB device is also inside the chip, and the connection with the custom protocol device and the HID protocol device does not require a USB interface. The functions of the three devices are in the same chip, which can be controlled by firmware to switch the device into a composite game device or a separate customized protocol device to meet maximum compatibility.

本发明实施例的有益效果是:通过USB HUB设备分别连接定制协议设备和HID协议设备实现了在定制协议设备的基础上利用HID协议设备为所述复合游戏设备增加了多种外设。既保证了在定制协议框架下的游戏兼容性,同时为游戏者提供了更多外设设备可供选择,提升了游戏体验。The beneficial effect of the embodiment of the present invention is that: the custom protocol device and the HID protocol device are respectively connected through the USB HUB device to realize the addition of various peripherals to the composite game device by using the HID protocol device on the basis of the custom protocol device. It not only ensures the game compatibility under the customized protocol framework, but also provides gamers with more peripheral devices to choose from, which improves the game experience.

在一些实施例中,当定制协议设备和HID协议设备集成在一颗芯片上时,在所述芯片上开设有至少两个USB接口,其中所述USB接口包括USB设备接口、USB主机和设备接口和USB On-The-Go接口中的至少一种。所述至少两个USB接口可以是USB设备接口、USB主机和设备接口和USB On-The-Go接口的组合。In some embodiments, when the custom protocol device and the HID protocol device are integrated on a chip, at least two USB interfaces are provided on the chip, wherein the USB interface includes a USB device interface, a USB host and a device interface and at least one of the USB On-The-Go interfaces. The at least two USB interfaces may be a combination of a USB device interface, a USB host and device interface, and a USB On-The-Go interface.

在一些实施例中,结合图4和图5所示,当定制协议设备和HID协议设备集成在一颗芯片中时,所述定制协议设备和所述HID协议设备通过读取对方数据缓存区的方式实现数据交互。当定制协议设备、HID协议设备和USB HUB设备集成在一颗芯片中时,所述定制协议设备、所述HID协议设备和所述USB HUB设备通过互相读取数据缓存区的方式实现数据交互。通过互相读取数据缓存区可以实现数据快速高效的传输,避免了信道堵塞的问题,提高了交互效率。In some embodiments, as shown in FIG. 4 and FIG. 5 , when the custom protocol device and the HID protocol device are integrated in one chip, the custom protocol device and the HID protocol device read each other's data buffer way to achieve data interaction. When the custom protocol device, the HID protocol device and the USB HUB device are integrated in one chip, the custom protocol device, the HID protocol device and the USB HUB device realize data interaction by reading data buffers from each other. Fast and efficient data transmission can be achieved by reading data buffers from each other, avoiding the problem of channel congestion and improving interaction efficiency.

在一些实施例中,定制协议设备的参数由所述上位机经过所述HID协议设备传输至所述定制协议设备。其中,所述定制协议设备的参数可以根据连接的外部设备不同而设置,包括但不限于按键重映射、宏编程、马达震动强度设置、RGB灯颜色配置及设备在线升级数据等。In some embodiments, the parameters of the customized protocol device are transmitted from the host computer to the customized protocol device through the HID protocol device. Among them, the parameters of the customized protocol device can be set according to the different connected external devices, including but not limited to button remapping, macro programming, motor vibration intensity setting, RGB light color configuration and device online upgrade data, etc.

在一些游戏场景下,一些特定的HID设备需要使用组合按键功能,所述组合按键包括键盘组合键、键鼠组合键等。这些都是HID功能,由于HID功能都在HID协议设备上,所以当定制协议设备上被设置为组合按键功能的按键按下时,它需要将相应的组合键键值发给HID协议设备,由HID协议设备通过指定的HID功能接口报告给PC/游戏主机,从而在PC/游戏主机上产生组合按键的效果。类似的功能还有将摇杆输出为鼠标指针,控制鼠标移动等。In some game scenarios, some specific HID devices need to use combined key functions, and the combined keys include keyboard combination keys, keyboard and mouse combination keys, and the like. These are all HID functions. Since the HID functions are all on the HID protocol device, when the button set as the combination button function on the custom protocol device is pressed, it needs to send the corresponding combination key key value to the HID protocol device. The HID protocol device reports to the PC/game console through the specified HID function interface, so as to produce the effect of combining keys on the PC/game console. Similar functions include outputting the joystick as a mouse pointer, controlling mouse movement, etc.

在另一些特定外设设备的场景下,外设设备由转子马达升级为线性马达,但是定制协议设备只能获取转子马达信号,无法获取线性马达信号。在该场景下,通过HID协议设备获取游戏中的线性马达信号,发给定制协议设备,定制协议设备对本身获取的转子马达信号及HID协议设备发过来的线性马达信号进行处理,驱动线性马达,获得最佳的游戏反馈效果。In other specific peripheral device scenarios, the peripheral device is upgraded from a rotor motor to a linear motor, but the custom protocol device can only obtain the rotor motor signal, but cannot obtain the linear motor signal. In this scenario, the linear motor signal in the game is obtained through the HID protocol device and sent to the customized protocol device. The customized protocol device processes the rotor motor signal obtained by itself and the linear motor signal sent by the HID protocol device to drive the linear motor. Get the best game feedback effect.

结合图7和图8所示,本发明实施例还提供一种复合游戏设备配置方法,基于上述任一项所述的复合游戏设备,包括:获取复合游戏设备中USB HUB设备的工作状态,所述工作状态包括开启和关闭;当所述USB HUB设备处于开启状态时,将定制协议设备与至少一个HID协议设备挂载到所述USB HUB下游端口;控制分别枚举所述定制协议设备和所述HID协议设备;当所述USB HUB设备处于关闭状态时,控制枚举所述定制协议设备。As shown in FIG. 7 and FIG. 8, the embodiment of the present invention also provides a composite game device configuration method, based on the composite game device described in any one of the above, including: acquiring the working status of the USB HUB device in the composite game device, the The working state includes opening and closing; when the USB HUB device is in the open state, the custom protocol device and at least one HID protocol device are mounted to the downstream port of the USB HUB; the control enumerates the custom protocol device and the The HID protocol device; when the USB HUB device is in a closed state, control enumerates the custom protocol device.

在本实施例中,根据所述USB HUB设备的工作状态,确定所述USB HUB设备下面挂载的设备类型,当使用者只想玩游戏时,可以关闭USB HUB设备,从而节约系统资源,流畅游戏。当使用者玩游戏的同时又想使用其他外设设备,例如耳麦、键盘等,可以开启USB HUB设备,从而支持多个游戏外设的连接,提升游戏体验。结合图8所示,在复合游戏设备处于正常工作状态下,还可以根据实际需要切换设备功能,在切换完成后复位USB功能模块,重新判断是否启用USB HUB设备。In this embodiment, according to the working status of the USB HUB device, the type of device mounted under the USB HUB device is determined. When the user only wants to play games, the USB HUB device can be turned off, thereby saving system resources and ensuring smooth operation. game. When the user wants to use other peripheral devices while playing games, such as headsets, keyboards, etc., the USB HUB device can be turned on to support the connection of multiple game peripherals and improve the gaming experience. As shown in Figure 8, when the composite game device is in a normal working state, the device function can also be switched according to actual needs. After the switching is completed, the USB function module is reset, and a new judgment is made on whether to enable the USB HUB device.

在一些实施例中,通过获取所述HID协议设备的连接状态,根据所述连接状态控制所述USB HUB设备的开启和关闭。可以免除人为控制USB HUB设备的繁琐步骤,例如外设设备可以实现连接即用,例如耳麦设备可以连接的同时开启USB HUB设备,提升便捷性。In some embodiments, the connection state of the HID protocol device is obtained, and the opening and closing of the USB HUB device is controlled according to the connection state. It can avoid the tedious steps of artificially controlling the USB HUB device. For example, the peripheral device can be connected and used immediately. For example, the headset device can be connected and the USB HUB device can be turned on at the same time, which improves the convenience.

虽然本公开披露如上,但本公开的保护范围并非仅限于此。本领域技术人员在不脱离本公开的精神和范围的前提下,可进行各种变更与修改,这些变更与修改均将落入本公开的保护范围。Although the present disclosure is disclosed as above, the protection scope of the present disclosure is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present disclosure, and these changes and modifications will all fall within the protection scope of the present disclosure.

Claims (10)

1. A compound game device, comprising: the system comprises a USB HUB device, a custom protocol device, an HID protocol device and an upper computer;
one end of the USB HUB equipment is provided with a USB interface, and the USB HUB equipment is connected to the upper computer through the USB interface;
the other end of the USB HUB device is respectively connected with the custom protocol device and the HID protocol device, and the custom protocol device is in communication connection with the HID protocol device.
2. The compound gaming device of claim 1, wherein the custom protocol device interfaces with the HID protocol device and performs data interaction.
3. The compound gaming device of claim 1, wherein the custom protocol device is integrated with the HID protocol device in one chip.
4. The compound gaming device of claim 1, wherein the USB HUB device, the custom protocol device, and the HID protocol device are integrated in one chip.
5. The composite game device of claim 3 or 4, wherein at least two said USB interfaces are provided On said chip, said USB interfaces including at least one of a USB device interface, a USB host and device interface, and a USB On-The-Go interface.
6. The compound gaming device of claim 3, wherein the custom protocol device and the HID protocol device implement data interaction by reading the data buffer of the other.
7. The compound gaming device of claim 4, wherein the custom protocol device, the HID protocol device, and the USB HUB device interact by reading data buffers from each other.
8. The compound game device according to claim 1, wherein the parameter of the custom protocol device is transmitted from the upper computer to the custom protocol device via the HID protocol device.
9. A composite game apparatus configuration method according to any one of claims 1 to 8, comprising:
acquiring the working state of a USB HUB device in the composite game device, wherein the working state comprises opening and closing;
when the USB HUB equipment is in an open state, mounting custom protocol equipment and HID protocol equipment to a downstream port of the USB HUB, and controlling to enumerate the custom protocol equipment and the HID protocol equipment respectively;
and when the USB HUB equipment is in a closed state, controlling to enumerate the customized protocol equipment.
10. The compound game device configuration method of claim 9, further comprising: and acquiring the connection state of the HID protocol equipment, and controlling the USB HUB equipment to be opened and closed according to the connection state.
CN202211357931.8A 2022-11-01 2022-11-01 Composite game device and composite game device configuration method Pending CN115563042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211357931.8A CN115563042A (en) 2022-11-01 2022-11-01 Composite game device and composite game device configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211357931.8A CN115563042A (en) 2022-11-01 2022-11-01 Composite game device and composite game device configuration method

Publications (1)

Publication Number Publication Date
CN115563042A true CN115563042A (en) 2023-01-03

Family

ID=84769469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211357931.8A Pending CN115563042A (en) 2022-11-01 2022-11-01 Composite game device and composite game device configuration method

Country Status (1)

Country Link
CN (1) CN115563042A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040254014A1 (en) * 1999-10-06 2004-12-16 Igt Protocols and standards for USB peripheral communications
US20160321195A1 (en) * 2015-04-28 2016-11-03 Microchip Technology Incorporated Universal serial bus smart hub

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040254014A1 (en) * 1999-10-06 2004-12-16 Igt Protocols and standards for USB peripheral communications
US20160321195A1 (en) * 2015-04-28 2016-11-03 Microchip Technology Incorporated Universal serial bus smart hub

Similar Documents

Publication Publication Date Title
US12324983B2 (en) Universal mobile game controller
US7024501B1 (en) Method and apparatus for attaching USB peripherals to host ports
JP4913176B2 (en) KVM switch with PIP function using remote desktop sharing technology
US7970967B2 (en) Television with integrated asynchronous/synchronous KVMP signal switch for console and peripheral devices
US9922630B2 (en) System, apparatus and method for foot-operated effects
TW200537356A (en) Multi-system game controller that operates in multiple USB modes
WO2020258225A1 (en) Gamepad and gamepad vibration method and apparatus
KR20010085382A (en) Computer, controlling method therefor, recording medium and transmitting medium
TWM525481U (en) System and apparatus for communication between different interfaces
CN101095288B (en) Game support device for mobile communication terminal
CN113617020B (en) Game control method, device, storage medium, server and terminal
CN114984564A (en) Control method and device of gamepad and storage medium
CN101700434B (en) Game system
CN105521603B (en) The method, apparatus and system of virtual input control are carried out for the game of cool run class
TW201318676A (en) System and method for controlling output of music and input of multiple operations for wireless amusement device
US20060069543A1 (en) Emulated universal serial bus input devices
CN115563042A (en) Composite game device and composite game device configuration method
CN113259513B (en) Electronic equipment and driving method
WO2020151067A1 (en) Synchronously configured control circuit and processor
CN106445281A (en) Method and system for adjusting position of operational key of intelligent terminal
CN110597750B (en) USB conference device
US11904247B2 (en) Information processing apparatus and image display method for superimposing another image on a content image
JP2001224858A (en) Game equipment
US20220253235A1 (en) Information processing device and application execution method
CN105550045A (en) Method, device and system for controlling virtual input by mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination