WO2020258575A1 - Game controller, game system and method for direction identification of game operation - Google Patents

Game controller, game system and method for direction identification of game operation Download PDF

Info

Publication number
WO2020258575A1
WO2020258575A1 PCT/CN2019/109271 CN2019109271W WO2020258575A1 WO 2020258575 A1 WO2020258575 A1 WO 2020258575A1 CN 2019109271 W CN2019109271 W CN 2019109271W WO 2020258575 A1 WO2020258575 A1 WO 2020258575A1
Authority
WO
WIPO (PCT)
Prior art keywords
rolling ball
image
positioning
game
positioning icon
Prior art date
Application number
PCT/CN2019/109271
Other languages
French (fr)
Chinese (zh)
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 潍坊歌尔微电子有限公司
Publication of WO2020258575A1 publication Critical patent/WO2020258575A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
    • A63F13/235Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console using a wireless connection, e.g. infrared or piconet
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Definitions

  • This application belongs to the technical field of game equipment, and in particular relates to a game controller, a game system with a game controller, and a method for identifying the direction of game operation.
  • the most common controller in existing game devices is a two-handed gamepad. Both left and right hand operation areas are provided with an operation joystick and multiple operation buttons. The operating direction in the game is mainly controlled by the left hand. The user can control it by operating the buttons or operating the joystick.
  • the traditional rocker is equipped with a rheostat under the rocker.
  • the resistance changes.
  • the displacement and direction of the rocker can be determined.
  • the technical solution disclosed in the Chinese Patent Application Publication No. CN1114142C
  • a plurality of conductive elastic bodies are provided in the moving transmission member.
  • a plurality of resistor plates corresponding to the conductive elastomer are also installed in the body. According to the direction and inclination of the operating point of the operating member, the contact area and resistance value of the conductive elastomer and the resistor can be changed.
  • the present invention aims at the problem of inability to perform accurate control due to improper button or improper rotation of the rocker when operating a game machine with joysticks or buttons in the prior art, and the discomfort of operation is obvious.
  • a game controller is designed and disclosed. .
  • a game controller includes: a casing; a rolling ball, the rolling ball is arranged in the casing and rotates relative to the casing under user operation, and an identification pattern is provided on the outer surface of the rolling ball
  • An image acquisition module the image acquisition module is configured to continuously acquire a plurality of rolling ball images; and a direction recognition module, the direction recognition module is configured to select a positioning icon in the identification pattern of the rolling ball image, and according to a plurality of The position change of the positioning icon in the rolling ball image determines the game operation direction corresponding to this rolling ball rotation.
  • a game system including a game controller, the game controller includes: a casing; a rolling ball, the rolling ball is arranged in the casing and is opposite to the When the housing rotates, an identification pattern is provided on the outer surface of the rolling ball; an image acquisition module configured to continuously acquire a plurality of rolling ball images; and a direction recognition module configured to The positioning icon is selected from the identification pattern of the rolling ball image, and the game operation direction corresponding to this rolling ball rotation is determined according to the position change of the positioning icon in the multiple rolling ball images.
  • the game controller and the game system with the game controller disclosed in the present invention provide a rolling ball with an identification unit on the outer surface in the housing, and locate the icon in the multiple continuous rolling ball images collected by the image acquisition module.
  • the game operation direction corresponding to the rotation of the rolling ball is changed to improve the accuracy of the control direction of the game controller.
  • the rolling ball is smoother and more flexible than the joystick, and is more suitable for multiple direction switching operations in a short period of time, and has higher comfort .
  • a method for recognizing the operation direction of a game includes the following steps: successively obtaining a plurality of rolling ball images of a rolling ball arranged on a housing of a game controller, wherein an identification pattern is provided on the outer surface of the rolling ball; The positioning icon is selected from the identification pattern of the rolling ball image, and the game operation direction corresponding to this rolling ball rotation is determined according to the position change of the positioning icon in the multiple rolling ball images.
  • the method for identifying the direction of the game operation disclosed in the present invention uses the change of the positioning icon in the image at multiple moments during the operation of the rolling ball with the logo pattern to determine the game operation direction corresponding to the rolling ball rotation, thereby improving the game control
  • the recognition accuracy of the operation direction of the controller is more suitable for the recognition and judgment of multiple direction switching operations in a short time.
  • Figure 1 is a schematic structural diagram of a specific embodiment of the game controller disclosed in the present invention.
  • Figure 2 shows the positional relationship between the rolling ball and the image acquisition module in the game controller shown in Figure 1;
  • Figure 3 is an optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set vector diagram;
  • Figure 4 is another optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set vector diagram;
  • Figure 5 is another optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set bitmap image;
  • Fig. 6 is a first rolling ball image collected in an embodiment of the game controller disclosed in the present invention.
  • Fig. 7 is a second rolling ball image collected in an embodiment of the game controller disclosed in the present invention.
  • FIG. 8 is a schematic diagram of comparison of changes in the positioning icon vector in FIG. 6 and FIG. 7;
  • FIG. 9 is a flowchart of a first embodiment of the method for identifying the direction of game operation disclosed in the present invention.
  • Fig. 10 is a flowchart of a second embodiment of the method for identifying the direction of game operation disclosed in the present invention.
  • Fig. 1 is a schematic structural diagram of a game controller according to an embodiment of the present invention.
  • the game controller 10 can be connected to the game console through wired communication or wireless communication.
  • the game console can be a closed game platform or a handheld game platform that integrates a central processing unit and a graphics processor, or it can be a personal computer.
  • the game console is connected to the display screen and realizes human-computer interaction through the game controller 10.
  • the game controller 10 includes a housing 11.
  • the housing 11 has an extension 15 extending outward, and the two extensions 15 constitute handles for the user to hold with the left hand and the right hand respectively. The user can hold the controller safely and stably through the handle.
  • the panel of the housing 11 includes various input devices, such as a button 16 arranged on one side, a start button and a reset button arranged in the middle. In some specific scenarios, a small steering wheel may also be set.
  • a button 16 arranged on one side
  • a start button arranged in the middle
  • a reset button may also be set.
  • the game controller 10 is also preferably provided with a speaker for playing a feedback sound effect formed based on user operations, or a vibration element is used to form a special vibration effect formed based on the operation.
  • Various interfaces such as a USB interface
  • various inertial sensors such as an acceleration sensor, a gyroscope, and a magnetometer
  • the handle can also be designed to be held with one hand, and the shape of the handle is not further limited here.
  • the game controller 10 further includes a rolling ball 12, as shown in FIG. 1, the rolling ball 12 is arranged on the side of the game controller 10.
  • the rolling ball 12 is integrally arranged in the housing 11, partly exposed on the panel of the housing 11, and the top of the exposed part is approximately flush with the panel of the housing 11.
  • the user can easily use the rolling ball 12 with the thumb of one hand when holding the game controller 10 through the extension 15.
  • the rolling ball 12 rotates relative to the housing 11 under the operation of the user.
  • the rotation freedom of the rolling ball 12 may be restricted by the structure of the housing 11 so that it only rotates along the panel rotation axis parallel to the housing 11.
  • the rolling ball 12 is used to input the game operation direction to control the virtual perspective of the character or the movement and direction of the object in the game virtual environment.
  • an identification pattern is provided on the outer surface of the rolling ball 12.
  • the logo pattern can be generated based on a set vector diagram.
  • the set vector diagram is generated by software and includes a pattern composed of graphic elements. Graphic elements can be points, lines composed of multiple points, rectangles or polygons composed of multiple lines (as shown in Figures 3 and 4 in 121-1 to 121-7).
  • Each graph has its corresponding algorithm formula, which can be directly generated by software.
  • each graphic element (that is, the plane coordinates of the graphic element) can be automatically stored in the file attributes of the vector diagram.
  • the set vector diagram is converted into a three-dimensional image with the center of the rolling ball as the origin and the radius of the rolling ball as the radius, and the logo pattern is further sprayed on the outer surface of the rolling ball 12 according to the three-dimensional image.
  • the rolling ball 12 can also be integrally formed in the form of 3D printing to have a logo pattern on its outer surface.
  • the set vector diagram is preferably composed of multiple points or multiple curved color blocks to facilitate image processing and recognition and reduce errors.
  • the file attributes of the three-dimensional image include the color, shape, outline, size, and screen position of each graphic element, as well as the graphic element in the space coordinate system with the center of the rolling ball as the origin. s position.
  • the logo image can also be generated based on a set bitmap image.
  • the set bitmap image is preferably a 256-color bitmap image, as shown in Figure 121-8.
  • the color and screen position of each pixel can be automatically stored in the file attributes of the bitmap image.
  • the set bitmap image is converted into a three-dimensional image with the center of the ball as the origin and the radius of the ball as the radius, and the logo pattern is further sprayed on the outer surface of the ball 12 according to the three-dimensional image.
  • the rolling ball 12 can also be integrally formed in the form of 3D printing to have a logo pattern on its outer surface.
  • the conversion of the setting bitmap image into a three-dimensional image with the center of the rolling ball 12 as the origin can be realized by the setting algorithm in the existing three-dimensional imaging software, which is not the protection focus of the present invention, and will not be repeated here.
  • the set bitmap image when the logo pattern is generated based on the set bitmap image, the set bitmap image preferably has rich color and tone changes to vividly represent the natural scene, so that the combined appearance of the rolling ball 12 and the housing 11 More novel and attracting attention.
  • the byte used to record the data of each pixel After being converted into a three-dimensional image, in addition to the color and screen position of the pixel, the byte used to record the data of each pixel also includes the position of the pixel in the spatial coordinate system with the center of the rolling ball as the origin. .
  • An image acquisition module 13 is also provided in the housing 11.
  • the image acquisition module 13 is a camera or a camera assembly composed of multiple camera groups, preferably a single camera. As shown in FIG. 2, the image acquisition module 13 is preferably arranged directly below the rolling ball 12, that is, the optical axis of the camera and the center O of the rolling ball 12 are located on the same straight line.
  • the image acquisition module 13 is used for continuously acquiring multiple rolling ball images and transmitting the rolling ball images to the direction recognition module 14 of the game controller 10.
  • the image acquisition module 13 graphically samples the outer surface of the rolling ball 12 at intervals of a certain period during the user's operation of the rolling ball 12, and records part of the markings on the surface corresponding to the rolling ball 12 and the image acquisition module 13 Pattern changes.
  • the direction recognition module 14 is designed based on an independent MCU. Since the user operates the rolling ball 12 each time, the rolling ball 12 does not return to its original position. Therefore, after the direction recognition module 14 obtains a plurality of continuous rolling ball images, it first selects a positioning icon in the identification pattern, and determines the game operation direction corresponding to the current rolling of the rolling ball 12 according to the position changes of the positioning icons in the plurality of rolling ball images.
  • the positioning icon is at least a complete positioning image unit.
  • the positioning image unit is a graphic element, and the graphic element can be at least one of a point, a line, and a surface.
  • the positioning image unit is a pixel.
  • the image acquisition module 13 is preferably configured to acquire the first rolling ball image when the motion of the rolling ball 12 is detected, and the first rolling ball image can be regarded as the reference image at the beginning of the current operation of the rolling ball 12. After acquiring the first rolling ball image, start timing and acquire the second rolling ball image during the effective operation timing period. The second rolling ball image is considered to be the comparison image of the rolling ball 12 at the end of this operation.
  • the direction recognition module 14 selects the positioning icon from the identification pattern of the first rolling ball image, and determines the corresponding position of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image. Based on the determined game operation direction, the movement of the object or the perspective of the virtual image is controlled based on the determined game operation direction. If the rolling ball 12 rotates relative to any one of the two axial directions on the XOY plane parallel to the panel as shown in FIG. 2, the positioning icon selected by the direction recognition module 14 will be relative to the first rolling ball image in the second rolling ball image.
  • the original position of a rolling ball image forms a motion trajectory, and based on this motion trajectory, the operating direction of the rolling ball 12 can be obtained.
  • the action of the rolling ball 12 can be detected based on a Hall sensor, and the effective operation action timing period is generated based on big data.
  • the effective operation timing period corresponds to the average time for the user to perform a 12-direction operation of the rolling ball.
  • Figures 6 to 8 show a specific working mode for the direction recognition module 14 to recognize the rotating direction of the rolling ball 12, where a bitmap image is set as an example.
  • the direction recognition module 14 selects the first A complete pixel in the rolling ball image is used as the positioning icon 20, and the positioning icon vector is generated after the positioning icon is selected Which location icon vector The center point of the rolling ball points to the positioning icon.
  • the positioning icon vector can be any positioning image unit from the center point of the rolling ball to the positioning icon, that is, any one of the pixels; the positioning icon vector is also It can be that the center point of the rolling ball points to multiple positioning image units in the positioning icon, that is, a combination of multiple vectors of multiple pixels, that is, a vector cluster.
  • the direction recognition module 14 selects the same pixel point as the positioning icon in the second rolling ball image, and generates a positioning icon vector after selecting the positioning icon In the second rolling ball image, locate the icon vector Similarly, the center point of the rolling ball points to the positioning icon.
  • the direction recognition module 14 can determine the direction of the current rolling ball 12 rotation according to the direction changes of the positioning icon vector in the first rolling ball image and the second rolling ball image.
  • the vector Relative to vector Downward movement means that the rolling ball 12 rotates downward, and the corresponding game operation control of the rolling ball 12 downward rotation is executed. If the positioning icon vector is a vector cluster, the direction of all vectors in the vector cluster is changed to the direction in which the rolling ball 12 rotates this time.
  • the game controller disclosed in the present invention determines the game corresponding to the rolling ball rotation by setting a rolling ball with an identification unit on the outer surface in the housing, and judging the game corresponding to the rolling ball rotation according to the change of the positioning icon in the multiple continuous rolling ball images collected by the image acquisition module
  • the operating direction improves the accuracy of the control direction of the game controller.
  • the rolling ball is smoother and more flexible, and is more suitable for multiple direction switching operations in a short period of time, with higher comfort.
  • the invention also discloses a game system, which includes at least one game controller as disclosed in the above embodiments.
  • the game system also includes a game console.
  • the game console can operably provide audio and video signals.
  • the game console is provided with a graphics processor and an audio processor.
  • the game console is connected to a display screen and a speaker.
  • the game controller establishes wireless communication with the game console host.
  • FIG. 9 is a flowchart of a method for identifying the direction of game operation provided by an embodiment of the present invention. As shown in Figure 9, the method includes the following steps:
  • the rolling ball is specially designed to be different from the joystick in the prior art.
  • the user can easily use the rolling ball with the thumb of one hand when holding the game controller.
  • the ball smoothly rotates relative to the housing under the user's operation to input the game operation direction.
  • the logo pattern can be generated based on a set vector diagram.
  • the set vector diagram is generated by software and includes a pattern composed of graphic elements.
  • the graphic element can be a point, a line composed of multiple points, or a rectangle or polygon composed of multiple lines.
  • Each pattern is directly generated by the software according to the set algorithm.
  • the color, shape, outline, size and screen position (that is, plane coordinates) of each graphic element can be automatically stored in the file attributes of the vector diagram. Convert the set vector diagram into a three-dimensional image with the center of the rolling ball as the origin, and further print or paste the logo pattern on the outer surface of the rolling ball according to the three-dimensional image.
  • the rolling ball and the logo pattern can also be 3D printed Made in one piece.
  • the logo pattern can also be generated based on the set bitmap image.
  • the setting bitmap image is preferably a 256-color bitmap image. Set the bitmap image to convert each pixel of the image into one data and use one byte to store it. The color and screen position of each pixel can be automatically stored in the file attributes of the bitmap image.
  • the set bitmap image into a three-dimensional image with the center of the ball as the origin and the radius of the ball as the radius, and further spray or paste the logo pattern on the outer surface of the ball according to the three-dimensional image, or use 3D printing One-piece rolling ball with logo design.
  • the bytes used to record the data of each pixel include the color and screen position of the pixel, as well as the position of the pixel in the spatial coordinate system with the center of the rolling ball as the origin.
  • S102 Select a positioning icon from the logo pattern of the rolling ball image, and determine the game operation direction corresponding to the current rolling ball rotation according to the position changes of the positioning icons in the multiple rolling ball images.
  • the direction recognition module obtains multiple continuous rolling ball images, it first selects the positioning icon in the identification pattern, and determines the game operation direction corresponding to the current rolling ball rotation based on the position change of the positioning icon in the multiple rolling ball images.
  • the positioning icon is at least a complete positioning image unit.
  • the positioning image unit is a graphic element, and the graphic element can be at least one of a point, a line, and a surface.
  • the positioning image unit is a pixel.
  • the following steps are preferably performed when continuously obtaining a plurality of rolling ball images of rolling balls arranged on the housing of the game controller:
  • a control command for the movement or direction of an object usually needs to be input within a certain set time before it is judged to be valid. Therefore, the user will autonomously perform a rolling ball operation within the effective operation time to Complete control of the object. Based on this, it is preferable to set the first rolling ball image to be acquired when the rolling ball motion is detected, and the first rolling ball image can be regarded as the reference image at the beginning of the current operation of the rolling ball. After acquiring the first rolling ball image, start timing and acquire the second rolling ball image during the effective operation timing period. The second rolling ball image is considered to be the comparison image at the end of the rolling ball operation.
  • S204 Determine the game operation direction corresponding to the current rolling ball rotation according to the position change of the positioning icon in the second rolling ball image relative to the middle positioning icon in the first rolling ball image.
  • the positioning icon is selected from the logo pattern of the first rolling ball image, and the position change of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image is determined to determine which rolling ball corresponds to this time.
  • the game operation direction, and the movement of the object is controlled based on the determined game operation direction. If the rolling ball rotates relative to any one of the two axial directions on the XOY plane parallel to the panel as shown in Figure 2, the selected positioning icon will be relative to the original image of the first rolling ball in the second rolling ball image.
  • the position forms a motion trajectory, and based on this motion trajectory, the direction of the rolling ball operation can be obtained.
  • the motion of the rolling ball can be detected based on a Hall sensor, and the effective operation timing period is generated based on big data.
  • the effective operation timing period corresponds to the average time for the user to perform a rolling ball operation.
  • a positioning icon vector is generated.
  • the positioning icon vector points from the center of the rolling ball to at least one positioning image unit in the positioning icon; according to the change of the positioning icon vector in the first rolling ball image and the second rolling ball image, determine the game operation direction corresponding to this rolling ball rotation .
  • a complete pixel or graphic element in the first rolling ball image is selected as the positioning icon, and a positioning icon vector is generated after selecting the positioning icon, wherein the positioning icon vector points from the center point of the rolling ball to the positioning icon.
  • the positioning icon vector can be any positioning image unit from the center point of the rolling ball to the positioning icon, that is, any one pixel; the positioning icon vector can also be It is the center point of the rolling ball pointing to multiple positioning image units in the positioning icon, that is, a combination of multiple vectors of multiple pixels, that is, a vector cluster.
  • a positioning icon vector is generated.
  • the positioning icon vector is also from the center point of the rolling ball Point to the location icon.
  • the direction recognition module can determine the direction of the current rolling ball rotation according to the direction changes of the positioning icon vector in the first rolling ball image and the second rolling ball image. As shown in Figure 6 and Figure 7, the vector Relative to vector Move down, that is, the rolling ball rotates downward, and the corresponding game operation control of the rolling ball downwards is executed.
  • the method for identifying the direction of the game operation disclosed in the present invention uses the change of the positioning icon in the image at multiple moments during the operation of the rolling ball with the logo pattern to determine the game operation direction corresponding to the rolling ball rotation, thereby improving the game control
  • the recognition accuracy of the operation direction of the controller is more suitable for the recognition and judgment of multiple direction switching operations in a short time.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium is stored in a computer program for electronic data exchange, and the computer program causes a game machine to execute part or all of the steps of any method described in the above method embodiment.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units or modules is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one physical space, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

A game controller (10), comprising a housing (11); a rolling ball (12) arranged in the housing (11) and rotating relative to the housing (11) under user operation, an identification pattern being arranged on the outer surface of the rolling ball (12); an image acquisition module (13) configured to continuously acquire a plurality of rolling ball images; and a direction identification module (14) configured to select a positioning icon from the identification pattern of the rolling ball image and determine the direction of game operation corresponding to the current rotation of the rolling ball (12) according to position changes of the positioning icon in the plurality of rolling ball images. Further disclosed are a game system and a method for direction identification of game operation. A rolling ball (12) with an identification unit on the outer surface is provided in the housing (11), and the direction of game operation corresponding to the rotation of the rolling ball (12) is determined according to the position changes of the positioning icon in the plurality of rolling ball images acquired by the image acquisition module (13), which improves the accuracy of direction control by the game controller (10), better adapts to multiple direction switching operations within a short time and ensures high comfort level.

Description

游戏控制器、游戏系统和识别游戏操作方向的方法Game controller, game system and method for identifying game operation direction
本申请要求于2019年6月27日提交中国专利局、申请号为201910567938.4、发明名称为“游戏控制器、游戏系统和识别游戏操作方向的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 27, 2019, the application number is 201910567938.4, and the invention title is "Game Controller, Game System, and Method for Identifying Game Operation Direction", all of which are approved The reference is incorporated in this application.
技术领域Technical field
本申请属于游戏设备技术领域,尤其涉及一种游戏控制器、具有游戏控制器的游戏系统,和识别游戏操作方向的方法。This application belongs to the technical field of game equipment, and in particular relates to a game controller, a game system with a game controller, and a method for identifying the direction of game operation.
背景技术Background technique
现有游戏设备中最常见的控制器是双手操作的游戏手柄。左右手操作的区域均设置一个操作摇杆和多个操作按键。在游戏中操作方向主要由左手控制。用户可以通过操作按键或者操作摇杆进行控制。The most common controller in existing game devices is a two-handed gamepad. Both left and right hand operation areas are provided with an operation joystick and multiple operation buttons. The operating direction in the game is mainly controlled by the left hand. The user can control it by operating the buttons or operating the joystick.
传统的摇杆是在摇杆下方设置变阻器,当用户摇动摇杆时,电阻改变,通过采集电压信号,即可确定摇杆的位移和方向。如中国专利申请(公开号CN1114142C)中所公开的技术方案,其中设置有从本体外侧突出出来的一个以上的操作件,即摇杆;在操作件周围,可以操作件的操作点移动联动的移动传递构件。在该移动传动构件中,设置有多个导电弹性体。本体内还安装多个与导电弹性体对应的电阻极板。根据操作件的操作点移动的方位和倾角,可以改变导电弹性体与电阻的接触面积以及电阻值。The traditional rocker is equipped with a rheostat under the rocker. When the user shakes the rocker, the resistance changes. By collecting the voltage signal, the displacement and direction of the rocker can be determined. For example, the technical solution disclosed in the Chinese Patent Application (Publication No. CN1114142C) is provided with more than one operating member protruding from the outside of the body, namely a rocker; around the operating member, the operating point of the operating member can be moved in linkage Transmission member. In the moving transmission member, a plurality of conductive elastic bodies are provided. A plurality of resistor plates corresponding to the conductive elastomer are also installed in the body. According to the direction and inclination of the operating point of the operating member, the contact area and resistance value of the conductive elastomer and the resistor can be changed.
但是,在一些游戏中,要求短时间快速依次按动几个方向键,或者同时按动若干个方向键以实现游戏预先设定的功能。在游戏中经常会出现按键不 到位或者摇杆转动不到位的情况,导致无法进行准确控制。用户长时间连续游戏即会引起左手接触部位的灼烧疼痛感,影响用户体验。当采用摇杆进行控制时,摇杆还可能会产生作用在手指上的回弹力,进一步加重操作的不适感。而且,由于摇杆凸出于手柄表面一定高度,在拇指操作时需要向上抬起,不符合人体工程设计要求。However, in some games, it is required to quickly press several arrow keys one after another in a short time, or press several arrow keys at the same time to realize the functions preset by the game. In the game, there are often situations where the buttons are not in place or the joystick is not turned in place, resulting in inability to perform accurate control. The user's continuous game for a long time will cause burning pain in the contact part of the left hand, which affects the user experience. When the joystick is used for control, the joystick may also produce a resilient force acting on the fingers, further aggravating the discomfort of the operation. Moreover, because the rocker protrudes to a certain height from the surface of the handle, it needs to be lifted up when the thumb is operated, which does not meet the ergonomic design requirements.
发明内容Summary of the invention
本发明针对现有技术中利用摇杆或按键操作游戏机时,容易出现由于按键不到位或者摇杆转动不到位而无法进行准确控制,操作不适感明显的问题,设计并公开一种游戏控制器。The present invention aims at the problem of inability to perform accurate control due to improper button or improper rotation of the rocker when operating a game machine with joysticks or buttons in the prior art, and the discomfort of operation is obvious. A game controller is designed and disclosed. .
一种游戏控制器,包括:壳体;滚球,所述滚球设置在所述壳体中并在用户操作下相对于所述壳体转动,所述滚球的外表面上设置有标识图样;图像采集模块,所述图像采集模块配置为连续获取多个滚球图像;和方向识别模块,所述方向识别模块配置为在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。A game controller includes: a casing; a rolling ball, the rolling ball is arranged in the casing and rotates relative to the casing under user operation, and an identification pattern is provided on the outer surface of the rolling ball An image acquisition module, the image acquisition module is configured to continuously acquire a plurality of rolling ball images; and a direction recognition module, the direction recognition module is configured to select a positioning icon in the identification pattern of the rolling ball image, and according to a plurality of The position change of the positioning icon in the rolling ball image determines the game operation direction corresponding to this rolling ball rotation.
本发明的另一方面提供了一种游戏系统,包括游戏控制器,游戏控制器,包括:壳体;滚球,所述滚球设置在所述壳体中并在用户操作下相对于所述壳体转动,所述滚球的外表面上设置有标识图样;图像采集模块,所述图像采集模块配置为连续获取多个滚球图像;和方向识别模块,所述方向识别模块配置为在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。Another aspect of the present invention provides a game system, including a game controller, the game controller includes: a casing; a rolling ball, the rolling ball is arranged in the casing and is opposite to the When the housing rotates, an identification pattern is provided on the outer surface of the rolling ball; an image acquisition module configured to continuously acquire a plurality of rolling ball images; and a direction recognition module configured to The positioning icon is selected from the identification pattern of the rolling ball image, and the game operation direction corresponding to this rolling ball rotation is determined according to the position change of the positioning icon in the multiple rolling ball images.
本发明所公开的游戏控制器和具有游戏控制器的游戏系统,通过在壳体中设置有外表面具有标识单元的滚球,并根据图像采集模块采集的多个连续滚球图像中定位图标的变化判断滚球转动对应的游戏操作方向,提高了游戏 控制器控制方向的准确度,滚球相对于操纵杆来说更为光滑灵活,更适应短时间内多次方向切换操作,舒适度更高。The game controller and the game system with the game controller disclosed in the present invention provide a rolling ball with an identification unit on the outer surface in the housing, and locate the icon in the multiple continuous rolling ball images collected by the image acquisition module. The game operation direction corresponding to the rotation of the rolling ball is changed to improve the accuracy of the control direction of the game controller. The rolling ball is smoother and more flexible than the joystick, and is more suitable for multiple direction switching operations in a short period of time, and has higher comfort .
同时还公开一种识别游戏操作方向的方法,包括以下步骤:连续获得设置在游戏控制器壳体上的滚球的多个滚球图像,其中所述滚球外表面上设置有标识图样;在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。At the same time, a method for recognizing the operation direction of a game is also disclosed, which includes the following steps: successively obtaining a plurality of rolling ball images of a rolling ball arranged on a housing of a game controller, wherein an identification pattern is provided on the outer surface of the rolling ball; The positioning icon is selected from the identification pattern of the rolling ball image, and the game operation direction corresponding to this rolling ball rotation is determined according to the position change of the positioning icon in the multiple rolling ball images.
本发明所公开的识别游戏操作方向的方法,利用对具有标识图样的滚球在操作过程中的多个瞬间的图像中定位图标的变化判断滚球转动所对应的游戏操作方向,提高了游戏控制器操作方向的识别准确度,更适应短时间内多次方向切换操作的识别和判断。The method for identifying the direction of the game operation disclosed in the present invention uses the change of the positioning icon in the image at multiple moments during the operation of the rolling ball with the logo pattern to determine the game operation direction corresponding to the rolling ball rotation, thereby improving the game control The recognition accuracy of the operation direction of the controller is more suitable for the recognition and judgment of multiple direction switching operations in a short time.
结合附图阅读本发明的具体实施方式后,本发明的其他特点和优点将变得更加清楚。After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become clearer.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1为本发明所公开的游戏控制器一种具体实施例的结构示意图;Figure 1 is a schematic structural diagram of a specific embodiment of the game controller disclosed in the present invention;
图2示出了如图1所示的游戏控制器中滚球和图像采集模块的位置关系;Figure 2 shows the positional relationship between the rolling ball and the image acquisition module in the game controller shown in Figure 1;
图3为本发明所公开的游戏控制器中设置在滚球外表面的可选标识图样,其基于设定矢量图生成;Figure 3 is an optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set vector diagram;
图4为本发明所公开的游戏控制器中设置在滚球外表面的另一种可选标识图样,其基于设定矢量图生成;Figure 4 is another optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set vector diagram;
图5为本发明所公开的游戏控制器中设置在滚球外表面的另一种可选标 识图样,其基于设定位图图像生成;Figure 5 is another optional identification pattern set on the outer surface of the rolling ball in the game controller disclosed in the present invention, which is generated based on a set bitmap image;
图6为本发明所公开的游戏控制器中一种实施例中采集的第一滚球图像;Fig. 6 is a first rolling ball image collected in an embodiment of the game controller disclosed in the present invention;
图7为本发明所公开的游戏控制器中一种实施例中采集的第二滚球图像;Fig. 7 is a second rolling ball image collected in an embodiment of the game controller disclosed in the present invention;
图8为图6和图7中定位图标向量的变化对比示意图;FIG. 8 is a schematic diagram of comparison of changes in the positioning icon vector in FIG. 6 and FIG. 7;
图9为本发明所公开的识别游戏操作方向的方法第一种实施例的流程图;9 is a flowchart of a first embodiment of the method for identifying the direction of game operation disclosed in the present invention;
图10为本发明所公开的识别游戏操作方向的方法第二种实施例的流程图。Fig. 10 is a flowchart of a second embodiment of the method for identifying the direction of game operation disclosed in the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下将结合附图和实施例,对本发明作进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the following will further describe the present invention in detail with reference to the accompanying drawings and embodiments.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们的任何变形,代表覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", etc. in the specification and claims of the present invention and the drawings are used to distinguish different objects, rather than describing a specific order. In addition, the terms "including" and "having" and any variations of them represent non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本发明中“实施例”代表结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中,各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员可以理解,本文所描述的实施例可以与其它实施例相结合。In the present invention, "embodiment" means that a specific feature, structure or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. In the specification, the appearance of the phrase in various positions does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art can understand that the embodiments described herein can be combined with other embodiments.
如图1所示为根据本发明一种实施例的游戏控制器的结构示意图。游戏控制器10可以通过有线通信或者无线通信连接游戏机主机。游戏机主机可以是集成中央处理器和图形处理器的封闭游戏平台或手持游戏平台,也可以是个人计算机。游戏机主机连接显示屏并且通过游戏控制器10实现人机交互。游戏控制器10包括壳体11。壳体11具有向外延伸的延伸部15,两个延伸部15构成分别供用户左手握持和右手握持的手柄。用户通过手柄可以安全稳定地抓住控制器。在壳体11的面板上包括有多种输入设备,诸如设置在一侧的按钮16,设置在中部的启动按键和重置按键。在某些特定的场景下,还可能设置小型方向盘。用户手持游戏控制器10时,面板以常规位置面向用户。游戏控制器10上还优选设置扬声器用于播放基于用户操作形成的反馈音效,或者振动元件用于形成基于用于操作形成的振动特效。游戏控制器10上还可以设置各种接口(如USB接口),多种惯性传感器(如加速度传感器、陀螺仪、磁力计)等。当然,手柄还可以设计为是单手握持的,在此不对手柄的外形进行进一步限定。Fig. 1 is a schematic structural diagram of a game controller according to an embodiment of the present invention. The game controller 10 can be connected to the game console through wired communication or wireless communication. The game console can be a closed game platform or a handheld game platform that integrates a central processing unit and a graphics processor, or it can be a personal computer. The game console is connected to the display screen and realizes human-computer interaction through the game controller 10. The game controller 10 includes a housing 11. The housing 11 has an extension 15 extending outward, and the two extensions 15 constitute handles for the user to hold with the left hand and the right hand respectively. The user can hold the controller safely and stably through the handle. The panel of the housing 11 includes various input devices, such as a button 16 arranged on one side, a start button and a reset button arranged in the middle. In some specific scenarios, a small steering wheel may also be set. When the user holds the game controller 10 in hand, the panel faces the user in a regular position. The game controller 10 is also preferably provided with a speaker for playing a feedback sound effect formed based on user operations, or a vibration element is used to form a special vibration effect formed based on the operation. Various interfaces (such as a USB interface), various inertial sensors (such as an acceleration sensor, a gyroscope, and a magnetometer) can also be provided on the game controller 10. Of course, the handle can also be designed to be held with one hand, and the shape of the handle is not further limited here.
此外,与传统的游戏控制器10不同,游戏控制器10还包括滚球12,如图1所示,滚球12设置在游戏控制器10一侧。滚球12整体设置在壳体11中,部分外露于壳体11的面板,外露部分的顶部大致与壳体11的面板平齐。用户在通过延伸部15握持游戏控制器10时能够很容易地用一只手的拇指来使用滚球12。滚球12在用户的操作下相对于壳体11转动。对于控制灵活性要求较低的游戏控制器10,可以优选通过壳体11结构限制滚球12的转动自由度使其仅沿平行于壳体11的面板转轴转动。In addition, unlike the traditional game controller 10, the game controller 10 further includes a rolling ball 12, as shown in FIG. 1, the rolling ball 12 is arranged on the side of the game controller 10. The rolling ball 12 is integrally arranged in the housing 11, partly exposed on the panel of the housing 11, and the top of the exposed part is approximately flush with the panel of the housing 11. The user can easily use the rolling ball 12 with the thumb of one hand when holding the game controller 10 through the extension 15. The rolling ball 12 rotates relative to the housing 11 under the operation of the user. For the game controller 10 that requires low control flexibility, the rotation freedom of the rolling ball 12 may be restricted by the structure of the housing 11 so that it only rotates along the panel rotation axis parallel to the housing 11.
滚球12用于输入游戏操作方向,以控制在游戏虚拟环境中角色的虚拟视角或者对象的移动和方向。在本发明中滚球12的外表面上设置有标识图样。如图3至图5所示,标识图样有至少两种生成方式。首先,如图3和图4所示,标识图样可以基于设定矢量图生成。设定矢量图由软件生成,其包括以 图形元素组成的图样。图形元素可以是点,多个点组成的线条,多条线组成的矩形或者多边形(如图3和图4中121-1至121-7所示)。每一种图形均有其对应的算法公式,通过软件即可直接生成。设定矢量图的文件属性中即可自动存储每一个图形元素的颜色、形状、轮廓、尺寸和屏幕位置(即图形元素的平面坐标)。将设定矢量图转换为以滚球的球心为原点,以滚球的半径为半径的三维图像,并进一步依据三维图像将标识图样喷涂在滚球12的外表面上。当然,滚球12也可以通过3D打印的形式一体成型,使其外表面上具有标识图样。将设定矢量图转换为以滚球球心为原点,滚球半径为半径的三维图像可以由现有三维成像软件中的设定算法实现,不是本发明的保护重点,在此不作赘述。如图3和图4所示,基于设定矢量图生成标识图样时,设定矢量图优选由多个点或多个曲线色块组成,以利于图像处理识别,减小误差。在转化为三维图像后,三维图像的文件属性中除每一个图形元素的颜色、形状、轮廓、尺寸和屏幕位置之外,还包括图形元素在以滚球的球心为原点的空间坐标系中的位置。The rolling ball 12 is used to input the game operation direction to control the virtual perspective of the character or the movement and direction of the object in the game virtual environment. In the present invention, an identification pattern is provided on the outer surface of the rolling ball 12. As shown in Figures 3 to 5, there are at least two ways to generate the logo pattern. First, as shown in Figures 3 and 4, the logo pattern can be generated based on a set vector diagram. The set vector diagram is generated by software and includes a pattern composed of graphic elements. Graphic elements can be points, lines composed of multiple points, rectangles or polygons composed of multiple lines (as shown in Figures 3 and 4 in 121-1 to 121-7). Each graph has its corresponding algorithm formula, which can be directly generated by software. The color, shape, outline, size and screen position of each graphic element (that is, the plane coordinates of the graphic element) can be automatically stored in the file attributes of the vector diagram. The set vector diagram is converted into a three-dimensional image with the center of the rolling ball as the origin and the radius of the rolling ball as the radius, and the logo pattern is further sprayed on the outer surface of the rolling ball 12 according to the three-dimensional image. Of course, the rolling ball 12 can also be integrally formed in the form of 3D printing to have a logo pattern on its outer surface. Converting the set vector diagram into a three-dimensional image with the center of the rolling sphere as the origin and the radius of the rolling sphere can be realized by the setting algorithm in the existing three-dimensional imaging software, which is not the protection focus of the present invention, and will not be repeated here. As shown in Figs. 3 and 4, when the logo pattern is generated based on the set vector diagram, the set vector diagram is preferably composed of multiple points or multiple curved color blocks to facilitate image processing and recognition and reduce errors. After being converted into a three-dimensional image, the file attributes of the three-dimensional image include the color, shape, outline, size, and screen position of each graphic element, as well as the graphic element in the space coordinate system with the center of the rolling ball as the origin. s position.
如图5所示,作为另一种可选的方式,标识图像还可以基于设定位图图像生成。设定位图图像优选为256色位图图像,如图121-8所示。设定位图图像将图像的每一像素点转换为一个数据,用一个字节来存储。设定位图图像的文件属性中即可自动存储每一个像素点的颜色和屏幕位置。将设定位图图像转换为以滚球的球心为原点,以滚球的半径为半径的三维图像,并进一步依据三维图像将标识图样喷涂在滚球12的外表面上。当然,滚球12也可以通过3D打印的形式一体成型,使其外表面上具有标识图样。将设定位图图像转换为以滚球12球心为原点的三维图像可以由现有的三维成像软件中的设定算法实现,不是本发明的保护重点,在此不作赘述。如图5所示,基于设定位图图像生成标识图样时,设定位图图像优选具有丰富的色彩和色调变化,以逼真地表现自然界的景象,使得滚球12和壳体11的组合外观更为新 颖,引人注意。在转化为三维图像后,用于记录每一像素点数据的字节中除了像素点的颜色和屏幕位置之外,还包括像素点在以滚球的球心为原点的空间坐标系中的位置。As shown in FIG. 5, as another optional manner, the logo image can also be generated based on a set bitmap image. The set bitmap image is preferably a 256-color bitmap image, as shown in Figure 121-8. Set the bitmap image to convert each pixel of the image into a data, which is stored in one byte. The color and screen position of each pixel can be automatically stored in the file attributes of the bitmap image. The set bitmap image is converted into a three-dimensional image with the center of the ball as the origin and the radius of the ball as the radius, and the logo pattern is further sprayed on the outer surface of the ball 12 according to the three-dimensional image. Of course, the rolling ball 12 can also be integrally formed in the form of 3D printing to have a logo pattern on its outer surface. The conversion of the setting bitmap image into a three-dimensional image with the center of the rolling ball 12 as the origin can be realized by the setting algorithm in the existing three-dimensional imaging software, which is not the protection focus of the present invention, and will not be repeated here. As shown in Figure 5, when the logo pattern is generated based on the set bitmap image, the set bitmap image preferably has rich color and tone changes to vividly represent the natural scene, so that the combined appearance of the rolling ball 12 and the housing 11 More novel and attracting attention. After being converted into a three-dimensional image, in addition to the color and screen position of the pixel, the byte used to record the data of each pixel also includes the position of the pixel in the spatial coordinate system with the center of the rolling ball as the origin. .
在壳体11中还设置有图像采集模块13。具体来说,图像采集模块13为摄像头或者多个摄像头组组成的摄像头组件,优选为单个摄像头。如图2所示,图像采集模块13优选设置在滚球12的正下方,即摄像头的光轴与滚球12的球心O位于同一条直线上。图像采集模块13用于连续获取多个滚球图像并将滚球图像传输至游戏控制器10的方向识别模块14中。具体来说,图像采集模块13在用户操作滚球12的过程中在以一定周期为间隔对滚球12的外表面进行图形采样,记录滚球12与图像采集模块13对应的面上的部分标识图样的变化。方向识别模块14基于一颗独立的MCU设计。由于用户每次操作滚球12后,并不会使得滚球12恢复原位。所以方向识别模块14获取多个连续滚球图像后,首先在标识图样中选取定位图标,并根据多个滚球图像中定位图标的位置变化判断本次滚球12转动所对应的游戏操作方向。定位图标至少是一个完整的定位图像单元,对于设定矢量图来说,定位图像单元为图形元素,图形元素可以是点、线、面中的至少一种。对于设定位图图像来说,定位图像单元为一个像素点。An image acquisition module 13 is also provided in the housing 11. Specifically, the image acquisition module 13 is a camera or a camera assembly composed of multiple camera groups, preferably a single camera. As shown in FIG. 2, the image acquisition module 13 is preferably arranged directly below the rolling ball 12, that is, the optical axis of the camera and the center O of the rolling ball 12 are located on the same straight line. The image acquisition module 13 is used for continuously acquiring multiple rolling ball images and transmitting the rolling ball images to the direction recognition module 14 of the game controller 10. Specifically, the image acquisition module 13 graphically samples the outer surface of the rolling ball 12 at intervals of a certain period during the user's operation of the rolling ball 12, and records part of the markings on the surface corresponding to the rolling ball 12 and the image acquisition module 13 Pattern changes. The direction recognition module 14 is designed based on an independent MCU. Since the user operates the rolling ball 12 each time, the rolling ball 12 does not return to its original position. Therefore, after the direction recognition module 14 obtains a plurality of continuous rolling ball images, it first selects a positioning icon in the identification pattern, and determines the game operation direction corresponding to the current rolling of the rolling ball 12 according to the position changes of the positioning icons in the plurality of rolling ball images. The positioning icon is at least a complete positioning image unit. For the set vector diagram, the positioning image unit is a graphic element, and the graphic element can be at least one of a point, a line, and a surface. For setting a bitmap image, the positioning image unit is a pixel.
在游戏中,对其中的某一个对象的移动或方向的控制指令通常需要在一定设定时间内输入才会被判定为有效,因此,用户会自主地在有效操作时间内进行滚球12操作,以完成对对象的控制。基于此,图像采集模块13优选配置为在检测到滚球12动作时获取第一滚球图像,第一滚球图像可以看作为滚球12本次操作开始时的基准图像。在获取第一滚球图像后,开始计时并在有效操作动作计时周期时获取第二滚球图像,第二滚球图像认为是滚球12本次操作结束时的对比图像。方向识别模块14在第一滚球图像的标识图样中选取定位图标,并根据第二滚球图像中定位图标相对于第一滚球图像中定位图 标的位置变化判断本次滚球12转动所对应的游戏操作方向,并基于判断出的游戏操作方向控制对象的移动或者虚拟图像的视角。如滚球12在如图2所示的平行于面板的XOY平面相对于两个轴向的任意一个转动,则方向识别模块14选定的定位图标在在第二滚球图像中会相对于第一滚球图像的原始位置形成运动轨迹,基于此运动轨迹,即可以得到滚球12操作的方向。其中,滚球12的动作可以基于一个霍尔传感器检测,有效操作动作计时周期则根据大数据生成。有效操作动作计时周期对应用户执行一个滚球12方向操作的平均时间。In the game, a control command for the movement or direction of an object usually needs to be input within a certain set time before it is judged to be valid. Therefore, the user will autonomously perform the rolling ball 12 operation within the effective operation time. To complete the control of the object. Based on this, the image acquisition module 13 is preferably configured to acquire the first rolling ball image when the motion of the rolling ball 12 is detected, and the first rolling ball image can be regarded as the reference image at the beginning of the current operation of the rolling ball 12. After acquiring the first rolling ball image, start timing and acquire the second rolling ball image during the effective operation timing period. The second rolling ball image is considered to be the comparison image of the rolling ball 12 at the end of this operation. The direction recognition module 14 selects the positioning icon from the identification pattern of the first rolling ball image, and determines the corresponding position of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image. Based on the determined game operation direction, the movement of the object or the perspective of the virtual image is controlled based on the determined game operation direction. If the rolling ball 12 rotates relative to any one of the two axial directions on the XOY plane parallel to the panel as shown in FIG. 2, the positioning icon selected by the direction recognition module 14 will be relative to the first rolling ball image in the second rolling ball image. The original position of a rolling ball image forms a motion trajectory, and based on this motion trajectory, the operating direction of the rolling ball 12 can be obtained. Among them, the action of the rolling ball 12 can be detected based on a Hall sensor, and the effective operation action timing period is generated based on big data. The effective operation timing period corresponds to the average time for the user to perform a 12-direction operation of the rolling ball.
如图6至图8所示为一种方向识别模块14识别滚球12转动方向的具体工作方式,其中以设定位图图像为例,如图6所示,方向识别模块14选定第一滚球图像中一个完整的像素点作为定位图标20,选定定位图标后生成定位图标向量
Figure PCTCN2019109271-appb-000001
其中定位图标向量
Figure PCTCN2019109271-appb-000002
自滚球的球心点指向定位图标。如果方向识别模块14选定的是多个像素点,则定位图标向量可以是自滚球的球心点指向定位图标中的任意一个定位图像单元,即其中的任意一个像素点;定位图标向量还可以是自滚球的球心点指向定位图标中的多个定位图像单元,即其中多个像素点的多个向量的组合,即一个向量簇。如图7所示,方向识别模块14在第二滚球图像中选定同样的像素点作为定位图标,选定定位图标后生成定位图标向量
Figure PCTCN2019109271-appb-000003
在第二滚球图像中,定位图标向量
Figure PCTCN2019109271-appb-000004
同样自滚球的球心点指向定位图标。方向识别模块14根据第一滚球图像和第二滚球图像中定位图标向量的方向变化即可判断本次滚球12转动的方向。如图6和图7所示,向量
Figure PCTCN2019109271-appb-000005
相对于向量
Figure PCTCN2019109271-appb-000006
向下移动,即滚球12向下转动,执行滚球12向下转动对应的游戏操作控制。而如果定位图标向量为一个向量簇,则以向量簇中所有向量的方向变化为本次滚球12转动的方向。
Figures 6 to 8 show a specific working mode for the direction recognition module 14 to recognize the rotating direction of the rolling ball 12, where a bitmap image is set as an example. As shown in Figure 6, the direction recognition module 14 selects the first A complete pixel in the rolling ball image is used as the positioning icon 20, and the positioning icon vector is generated after the positioning icon is selected
Figure PCTCN2019109271-appb-000001
Which location icon vector
Figure PCTCN2019109271-appb-000002
The center point of the rolling ball points to the positioning icon. If the direction recognition module 14 selects multiple pixels, the positioning icon vector can be any positioning image unit from the center point of the rolling ball to the positioning icon, that is, any one of the pixels; the positioning icon vector is also It can be that the center point of the rolling ball points to multiple positioning image units in the positioning icon, that is, a combination of multiple vectors of multiple pixels, that is, a vector cluster. As shown in FIG. 7, the direction recognition module 14 selects the same pixel point as the positioning icon in the second rolling ball image, and generates a positioning icon vector after selecting the positioning icon
Figure PCTCN2019109271-appb-000003
In the second rolling ball image, locate the icon vector
Figure PCTCN2019109271-appb-000004
Similarly, the center point of the rolling ball points to the positioning icon. The direction recognition module 14 can determine the direction of the current rolling ball 12 rotation according to the direction changes of the positioning icon vector in the first rolling ball image and the second rolling ball image. As shown in Figure 6 and Figure 7, the vector
Figure PCTCN2019109271-appb-000005
Relative to vector
Figure PCTCN2019109271-appb-000006
Downward movement means that the rolling ball 12 rotates downward, and the corresponding game operation control of the rolling ball 12 downward rotation is executed. If the positioning icon vector is a vector cluster, the direction of all vectors in the vector cluster is changed to the direction in which the rolling ball 12 rotates this time.
本发明所公开的游戏控制器,通过在壳体中设置有外表面具有标识单元 的滚球,并根据图像采集模块采集的多个连续滚球图像中定位图标的变化判断滚球转动对应的游戏操作方向,提高了游戏控制器控制方向的准确度,滚球相对于操纵杆来说更为光滑灵活,更适应短时间内多次方向切换操作,舒适度更高。The game controller disclosed in the present invention determines the game corresponding to the rolling ball rotation by setting a rolling ball with an identification unit on the outer surface in the housing, and judging the game corresponding to the rolling ball rotation according to the change of the positioning icon in the multiple continuous rolling ball images collected by the image acquisition module The operating direction improves the accuracy of the control direction of the game controller. Compared with the joystick, the rolling ball is smoother and more flexible, and is more suitable for multiple direction switching operations in a short period of time, with higher comfort.
本发明同时还公开一种游戏系统,其中包括至少一个如上述实施例所公开的游戏控制器。游戏控制器的具体结构和应用方式参见上述实施方式和说明书附图的详细记载,在此不再赘述。除游戏控制器以外,游戏系统还包括游戏机主机,游戏机主机可操作地提供音频和视频信号,其中设置有图形处理器和音频处理器,游戏机主机与显示屏、扬声器连接。游戏控制器与游戏机主机建立无线通信。The invention also discloses a game system, which includes at least one game controller as disclosed in the above embodiments. For the specific structure and application mode of the game controller, please refer to the detailed description of the above-mentioned embodiments and the accompanying drawings of the specification, which will not be repeated here. In addition to the game controller, the game system also includes a game console. The game console can operably provide audio and video signals. The game console is provided with a graphics processor and an audio processor. The game console is connected to a display screen and a speaker. The game controller establishes wireless communication with the game console host.
图9为本发明实施例提供的一种识别游戏操作方向的方法流程图。如图9所示,该方法包括以下步骤:FIG. 9 is a flowchart of a method for identifying the direction of game operation provided by an embodiment of the present invention. As shown in Figure 9, the method includes the following steps:
S101,连续获得设置在游戏控制器壳体上的滚球的多个滚球图像,其中滚球的外表面上设置有标识图样。S101. Continuously obtain a plurality of rolling ball images of a rolling ball arranged on a housing of a game controller, wherein an identification pattern is provided on the outer surface of the rolling ball.
具体来说,在本实施例中,滚球是区别于现有技术中的操纵杆而特别设计的,用户在握持游戏控制器时能够很容易地用一只手的拇指来使用滚球,滚球在用户的操作下相对于壳体平滑转动以输入游戏操作方向。滚球外表面上的标识图样至少有两种生成方式。首先,标识图样可以基于设定矢量图生成。具体来说,设定矢量图由软件生成,其包括以图形元素组成的图样。图形元素可以是点,多个点组成的线条,或者多条线条组成的矩形或者多边形。每一种图样均根据设定的算法通过软件直接生成。设定矢量图的文件属性中即可自动存储每一个图形元素的颜色、形状、轮廓、尺寸和屏幕位置(即平面坐标)。将设定矢量图转换为以滚球球心为原点的三维图像,并进一步依据三维图像将标识图样喷绘或贴覆在滚球的外表面上,滚球和标识图样还可以通过3D打印的形式一体成型制成。标识图样还可以基于设定位图图像生 成。设定位图图像优选为256色位图图像。设定位图图像将图像的每一像素点转换为一个数据并用一个字节来存储。设定位图图像的文件属性中即可自动存储每一个像素点的颜色和屏幕位置。将设定位图图像转换为以滚球球心为原点,以滚球半径为半径的三维图像,并进一步依据三维图像将标识图样喷涂或贴覆在滚球的外表面上,或者利用3D打印一体成型具有标识图样的滚球。在转化为三维图像后,用于记录每一像素点数据的字节除了像素点的颜色和屏幕位置之外,还包括像素点在以滚球球心为原点的空间坐标系中的位置。Specifically, in this embodiment, the rolling ball is specially designed to be different from the joystick in the prior art. The user can easily use the rolling ball with the thumb of one hand when holding the game controller. The ball smoothly rotates relative to the housing under the user's operation to input the game operation direction. There are at least two ways to generate the logo pattern on the outer surface of the rolling ball. First, the logo pattern can be generated based on a set vector diagram. Specifically, the set vector diagram is generated by software and includes a pattern composed of graphic elements. The graphic element can be a point, a line composed of multiple points, or a rectangle or polygon composed of multiple lines. Each pattern is directly generated by the software according to the set algorithm. The color, shape, outline, size and screen position (that is, plane coordinates) of each graphic element can be automatically stored in the file attributes of the vector diagram. Convert the set vector diagram into a three-dimensional image with the center of the rolling ball as the origin, and further print or paste the logo pattern on the outer surface of the rolling ball according to the three-dimensional image. The rolling ball and the logo pattern can also be 3D printed Made in one piece. The logo pattern can also be generated based on the set bitmap image. The setting bitmap image is preferably a 256-color bitmap image. Set the bitmap image to convert each pixel of the image into one data and use one byte to store it. The color and screen position of each pixel can be automatically stored in the file attributes of the bitmap image. Convert the set bitmap image into a three-dimensional image with the center of the ball as the origin and the radius of the ball as the radius, and further spray or paste the logo pattern on the outer surface of the ball according to the three-dimensional image, or use 3D printing One-piece rolling ball with logo design. After being converted into a three-dimensional image, the bytes used to record the data of each pixel include the color and screen position of the pixel, as well as the position of the pixel in the spatial coordinate system with the center of the rolling ball as the origin.
S102,在滚球图像的标识图样中选取定位图标,并根据多个滚球图像中定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。S102: Select a positioning icon from the logo pattern of the rolling ball image, and determine the game operation direction corresponding to the current rolling ball rotation according to the position changes of the positioning icons in the multiple rolling ball images.
具体来说,由于用户每次操作滚球后,并不会使得滚球恢复原位。所以方向识别模块获取多个连续滚球图像后,首先在标识图样中选取定位图标,并根据多个滚球图像中定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。定位图标至少是一个完整的定位图像单元,对于设定矢量图来说,定位图像单元为图形元素,图形元素可以是点、线、面中的至少一种。对于设定位图图像来说,定位图像单元为一个像素点。Specifically, since the user operates the rolling ball every time, the rolling ball does not return to its original position. Therefore, after the direction recognition module obtains multiple continuous rolling ball images, it first selects the positioning icon in the identification pattern, and determines the game operation direction corresponding to the current rolling ball rotation based on the position change of the positioning icon in the multiple rolling ball images. The positioning icon is at least a complete positioning image unit. For the set vector diagram, the positioning image unit is a graphic element, and the graphic element can be at least one of a point, a line, and a surface. For setting a bitmap image, the positioning image unit is a pixel.
如图10所示,连续获得设置在游戏控制器壳体上的滚球的多个滚球图像时优选执行以下步骤:As shown in FIG. 10, the following steps are preferably performed when continuously obtaining a plurality of rolling ball images of rolling balls arranged on the housing of the game controller:
S201,在检测到滚球动作时获取第一滚球图像;S201: Acquire a first rolling ball image when a rolling ball motion is detected;
S202,获取第一滚球图像后,开始计时并在达到有效操作动作计时周期时获取第二滚球图像。S202: After obtaining the first rolling ball image, start timing and obtain the second rolling ball image when the effective operation action timing period is reached.
在游戏中,对其中的某一个对象的移动或方向的控制指令通常需要在一定设定时间内输入才会被判定为有效,因此,用户会自主地在有效操作时间内进行滚球操作,以完成对对象的控制。基于此,优选设置在检测到滚球动作时获取第一滚球图像,第一滚球图像可以看作为滚球本次操作开始时的基 准图像。在获取第一滚球图像后,开始计时并在有效操作动作计时周期时获取第二滚球图像,第二滚球图像认为是滚球本次操作结束时的对比图像。In the game, a control command for the movement or direction of an object usually needs to be input within a certain set time before it is judged to be valid. Therefore, the user will autonomously perform a rolling ball operation within the effective operation time to Complete control of the object. Based on this, it is preferable to set the first rolling ball image to be acquired when the rolling ball motion is detected, and the first rolling ball image can be regarded as the reference image at the beginning of the current operation of the rolling ball. After acquiring the first rolling ball image, start timing and acquire the second rolling ball image during the effective operation timing period. The second rolling ball image is considered to be the comparison image at the end of the rolling ball operation.
进一步在在滚球图像的标识图样中选取定位图标,并根据多个滚球图像中定位图标的位置变化判断本次滚球转动所对应的游戏操作方向时执行以下步骤:Further select the positioning icon in the logo pattern of the rolling ball image, and perform the following steps when judging the game operation direction corresponding to this rolling ball rotation according to the position change of the positioning icon in the multiple rolling ball images:
S203,在第一滚球图像的标识图样中选取定位图标;S203: Select a positioning icon from the identification pattern of the first rolling ball image;
S204,根据第二滚球图像中定位图标相对于第一滚球图像的中定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。S204: Determine the game operation direction corresponding to the current rolling ball rotation according to the position change of the positioning icon in the second rolling ball image relative to the middle positioning icon in the first rolling ball image.
具体来说,在第一滚球图像的标识图样中选取定位图标,并根据第二滚球图像中定位图标相对于第一滚球图像中定位图标的位置变化判断本次滚球转动所对应的游戏操作方向,并基于判断出的游戏操作方向控制对象的移动。如滚球在如图2所示的平行于面板的XOY平面相对于两个轴向的任意一个转动,则选定的定位图标在第二滚球图像中会相对于第一滚球图像的原始位置形成运动轨迹,基于此运动轨迹,既可以得到滚球操作的方向。其中,滚球的动作可以基于一个霍尔传感器检测,有效操作动作计时周期则根据大数据生成。有效操作动作计时周期对应用户执行一个滚球操作的平均时间。Specifically, the positioning icon is selected from the logo pattern of the first rolling ball image, and the position change of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image is determined to determine which rolling ball corresponds to this time. The game operation direction, and the movement of the object is controlled based on the determined game operation direction. If the rolling ball rotates relative to any one of the two axial directions on the XOY plane parallel to the panel as shown in Figure 2, the selected positioning icon will be relative to the original image of the first rolling ball in the second rolling ball image. The position forms a motion trajectory, and based on this motion trajectory, the direction of the rolling ball operation can be obtained. Among them, the motion of the rolling ball can be detected based on a Hall sensor, and the effective operation timing period is generated based on big data. The effective operation timing period corresponds to the average time for the user to perform a rolling ball operation.
作为一种优选的步骤,选取定位图标后,生成定位图标向量。定位图标向量自滚球的球心指向定位图标中的至少一个定位图像单元;根据第一滚球图像和第二滚球图像中定位图标向量的变化判断本次滚球转动所对应的游戏操作方向。As a preferred step, after selecting the positioning icon, a positioning icon vector is generated. The positioning icon vector points from the center of the rolling ball to at least one positioning image unit in the positioning icon; according to the change of the positioning icon vector in the first rolling ball image and the second rolling ball image, determine the game operation direction corresponding to this rolling ball rotation .
具体来说,选定第一滚球图像中一个完整的像素点或者图形元素作为定位图标,选定定位图标后生成定位图标向量,其中定位图标向量自滚球的球心点指向定位图标。如果方向识别模块选定的是多个像素点,则定位图标向量可以是自滚球的球心点指向定位图标中的任意一个定位图像单元,即其中的任意一个像素点;定位图标向量还可以是自滚球的球心点指向定位图标中 的多个定位图像单元,即其中多个像素点的多个向量的组合,即一个向量簇。继续在第二滚球图像中选定同样的像素点或者图形元素作为定位图标,选定定位图标后生成定位图标向量,在第二滚球图像中,定位图标向量同样自滚球的球心点指向定位图标。方向识别模块根据第一滚球图像和第二滚球图像中定位图标向量的方向变化即可判断本次滚球转动的方向。如图6和图7所示,向量
Figure PCTCN2019109271-appb-000007
相对于向量
Figure PCTCN2019109271-appb-000008
向下移动,即滚球向下转动,执行滚球向下转动对应的游戏操作控制。
Specifically, a complete pixel or graphic element in the first rolling ball image is selected as the positioning icon, and a positioning icon vector is generated after selecting the positioning icon, wherein the positioning icon vector points from the center point of the rolling ball to the positioning icon. If the direction recognition module selects multiple pixels, the positioning icon vector can be any positioning image unit from the center point of the rolling ball to the positioning icon, that is, any one pixel; the positioning icon vector can also be It is the center point of the rolling ball pointing to multiple positioning image units in the positioning icon, that is, a combination of multiple vectors of multiple pixels, that is, a vector cluster. Continue to select the same pixel or graphic element as the positioning icon in the second rolling ball image. After selecting the positioning icon, a positioning icon vector is generated. In the second rolling ball image, the positioning icon vector is also from the center point of the rolling ball Point to the location icon. The direction recognition module can determine the direction of the current rolling ball rotation according to the direction changes of the positioning icon vector in the first rolling ball image and the second rolling ball image. As shown in Figure 6 and Figure 7, the vector
Figure PCTCN2019109271-appb-000007
Relative to vector
Figure PCTCN2019109271-appb-000008
Move down, that is, the rolling ball rotates downward, and the corresponding game operation control of the rolling ball downwards is executed.
本发明所公开的识别游戏操作方向的方法,利用对具有标识图样的滚球在操作过程中的多个瞬间的图像中定位图标的变化判断滚球转动所对应的游戏操作方向,提高了游戏控制器操作方向的识别准确度,更适应短时间内多次方向切换操作的识别和判断。The method for identifying the direction of the game operation disclosed in the present invention uses the change of the positioning icon in the image at multiple moments during the operation of the rolling ball with the logo pattern to determine the game operation direction corresponding to the rolling ball rotation, thereby improving the game control The recognition accuracy of the operation direction of the controller is more suitable for the recognition and judgment of multiple direction switching operations in a short time.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储于电子数据交换的计算机程序,该计算机程序使得游戏机执行如上方法实施例中记载的任一方法的部分或全部步骤。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium is stored in a computer program for electronic data exchange, and the computer program causes a game machine to execute part or all of the steps of any method described in the above method embodiment.
在上述实施例中,对各个实施例的描述均各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units or modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个物理空 间,或者也可以分布到多个网络单元上,可以根据实际需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one physical space, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
以上实施例仅用以说明本发明的技术方案,而非对其进行限制;尽管参照前述实施例对本发明进行了详细的说明,对于本领域的普通技术人员来说,依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明所要求保护的技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, for those of ordinary skill in the art, the technical solutions of the foregoing embodiments can still be described. The recorded technical solutions are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions claimed by the present invention.

Claims (10)

  1. 一种游戏控制器,其特征在于,包括:A game controller, characterized in that it comprises:
    壳体;case;
    滚球,所述滚球设置在所述壳体中并在用户操作下相对于所述壳体转动,所述滚球的外表面上设置有标识图样;A rolling ball, the rolling ball is arranged in the casing and rotates relative to the casing under user operation, and an identification pattern is provided on the outer surface of the rolling ball;
    图像采集模块,所述图像采集模块配置为连续获取多个滚球图像;和An image acquisition module configured to continuously acquire a plurality of rolling ball images; and
    方向识别模块,所述方向识别模块配置为在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。A direction recognition module, the direction recognition module is configured to select a positioning icon from the identification pattern of the rolling ball image, and determine the game corresponding to this rolling ball rotation according to the position change of the positioning icon in the multiple rolling ball images Operation direction.
  2. 根据权利要求1所述的游戏控制器,其特征在于,The game controller according to claim 1, wherein:
    所述图像采集模块配置为在检测到所述滚球动作时获取第一滚球图像;获取所述第一滚球图像后,开始计时并在达到有效操作动作计时周期时获取第二滚球图像;The image acquisition module is configured to obtain a first rolling ball image when the rolling ball action is detected; after obtaining the first rolling ball image, start timing and obtain a second rolling ball image when the effective operation action timing period is reached ;
    所述方向识别模块在所述第一滚球图像的标识图样中选取定位图标,并根据所述第二滚球图像中所述定位图标相对于所述第一滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。The direction recognition module selects a positioning icon from the identification pattern of the first rolling ball image, and according to the position of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image The position change determines the game operation direction corresponding to this rolling ball rotation.
  3. 根据权利要求2所述的游戏控制器,其特征在于,The game controller according to claim 2, wherein:
    所述方向识别模块配置为选取所述定位图标后,生成定位图标向量,所述定位图标向量自所述滚球的球心指向所述定位图标中的至少一个定位图像单元;所述方向识别模块根据所述第一滚球图像和所述第二滚球图像中所述定位图标向量的变化判断本次滚球转动所对应的游戏操作方向。The direction recognition module is configured to generate a positioning icon vector after selecting the positioning icon, and the positioning icon vector points from the center of the rolling ball to at least one positioning image unit of the positioning icons; the direction recognition module Determine the game operation direction corresponding to the current rolling ball rotation according to the change of the positioning icon vector in the first rolling ball image and the second rolling ball image.
  4. 根据权利要求1至3任一项所述的游戏控制器,其特征在于,The game controller according to any one of claims 1 to 3, wherein:
    所述标识图样基于设定矢量图生成;其中所述定位图标为设定矢量图中的一个或多个图形元素,定位图标的定位图像单元为所述图形元素。The identification pattern is generated based on a set vector diagram; wherein the positioning icon is one or more graphic elements in the set vector diagram, and the positioning image unit of the positioning icon is the graphic element.
  5. 根据权利要求1至3任一项所述的游戏控制器,其特征在于,The game controller according to any one of claims 1 to 3, wherein:
    所述标识图样基于设定位图图像生成;其中所述定位图标为设定位图图像中的一个或多个像素点,定位图标的定位图像单元为所述像素点。The identification pattern is generated based on a set bitmap image; wherein the positioning icon is one or more pixels in the set bitmap image, and the positioning image unit of the positioning icon is the pixel point.
  6. 一种游戏系统,其特征在于,包括至少一个如权利要求1至5任一项所述的游戏控制器。A game system, characterized by comprising at least one game controller according to any one of claims 1 to 5.
  7. 一种识别游戏操作方向的方法,其特征在于,包括以下步骤:A method for identifying the direction of game operation, characterized in that it comprises the following steps:
    连续获得设置在游戏控制器壳体上的滚球的多个滚球图像,其中所述滚球外表面上设置有标识图样;Successively obtaining a plurality of rolling ball images of a rolling ball arranged on the shell of the game controller, wherein the outer surface of the rolling ball is provided with an identification pattern;
    在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。The positioning icon is selected from the identification pattern of the rolling ball image, and the game operation direction corresponding to the current rolling ball rotation is determined according to the position change of the positioning icon in the multiple rolling ball images.
  8. 根据权利要求7所述的识别游戏操作方向的方法,其特征在于,The method for identifying the direction of game operation according to claim 7, characterized in that,
    连续获得设置在游戏控制器壳体上的滚球的多个滚球图像时执行以下步骤:The following steps are performed when continuously obtaining multiple rolling ball images of the rolling ball set on the housing of the game controller:
    在检测到所述滚球动作时获取第一滚球图像;获取所述第一滚球图像后,开始计时并在达到有效操作动作计时周期时获取第二滚球图像;Acquire a first rolling ball image when the rolling ball action is detected; after obtaining the first rolling ball image, start timing and obtain a second rolling ball image when the effective operation action timing period is reached;
    在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向时执行以下步骤:The positioning icon is selected from the logo pattern of the rolling ball image, and the following steps are performed when determining the game operation direction corresponding to the rolling ball rotation according to the position change of the positioning icon in the multiple rolling ball images:
    在所述第一滚球图像的标识图样中选取定位图标,并根据所述第二滚球图像中所述定位图标相对于所述第一滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向。Select a positioning icon from the identification pattern of the first rolling ball image, and determine this time based on the position change of the positioning icon in the second rolling ball image relative to the positioning icon in the first rolling ball image The game operation direction corresponding to the rolling ball rotation.
  9. 根据权利要求8所述的识别游戏操作方向的方法,其特征在于,The method for recognizing the direction of game operation according to claim 8, wherein:
    在所述滚球图像的标识图样中选取定位图标,并根据多个滚球图像中所述定位图标的位置变化判断本次滚球转动所对应的游戏操作方向时执行以下步骤:The positioning icon is selected from the logo pattern of the rolling ball image, and the following steps are performed when determining the game operation direction corresponding to the rolling ball rotation according to the position change of the positioning icon in the multiple rolling ball images:
    选取所述定位图标后,生成定位图标向量,所述定位图标向量自所述滚球的球心指向所述定位图标中的至少一个定位图像单元;根据所述第一滚球图像和所述第二滚球图像中所述定位图标向量的变化判断本次滚球转动所对应的游戏操作方向。After the positioning icon is selected, a positioning icon vector is generated. The positioning icon vector points from the center of the rolling ball to at least one positioning image unit of the positioning icons; according to the first rolling ball image and the first The change of the positioning icon vector in the second rolling ball image determines the game operation direction corresponding to this rolling ball rotation.
  10. 根据权利要求9所述的识别游戏操作方向的方法,其特征在于,The method for identifying the direction of game operation according to claim 9, characterized in that,
    所述标识图样基于设定矢量图生成或基于设定位图图像生成;当基于设定矢量图生成标识图样时,所述定位图标为设定矢量图中的一个或多个图形元素,定位图标的定位图像单元为所述图形元素;当基于设定位图图像生成标识图样时,所述定位图标为设定位图图像中的一个或多个像素点,定位图标的定位图像单元为所述像素点。The identification pattern is generated based on a set vector diagram or based on a set bitmap image; when the identification pattern is generated based on the set vector diagram, the positioning icon is one or more graphic elements in the set vector diagram, and the positioning icon The positioning image unit is the graphic element; when the identification pattern is generated based on the set bitmap image, the positioning icon is one or more pixels in the set bitmap image, and the positioning image unit of the positioning icon is the pixel.
