CN111803914A - Game paddle file automatic learning and APP communication reading and writing method and device - Google Patents
Game paddle file automatic learning and APP communication reading and writing method and device Download PDFInfo
- Publication number
- CN111803914A CN111803914A CN202010532568.3A CN202010532568A CN111803914A CN 111803914 A CN111803914 A CN 111803914A CN 202010532568 A CN202010532568 A CN 202010532568A CN 111803914 A CN111803914 A CN 111803914A
- Authority
- CN
- China
- Prior art keywords
- key
- handle
- flash
- reading
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004891 communication Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 10
- 230000015654 memory Effects 0.000 claims description 7
- 238000013461 design Methods 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 101100346656 Drosophila melanogaster strat gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/22—Setup operations, e.g. calibration, key configuration or button assignment
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/24—Constructional details thereof, e.g. game controllers with detachable joystick handles
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/25—Output arrangements for video game devices
- A63F13/28—Output arrangements for video game devices responding to control signals received from the game device for affecting ambient conditions, e.g. for vibrating players' seats, activating scent dispensers or affecting temperature or light
- A63F13/285—Generating tactile feedback signals via the game input device, e.g. force feedback
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/14—Circuits for erasing electrically, e.g. erase voltage switching circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a method and a device for automatically learning files and reading and writing APP (application) communication of a gamepad, wherein the method comprises the following steps: s1, chip initialization, key value scanning and APP communication requirement judgment; s2, if the file is not needed to be transmitted, erasing the FLASH chip to remind the user to use; s3, scanning key values and starting timing; and S4, timing and scanning key values, and reminding the end of learning. The design aims to improve the user experience and communication between users, and the user experience and the communication between the users can be virtualized into a USB flash disk through a handle, so that the users can freely copy out backup and communication, and can copy in for use at any time; the handle transmits the learned data to the APP at the mobile phone end through wireless channels such as Bluetooth or NFC, so that a user can conveniently backup, transmit to friends, release to a network and the like at any time.
Description
Technical Field
The application relates to the technical field of data self-learning, in particular to a method and a device for automatically learning files of a gamepad and reading and writing APP communication.
Background
Gamepads are a component of electronic gaming machines. The player can control the game character by manipulating the grip buttons. With the upgrading of game equipment hardware, the modern gamepad has increased again: analog joystick (direction and angle of view), trigger keys, and HOME menu keys, etc.
Classifying gamepads: the application method comprises the following steps: PC gamepad, PS2 gamepad, PS3 gamepad, PS4 gamepad. The method is divided into the following steps according to the product types: wired game paddle, wireless game paddle, bluetooth handle. Gamepad traditional television gamepads, television gamepads and new remote sensing gamepads and today's market is growing in popularity of wireless gamepads.
However, the game pad on the market does not have a pad for simulating and recording user operation data after the user finishes using the game pad, and the user can only operate the pad for one time and cannot store the operation record data.
Disclosure of Invention
The application mainly aims to provide a method and a device for automatically learning files of a gamepad and reading and writing APP communication, so as to solve the current problems.
In order to achieve the above object, the present application provides the following techniques:
the invention discloses a method for automatically learning files of a gamepad and reading and writing APP communication, which comprises the following steps:
s1, chip initialization, key value scanning and APP communication requirement judgment: starting a key power supply, powering up a handle, and initializing each chip in the handle; scanning a key for the first time, reading key values of chips of a handle, simultaneously judging whether an APP special Bluetooth module has a file transmission requirement, if so, reading and writing FLASH data according to an APP control signal, judging whether reading and writing are finished after reading the data, if so, scanning again, and if not, reading and writing are again read and written according to the APP control signal;
s2, if the file is not needed to be transmitted, erasing the FLASH chip to remind the user to use: in step S1, if the APP special Bluetooth module does not need to transmit files, judging whether an AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value; if the pressing time of the AI key reaches a preset value, carrying out FLASH chip erasing operation; after the erasing is finished, the handle vibrates once to remind the user to use;
s3, scan key value, start timing: after the vibration reminding, scanning the keys for the second time, reading key values of all keys of the handle, and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
s4, timing and scanning key values, and reminding the end of learning: the timer counts time to reach a preset value, the handle vibrates to remind the end of learning, and the handle stores operation record data; after completion of learning, the flow proceeds to step S1 again.
Further, the judging whether the AI key is pressed further includes: when the AI key is not pressed, the processing chip reads the current key value data and transmits the handle coded data to the receiving device through the handle data transmission port in S1, and the key value is rescanned.
Further, if the pressing time of the AI key does not reach a preset value, judging whether the AI key is in a single-click or double-click state; and after the state judgment is finished, the FLASH pointer position is initialized.
Further, when the AI key is judged to be in a click state, the FLASH pointer position in the processing chip is initialized; the processing chip reads the operation record data stored in the FLASH and transmits the operation record data to the receiving equipment through the handle data transmission port; if the scan shows that the key is pressed, the process returns to step S1.
Further, if the scanning shows that no key is pressed, moving the FLASH pointer in the processing chip backward by a specified length and judging whether the FLASH pointer position is FF, if so, returning to the step S1; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
Further, when the AI key is judged to be in a double-click state, the FLASH pointer position is initialized; reading operation record data stored in the FLASH, and transmitting the operation record data to a processing chip through a handle data transmission port for key value scanning; if the scan shows that the key is pressed, the process returns to step S1.
Further, if the scanning display shows that no key is pressed down, moving the FLASH pointer in the processing chip backward by a specified length and judging whether the FLASH pointer position data is FF, and if so, performing initialization setting on the FLASH pointer position; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
Further, in step S4, if the timer does not reach the preset value, it is determined whether the AI is pressed; if the judgment result is yes, the handle vibrates to remind the end of learning, and the handle stores the operation record data; after completion of learning, the flow proceeds to step S1 again; and if not, reading the key value data and sending the key value data to the handle data transmission port, writing the key value data into the memory FLASH, and returning to the step S4.
The second aspect of the invention is to provide a device for automatically learning files and reading and writing APP communication for a gamepad, which comprises a gamepad, wherein an AI key is arranged on the gamepad and used for executing the steps of the method for automatically learning files and reading and writing APP communication for the gamepad; still include the special bluetooth module of APP, the special bluetooth module of APP reads FLASH data according to APP control signal.
Further, the AI key includes:
a chip initialization module: initializing chips, scanning key values, starting a key power supply, electrifying a handle and initializing each chip in the handle; scanning the keys for the first time, reading key values of the keys of the handle, and judging whether the AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value;
the AI key uses and reminds the module: the FLASH chip erasing device is used for erasing the FLASH chip and reminding a user to use the FLASH chip, and if the pressing time of the AI key reaches a preset value, the FLASH chip erasing operation is carried out; after the erasing is finished, the handle vibrates once to remind the user to use;
a timing module: the system is used for scanning key values, starting timing, scanning keys for the second time after vibration reminding, reading key values of all keys of a handle and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
an AI key learning module: the device is used for timing and scanning key values, reminding the end of learning by timing of a timer to reach a preset value, and reminding the end of learning by vibrating a handle and finishing storing operation record data by the handle;
the chip initialization module, the AI key use reminding module, the timing module and the AI key learning module are all electrically connected.
Compared with the prior art, this application can bring following technological effect:
1. according to the invention, a learning AI key with a special function is added on the handle, and the AI key function can record the operation of all users and store the operation as data in the internal storage;
2. the design aims to improve the user experience and communication between users, and the user experience and the communication between the users can be virtualized into a USB flash disk through a handle, so that the users can freely copy out backup and communication, and can copy in for use at any time;
the handle transmits the learned data to the APP at the mobile phone end through wireless channels such as Bluetooth or NFC, so that a user can conveniently backup, transmit to friends, release to a network and the like at any time;
3. the implementation scheme of the invention can be as follows: the existing handle enters a data reading and writing mode through a combination key; adding a single key to enter a read-write mode; the data mode can be read and written at any time by using the mobile phone APP without any key;
4. on the basis of the patent application of 'an automatic learning file transmission method and device for a game handle' applied by the company, the invention is additionally provided with a set of Bluetooth module, so that when the data in the FLASH is read and written by the mobile phone APP, the handle mode does not need to be switched, and the function of recovering the handle can be recorded after the reading and writing are finished. Greatly increasing the use convenience. The mobile phone APP can read and write learning function data.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic flow chart of a method for automatically learning files and reading and writing APP communication according to the present invention;
FIG. 2 is a logic flow diagram of the AI key for performing automatic file learning and APP communication reading and writing according to the present invention;
FIG. 3 is a schematic diagram of a modular structure of the device for automatically learning files and APP communication reading and writing of the gamepad according to the present invention;
FIG. 4 is a schematic diagram of an AI button execution module according to the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
In addition, the term "plurality" shall mean two as well as more than two.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Example 1
The purpose of this design improves communication, the interchange between user experience and the user, can become the USB flash disk through the handle virtualization, lets the user freely copy out backup, exchange, also can copy into the use again at any time.
The handle transmits the learned data to the APP at the mobile phone end through wireless channels such as Bluetooth or NFC, so that a user can conveniently backup, transmit to friends, release to a network and the like at any time.
When the design is applied specifically, the existing handle can enter a data reading and writing mode through a combination key;
adding a single key to enter a read-write mode;
the data mode can be read and written at any time by using the mobile phone APP without any keys.
The implementation scheme of the technology can adopt the following modes:
the invention discloses a method for automatically learning files of a gamepad and reading and writing APP communication, which comprises the following steps:
s1, chip initialization, key value scanning and APP communication requirement judgment: starting a key power supply, powering up a handle, and initializing each chip in the handle; scanning a key for the first time, reading key values of chips of a handle, simultaneously judging whether an APP special Bluetooth module has a file transmission requirement, if so, reading and writing FLASH data according to an APP control signal, judging whether reading and writing are finished after reading the data, if so, scanning again, and if not, reading and writing are again read and written according to the APP control signal;
s2, if the file is not needed to be transmitted, erasing the FLASH chip to remind the user to use: in step S1, if the APP special Bluetooth module does not need to transmit files, judging whether an AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value; if the pressing time of the AI key reaches a preset value, carrying out FLASH chip erasing operation; after the erasing is finished, the handle vibrates once to remind the user to use;
s3, scan key value, start timing: after the vibration reminding, scanning the keys for the second time, reading key values of all keys of the handle, and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
s4, timing and scanning key values, and reminding the end of learning: the timer counts time to reach a preset value, the handle vibrates to remind the end of learning, and the handle stores operation record data; after completion of learning, the flow proceeds to step S1 again.
The automatic file learning and APP communication read-write device's that show as attached figure 3 module structure schematic diagram, wherein the hardware that includes game paddle constitutes the schematic diagram, and game paddle includes controller MCU, as game paddle's central integrated control chip, and other game paddle hardware equipment rather than electric connection still include: USB-C interface, pilot lamp, bluetooth module, NFC module and NFC antenna, 6 axle gyroscopes, motor drive circuit and vibrating motor, rocker, hall thread switch, AI button, power management, hardware facilities such as rechargeable battery. The hardware facilities of the gamepad are integrated into a whole, and the gamepad is applied to games and hardware facilities in the existing market, so the modular structure of the gamepad is not described again.
Correspondingly, the control chip and the control circuit adopted by the hardware facility are also common technical means in the industry, and therefore are not described in detail.
The flow and logic diagram of the AI key for control execution as shown in FIGS. 1 and 2,
before the automatic learning starts, the gamepad is connected with a power supply, the power supply management chip in the gamepad starts to work, and chips of other working modules are awakened.
In this embodiment, the control chip MCU may be of a GC341 model, the control circuit of the corresponding AI KEY may be assembled by using a schottky diode, and the control port of the AI KEY may be connected to the corresponding port of the control chip MCU, for example, the SELECT, STRAT, AI, SWD/C, A-KEY, or other data interface.
When the AI key works for the first time, the chip is initialized, and when the key is pressed down and reaches a certain preset time, the original recorded data of the chip is eliminated, and the chip is set to zero. The control chip MCU can collect and store the operation record of the AI key in real time. The next user can directly call the operation record of the previous user conveniently, so that the subsequent user can correspondingly adjust the handle control mode by combining the operation record of the gamepad of the previous player, and a contrast playing method is brought to the user.
In this embodiment, when the click button of AI button is clicked and is operated, the control switch that the circuit corresponds can make the circuit port signal of control access MCU produce the change, and when the AI button down time reached three seconds, then accomplished FLASH chip's memory data and erased, game paddle produced in turn long vibrations at this moment and reminded and be used for beginning to use the handle to carry out the beginning record and the storage of handle operation record.
When a user starts to use the gamepad, the control chip reads the numerical values of hardware facilities such as keys, a rocker and a gyroscope of the chip in the gamepad again, and continuously scans the operation records in real time and stores the operation records in the whole process of using the gamepad and clicking the AI key by the user.
When a user uses the game handle, the key scanning of the handle adopts fixed time scanning, the complete data of the game handle is sent to the game machine by each scanning, and when the detailed operation data of the previous user needs to be checked, the data can be directly collected and checked from the game machine.
Further, the judging whether the AI key is pressed further includes: when it is determined that the AI key is not pressed, the processing chip in step S1 reads the current key value data and transmits the handle encoded data to the receiving device through the handle data transmission port, rescanning the key value. The receiving device includes, but is not limited to, a gaming machine or a PC.
When the AI key is not pressed, the controller chip reads the data of the current key, the rocker and other facilities again, sends the coded data of the game handle to the output ports such as the USB port or the Bluetooth and the like, sends the rescanned data to the controller chip, enables the controller chip to scan the data again, and carries out the rescission until the AI key is pressed by the user.
Further, if the pressing time of the AI key does not reach a preset value, judging whether the AI key is in a single-click or double-click state; and after the state judgment is finished, the FLASH pointer position is initialized.
The AI key click time set in this embodiment is three seconds, and if it is detected that the click key time does not reach three seconds, it is determined whether a long-time single click or a short-time multiple click has occurred to the user in this process. If the detected click states do not have the key press time set by the symbol, the click states need to be judged, the FLASH pointer positions are reset according to the click states, the previous operation records are erased again, and the obsolete memories are deleted.
The logic step of AI key operation memory clearing is selected according to different click states of the user, the stored operation records are cleared according to FLASH initialization, the data of the facilities such as the keys, the rocker, the gyroscope and the like are rescanned and sent to the output port, and the control end scans again. Repeating the steps to obtain:
when the AI key is judged to be in a clicking state, the FLASH pointer position in the processing chip is initialized; the processing chip reads the operation record data stored in the FLASH and transmits the operation record data to the receiving equipment through the handle data transmission port; if the scan shows that the key is pressed, the process returns to step S1.
If the scanning shows that no key is pressed, moving the FLASH pointer backwards by a specified length and judging whether the FLASH pointer position data is FF, if so, returning to the step S1; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
When the AI key is judged to be in a double-click state, the FLASH pointer position in the processing chip is initialized; reading operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port; if the scan shows that the key is pressed, the process returns to step S1. .
If the scanning display does not press the key, moving the FLASH pointer in the processing chip backwards by a specified length and judging whether the FLASH pointer position is FF or not, and if so, carrying out initialization setting on the FLASH pointer position; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
Further, in step S4, if the timer does not reach the preset value, it is determined whether the AI is pressed; if the judgment result is yes, the handle vibrates to remind the end of learning, and the handle stores the operation record data; after completion of learning, the flow proceeds to step S1 again; and if not, reading the key value data and sending the key value data to the handle data transmission port, writing the key value data into the memory FLASH, and returning to the step S4.
When the user finishes using the game handle, the timer stops counting, and at the moment, the handle operation record data scanning of the terminal time is carried out.
And the user finishes the operation, the timer stops timing, and whether the user finally presses the AI key is judged according to the set preset time, so that the FLASH can conveniently intercept and record the data.
When the user suspends the use of the game handle for two minutes, and the preset interception time of the timer is less than two minutes, the user is judged to finish the use, the AI key finishes the operation record storage of the game handle at the moment, and the FLASH memory records the operation data in real time.
After the game is finished, the operation records recorded by the AI keys are stored in the control chip in real time, and the FLASH tracks and records the operation records of the user in real time.
The second aspect of the present invention is to provide a device for automatically learning files and reading/writing APP communications of a joystick, comprising a joystick, wherein the joystick is provided with an AI button, and the AI button is used to execute the steps of the method for automatically learning files and reading/writing APP communications of the joystick as claimed in any one of claims 1 to 8; still include the special bluetooth module of APP, the special bluetooth module of APP reads FLASH data according to APP control signal.
As shown in fig. 3 and 4, as an intelligent gamepad, a user can use an AI button to record a game operation, and the record can be transmitted to a mobile terminal through an NFC module or a bluetooth module inside the gamepad for online viewing.
This embodiment has increased one set of bluetooth module alone on original basis, when reading and writing FLASH inside data for cell-phone APP, need not switch the handle mode, can record after the reading and writing is accomplished and resume the handle function. Greatly increasing the use convenience. The mobile phone APP can read and write learning function data.
The AI key of this embodiment correspondingly executes the above operation procedure, and when the user performs the second operation on the first handle, the corresponding logic mechanism may be triggered, and the user may adjust the operation position for installing the AI key according to the use operation habit.
As the AI key of this design, can place at: middle, left side, right side, back, etc. of the handle. Therefore, in this embodiment, the installation position of the AI key is not limited, and the installation position of the AI key may be specifically adjusted according to the experience of the user or the experiencer.
Further, the AI key includes:
a chip initialization module: initializing chips, scanning key values, starting a key power supply, electrifying a handle and initializing each chip in the handle; scanning the keys for the first time, reading key values of the keys of the handle, and judging whether the AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value;
the AI key uses and reminds the module: the FLASH chip erasing device is used for erasing the FLASH chip and reminding a user to use the FLASH chip, and if the pressing time of the AI key reaches a preset value, the FLASH chip erasing operation is carried out; after the erasing is finished, the handle vibrates once to remind the user to use;
a timing module: the system is used for scanning key values, starting timing, scanning keys for the second time after vibration reminding, reading key values of all keys of a handle and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
an AI key learning module: the device is used for timing and scanning key values, reminding the end of learning by timing of a timer to reach a preset value, and reminding the end of learning by vibrating a handle and finishing storing operation record data by the handle;
the chip initialization module, the AI key use reminding module, the timing module and the AI key learning module are all electrically connected.
The chip initialization module, the AI key use reminding module, the timing module and the AI key learning module are designed by circuit board integration, and the hardware facilities of the gamepad are already comprehensive at present, so that the technical realization of AI keys can be realized by correspondingly designing a logic circuit according to the logic adopted in the embodiment.
As the AI key of this design, can place at: middle, left side, right side, back, etc. of the handle. Therefore, in this embodiment, the installation position of the AI key is not limited, and the installation position of the AI key may be specifically adjusted according to the experience of the user or the experiencer.
In another embodiment of the design, an LED lamp can be added to the AI key, and the LED lamp is provided with a common indicating circuit and installation design, and can be added to prompt the learning function state. For example, the device flickers during learning, the playback is always on, and the device is turned off when the playback is stopped. Or different colors may be used to indicate different states, such as learning in red and playback in green.
As an application of the gamepad, the AI keys arranged on the gamepad can realize real-time checking of operation records through a communication module of the gamepad such as an NFC module after memorizing and storing operation data of a user, and a mobile terminal carried by the user such as a mobile phone can be in wireless connection with the gamepad, can receive the operation records and check the operation records of the user on line.
Other players or other user experiencers can check the operation record of the previous user, and conduct game discussion, communication and comparison, so that the interactivity between users of the gamepad is improved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A method for automatically learning files of a gamepad and reading and writing APP communication is characterized by comprising the following steps:
s1, chip initialization, key value scanning and APP communication requirement judgment: starting a key power supply, powering up a handle, and initializing each key chip in the handle; scanning a key for the first time, reading key values of chips of a handle, simultaneously judging whether an APP special Bluetooth module has a file transmission requirement, if so, reading and writing FLASH data according to an APP control signal, judging whether reading and writing are finished after reading the data, if so, scanning again, and if not, reading and writing are again read and written according to the APP control signal;
s2, if the file is not needed to be transmitted, erasing the FLASH chip to remind the user to use: in step S1, if the APP special Bluetooth module does not need to transmit files, judging whether an AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value; if the pressing time of the AI key reaches a preset value, carrying out FLASH chip erasing operation; after the erasing is finished, the handle vibrates once to remind the user to use;
s3, scan key value, start timing: after the vibration reminding, scanning the keys for the second time, reading key values of all keys of the handle, and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
s4, timing and scanning key values, and reminding the end of learning: the timer counts time to reach a preset value, the handle vibrates to remind the end of learning, and the handle stores operation record data; after completion of learning, the flow proceeds to step S1 again.
2. The method as claimed in claim 1, wherein said determining whether the AI key is pressed further comprises: when the AI key is not pressed, the processing chip reads the current key value data and transmits the handle coded data to the receiving device through the handle data transmission port in S1, and the key value is rescanned.
3. The method for automatically learning files and reading and writing APP communication of a gamepad according to claim 1 or 2, characterized in that if the pressing time of the AI key does not reach a preset value, it is determined whether the AI key is in a single-click or double-click state; and after the state judgment is finished, the FLASH pointer position is initialized.
4. The method for automatically learning files and reading and writing APP communication of a gamepad as claimed in claim 3, wherein when the AI key is judged to be in a single-click state, the position of a FLASH pointer in the processing chip is initialized; the processing chip reads the operation record data stored in the FLASH and transmits the operation record data to the receiving equipment through the handle data transmission port; if the scan shows that the key is pressed, the process returns to step S1.
5. The method as claimed in claim 4, wherein if no key is pressed, the FLASH pointer is moved backward by a specified length and the FLASH pointer position data is judged to be FF, if yes, the procedure returns to step S1; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
6. The method as claimed in claim 3, wherein when the AI key is determined to be in a double-click state, the FLASH pointer position in the processing chip is initialized; reading operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port; if the scan shows that the key is pressed, the process returns to step S1.
7. The method as claimed in claim 6, wherein if no key is pressed, the FLASH pointer in the processing chip is moved backward by a specified length and the FLASH pointer position data is judged to be FF, if yes, the FLASH pointer position is initialized; and if not, reading the operation record data stored in the FLASH, and transmitting the operation record data to the receiving equipment through the handle data transmission port.
8. The method as claimed in claim 1, wherein in step S4, if the timer does not reach a preset value, it is determined whether to press AI; if the judgment result is yes, the handle vibrates to remind the end of learning, and the handle stores the operation record data; after completion of learning, the flow proceeds to step S1 again; and if not, reading the key value data and sending the key value data to the handle data transmission port, writing the key value data into the memory FLASH, and returning to the step S4.
9. A device for automatically learning files and reading and writing APP communication of a gamepad is characterized by comprising the gamepad, wherein an AI button is arranged on the gamepad and used for executing the steps of the method for automatically learning files and reading and writing APP communication of the gamepad as claimed in any one of claims 1 to 8; still include the special bluetooth module of APP, the special bluetooth module of APP reads FLASH data according to APP control signal.
10. The apparatus as claimed in claim 9, wherein the AI button comprises:
a chip initialization module: initializing chips, scanning key values, starting a key power supply, electrifying a handle and initializing each chip in the handle; scanning the keys for the first time, reading key values of the keys of the handle, and judging whether the AI key is pressed down; if yes, judging whether the pressing time of the AI key reaches a preset value;
the AI key uses and reminds the module: the FLASH chip erasing device is used for erasing the FLASH chip and reminding a user to use the FLASH chip, and if the pressing time of the AI key reaches a preset value, the FLASH chip erasing operation is carried out; after the erasing is finished, the handle vibrates once to remind the user to use;
a timing module: the system is used for scanning key values, starting timing, scanning keys for the second time after vibration reminding, reading key values of all keys of a handle and judging whether any key is pressed down; if yes, the timer starts to set zero and count time;
an AI key learning module: the device is used for timing and scanning key values, reminding the end of learning by timing of a timer to reach a preset value, and reminding the end of learning by vibrating a handle and finishing storing operation record data by the handle;
the chip initialization module, the AI key use reminding module, the timing module and the AI key learning module are all electrically connected.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532568.3A CN111803914B (en) | 2020-06-11 | 2020-06-11 | Automatic file learning and APP communication read-write method and device for game handle |
US17/144,170 US11704045B2 (en) | 2020-06-11 | 2021-01-08 | Self-learning file transmitting, data reading and writing, app communication reading and writing methods of game handle |
EP21020006.9A EP3922329B1 (en) | 2020-06-11 | 2021-01-08 | Self-learning file transmitting, data reading and writing, app communication reading and writing methods of game handle |
ES21020006T ES2962976T3 (en) | 2020-06-11 | 2021-01-08 | Self-learning file transmission, data reading and writing, game management application communication reading and writing methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532568.3A CN111803914B (en) | 2020-06-11 | 2020-06-11 | Automatic file learning and APP communication read-write method and device for game handle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111803914A true CN111803914A (en) | 2020-10-23 |
CN111803914B CN111803914B (en) | 2024-03-26 |
Family
ID=72844933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010532568.3A Active CN111803914B (en) | 2020-06-11 | 2020-06-11 | Automatic file learning and APP communication read-write method and device for game handle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111803914B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112713902A (en) * | 2020-12-07 | 2021-04-27 | 珠海格力电器股份有限公司 | Method, system, remote controller, medium and application for determining key scanning key value |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080133437A1 (en) * | 2006-11-30 | 2008-06-05 | Iti Scotland Limited | User profiles |
CN103272382A (en) * | 2013-05-23 | 2013-09-04 | 深圳市时讯互联科技有限公司 | Method and device for using Bluetooth gamepad to simulate intelligent terminal touch screen to control game |
CN104174163A (en) * | 2014-08-26 | 2014-12-03 | 金纯� | Automatic gamepad key value configuring system and method |
CN107617214A (en) * | 2017-09-23 | 2018-01-23 | 深圳市谷粒科技有限公司 | A kind of automatic learning control method of game paddle |
CN207950602U (en) * | 2018-03-16 | 2018-10-12 | 武汉大学 | A kind of portable mobile wireless game device based on FPGA |
-
2020
- 2020-06-11 CN CN202010532568.3A patent/CN111803914B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080133437A1 (en) * | 2006-11-30 | 2008-06-05 | Iti Scotland Limited | User profiles |
CN103272382A (en) * | 2013-05-23 | 2013-09-04 | 深圳市时讯互联科技有限公司 | Method and device for using Bluetooth gamepad to simulate intelligent terminal touch screen to control game |
CN104174163A (en) * | 2014-08-26 | 2014-12-03 | 金纯� | Automatic gamepad key value configuring system and method |
CN107617214A (en) * | 2017-09-23 | 2018-01-23 | 深圳市谷粒科技有限公司 | A kind of automatic learning control method of game paddle |
CN207950602U (en) * | 2018-03-16 | 2018-10-12 | 武汉大学 | A kind of portable mobile wireless game device based on FPGA |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112713902A (en) * | 2020-12-07 | 2021-04-27 | 珠海格力电器股份有限公司 | Method, system, remote controller, medium and application for determining key scanning key value |
Also Published As
Publication number | Publication date |
---|---|
CN111803914B (en) | 2024-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104066486B (en) | Messaging device and information processing system | |
CN108126339B (en) | Intelligent mahjong game device, control method and system | |
US8142287B2 (en) | Universal controller for toys and games | |
US8527553B2 (en) | Data management apparatus and data distribution system | |
JP5442947B2 (en) | Distribution map display program, information processing apparatus, information processing system, and distribution map display method | |
CN105045414B (en) | A kind of stylus, implementation method and a kind of touch-control system | |
US6219164B1 (en) | Device and method of communication by infrared between a user and a remotely controllable apparatus | |
JP5368118B2 (en) | Information processing system, information processing apparatus, information processing program, and communication method | |
CN105983229A (en) | Electronic go game board and gaming method independently allowing human-machine or online go game | |
CN106094535A (en) | Apparatus control method and device, electronic equipment | |
CN107617214A (en) | A kind of automatic learning control method of game paddle | |
CN111803914B (en) | Automatic file learning and APP communication read-write method and device for game handle | |
CN109830141A (en) | A kind of entity command programmed method and entity command programing system | |
CN107396178A (en) | A kind of method and apparatus for editing video | |
US11704045B2 (en) | Self-learning file transmitting, data reading and writing, app communication reading and writing methods of game handle | |
CN111803916B (en) | Automatic learning and data reading and writing method and device for game handle | |
CN209865255U (en) | Intelligent electronic chessboard | |
CN111803915A (en) | Automatic learning file transmission method and device for gamepad | |
JP2005506592A (en) | Interface for processing and coordinate input | |
CN104423628A (en) | F-Dolphin, game terminal and game control method and system | |
CN114546129A (en) | Keyboard and mouse converter and key mapping method thereof | |
CN114527882A (en) | Relay device learning method and system | |
CN209405659U (en) | Programmable game machine | |
CN221061708U (en) | Electronic pet machine | |
CN201200793Y (en) | Palm game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |