CN110064191A - Game interaction method, apparatus, system and storage medium based on gyroscope - Google Patents
Game interaction method, apparatus, system and storage medium based on gyroscope Download PDFInfo
- Publication number
- CN110064191A CN110064191A CN201910370428.8A CN201910370428A CN110064191A CN 110064191 A CN110064191 A CN 110064191A CN 201910370428 A CN201910370428 A CN 201910370428A CN 110064191 A CN110064191 A CN 110064191A
- Authority
- CN
- China
- Prior art keywords
- gyroscope
- game
- interaction
- terminal
- mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/211—Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
-
- 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/23—Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
- A63F13/235—Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console using a wireless connection, e.g. infrared or piconet
-
- 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/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of game interaction method, apparatus, system and storage medium based on gyroscope, this method comprises: detecting that the terminal enters game mode, and when detecting that the terminal accesses the earphone, determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;If it is determined that the terminal receives the shaking information that the gyroscope acquires corresponding user when the terminal carries out game interaction by the gyroscope connected in the earphone;According to the shaking information, the interaction mode that game interaction is carried out under the game mode is determined, to carry out game interaction according to the interaction mode.The present invention solves the various movements that existing body-sensing class game is made using camera intake user, when realizing the generation for controlling some instructions in game, the technical issues of the accuracy of intake is easily influenced because of distance, thereby reduces the game experiencing of user.
Description
Technical field
The present invention relates to game interaction technical field more particularly to a kind of game interaction method, apparatus based on gyroscope,
System and storage medium.
Background technique
With the propulsion of electronicalization process, somatic sensation television game type becomes more and more popular in hand trip, currently, the realization of somatic sensation television game
The various movements that user is made mainly are absorbed by camera, to realize the generation of some instructions in control game, such as
The generation of instructions such as forward-reverse of personage namely existing somatic sensation television game require to absorb user using camera in control game
The various movements made interact, and easily influence to absorb because of distance using the various movements that camera intake user is made
Accuracy, thereby reduce the game experiencing of user.
Summary of the invention
The main purpose of the present invention is to provide a kind of game interaction method, apparatus, system and storage based on gyroscope
Medium, it is intended to the various movements that existing body-sensing class game is made using camera intake user are solved, to realize control game
In some instructions generation when, easily because distance due to influences absorb accuracy, thereby reduce the skill of the game experiencing of user
Art problem.
To achieve the above object, the embodiment of the present invention provides a kind of game interaction method based on gyroscope, described to be based on
The game interaction method of gyroscope includes:
When detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, determine described in
Whether terminal passes through the gyroscope in the connection earphone to carry out game interaction;
If it is determined that the terminal receives institute when the terminal carries out game interaction by the gyroscope connected in the earphone
State the shaking information that gyroscope acquires corresponding user;
According to the shaking information, the interaction mode that game interaction is carried out under the game mode is determined, according to institute
It states interaction mode and carries out game interaction.
Optionally, described to detect that the terminal enters game mode, and detect that the terminal accesses the earphone
When, determine whether the terminal passes through the gyroscope connected in the earphone and include: to carry out game interaction step
When detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, described in generation
The first adjustment for the setting options under the game mode that terminal prestores instructs, to be instructed according to the first adjustment in institute
State the choice box that the gyroscope whether accessed in the earphone is added in setting options;
If detecting the user based on generation corresponding to the gyroscope in the choice box selection access earphone
When selection instruction, determine that the terminal carries out game interaction by the gyroscope in the earphone.
Optionally, described according to the shaking information, determine the interaction side that game interaction is carried out under the game mode
Formula step includes:
The real-time shaking direction in the shaking information and real-time shaking amplitude are extracted, according to the real-time shaking direction
And the real-time shaking amplitude determines the interaction mode that game interaction is carried out under the game mode.
Optionally, described to extract the real-time shaking direction shaken in information and the real-time shaking amplitude, according to
The real-time interaction mode step for shaking direction and the determining progress game interaction under the game mode of real-time shaking amplitude
Suddenly include:
If detecting in the setting options that the terminal prestores, the second adjustment for the sensitivity for adjusting the gyroscope refers to
When enabling, the sensitivity of the shaking amplitude is obtained according to second adjustment instruction;
The real-time shaking direction in the shaking information and the real-time shaking amplitude are extracted, according to the real-time shaking
The sensitivity in direction, the real-time shaking amplitude and the shaking amplitude determines that progress game is mutual under the game mode
Dynamic interaction mode.
Optionally, described according to the real-time shaking direction and the real-time shaking amplitude is determined in the game mode
It is lower carry out game interaction interaction mode step include:
According to the real-time shaking direction and the real-time shaking amplitude, determination carries out game under the game mode
The interaction mode of interaction, the interaction mode of the game interaction include view angle switch interaction mode and synchronous shaking interaction side
Formula.
Optionally, described if it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone, institute
It states terminal and receives the gyroscope and acquire the shaking information Step of corresponding user and include:
If it is determined that the earphone obtains institute when the terminal carries out game interaction by the gyroscope connected in the earphone
State the shaking information of the correspondence user of gyroscope acquisition;
The type for obtaining the earphone, when the type of the earphone is wireless headset type, the terminal passes through bluetooth
Mode receives the shaking information for the correspondence user that the earphone is sent.
Optionally, described according to the shaking information, determine the interaction side that game interaction is carried out under the game mode
Formula, accordingly to carry out including: after game interaction step
It is described if detect the out code for closing the gyroscope connection in the setting options that the terminal prestores
Terminal closes the communication connection with the gyroscope, and switches the interaction mode of the game interaction.
The present invention also provides a kind of game interaction means based on gyroscope, the game interaction means based on gyroscope
Applied to the game interaction system based on gyroscope, the game interaction system based on gyroscope includes earphone and terminal,
Gyroscope is set in the earphone, and the game interaction means based on gyroscope include:
First detection module for detecting that the terminal enters game mode, and detects terminal access institute
When stating earphone, determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;
Acquisition module, for if it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone,
The terminal receives the shaking information that the gyroscope acquires corresponding user;
Game interaction module, for determining and carrying out game interaction under the game mode according to the shaking information
Interaction mode, to carry out game interaction according to the interaction mode.
Optionally, the first detection module includes:
First detection unit for detecting that the terminal enters game mode, and detects terminal access institute
When stating earphone, the first adjustment instruction for the setting options under the game mode that the terminal prestores is generated, according to institute
State the choice box that the gyroscope whether accessed in the earphone is added in the first adjustment instruction in the setting options;
Second detection unit, if for detecting the user based on the top in the choice box selection access earphone
When the selection instruction of the corresponding generation of spiral shell instrument, determine that the terminal passes through the gyroscope in the earphone and carries out game interaction.
Optionally, the game interaction module includes:
Extraction unit, for extracting real-time shaking direction and real-time shaking amplitude in the shaking information, according to institute
It states and shakes direction and the determining interaction mode for carrying out game interaction under the game mode of the real-time shaking amplitude in real time.
Optionally, the extraction unit includes:
Subelement is obtained, if for detecting the sensitive of the adjustment gyroscope in the setting options that the terminal prestores
When the second adjustment instruction of degree, the sensitivity of the shaking amplitude is obtained according to second adjustment instruction;
Subelement is extracted, for extracting real-time shaking direction and the real-time shaking amplitude in the shaking information,
According to the real-time sensitivity for shaking direction, the real-time shaking amplitude and the shaking amplitude, determine in the game
The interaction mode of game interaction is carried out under mode.
Optionally, the game interaction module further include:
Game interaction unit, for determining described according to the real-time shaking direction and the real-time shaking amplitude
Carry out the interaction mode of game interaction under game mode, the interaction mode of the game interaction include view angle switch interaction mode with
And synchronous shaking interaction mode.
Optionally, the acquisition module includes:
First acquisition unit, for if it is determined that the terminal carries out game interaction by the gyroscope connected in the earphone
When, the earphone obtains the shaking information of the correspondence user of the gyroscope acquisition;
Second acquisition unit, for obtaining the type of the earphone, when the type of the earphone is wireless headset type,
The terminal receives the shaking information for the correspondence user that the earphone is sent by bluetooth approach.
Optionally, the game interaction means based on gyroscope further include:
Second detection module, if closing the gyroscope connection for detecting in the setting options that the terminal prestores
Out code when, the terminal closes the communication connection with the gyroscope, and switches the interaction mode of the game interaction.
The game interaction system based on gyroscope that the present invention also provides a kind of, the system comprises: memory, processor and
The game interaction program based on gyroscope that is stored on the memory and can run on the processor, it is described to be based on top
The step such as the above-mentioned game interaction method based on gyroscope is realized when the game interaction program of spiral shell instrument is executed by the processor
Suddenly.
The present invention also provides a kind of storage medium, the game interaction journey based on gyroscope is stored on the storage medium
Sequence realizes such as the above-mentioned game interaction based on gyroscope when the game interaction program based on gyroscope is executed by processor
The step of method.
The present invention is when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, really
Whether the fixed terminal passes through the gyroscope in the connection earphone to carry out game interaction;If it is determined that the terminal passes through connection
When gyroscope in the earphone carries out game interaction, the terminal receives the shaking letter that the gyroscope acquires corresponding user
Breath;According to the shaking information, the interaction mode that game interaction is carried out under the game mode is determined, according to the interaction
Mode carries out game interaction.It in this application, is no longer that the various movements that user is made are absorbed by camera, to realize control
The generation of some instructions in game processed, but the terminal is being determined by connecting the gyroscope in the earphone to be swum
When play interaction, the shaking information of corresponding user is acquired by the gyroscope in earphone, determination is swum under the game mode
The interaction mode of play interaction, to carry out game interaction according to the interaction mode, that is, gyroscope generation can be passed through in the application
The generation of some instructions in control game is realized for camera, and is realized by gyroscope and controlled some instructions in game
The accuracy that intake will not be influenced because of distance is generated, thus, it solves existing body-sensing class game using camera and absorbs user
The various movements made easily influence the accurate of intake when realizing the generation for controlling some instructions in game because of distance
Property, the technical issues of thereby reducing the game experiencing of user.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of the embodiment of the present invention one optional terminal;
Fig. 2 is the wireless communication device schematic diagram of terminal in Fig. 1;
Fig. 3 is that the present invention is based on the flow diagrams of one embodiment of game interaction method of gyroscope;
Fig. 4 is that the present invention is based on a schematic diagram of a scenario of the game interaction method of gyroscope;
Fig. 5 is that the present invention is based on another schematic diagram of a scenario of the game interaction method of gyroscope.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are eventually
End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of its game interaction system based on gyroscope of each embodiment to realize the present invention is hard
Part structural schematic diagram, the terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, sound
Frequency output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit
107, the components such as interface unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that
The restriction of the not structure paired terminal of terminal structure shown in Fig. 1, terminal may include than illustrating more or fewer components, or
Person combines certain components or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 is shown
WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing terminal as two independent components, but in some embodiments it is possible to will
Touch panel 1071 and display panel 1061 integrate and realize the function that outputs and inputs of terminal, specifically herein without limitation.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module
The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data, and memory 109 can be situated between for a kind of storage of computer
Matter, the memory 109 are stored with the game interaction program the present invention is based on gyroscope.Memory 109 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to mobile phone
(such as audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.As processor 110 executes storage
The game interaction program based on gyroscope in device 109, to realize that the present invention is based on the game interaction methods of gyroscope respectively to implement
The step of example.
Processor 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, and optionally, power supply 111 can be with
It is logically contiguous by power-supply management system and processor 110, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to terminal of the invention are retouched
It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the method for the present invention is proposed.
The present invention provides a kind of game interaction method based on gyroscope, and the game interaction method based on gyroscope is answered
For the game interaction system based on gyroscope, the game interaction system based on gyroscope includes earphone and terminal, institute
It states and gyroscope is set in earphone, in one embodiment of game interaction method based on gyroscope, referring to Fig. 3, based on gyroscope
Game interaction method includes:
Step S10, when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone,
Determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;
Step S20, however, it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone, the end
End receives the shaking information that the gyroscope acquires corresponding user;
Step S30 determines the interaction mode that game interaction is carried out under the game mode according to the shaking information,
To carry out game interaction according to the interaction mode.
Specific step is as follows:
Step S10, when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone,
Determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;
Terminal may be at game mode, also may be at non-gaming mode, if detecting, user passes through touch or point
Hit operation triggering into game mode entry instruction when, terminal enters game mode, detect terminal enter body-sensing trip
When play mode, detect whether the terminal accesses earphone, that is, starting is real when detecting that the terminal enters game mode
When the detecting event that whether accesses of test earphone, wherein the terminal can be accessed with the earphone by bluetooth approach, can also be led to
It crosses wired such as USB interface connection type to access, if earphone access is not detected, terminal is according to original game mode prestored
Game is carried out, if test earphone accesses, determines whether the terminal passes through the connection earphone based on access events starting
In gyroscope to carry out game interaction, in the present embodiment, if terminal is detecting that the terminal enters game mode, and
When detecting that the terminal accesses the access events of the earphone, the access events are responded with the determination terminal and whether pass through company
The gyroscope in the earphone is connect to carry out game interaction, needs that the first program segment is arranged in built-in processor in advance, it should
First program segment indicates that the first processing logic of access events, the processing logic are used to detect that the terminal enters game mould
Formula, and when detecting that the terminal accesses the access events of the earphone, processor is triggered to respond the access events, with base
Determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction in the access events.
It should be noted that in the present embodiment, the gyroscope being arranged in earphone is called angular-rate sensor, it is different from
Accelerometer, the measurement physical quantity of gyroscope be deflection, inclination when rotational angular velocity, etc., that is, gyroscope can to turn
Measurement is made in dynamic, deflection movement, i.e. gyroscope can go out the actual act of user with Accurate Analysis, such as the head of particular user
Portion, left and right offset of body etc..
Specifically, described to detect that the terminal enters game mode, and detect that the terminal accesses the earphone
When, determine whether the terminal passes through the gyroscope connected in the earphone and include: to carry out game interaction step
Step S11, when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone,
The first adjustment instruction for generating the setting options under the game mode that the terminal prestores, according to the first adjustment
The choice box of the gyroscope whether accessed in the earphone is added in instruction in the setting options;
When detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, can trigger
Terminal generates display interface, on the display interface, generates the prompting frame for whether accessing the gyroscope in the earphone, Yong Hugen
It can choose according to the prompting frame and determine whether the terminal passes through the gyroscope connected in the earphone and carry out game interaction, separately
Outside, when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, in order to avoid existing every time
On the display interface, the prompting frame for whether accessing the gyroscope in the earphone is generated, what be may cause requires to use every time
Family close the troublesome operation of the prompting frame, in the present embodiment, can be generated that the terminal prestores in the game mould
The first adjustment of setting options under formula instructs, to add or beat in the setting options according to the first adjustment instruction
The choice box of the gyroscope whether accessed in the earphone is opened, accesses the ear under the terminal game mode that is, detecting
When machine, choice box is added automatically in the setting options of terminal, for selection by the user, it should be noted that terminal will detect
When to access events, the access events are responded to generate the of the setting options under the game mode that the terminal prestores
One adjustment instruction, to add the gyro whether accessed in the earphone in the setting options according to the first adjustment instruction
The choice box of instrument needs that the second program segment is arranged in built-in processor in advance, which indicates access events
Second processing logic, the second processing logic are used for when detecting access events, trigger processor to respond the access thing
Part is referred to the first adjustment for generating the setting options under the game mode that the terminal prestores based on the access events
It enables, to add the selection of the gyroscope whether accessed in the earphone in the setting options according to the first adjustment instruction
Frame.
In the present embodiment, the choice box of the gyroscope includes at least two options, two options be respectively determine and
It is uncertain, it should be noted that add whether access the ear in the setting options according to the first adjustment instruction
After the choice box of gyroscope in machine, the setting options of terminal can replace the different significant mark such as color, to prompt user
By the setting options of the different colours, the gyroscope accessed in the earphone may determine whether, it is mutual accordingly to carry out game
It is dynamic.
Step S12, if the gyroscope institute for detecting that the user is accessed based on choice box selection in the earphone is right
When the selection instruction that should be generated, determine that the terminal carries out game interaction by the gyroscope in the earphone.
If detecting the user based on generation corresponding to the gyroscope in the choice box selection access earphone
When selection instruction, determine that the terminal carries out game interaction by the gyroscope in the earphone.Wherein it is determined that the terminal is logical
The gyroscope crossed in the earphone carries out game interaction and refers specifically to, with the double swerve of gyroscope induction user, or
Left and right sides such as sees at the operation, and the double swerve of the user or left and right sides such as are seen at the operation, with corresponded in game the movement of role into
The visual angle of row mapping or role map, thus user can not need nuisance operation and double swerve head is only needed to realize
The switching visual angle that side is seen and just seen, it is obvious that be able to ascend the sense of participation of user in game using gyroscope and simulation is felt.
Step S20, however, it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone, the end
End receives the shaking information that the gyroscope acquires corresponding user;
If it is determined that the terminal receives institute when the terminal carries out game interaction by the gyroscope connected in the earphone
State the shaking information that gyroscope acquires corresponding user, wherein gyroscope acquires the shaking information of corresponding user, and the top in real time
The shaking information that spiral shell instrument acquires corresponding user is to be sent to terminal in real time by earphone, which includes the side shaken
To the amplitude etc. of shaking.
Step S30 determines the interaction mode that game interaction is carried out under the game mode according to the shaking information,
To carry out game interaction according to the interaction mode.
By obtaining the direction shaken, the amplitude etc. of shaking, gyroscope can determine the movement of user, be prestored by terminal
The user movement and game in figure action mapping relations or game in personage visual angle mapping relations etc., determine into
Row game interaction.
It is described according to the shaking information, determine the interaction mode step packet that game interaction is carried out under the game mode
It includes:
Step S31 extracts the real-time shaking direction shaken in information and real-time shaking amplitude, according to described real-time
It shakes direction and the real-time shaking amplitude determines the interaction mode for carrying out game interaction under the game mode.
Real-time shaking direction and real-time shaking amplitude in shaking information described in extract real-time, according to the real-time shaking
Direction and the real-time shaking amplitude determine the interaction mode that game interaction is carried out under the game mode, specifically, root
According to the real-time shaking direction and the real-time shaking amplitude, the vibrating locus of user is determined or predicts, according to determining
Or target vibrating locus and preset vibrating locus and game charater under the game mode etc. the progress game of prediction are mutual
The incidence relation of dynamic corresponding motion profile determines the correspondence of the progress such as game charater game interaction under the game mode
Target trajectory, according to the target trajectory determine under the game mode carry out game interaction interaction mode,
Such as, however, it is determined that the target vibrating locus of perhaps prediction be default to hide track or target vibrating locus and hide with presetting
When track similarity is greater than default similarity, determine that game charater etc. carries out the corresponding of game interaction under the game mode
Target trajectory is to carry out hiding interaction accordingly in blindage.
Wherein, described according to the real-time shaking direction and the real-time shaking amplitude determines under the game mode
Carry out the interaction mode step of game interaction further include:
Step S32 is determined under the game mode according to the real-time shaking direction and the real-time shaking amplitude
The interaction mode of game interaction is carried out, the interaction mode of the game interaction includes view angle switch interaction mode and synchronous shaking
Interaction mode.
The interaction mode of the game interaction includes view angle switch interaction mode and synchronizes shaking interaction mode, for example,
When user's double swerve, it is based on view angle switch interaction mode, realizes that visual angle is seen in left and right, or when user's double swerve, base
Interaction mode is shaken in synchronous, personage realizing in game or so is synchronous to shake.
Further, the interaction side for determining according to the shaking information and carrying out game interaction under the game mode is stated
Formula, accordingly to carry out including: after game interaction step
Step S40, if detecting in the setting options that the terminal prestores, the closing for closing the gyroscope connection refers to
When enabling, the terminal closes the communication connection with the gyroscope, and switches the interaction mode of the game interaction.
In the present embodiment, can also be closed in the setting options of terminal with the communication connection of gyroscope, if described
When detecting the out code for closing the gyroscope connection in the setting options that terminal prestores, the terminal leads to out code
It crosses the modes such as bluetooth and is sent to earphone, which closes the communication connection with the gyroscope, and switches the game interaction
Interaction mode, the interaction mode for switching the game interaction refer to the interaction that game is no longer carried out by gyroscope, but logical
The movement of camera intake user is crossed, then carries out the interaction of game.
The present invention is when detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, really
Whether the fixed terminal passes through the gyroscope in the connection earphone to carry out game interaction;If it is determined that the terminal passes through connection
When gyroscope in the earphone carries out game interaction, the terminal receives the shaking letter that the gyroscope acquires corresponding user
Breath;According to the shaking information, the interaction mode that game interaction is carried out under the game mode is determined, according to the interaction
Mode carries out game interaction.It in this application, is no longer that the various movements that user is made are absorbed by camera, to realize control
The generation of some instructions in game processed, but the terminal is being determined by connecting the gyroscope in the earphone to be swum
When play interaction, the shaking information of corresponding user is acquired by the gyroscope in earphone, determination is swum under the game mode
The interaction mode of play interaction, to carry out game interaction according to the interaction mode, that is, gyroscope generation can be passed through in the application
The generation of some instructions in control game is realized for camera, and is realized by gyroscope and controlled some instructions in game
The accuracy that intake will not be influenced because of distance is generated, thus, it solves existing body-sensing class game using camera and absorbs user
The various movements made easily influence the accurate of intake when realizing the generation for controlling some instructions in game because of distance
Property, the technical issues of thereby reducing the game experiencing of user.
Further, another embodiment of game interaction method based on gyroscope is provided in the present invention, in this embodiment,
It is described to extract the real-time shaking direction shaken in information and the real-time shaking amplitude, according to the real-time shaking direction
And shaking amplitude determines that the interaction mode step that game interaction is carried out under the game mode includes: in real time
Step A1 adjusts the second of the sensitivity of the gyroscope if detecting in the setting options that the terminal prestores
When adjustment instruction, the sensitivity of the shaking amplitude is obtained according to second adjustment instruction;
In the present embodiment, can also terminal carry out gyroscope sensitivity adjustment, if prestoring in the terminal
When detecting the second adjustment instruction for the sensitivity for adjusting the gyroscope in setting options, obtained according to second adjustment instruction
The sensitivity of the shaking amplitude is taken, that is, the same of same user flashes when the sensitivity of the shaking amplitude of setting is inconsistent
Dynamic amplitude corresponds to the interaction mode difference that game interaction is carried out under game mode.
Step A2 extracts the real-time shaking direction shaken in information and the real-time shaking amplitude, according to described
In real time shake direction, the real-time shaking amplitude and the shaking amplitude sensitivity, determine under the game mode into
The interaction mode of row game interaction.
In the present embodiment, the adjusting that the sensitivity of shaking amplitude can also be carried out, by taking game is to eat chicken class game as an example
Whole explanation is carried out, detailed process is as shown in figure 4, include step W1, terminal access earphone namely terminal are led to earphone
Letter connection executes step W2 upon connection, and whether prompt, which accesses earphone gyroscope, is operated, namely is shown on terminal interface
Show whether prompt accesses the prompting interface that earphone gyroscope is operated, selects access earphone gyroscope to be operated in user
After prompting interface, step W3 is executed, into eating chicken class game, namely after determining that access earphone gyroscope is operated, terminal
Into game mode, after terminal enters game mode, step W4 is executed, sensitivity is adjusted by gyroscope editing interface,
That is, in the present embodiment, there are gyroscope editing interfaces in setting option, so that user shake the adjusting of sensitivity, or
It is automatic to show gyroscope editing interface after terminal enters game mode, to determine whether user carries out shaking the tune of sensitivity
Section, when user is not within a preset period of time when gyroscope editing interface is edited, with the intrinsic shaking amplitude that prestores
Sensitivity determines the interaction mode that game interaction is carried out under the game mode, i.e. terminal executes step W5, logical into game
It crosses head double swerve and carries out the synchronous shaking of game charater, and realize step W6, release both hands did not needed multioperation and complete trip
Play operation, that is, in the present embodiment, according to the real-time shaking direction, the real-time shaking amplitude and the shaking width
The sensitivity of degree determines the interaction mode that game interaction is carried out under the game mode, for example, if user's vibrating locus is mesh
Mark vibrating locus, and the sensitivity of shaking amplitude be the first sensitivity when, determination game interaction is carried out under the game mode
Interaction mode be the first interaction mode, if user's vibrating locus is target vibrating locus, and the sensitivity of shaking amplitude is the
When two sensitivity, determine that the interaction mode that game interaction is carried out under the game mode is the second interaction mode, wherein first
Interaction mode is different from the second interaction mode.
In the present embodiment, if adjusting the spirit of the gyroscope by detecting in the setting options that the terminal prestores
When the second adjustment instruction of sensitivity, the sensitivity of the shaking amplitude is obtained according to second adjustment instruction;Extract the rolling
Real-time shaking direction and the real-time shaking amplitude in dynamic information, according to the real-time shaking direction, the real-time shaking
The sensitivity of amplitude and the shaking amplitude determines the interaction mode that game interaction is carried out under the game mode.Namely
In the present embodiment, different interactive demands can be met by the adjustment of sensitivity, promote user's game experiencing.
Further, another embodiment of game interaction method based on gyroscope is provided in the present invention, in this embodiment,
It is described if it is determined that the terminal receives the top when terminal carries out game interaction by the gyroscope connected in the earphone
The shaking information Step that spiral shell instrument acquires corresponding user includes:
Step S21, however, it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone, the ear
Machine obtains the shaking information of the correspondence user of the gyroscope acquisition;
Step S22 obtains the type of the earphone, when the type of the earphone is wireless headset type, the terminal
The shaking information for the correspondence user that the earphone is sent is received by bluetooth approach.
As shown in figure 5, terminal is communicated with earphone, earphone is communicated with gyroscope, in the present embodiment, is also obtained
The type of earphone, shake according to different modes the transmission of information, wherein when the type of the earphone is wireless headset
When type, shake using bluetooth or WIFI mode the transmission of information, when earphone is wired earphone, use is wired
Transmission mode shake the transmission of information.
In the present embodiment, by if it is determined that the terminal carries out game interaction by the gyroscope connected in the earphone
When, the earphone obtains the shaking information of the correspondence user of the gyroscope acquisition;The type for obtaining the earphone, when the ear
When the type of machine is wireless headset type, the terminal receives the shaking for the correspondence user that the earphone is sent by bluetooth approach
Information.In the present embodiment, the effective transmission for timely shaking information is carried out, to establish by carrying out game interaction based on gyroscope
Fixed basis.
It is described based on gyroscope in addition, the embodiment of the present invention also proposes a kind of game interaction means based on gyroscope
Game interaction means are applied to the game interaction system based on gyroscope, and the game interaction system based on gyroscope includes ear
Gyroscope is arranged in the earphone in machine and terminal, and the game interaction means based on gyroscope include:
First detection module for detecting that the terminal enters game mode, and detects terminal access institute
When stating earphone, determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;
Acquisition module, for if it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone,
The terminal receives the shaking information that the gyroscope acquires corresponding user;
Game interaction module, for determining and carrying out game interaction under the game mode according to the shaking information
Interaction mode, to carry out game interaction according to the interaction mode.
Optionally, the first detection module includes:
First detection unit for detecting that the terminal enters game mode, and detects terminal access institute
When stating earphone, the first adjustment instruction for the setting options under the game mode that the terminal prestores is generated, according to institute
State the choice box that the gyroscope whether accessed in the earphone is added in the first adjustment instruction in the setting options;
Second detection unit, if for detecting the user based on the top in the choice box selection access earphone
When the selection instruction of the corresponding generation of spiral shell instrument, determine that the terminal passes through the gyroscope in the earphone and carries out game interaction.
Optionally, the game interaction module includes:
Extraction unit, for extracting real-time shaking direction and real-time shaking amplitude in the shaking information, according to institute
It states and shakes direction and the determining interaction mode for carrying out game interaction under the game mode of the real-time shaking amplitude in real time.
Optionally, the extraction unit includes:
Subelement is obtained, if for detecting the sensitive of the adjustment gyroscope in the setting options that the terminal prestores
When the second adjustment instruction of degree, the sensitivity of the shaking amplitude is obtained according to second adjustment instruction;
Subelement is extracted, for extracting real-time shaking direction and the real-time shaking amplitude in the shaking information,
According to the real-time sensitivity for shaking direction, the real-time shaking amplitude and the shaking amplitude, determine in the game
The interaction mode of game interaction is carried out under mode.
Optionally, the game interaction module further include:
Game interaction unit, for determining described according to the real-time shaking direction and the real-time shaking amplitude
Carry out the interaction mode of game interaction under game mode, the interaction mode of the game interaction include view angle switch interaction mode with
And synchronous shaking interaction mode.
Optionally, the acquisition module includes:
First acquisition unit, for if it is determined that the terminal carries out game interaction by the gyroscope connected in the earphone
When, the earphone obtains the shaking information of the correspondence user of the gyroscope acquisition;
Second acquisition unit, for obtaining the type of the earphone, when the type of the earphone is wireless headset type,
The terminal receives the shaking information for the correspondence user that the earphone is sent by bluetooth approach.
Optionally, the game interaction means based on gyroscope further include:
Second detection module, if closing the gyroscope connection for detecting in the setting options that the terminal prestores
Out code when, the terminal closes the communication connection with the gyroscope, and switches the interaction mode of the game interaction.
The present invention is based on the expansion contents of the specific embodiment of the game interaction means of gyroscope to be based on gyro with above-mentioned
Each embodiment of game interaction method of instrument is essentially identical, and this will not be repeated here.
In addition, the embodiment of the present invention also proposes a kind of game interaction system based on gyroscope, terminal includes: memory
109, processor 110 and it is stored in the game interaction journey based on gyroscope that can be run on memory 109 and on processor 110
Sequence, the game interaction program based on gyroscope realize the above-mentioned game interaction side based on gyroscope when being executed by processor 110
The step of each embodiment of method.
In addition, the present invention also provides a kind of computer storage medium, the computer storage medium be stored with one or
More than one program of person, the one or more programs can also be executed by one or more than one processor with
In the step of realizing each embodiment of the above-mentioned game interaction method based on gyroscope.
The expansion content of the specific embodiment of present system and storage medium (i.e. computer storage medium) with it is above-mentioned
Each embodiment of game interaction method based on gyroscope is essentially identical, and this will not be repeated here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of game interaction method based on gyroscope, which is characterized in that the game interaction method based on gyroscope is answered
For the game interaction system based on gyroscope, the game interaction system based on gyroscope includes earphone and terminal, institute
It states and gyroscope is set in earphone, the game interaction method based on gyroscope includes:
When detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, the terminal is determined
Whether by connecting the gyroscope in the earphone to carry out game interaction;
If it is determined that the terminal receives the top when terminal carries out game interaction by the gyroscope connected in the earphone
Spiral shell instrument acquires the shaking information of corresponding user;
According to the shaking information, the interaction mode that game interaction is carried out under the game mode is determined, according to described mutual
Flowing mode carries out game interaction.
2. the game interaction method based on gyroscope as described in claim 1, which is characterized in that described to detect the end
When holding and enter game mode, and detecting that the terminal accesses the earphone, determine whether the terminal passes through the connection ear
Gyroscope in machine includes: to carry out game interaction step
When detecting that the terminal enters game mode, and detecting that the terminal accesses the earphone, the terminal is generated
The first adjustment of the setting options under the game mode prestored instructs, to be set according to the first adjustment instruction described
Set the choice box that the gyroscope whether accessed in the earphone is added in option;
If detecting selection of the user based on generation corresponding to the gyroscope in the choice box selection access earphone
When instruction, determine that the terminal carries out game interaction by the gyroscope in the earphone.
3. the game interaction method based on gyroscope as claimed in claim 2, which is characterized in that described to be believed according to the shaking
Breath determines that the interaction mode step that game interaction is carried out under the game mode includes:
Extract the real-time shaking direction in the shaking information and real-time shaking amplitude, according to the real-time shaking direction and
The real-time shaking amplitude determines the interaction mode that game interaction is carried out under the game mode.
4. the game interaction method based on gyroscope as claimed in claim 3, which is characterized in that described to extract the shaking letter
Real-time shaking direction and the real-time shaking amplitude in breath, it is true according to the real-time shaking direction and real-time shaking amplitude
Be scheduled under the game mode carry out game interaction interaction mode step include:
If detect the second adjustment instruction for the sensitivity for adjusting the gyroscope in the setting options that the terminal prestores,
The sensitivity of the shaking amplitude is obtained according to second adjustment instruction;
The real-time shaking direction in the shaking information and the real-time shaking amplitude are extracted, according to the real-time shaking side
To, the sensitivity of the real-time shaking amplitude and the shaking amplitude, determination carries out game interaction under the game mode
Interaction mode.
5. the game interaction method based on gyroscope as claimed in claim 3, which is characterized in that described according to the real-time rolling
Dynamic direction and the real-time shaking amplitude determine that the interaction mode step that game interaction is carried out under the game mode includes:
According to the real-time shaking direction and the real-time shaking amplitude, determination carries out game interaction under the game mode
Interaction mode, the interaction mode of the game interaction includes view angle switch interaction mode and synchronous shakes interaction mode.
6. the game interaction method based on gyroscope as described in claim 1, which is characterized in that described if it is determined that the terminal
When carrying out game interaction by the gyroscope connected in the earphone, the terminal receives the gyroscope and acquires corresponding user's
Shaking information Step includes:
If it is determined that the earphone obtains the top when terminal carries out game interaction by the gyroscope connected in the earphone
The shaking information of the correspondence user of spiral shell instrument acquisition;
The type for obtaining the earphone, when the type of the earphone is wireless headset type, the terminal passes through bluetooth approach
Receive the shaking information for the correspondence user that the earphone is sent.
7. the game interaction method based on gyroscope as described in claim 1, which is characterized in that described to be believed according to the shaking
Breath determines the interaction mode that game interaction is carried out under the game mode, accordingly to carry out including: after game interaction step
If detect the out code for closing the gyroscope connection in the setting options that the terminal prestores, the terminal
The communication connection with the gyroscope is closed, and switches the interaction mode of the game interaction.
8. a kind of game interaction means based on gyroscope, which is characterized in that the game interaction means based on gyroscope are answered
For the game interaction system based on gyroscope, the game interaction system based on gyroscope includes earphone and terminal, institute
It states and gyroscope is set in earphone, the game interaction means based on gyroscope include:
First detection module for detecting that the terminal enters game mode, and detects that the terminal accesses the ear
When machine, determine whether the terminal passes through the gyroscope in the connection earphone to carry out game interaction;
Acquisition module, it is described for if it is determined that when the terminal carries out game interaction by the gyroscope connected in the earphone
Terminal receives the shaking information that the gyroscope acquires corresponding user;
Game interaction module, for determining the interaction for carrying out game interaction under the game mode according to the shaking information
Mode, to carry out game interaction according to the interaction mode.
9. a kind of game interaction system based on gyroscope, which is characterized in that the system comprises: it memory, processor and deposits
The game interaction program based on gyroscope that can be run on the memory and on the processor is stored up, it is described to be based on gyro
When the game interaction program of instrument is executed by the processor realize as described in any one of claims 1 to 7 based on gyroscope
Game interaction method the step of.
10. a kind of storage medium, which is characterized in that the game interaction program based on gyroscope is stored on the storage medium,
The base as described in any one of claims 1 to 7 is realized when the game interaction program based on gyroscope is executed by processor
In the game interaction method of gyroscope the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910370428.8A CN110064191A (en) | 2019-04-30 | 2019-04-30 | Game interaction method, apparatus, system and storage medium based on gyroscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910370428.8A CN110064191A (en) | 2019-04-30 | 2019-04-30 | Game interaction method, apparatus, system and storage medium based on gyroscope |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110064191A true CN110064191A (en) | 2019-07-30 |
Family
ID=67369950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910370428.8A Pending CN110064191A (en) | 2019-04-30 | 2019-04-30 | Game interaction method, apparatus, system and storage medium based on gyroscope |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110064191A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110465073A (en) * | 2019-08-08 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Method, apparatus, equipment and the readable storage medium storing program for executing that visual angle adjusts in virtual environment |
CN110891235A (en) * | 2019-12-26 | 2020-03-17 | 惠州市锦好医疗科技股份有限公司 | Finger-knocking body detection method for behind-the-ear hearing aid |
CN112057841A (en) * | 2020-09-23 | 2020-12-11 | 江苏视天虚拟现实科技有限公司 | Method for controlling VR glasses based on mobile phone gyroscope |
CN115086733A (en) * | 2021-03-11 | 2022-09-20 | 腾讯科技(深圳)有限公司 | Information processing method, device, equipment and medium |
EP4176820A4 (en) * | 2020-07-01 | 2023-12-06 | FUJIFILM Corporation | Ultrasonic diagnostic device, ultrasonic diagnostic device control method, and processor for ultrasonic diagnostic device |
-
2019
- 2019-04-30 CN CN201910370428.8A patent/CN110064191A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110465073A (en) * | 2019-08-08 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Method, apparatus, equipment and the readable storage medium storing program for executing that visual angle adjusts in virtual environment |
CN110891235A (en) * | 2019-12-26 | 2020-03-17 | 惠州市锦好医疗科技股份有限公司 | Finger-knocking body detection method for behind-the-ear hearing aid |
EP4176820A4 (en) * | 2020-07-01 | 2023-12-06 | FUJIFILM Corporation | Ultrasonic diagnostic device, ultrasonic diagnostic device control method, and processor for ultrasonic diagnostic device |
CN112057841A (en) * | 2020-09-23 | 2020-12-11 | 江苏视天虚拟现实科技有限公司 | Method for controlling VR glasses based on mobile phone gyroscope |
CN115086733A (en) * | 2021-03-11 | 2022-09-20 | 腾讯科技(深圳)有限公司 | Information processing method, device, equipment and medium |
CN115086733B (en) * | 2021-03-11 | 2024-04-19 | 腾讯科技(深圳)有限公司 | Information processing method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110064191A (en) | Game interaction method, apparatus, system and storage medium based on gyroscope | |
CN109885174A (en) | Gesture control method, device, mobile terminal and storage medium | |
CN109254715A (en) | Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing | |
CN109701266A (en) | Game vibrating method, device, mobile terminal and computer readable storage medium | |
CN110075521A (en) | Pressure rifle householder method, device, mobile terminal and the storage medium of shooting game | |
CN109862433A (en) | Generation method, device, terminal and the computer readable storage medium of game video | |
CN110087287A (en) | Terminal searches control method, device, mobile terminal and the storage medium of net | |
CN109743504A (en) | A kind of auxiliary photo-taking method, mobile terminal and storage medium | |
CN110038296A (en) | A kind of game control method, terminal and computer readable storage medium | |
CN109529343A (en) | Game parameter automatic adjusting method, device, mobile terminal and readable storage medium storing program for executing | |
CN108182028A (en) | A kind of control method, terminal and computer readable storage medium | |
CN109908578A (en) | A kind of game seismaesthesia control method, terminal and computer readable storage medium | |
CN109947248A (en) | Vibration control method, mobile terminal and computer readable storage medium | |
CN109697008A (en) | A kind of content share method, terminal and computer readable storage medium | |
CN109634542A (en) | A kind of switching display control method, terminal and computer readable storage medium | |
CN108900780A (en) | A kind of screen light compensation method, mobile terminal and storage medium | |
CN110134471A (en) | A kind of screens switch animation control methods, terminal and computer readable storage medium | |
CN108881635A (en) | Screen luminance adjustment method, mobile terminal and computer readable storage medium | |
CN109218527A (en) | screen brightness control method, mobile terminal and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN109672822A (en) | A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium | |
CN110531919A (en) | A kind of fingerprint touch-control mapping control method, terminal and computer readable storage medium | |
CN109618218A (en) | A kind of method for processing video frequency and mobile terminal | |
CN109376669A (en) | Control method, mobile terminal and the computer readable storage medium of intelligent assistant | |
CN108984063A (en) | A kind of desktop interaction regulation method, equipment and computer readable storage medium |
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 |