Multifunctional game method and system
By integrating multifunction mode and exception handling mechanism in the game console, the problems of insufficient functions and data packet loss in traditional game consoles are solved, and the stable operation and high-reliability data transmission of multifunction consoles are achieved.
Patent Information
- Application Number
- CN202411702401.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-18
AI Technical Summary
Traditional game consoles lack Bluetooth function, mode switching function, recording function and intercom function, and there is a high risk of data packet loss between different transmission media, making it difficult to achieve stable and reliable multi-function gaming applications.
By setting up multi-function integration and exception handling mechanisms, integrating game mode, MP3 mode, recording mode and intercom mode, and introducing data monitoring cycle and automatic data relay mechanism, we ensure the stable operation of the equipment in different modes and the reliability of data transmission.
It realizes the stable operation and reliability of multi-function game consoles in different modes and improves user experience and entertainment effects, and effectively solves the problem of data packet loss.
Smart Images

Figure CN119633356A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game control technology, and more specifically, to a multifunctional game method and system. Background Art
[0002] In the field of game control research, multifunctional games, as an innovative interactive medium, cover multiple levels from theoretical model construction, user behavior analysis to technology application development. Researchers optimize the educational function and entertainment value of games by deeply exploring the interaction mechanism between players and the game environment, as well as the impact of game design on learning outcomes. The significance of this research is that it can not only promote the development of game design towards a more humane and intelligent development, but also provide effective tools and methods for education, psychotherapy, and auxiliary treatment of Alzheimer's disease. More importantly, with the popularization of the gamification trend in all walks of life, the research on multifunctional games will help improve user participation and experience quality.
[0003] Prior to the technology of the present invention, the disadvantages of traditional game consoles are generally that they have no Bluetooth function, cannot connect to Bluetooth headphones, have no mode switching function, cannot use buttons to select the sound of the game console to be played locally or with headphones, have no MP3 music selection function, the music stored in the machine is fixed, and the music on the external SD card cannot be selected by buttons. There is no recording function and no intercom function. However, if a multifunctional gaming method that combines these functions into one is set, there is a very high risk of data packet loss between different transmission media. How to achieve a stable and reliable multifunctional gaming application is very important. Summary of the invention
[0004] In view of the above problems, the present invention proposes a multifunctional gaming method and system, which integrates multiple functions into one device by setting a multifunctional integration and exception handling mechanism, and introduces a corresponding exception handling mechanism to ensure the stable operation of the device in different modes and the reliability of data transmission.
[0005] According to a first aspect of an embodiment of the present invention, a multifunctional gaming method is provided.
[0006] In one or more embodiments, preferably, the multifunctional gaming method comprises:
[0007] Setting up a connection structure for a multi-function gaming machine;
[0008] According to the connection structure of the multi-energy game machine, setting the game mode;
[0009] According to the connection structure of the multi-function game console, set the MP3 mode;
[0010] According to the connection structure of the multi-function game console, a recording mode is set;
[0011] According to the connection structure of the multi-function game console, a one-to-one intercom mode is provided;
[0012] Set the data monitoring period and automatically set up data retransmission according to the first, second, third and fourth abnormal situations.
[0013] In one or more embodiments, preferably, the connection structure of the multi-function game console is provided, specifically comprising:
[0014] A main control chip and a power supply are provided;
[0015] The main control chip is electrically connected to the speaker, earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker;
[0016] The power supply is electrically connected to the earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker;
[0017] During the power-on process of the connection structure of the multifunctional game console, abnormal conditions of transmission data of the Bluetooth device, external SD card, recording file and intercom file are collected in real time and stored in sequence as the first, second, third and fourth abnormal conditions.
[0018] In one or more embodiments, preferably, setting the game mode according to the connection structure of the multi-kinetic energy game console specifically includes:
[0019] The game mode is selected by pressing a button, and the main control chip selects to read the built-in game process or the process in the external SD card according to the game mode;
[0020] The main control chip is used to directly send the signal in the game to the speaker through an electrical connection or to the earphone through the radio frequency module.
[0021] In one or more embodiments, preferably, the MP3 mode is set according to the connection structure of the multi-energy game console, specifically including:
[0022] Use the button to select MP3 mode, and the main control chip selects to read the built-in audio file or the audio file in the external SD card according to the MP3 mode;
[0023] The main control chip is used to directly send the signal in the audio file to the speaker through an electrical connection or to the earphone through the radio frequency module.
[0024] In one or more embodiments, preferably, the step of setting the recording mode according to the connection structure of the multi-function game console specifically includes:
[0025] The recording mode is selected by pressing a button, and the main control chip activates the microphone according to the recording mode;
[0026] The main control chip is used to directly store the signal in the audio file formed by the microphone into an external SD card, and according to the needs of the main control chip, it is transmitted to the temporary storage area corresponding to Bluetooth and intercom for backup.
[0027] In one or more embodiments, preferably, according to the connection structure of the multi-kinetic energy game console, a one-to-one intercom mode is set, which specifically includes:
[0028] The one-to-one intercom mode is selected by pressing a button, and the main control chip activates the microphone and the earphone according to the one-to-one intercom mode;
[0029] In the 1-to-1 intercom mode, the same earphone monitoring password is set for the two main control chips that are ready to enter the 1-to-1 intercom mode, and the master and slave of the 1-to-1 intercom mode are selected according to the key. In the 1-to-1 mode, there is one master and one slave;
[0030] Set the host's main control chip to control the microphone connected to it to read the audio and send the information to the RF module. After sending the signal, start the intercom monitoring at a preset interval;
[0031] The master chip of the slave is set to control, and the earphone monitors the signal. After obtaining the monitoring signal, the earphone sends the audio collected by the master chip of the slave through the microphone connected to it through its own radio frequency module;
[0032] The earphone of the host obtains the audio signal sent by the RF module of the corresponding slave.
[0033] In one or more embodiments, preferably, the setting of the data monitoring period and automatically performing the data retransmission setting according to the first, second, third and fourth abnormal situations specifically includes:
[0034] Set the preset CPU operation cycle. During operation, Bluetooth, SD card, recording and intercom are all set with preset temporary storage file areas for storing resumed data;
[0035] Bluetooth data is collected at a cycle that is 1 times the CPU operation cycle;
[0036] SD card data acquisition is performed at a cycle that is twice the CPU operation cycle;
[0037] The recording data is collected at a cycle that is 4 times the CPU operation cycle;
[0038] The intercom data is collected at a cycle that is 8 times the CPU operation cycle;
[0039] If it is determined that the Bluetooth is lost, the data in the temporary storage file area of the SD card is used to replace the Bluetooth data for 2 time periods. If the SD card does not have it, the recording is used to replace the data in the temporary storage file area of the recording for 4 time periods. If the recording is not available, the data in the temporary storage file area of the Bluetooth is replaced for 8 time periods.
[0040] If the recording function is abnormal, replace the information according to the 2 SD card data in the temporary storage file area of the SD card or the data in the 4 Bluetooth temporary storage file areas;
[0041] If it is an SD function anomaly, replace the data in the temporary storage file area of 2 consecutive Bluetooth. If the Bluetooth data cannot be obtained, replace the data in the temporary storage file area of 2 consecutive SD with the data in a recording.
[0042] If the intercom data is abnormal, the data in the temporary storage file area of 2 recordings will be read first for replacement. If the recording data is not found, the data in the temporary storage file area of 4 SD cards will be obtained for replacement. If it is still not found, the data in the temporary storage file area of 8 Bluetooth cards will be obtained for replacement.
[0043] According to a second aspect of an embodiment of the present invention, a multifunctional game system is provided.
[0044] In one or more embodiments, preferably, the multifunctional game system comprises:
[0045] A structural component module is used to set the connection structure of the multi-function game machine;
[0046] A game mode setting module, used to set the game mode according to the connection structure of the multi-kinetic energy game console;
[0047] An MP3 mode setting module, used to set the MP3 mode according to the connection structure of the multi-function game console;
[0048] A recording setting module, used to set a recording mode according to the connection structure of the multi-function game console;
[0049] An intercom setting module, used to set a one-to-one intercom mode according to the connection structure of the multi-function game console;
[0050] The abnormal adaptive completion module is used to set the data monitoring period and automatically set the data retransmission according to the first, second, third and fourth abnormal situations.
[0051] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0052] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the methods described in the first aspect of the embodiment of the present invention.
[0053] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0054] In the scheme of the present invention, by setting the main control chip to be electrically connected with multiple peripherals and collecting the abnormal transmission data of the Bluetooth device, external SD card, recording file and intercom file in real time, the multi-functional game console can be stably operated in different modes. This structural design enables the game console to support multiple functions at the same time, such as game mode, MP3 mode, recording mode and intercom mode, improving the user experience and entertainment effect.
[0055] In the scheme of the present invention, by setting the data monitoring cycle and automatically setting the data retransmission according to different abnormal situations, the problem of data packet loss between different transmission media can be effectively solved. Specifically, when it is determined that Bluetooth is lost, the data in the temporary storage file area of the SD card can be used to replace it; if there is no data in the SD card, the recording is used to replace it; if there is no data in the recording, the data in the temporary storage file area of Bluetooth for 8 time periods is replaced. This adaptive completion mechanism ensures the integrity and continuity of the data and improves the reliability and stability of the multi-functional game console.
[0056] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0057] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 It is a flow chart of a multifunctional gaming method according to an embodiment of the present invention.
[0060] Figure 2 It is a flow chart of setting the connection structure of a multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0061] Figure 3 It is a flow chart of setting the game mode according to the connection structure of the multi-function game machine in a multi-function game method of one embodiment of the present invention.
[0062] Figure 4 It is a flow chart of setting the MP3 mode according to the connection structure of the multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0063] Figure 5 It is a flow chart of setting a recording mode according to the connection structure of the multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0064] Figure 6 It is a flowchart of setting a one-to-one intercom mode according to the connection structure of the multi-function game machine in a multi-function game method of an embodiment of the present invention.
[0065] Figure 7 It is a flow chart of setting a data monitoring cycle in a multifunctional gaming method according to an embodiment of the present invention, and automatically performing data continuation settings according to first, second, third and fourth abnormal situations.
[0066] Figure 8 It is a structural diagram of a multifunctional gaming system according to an embodiment of the present invention.
[0067] Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0068] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0070] In the field of game control research, multifunctional games, as an innovative interactive medium, cover multiple levels from theoretical model construction, user behavior analysis to technology application development. Researchers optimize the educational function and entertainment value of games by deeply exploring the interaction mechanism between players and the game environment, as well as the impact of game design on learning outcomes. The significance of this research is that it can not only promote the development of game design towards a more humane and intelligent development, but also provide effective tools and methods for education, psychotherapy, and auxiliary treatment of Alzheimer's disease. More importantly, with the popularization of the gamification trend in all walks of life, the research on multifunctional games will help improve user participation and experience quality.
[0071] Prior to the technology of the present invention, the disadvantages of traditional game consoles are generally that they have no Bluetooth function, cannot connect to Bluetooth headphones, have no mode switching function, cannot use buttons to select the sound of the game console to be played locally or with headphones, have no MP3 music selection function, the music stored in the machine is fixed, and the music on the external SD card cannot be selected by buttons. There is no recording function and no intercom function. However, if a multifunctional gaming method that combines these functions into one is set, there is a very high risk of data packet loss between different transmission media. How to achieve a stable and reliable multifunctional gaming application is very important.
[0072] In the embodiment of the present invention, a multifunctional gaming method and system are provided. The solution integrates multiple functions into one device by setting a multifunctional integration and exception handling mechanism, and introduces a corresponding exception handling mechanism to ensure the stable operation of the device in different modes and the reliability of data transmission.
[0073] According to a first aspect of an embodiment of the present invention, a multifunctional gaming method is provided.
[0074] Figure 1 It is a flow chart of a multifunctional gaming method according to an embodiment of the present invention.
[0075] In one or more embodiments, preferably, the multifunctional gaming method comprises:
[0076] S101, setting a connection structure of a multifunctional game machine;
[0077] S102, setting a game mode according to the connection structure of the multi-kinetic energy game console;
[0078] S103, setting the MP3 mode according to the connection structure of the multi-function game console;
[0079] S104, setting a recording mode according to the connection structure of the multi-function game console;
[0080] S105, setting a one-to-one intercom mode according to the connection structure of the multi-function game console;
[0081] S106. Setting a data monitoring period, and automatically performing data retransmission settings according to the first, second, third and fourth abnormal situations.
[0082] In the embodiment of the present invention, the following six steps are included: Structural composition: a main control chip and a power supply are provided; the main control chip is electrically connected to the speaker, earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker; the power supply is electrically connected to the earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker; during the power-on process, the abnormal conditions of the transmission data of the Bluetooth device, external SD card, recording file and intercom file are collected in real time, and stored as the first, second, third and fourth abnormal conditions in sequence. Game mode setting: according to the connection structure of the multi-function game console, the game mode is set; the game mode is selected by using the button, and the main control chip selects to read the built-in game process or the process in the external SD card according to the game mode; the main control chip is used to send the signal in the game directly to the speaker through the electrical connection or to the earphone through the radio frequency module. MP3 mode setting: Set the MP3 mode according to the connection structure of the multi-function game console; use the button to select the MP3 mode, and the main control chip selects to read the built-in audio file or the audio file in the external SD card according to the MP3 mode; use the main control chip to send the signal in the audio file directly to the speaker through the electrical connection or to the earphone through the RF module. Recording setting: Set the recording mode according to the connection structure of the multi-function game console; use the button to select the recording mode, and the main control chip starts the microphone according to the recording mode; use the main control chip to store the signal in the audio file formed by the microphone directly to the external SD card, and according to the needs of the main control chip, transfer it to the temporary storage area corresponding to Bluetooth and intercom for backup. Intercom settings: Set the 1-to-1 intercom mode according to the connection structure of the multi-function game console; use the button to select the 1-to-1 intercom mode, and the main control chip starts the microphone and earphone according to the 1-to-1 intercom mode; in the 1-to-1 intercom mode, set the same earphone monitoring password for the two main control chips that are ready to enter the 1-to-1 intercom mode, and select the host and slave of the 1-to-1 intercom mode according to the button; the main control chip of the host controls the microphone connected to it to read the audio, and sends the information to the RF module. After sending the signal, it starts the intercom monitoring at a preset interval; the main control chip of the slave controls the earphone to monitor the signal, and after obtaining the monitoring signal, it sends the audio collected by the main control chip of the slave through the microphone connected to it, and sends it through its own RF module; the earphone of the host obtains the audio signal sent by the RF module of the corresponding slave.Adaptive completion of abnormalities: set the data monitoring cycle, and automatically set data continuation according to the first, second, third and fourth abnormal situations; set the preset CPU operation cycle. During operation, Bluetooth, SD card, recording and intercom are all equipped with preset temporary storage file areas for storing continuation data; collect Bluetooth data at a cycle of 1 times the CPU operation cycle; collect SD card data at a cycle of 2 times the CPU operation cycle; collect recording data at a cycle of 4 times the CPU operation cycle; collect intercom data at a cycle of 8 times the CPU operation cycle; if it is determined that Bluetooth is lost, replace it with the data in the temporary storage file area of the SD card to replace the Bluetooth data of 2 time periods. If the SD card does not have it, use the recording to replace the recording data of 4 time periods. If the recording is not done, the data in the temporary storage file area of Bluetooth for 8 time periods will be replaced; if the recording function is abnormal, the information will be replaced according to the data in the temporary storage file area of SD card or the data in the temporary storage file area of 4 Bluetooth; if the SD function is abnormal, the data in the temporary storage file area of 2 consecutive Bluetooth is replaced. If the Bluetooth data cannot be obtained, the data in the temporary storage file area of one recording will replace the data of 2 consecutive SD; if the intercom data is abnormal, the data in the temporary storage file area of 2 recordings will be read first and replaced. If the recording data is not found, the data in the temporary storage file area of 4 SD cards will be obtained for replacement. If it is still not found, the data in the temporary storage file area of 8 Bluetooth will be obtained for replacement.
[0083] Figure 2 It is a flow chart of setting the connection structure of a multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0084] like Figure 2 As shown, in one or more embodiments, preferably, the connection structure of the multi-function game machine is provided, specifically including:
[0085] S201, setting a main control chip and a power supply;
[0086] S202, the main control chip is electrically connected to the speaker, earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker;
[0087] S203, the power supply is electrically connected to the earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker;
[0088] S204. When the connection structure of the multifunctional game console is powered on, abnormal conditions of transmission data of the Bluetooth device, the external SD card, the recording file and the intercom file are collected in real time and stored in sequence as the first, second, third and fourth abnormal conditions.
[0089] In an embodiment of the present invention, a method for implementing a multifunctional game console is provided. First, a main control chip and a power supply are set; then, the main control chip is electrically connected to a speaker, earphones, a display, a radio frequency module, a key input, a storage chip, an external SD card, a microphone and a speaker; then, the power supply is electrically connected to the earphones, the display, the radio frequency module, the key input, the storage chip, the external SD card, the microphone and the speaker; finally, during the power-on process of the connection structure of the multifunctional game console, the abnormal conditions of the transmission data of the Bluetooth device, the external SD card, the recording file and the intercom file are collected in real time, and stored in turn as the first, second, third and fourth abnormal conditions. In this way, the control and management of various functions of the multifunctional game console can be realized.
[0090] Figure 3 It is a flow chart of setting the game mode according to the connection structure of the multi-function game machine in a multi-function game method of one embodiment of the present invention.
[0091] like Figure 3 As shown, in one or more embodiments, preferably, the game mode is set according to the connection structure of the multi-kinetic energy game console, specifically including:
[0092] S301, using a button to select a game mode, the main control chip selects to read a built-in game process or a process in an external SD card according to the game mode;
[0093] S302, using the main control chip to directly send the signal in the game to the speaker through an electrical connection or to the earphone through the radio frequency module.
[0094] In an embodiment of the present invention, a method for implementing a multifunctional game console is provided. First, a game mode is set according to the connection structure of the multifunctional game console; then, a game mode is selected using a button, and the main control chip selects to read a built-in game process or a process in an external SD card according to the game mode; then, the main control chip is used to directly send the signal in the game to the speaker through an electrical connection or to the earphone through the radio frequency module. In this way, the control and management of the game functions of the multifunctional game console can be realized.
[0095] Figure 4 It is a flow chart of setting the MP3 mode according to the connection structure of the multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0096] like Figure 4 As shown, in one or more embodiments, preferably, the MP3 mode is set according to the connection structure of the multi-energy game console, specifically including:
[0097] S401, using a button to select MP3 mode, the main control chip selects to read the built-in audio file or the audio file in the external SD card according to the MP3 mode;
[0098] S402: Use the main control chip to directly send the signal in the audio file to the speaker through an electrical connection or to the earphone through the radio frequency module.
[0099] In the embodiment of the present invention, first, according to the connection structure of the multifunctional game console, the MP3 mode is set; then, the MP3 mode is selected by using a key, and the main control chip selects to read the built-in audio file or the audio file in the external SD card according to the MP3 mode; then, the main control chip is used to directly send the signal in the audio file to the speaker through the electrical connection or to the earphone through the radio frequency module. In this way, the control and management of the MP3 playback function of the multifunctional game console can be realized.
[0100] Figure 5 It is a flow chart of setting a recording mode according to the connection structure of the multi-function game machine in a multi-function game method according to one embodiment of the present invention.
[0101] like Figure 5 As shown, in one or more embodiments, preferably, the recording mode is set according to the connection structure of the multi-energy game console, specifically including:
[0102] S501, using a button to select a recording mode, the main control chip starts the microphone according to the recording mode;
[0103] S502, using the main control chip to directly store the signal in the audio file formed by the microphone into the external SD card, and according to the needs of the main control chip, transmit it to the temporary storage area corresponding to Bluetooth and intercom for backup.
[0104] In the embodiment of the present invention, first, the recording mode is set according to the connection structure of the multifunctional game console; then, the recording mode is selected by using a key, and the main control chip starts the microphone according to the recording mode; then, the signal in the audio file formed by the microphone is directly stored in the external SD card by using the main control chip, and is transmitted to the temporary storage area corresponding to Bluetooth and intercom for backup according to the needs of the main control chip. In this way, the control and management of the recording function of the multifunctional game console can be realized.
[0105] Figure 6It is a flowchart of setting a one-to-one intercom mode according to the connection structure of the multi-function game machine in a multi-function game method of an embodiment of the present invention.
[0106] like Figure 6 As shown, in one or more embodiments, preferably, according to the connection structure of the multi-kinetic energy game console, a one-to-one intercom mode is set, specifically including:
[0107] S601, using a button to select a one-to-one intercom mode, the main control chip starts the microphone and the earphone according to the one-to-one intercom mode;
[0108] S602, in the 1-to-1 intercom mode, the same earphone monitoring password is set for the two main control chips that are ready to enter the 1-to-1 intercom mode, and the master and slave of the 1-to-1 intercom mode are selected according to the key. In the 1-to-1 mode, there is one master and one slave;
[0109] S603, setting the main control chip of the host to control the microphone connected to it to read the audio and send the information to the radio frequency module, and after sending the signal, start the intercom monitoring at a preset interval;
[0110] S604, setting the main control chip of the slave machine to control the earphone to monitor the signal, and after obtaining the monitoring signal, sending the audio collected by the main control chip of the slave machine through the microphone connected to it through its own radio frequency module;
[0111] S605: The earphone of the host obtains the audio signal sent by the RF module of the corresponding slave.
[0112] In an embodiment of the present invention, a method for implementing a multifunctional game console is provided. First, according to the connection structure of the multifunctional game console, a 1-to-1 intercom mode is set; then, the 1-to-1 intercom mode is selected by using a button, and the main control chip starts the microphone and the earphone according to the 1-to-1 intercom mode; then, in the 1-to-1 intercom mode, the same earphone monitoring password is set for the two main control chips that are ready to enter the 1-to-1 intercom mode, and the host and slave of the 1-to-1 intercom mode are selected according to the button. In the 1-to-1 mode, there is a host and a slave; the main control chip of the host is set to control the microphone connected to it to read the audio, and send the information to the radio frequency module. After sending the signal, the intercom monitoring is started at a preset interval; the main control chip of the slave is set to control the earphone to monitor the signal, and after obtaining the monitoring signal, the audio collected by the main control chip of the slave through the microphone connected to it is sent through its own radio frequency module; finally, the earphone of the host obtains the audio signal sent by the radio frequency module of the corresponding slave. In this way, the control and management of the 1-to-1 intercom function of the multifunctional game console can be realized.
[0113] Figure 7 It is a flow chart of setting a data monitoring cycle in a multifunctional gaming method according to an embodiment of the present invention, and automatically performing data continuation settings according to first, second, third and fourth abnormal situations.
[0114] like Figure 7 As shown, in one or more embodiments, preferably, the setting of the data monitoring period and automatically performing the data retransmission setting according to the first, second, third and fourth abnormal situations specifically includes:
[0115] S701, setting a preset CPU operation cycle. During the operation, Bluetooth, SD card, recording and intercom are all provided with preset temporary storage file areas for storing the resumed transmission data;
[0116] S702, collecting Bluetooth data at a cycle that is 1 times the CPU operation cycle, and collecting SD card data at a cycle that is 2 times the CPU operation cycle;
[0117] S703, collecting recording data at a cycle four times the CPU operation cycle;
[0118] S704, collect intercom data at a cycle that is 8 times the CPU operation cycle;
[0119] S705, if it is determined that the Bluetooth is lost, replace the Bluetooth data of 2 time periods with the data in the temporary storage file area of the SD card. If the SD card does not have it, replace the data in the temporary storage file area of the recording of 4 time periods with the recording. If the recording does not have it, replace the data in the temporary storage file area of the Bluetooth of 8 time periods;
[0120] S706: If the recording function is abnormal, replace the information according to the 2 SD card data in the temporary storage file area of the SD card or the data in the 4 Bluetooth temporary storage file areas;
[0121] S707, if it is an SD function abnormality, replace the data in the temporary storage file area of 2 consecutive Bluetooths. If the Bluetooth data cannot be obtained, replace the data of 2 consecutive SDs with the data in the temporary storage file area of a recording;
[0122] S708. If the intercom data is abnormal, the data in the temporary storage file area of 2 recordings is read first for replacement. If the recording data is not found, the data in the temporary storage file area of 4 SD cards is obtained for replacement. If it is still not found, the data in the temporary storage file area of 8 Bluetooth cards is obtained for replacement.
[0123] In an embodiment of the present invention, a method for implementing a multifunctional game console is provided. First, a data monitoring cycle is set, and data retransmission settings are automatically performed according to the first, second, third, and fourth abnormal situations; then, a preset CPU operation cycle is set, and during operation, Bluetooth, SD card, recording, and intercom are all provided with preset temporary storage file areas for storing retransmission data; then, Bluetooth data is collected at a cycle that is 1 times the CPU operation cycle; SD card data is collected at a cycle that is 2 times the CPU operation cycle; recording data is collected at a cycle that is 4 times the CPU operation cycle; intercom data is collected at a cycle that is 8 times the CPU operation cycle; if it is determined that Bluetooth is lost, the data in the temporary storage file area of the SD card is used to replace the Bluetooth data of 2 time periods. If the SD card does not have it, the recording is used to replace the recording of 4 time periods. If the recording does not replace the data in the temporary storage file area of Bluetooth for 8 time periods, the data in the temporary storage file area of Bluetooth is replaced; if the recording function is abnormal, the information is replaced according to the data in the temporary storage file area of SD card or the data in the temporary storage file area of 4 Bluetooth; if the SD function is abnormal, the data in the temporary storage file area of 2 consecutive Bluetooth is replaced. If the Bluetooth data cannot be obtained, the data in the temporary storage file area of one recording is replaced with the data in the temporary storage file area of 2 consecutive SDs; if the intercom data is abnormal, the data in the temporary storage file area of 2 recordings is read first and replaced. If the recording data is not found, the data in the temporary storage file area of 4 SD cards is obtained for replacement. If it is still not found, the data in the temporary storage file area of 8 Bluetooth is obtained for replacement. In this way, the control and management of various functions of the multi-function game console can be realized.
[0124] According to a second aspect of an embodiment of the present invention, a multifunctional game system is provided.
[0125] Figure 8 It is a structural diagram of a multifunctional gaming system according to an embodiment of the present invention.
[0126] In one or more embodiments, preferably, the multifunctional game system comprises:
[0127] The structural component module 801 is used to set the connection structure of the multi-function game machine;
[0128] A game mode setting module 802, used to set a game mode according to the connection structure of the multi-kinetic energy game machine;
[0129] The MP3 mode setting module 803 is used to set the MP3 mode according to the connection structure of the multi-function game console;
[0130] The recording setting module 804 is used to set the recording mode according to the connection structure of the multi-function game console;
[0131] The intercom setting module 805 is used to set a one-to-one intercom mode according to the connection structure of the multi-function game console;
[0132] The abnormal adaptive completion module 806 is used to set the data monitoring period and automatically perform data retransmission settings according to the first, second, third and fourth abnormal situations.
[0133] 0BFMSS8.
[0134] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0135] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided. Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. Fig. 9 The electronic device shown is a general-purpose multi-functional gaming device. Fig. 9 The electronic device may be a smart phone, a tablet computer, or the like. The electronic device 900 includes a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902.
[0136] Processor 901 is the control center of electronic device 900. It uses various interfaces and lines to connect various parts of the entire electronic device, executes various functions of the electronic device and processes data by running or calling computer programs stored in memory 902, and calling data stored in memory 902, thereby monitoring the electronic device as a whole.
[0137] In this embodiment, the processor 901 in the electronic device 900 will load the instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 will run the computer program stored in the memory 902 to realize various functions, such as: setting the connection structure of the multi-function game console; setting the game mode according to the connection structure of the multi-function game console; setting the MP3 mode according to the connection structure of the multi-function game console; setting the recording mode according to the connection structure of the multi-function game console; setting the 1-to-1 intercom mode according to the connection structure of the multi-function game console; setting the data monitoring period, and automatically performing data retransmission settings according to the first, second, third and fourth abnormal situations.
[0138] In some embodiments, the electronic device 900 may further include: a display 903, a radio frequency circuit 904, an audio circuit 905, a wireless fidelity module 906, and a power supply 907. The display 903, the radio frequency circuit 904, the audio circuit 905, the wireless fidelity module 906, and the power supply 907 are electrically connected to the processor 901, respectively.
[0139] The display 903 may be used to display information input by a user or information provided to a user and various graphical user interfaces, which may be composed of graphics, text, icons, videos, and any combination thereof. The display 903 may include a display panel, and in some embodiments, the display panel may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
[0140] The radio frequency circuit 904 can be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals between the network device or other electronic devices.
[0141] The audio circuit 905 can be used to provide an audio interface between a user and the electronic device through a speaker and a microphone.
[0142] The wireless fidelity module 906 can be used for short-range wireless transmission, and can help users to send and receive emails, browse websites, and access streaming media, etc. It provides users with wireless broadband Internet access.
[0143] The power supply 907 may be used to supply power to various components of the electronic device 900. In some embodiments, the power supply 907 may be logically connected to the processor 901 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions.
[0144] although Fig. 9 Not shown, the electronic device 900 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0145] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0146] In the scheme of the present invention, by setting the main control chip to be electrically connected with multiple peripherals and collecting the abnormal transmission data of the Bluetooth device, external SD card, recording file and intercom file in real time, the multi-functional game console can be stably operated in different modes. This structural design enables the game console to support multiple functions at the same time, such as game mode, MP3 mode, recording mode and intercom mode, improving the user experience and entertainment effect.
[0147] In the scheme of the present invention, by setting the data monitoring cycle and automatically setting the data retransmission according to different abnormal situations, the problem of data packet loss between different transmission media can be effectively solved. Specifically, when it is determined that Bluetooth is lost, the data in the temporary storage file area of the SD card can be used to replace it; if there is no data in the SD card, the recording is used to replace it; if there is no data in the recording, the data in the temporary storage file area of Bluetooth for 8 time periods is replaced. This adaptive completion mechanism ensures the integrity and continuity of the data and improves the reliability and stability of the multi-functional game console.
[0148] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0149] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0150] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0152] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A multifunctional gaming method, characterized in that: The method includes: Setting up a connection structure for a multi-function gaming machine; According to the connection structure of the multi-energy game machine, setting the game mode; According to the connection structure of the multi-function game console, set the MP3 mode; According to the connection structure of the multi-function game console, a recording mode is set; According to the connection structure of the multi-function game console, a one-to-one intercom mode is provided; Set the data monitoring period and automatically set up data retransmission according to the first, second, third and fourth abnormal situations.
2. A multifunctional gaming method as claimed in claim 1, characterized in that: The connection structure of the multifunctional game machine is specifically provided including: A main control chip and a power supply are provided; The main control chip is electrically connected to the speaker, earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker; The power supply is electrically connected to the earphone, display, radio frequency module, key input, storage chip, external SD card, microphone and speaker; During the power-on process of the connection structure of the multifunctional game console, abnormal conditions of transmission data of the Bluetooth device, external SD card, recording file and intercom file are collected in real time and stored in sequence as the first, second, third and fourth abnormal conditions.
3. A multifunctional gaming method as claimed in claim 2, characterized in that: The setting of the game mode according to the connection structure of the multi-kinetic energy game machine specifically includes: The game mode is selected by pressing a button, and the main control chip selects to read the built-in game process or the process in the external SD card according to the game mode; The main control chip is used to directly send the signal in the game to the speaker through an electrical connection or to the earphone through the radio frequency module.
4. A multifunctional gaming method as claimed in claim 2, characterized in that: The MP3 mode is set according to the connection structure of the multi-function game console, specifically including: Use the button to select MP3 mode, and the main control chip selects to read the built-in audio file or the audio file in the external SD card according to the MP3 mode; The main control chip is used to directly send the signal in the audio file to the speaker through an electrical connection or to the earphone through the radio frequency module.
5. A multifunctional game method as claimed in claim 2, characterized in that: The step of setting the recording mode according to the connection structure of the multi-function game console specifically includes: The recording mode is selected by pressing a button, and the main control chip activates the microphone according to the recording mode; The main control chip is used to directly store the signal in the audio file formed by the microphone into an external SD card, and according to the needs of the main control chip, it is transmitted to the temporary storage area corresponding to Bluetooth and intercom for backup.
6. A multifunctional game method as claimed in claim 2, characterized in that: According to the connection structure of the multi-energy game console, a one-to-one intercom mode is set, which specifically includes: The one-to-one intercom mode is selected by pressing a button, and the main control chip activates the microphone and the earphone according to the one-to-one intercom mode; In the 1-to-1 intercom mode, the same earphone monitoring password is set for the two main control chips that are ready to enter the 1-to-1 intercom mode, and the master and slave of the 1-to-1 intercom mode are selected according to the key. In the 1-to-1 mode, there is one master and one slave; Set the host's main control chip to control the microphone connected to it to read the audio and send the information to the RF module. After sending the signal, start the intercom monitoring at a preset interval; The master chip of the slave is set to control, and the earphone monitors the signal. After obtaining the monitoring signal, the earphone sends the audio collected by the master chip of the slave through the microphone connected to it through its own radio frequency module; The earphone of the host obtains the audio signal sent by the RF module of the corresponding slave.
7. A multifunctional gaming method as claimed in claim 1, characterized in that: The setting of the data monitoring period and automatically performing the data retransmission setting according to the first, second, third and fourth abnormal situations specifically includes: Set the preset CPU operation cycle. During operation, Bluetooth, SD card, recording and intercom are all set with preset temporary storage file areas for storing resumed data; Bluetooth data is collected at a cycle that is 1 times the CPU operation cycle; SD card data acquisition is performed at a cycle that is twice the CPU operation cycle; The recording data is collected at a cycle that is 4 times the CPU operation cycle; The intercom data is collected at a cycle that is 8 times the CPU operation cycle; If it is determined that the Bluetooth is lost, the data in the temporary storage file area of the SD card is used to replace the Bluetooth data for 2 time periods. If the SD card does not have it, the recording is used to replace the data in the temporary storage file area of the recording for 4 time periods. If the recording is not available, the data in the temporary storage file area of the Bluetooth is replaced for 8 time periods. If the recording function is abnormal, replace the information according to the 2 SD card data in the temporary storage file area of the SD card or the data in the 4 Bluetooth temporary storage file areas; If it is an SD function anomaly, replace the data in the temporary storage file area of 2 consecutive Bluetooth. If the Bluetooth data cannot be obtained, replace the data in the temporary storage file area of 2 consecutive SD with the data in a recording. If the intercom data is abnormal, the data in the temporary storage file area of 2 recordings will be read first for replacement. If the recording data is not found, the data in the temporary storage file area of 4 SD cards will be obtained for replacement. If it is still not found, the data in the temporary storage file area of 8 Bluetooth cards will be obtained for replacement.
8. A multifunctional gaming system, characterized in that: The system is used to implement the method according to any one of claims 1 to 7, and the system comprises: A structural component module is used to set the connection structure of the multi-function game machine; A game mode setting module, used to set the game mode according to the connection structure of the multi-kinetic energy game console; An MP3 mode setting module, used to set the MP3 mode according to the connection structure of the multi-function game console; A recording setting module, used to set a recording mode according to the connection structure of the multi-function game console; An intercom setting module, used to set a one-to-one intercom mode according to the connection structure of the multi-kinetic energy game console; The abnormal adaptive completion module is used to set the data monitoring period and automatically set the data retransmission according to the first, second, third and fourth abnormal situations.
9. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 7 when executed by a processor.
10. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-7.