PCT/CN2019/109271 2019-06-27 2019-09-30 Game controller, game system and method for direction identification of game operation WO2020258575A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910567938.4 2019-06-27
CN201910567938.4A CN110152288B (en) 2019-06-27 2019-06-27 Game controller, game system and method for identifying game operation direction

Publications (1)

Publication Number Publication Date
WO2020258575A1 true WO2020258575A1 (en) 2020-12-30

Family

ID=67636851

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109271 WO2020258575A1 (en) 2019-06-27 2019-09-30 Game controller, game system and method for direction identification of game operation

Country Status (2)

Country Link
CN (1) CN110152288B (en)
WO (1) WO2020258575A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110152288B (en) * 2019-06-27 2020-08-18 青岛歌尔智能传感器有限公司 Game controller, game system and method for identifying game operation direction
CN111488869A (en) * 2020-06-08 2020-08-04 丝路视觉科技股份有限公司 Interaction device
CN111840994A (en) * 2020-07-17 2020-10-30 歌尔科技有限公司 Game control method, system, game handle, game end and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1676186A (en) * 2004-03-29 2005-10-05 英泰克公司 Video game controller with integrated trackball control device
US20060187209A1 (en) * 2005-02-22 2006-08-24 Pixart Imaging Inc. Computer input apparatus
CN101126965A (en) * 2007-08-06 2008-02-20 埃派克森微电子有限公司 Optical movement sensing device and its sensing method
CN101291394A (en) * 2007-04-20 2008-10-22 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN202177873U (en) * 2011-06-28 2012-03-28 刘笃林 Air mouse
CN107982913A (en) * 2017-12-11 2018-05-04 歌尔科技有限公司 A kind of game paddle and the method for obtaining game paddle control direction
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6280323B1 (en) * 1996-11-21 2001-08-28 Konami Co., Ltd. Device, method and storage medium for displaying penalty kick match cursors in a video soccer game
JP2001143556A (en) * 1999-11-12 2001-05-25 Sony Computer Entertainment Inc Operating device
CN2615748Y (en) * 2003-04-09 2004-05-12 深圳市永福堂电子有限公司 Handle type computer operating device
CN101504728B (en) * 2008-10-10 2013-01-23 深圳泰山在线科技有限公司 Remote control system and method of electronic equipment
CN101455903A (en) * 2008-12-29 2009-06-17 何江 Game handle for FPS game and positioning method thereof
JP5778637B2 (en) * 2012-07-31 2015-09-16 株式会社バンダイナムコエンターテインメント Program and game device
CN104751164A (en) * 2013-12-30 2015-07-01 鸿富锦精密工业(武汉)有限公司 Method and system for capturing movement trajectory of object
CN207126103U (en) * 2017-08-29 2018-03-23 歌尔科技有限公司 A kind of Multifunctional gamepad
CN109568942B (en) * 2017-09-28 2022-04-15 腾讯科技(成都)有限公司 Handle peripheral and virtual object control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1676186A (en) * 2004-03-29 2005-10-05 英泰克公司 Video game controller with integrated trackball control device
US20060187209A1 (en) * 2005-02-22 2006-08-24 Pixart Imaging Inc. Computer input apparatus
CN101291394A (en) * 2007-04-20 2008-10-22 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN101126965A (en) * 2007-08-06 2008-02-20 埃派克森微电子有限公司 Optical movement sensing device and its sensing method
CN202177873U (en) * 2011-06-28 2012-03-28 刘笃林 Air mouse
CN107982913A (en) * 2017-12-11 2018-05-04 歌尔科技有限公司 A kind of game paddle and the method for obtaining game paddle control direction
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction

Also Published As

Publication number Publication date
CN110152288B (en) 2020-08-18
CN110152288A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
US11086416B2 (en) Input device for use in an augmented/virtual reality environment
WO2020258575A1 (en) Game controller, game system and method for direction identification of game operation
US11826636B2 (en) Depth sensing module and mobile device including the same
US7922588B2 (en) Storage medium having game program stored thereon and game apparatus
US6043805A (en) Controlling method for inputting messages to a computer
US9155960B2 (en) Video-game console for allied touchscreen devices
US20200310561A1 (en) Input device for use in 2d and 3d environments
JP5285234B2 (en) Game system, information processing system
CN108885533A (en) Combine virtual reality and augmented reality
US9870118B2 (en) Non-transitory storage medium encoded with computer readable information processing program, information processing apparatus, method of controlling information processing apparatus, and information processing system, capable of controlling virtual camera while grasping overall condition of virtual camera arranged in virtual space
CN110545889B (en) Game system, game control device, and program
JP2008541268A (en) Multi-dimensional input device
CN107636590A (en) Improve operational program, electronic installation and the method for user's input
CN109069920B (en) Handheld controller, tracking and positioning method and system
US20090104993A1 (en) Electronic game controller with motion-sensing capability
CN111831104A (en) Head-mounted display system, related method and related computer readable recording medium
JP7384521B2 (en) Virtual object control method, device, computer equipment and computer program
WO2023142555A1 (en) Data processing method and apparatus, computer device, storage medium, and computer program product
CN113467625A (en) Virtual reality control device, helmet and interaction method
JP3928159B2 (en) pointing device
JP6964884B2 (en) Game controls, game systems, and programs
JPH08129449A (en) Signal input device
CN111831103A (en) Head-mounted display system, related method and related computer-readable storage medium
US20230149805A1 (en) Depth sensing module and mobile device including the same
CN112402967B (en) Game control method, game control device, terminal equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19934659

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19934659

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19934659

Country of ref document: EP

Kind code of ref document: A1