CN109701266B - Game vibration method, device, mobile terminal and computer readable storage medium - Google Patents

Game vibration method, device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109701266B
CN109701266B CN201910066105.XA CN201910066105A CN109701266B CN 109701266 B CN109701266 B CN 109701266B CN 201910066105 A CN201910066105 A CN 201910066105A CN 109701266 B CN109701266 B CN 109701266B
Authority
CN
China
Prior art keywords
game
vibration
preset
sound
sound signal
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.)
Active
Application number
CN201910066105.XA
Other languages
Chinese (zh)
Other versions
CN109701266A (en
Inventor
王冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910066105.XA priority Critical patent/CN109701266B/en
Publication of CN109701266A publication Critical patent/CN109701266A/en
Application granted granted Critical
Publication of CN109701266B publication Critical patent/CN109701266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a game vibration method, which comprises the following steps: when detecting that a user inputs control operation based on a current game interface, detecting whether the control operation triggers a preset game vibration control; when the game vibration control is detected to be triggered by the control operation, adding a preset vibration mark on a game sound signal mapped by the game vibration control; and if a game sound output event is detected, controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark. The invention also provides a game vibration device, a mobile terminal and a computer readable storage medium, and the game vibration device, the mobile terminal and the computer readable storage medium flexibly give vibration feedback to the user based on the requirement of the user, so that the user can further feel the game content based on the vibration feedback, and the game experience of the user is improved.

Description

Game vibration method, device, mobile terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of game control, in particular to a game vibration method, a game vibration device, a mobile terminal and a computer readable storage medium.
Background
With the rapid development of game technology, more and more people have the choice of playing games for entertainment and relaxation. At present, in order to provide better game experience for users, a plurality of game manufacturers develop a game vibration function in the game, so that the users are provided with real vibration feeling based on special scenes in the game, and the game experience and the entertainment effect of the users are improved. The existing game vibration scheme gives vibration feeling to the user as long as the game enters a special scene, and cannot give vibration feedback to the user flexibly based on the requirement of the user, so that the game experience of the user is reduced.
Disclosure of Invention
The invention mainly aims to provide a game vibration method, a game vibration device, a mobile terminal and a computer readable storage medium, and aims to solve the technical problem that the game experience of a user is reduced because the existing game vibration scheme cannot flexibly give vibration feedback to the user based on the requirement of the user.
In order to achieve the above object, an embodiment of the present invention provides a game vibration method, where the game vibration method includes:
acquiring control operation input by a user based on a current game interface, and detecting whether the control operation meets a preset condition;
when the control operation is detected to accord with the preset condition, adding a preset vibration mark on a game sound signal corresponding to the control operation;
and controlling the terminal equipment displaying the current game interface to vibrate according to the preset vibration mark.
Optionally, the step of detecting whether the control operation triggers a preset game shock control includes:
acquiring a touch area when a user inputs the control operation on a terminal equipment screen displaying the current game interface;
and when the touch control area belongs to a preset area of a game vibration control on the game interface, determining that the touch control operation triggers the preset game vibration control.
Optionally, the step of adding a preset vibration mark to the game sound signal mapped by the game vibration control includes:
detecting and outputting a game program of the current game interface, and extracting all game sound effects of the game program;
and in all the game sound effects, detecting the game sound signals mapped by the game vibration control, and adding a preset vibration mark on the game sound signals.
Optionally, if a game sound output event is detected, the step of controlling the terminal device displaying the current game interface to vibrate according to the preset vibration mark includes:
when the game program is detected to start outputting the game sound effect, determining the game sound signal as a vibration sound signal according to the preset vibration mark;
and extracting the vibration characteristic value of the vibration sound signal, and controlling and displaying the terminal equipment of the current game interface to vibrate according to the vibration characteristic value.
Optionally, the step of determining that the game sound signal is a vibration sound signal according to the preset vibration mark includes:
detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and taking the first game sound signal detected to contain the preset vibration mark as the vibration sound signal.
Optionally, the step of determining a vibration sound signal of all game sound signals of the game sound effect according to the preset vibration mark further includes:
detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and taking the second game sound signal which is detected not to contain the preset vibration mark as the vibration sound signal.
Optionally, the step of controlling, according to the preset vibration flag, to display vibration of the terminal device of the current game interface further includes:
detecting a sound output type to which the vibration sound signal belongs, wherein the sound output type comprises: continuous output and instantaneous output;
and controlling the terminal equipment to vibrate in a corresponding vibration type according to the sound output type.
In addition, to achieve the above object, the present invention also provides a game vibration device, including:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for detecting whether a preset game vibration control is triggered by control operation when the control operation input by an acquisition user based on a current game interface is detected;
the marking module is used for adding a preset vibration mark on a game sound signal mapped by the game vibration control when the game vibration control is triggered by the control operation;
and the vibration control module is used for controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark if a game sound output event is detected.
In addition, in order to achieve the above object, the present invention also provides a mobile terminal;
the mobile terminal includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program when executed by the processor implements the steps of the game shaking method as described above.
In addition, in order to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium has stored thereon a computer program which, when executed by a processor, carries out the steps of the game shaking method as described above.
According to the game vibration method, the game vibration device, the mobile terminal and the computer readable storage medium, when the control operation input by a user based on the current game interface is detected, whether the control operation triggers a preset game vibration control is detected; when the game vibration control is triggered by the control operation, adding a preset vibration mark on a game sound signal mapped by the game vibration control; and if a game sound output event is detected, controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark.
The method comprises the steps of obtaining a control operation input by a user based on a current game picture, triggering a game vibration control piece according to whether a touch area for detecting the input control operation belongs to a preset area for triggering a preset game vibration control piece on a current game interface, adding a preset vibration mark to a game sound signal mapped by the game vibration control piece in all game sound effects of a current game program when the touch area is detected to belong to the preset area, and controlling whether a terminal device for displaying the current game interface vibrates according to whether the preset vibration mark is contained in the game sound signal currently output when the current game program is detected to start outputting the game sound.
The method and the device realize that when the game sound effect triggered by the control operation input by the user based on the current game interface is detected, the preset vibration mark is added to the game sound signal triggered by the control operation input by the user so as to distinguish and set the vibration sound signal which needs vibration feedback by the user, and when the game program outputs the vibration sound signal, the terminal equipment currently displaying the game interface is controlled to vibrate according to the vibration characteristic value extracted from the determined vibration sound signal, so that the vibration feedback is flexibly given to the user based on the requirement of the user, the user can conveniently further feel the game content based on the vibration feedback, and the game experience of the user is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal according to an embodiment of the present invention;
FIG. 2 is a diagram of a wireless communication device of the mobile terminal of FIG. 1;
FIG. 3 is a schematic flow chart of a first embodiment of a vibration method for a game according to the present invention;
FIG. 4 is a functional block diagram of an embodiment of a game shaking device according to the present invention;
FIG. 5 is a schematic diagram of an application scenario of an embodiment of a game shaking method according to the present invention;
fig. 6 is a schematic diagram of a first interface of an embodiment of a mobile terminal according to the invention;
fig. 7 is a schematic diagram of a second interface of the mobile terminal according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
According to the specific implementation mode, the condition that a user clears cache data and retains important cache data for specific applications cannot be met
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores the game vibration program of the present invention. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. For example, the processor 110 executes the game shaking program stored in the memory 109 to implement the steps of the embodiments of the game shaking method of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown) and holds some user-specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The invention provides a game vibration method, which comprises the following steps:
when detecting that a user inputs control operation based on a current game interface, detecting whether the control operation triggers a preset game vibration control; when the game vibration control is detected to be triggered by the control operation, adding a preset vibration mark on a game sound signal mapped by the game vibration control; and if a game sound output event is detected, controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark.
Specifically, referring to fig. 3, in a first embodiment of the game vibration method, the game vibration method includes:
and S10, when detecting that a user inputs control operation based on the current game interface, detecting whether the control operation triggers a preset game vibration control.
When detecting that a user inputs control operation based on a screen of a terminal device displaying a current game interface, detecting whether the control operation input by the user on the screen of the current terminal device triggers a preset game vibration control.
It should be noted that the preset game vibration control is an instruction control for triggering vibration feedback on the current terminal device.
Specifically, for example, when it is detected that the user starts to input a sliding control operation or a touch and click control operation on a screen of a terminal device displaying a game interface at the current moment, it is detected whether the sliding control operation or the touch and click control operation currently input by the user triggers an instruction control preset on the current game interface to trigger vibration feedback on the current terminal device.
Further, in step S10, detecting whether the control operation triggers a preset game shock control includes:
step a, acquiring a touch area when a user inputs the control operation on a terminal equipment screen displaying the current game interface.
After detecting that a user inputs control operation based on a screen of a terminal device displaying a current game interface, acquiring a touch area which is in sliding control or touch and press clicking when the user inputs the control operation on the screen of the terminal device.
Specifically, for example, when it is detected that the user starts to input a sliding control operation or a touch and click control operation on a screen of a terminal device displaying a game interface at the current time, a touch area that is slide-controlled or touch and click on the screen of the current terminal device when the user inputs the sliding control operation or the touch and click control operation is detected and acquired.
And b, when the touch control area belongs to a preset area of a game vibration control on the game interface, determining that the touch control operation triggers the preset game vibration control.
When the touch control area which is in sliding control or touched and clicked by a user when the control operation is input by the user is detected to belong to the preset area of the preset game vibration control, the control operation input by the user at present is determined to trigger the preset game vibration control.
Specifically, for example, on the terminal interface shown in fig. 6, when the acquired user input sliding control operation or touch-press click control operation is detected, a touch area that is currently slide-controlled or touch-pressed and clicked on the screen of the terminal device belongs to a preset game vibration control, and when the preset area of the game interface displayed on the terminal device is detected, it is determined that the control operation input by the current user triggers the preset game vibration control.
And step S20, when the game vibration control is triggered by the control operation, adding a preset vibration mark on the game sound signal mapped by the game vibration control.
And after the control operation input by the user currently triggers the preset game vibration control is determined, detecting a game sound signal mapped by the game vibration control in all game sound effects of the current game program, and adding a preset vibration mark on the game sound signal.
The preset vibration mark is a mark for distinguishing a game sound signal triggered by the user from game sound signals triggered by other players in the current game program.
Specifically, for example, when it is detected that a touch area touched by sliding or clicking belongs to a preset area of a preset game vibration control in a current game interface on a screen of the current terminal device when a user input control operation is detected, after it is determined that the preset game vibration control is triggered by the control operation currently input by the user, the game vibration control triggered by the current user is detected, a specified game sound signal is mapped in all game sound effects of the currently running game program, and a mark for distinguishing the game sound signal triggered by the user from game sound signals triggered by other players in the current game program is added to the game sound signal.
Further, in step S20, adding a preset vibration mark to the game sound signal mapped by the game vibration control includes:
and c, detecting and outputting the game program of the current game interface, and extracting all game sound effects of the game program.
And detecting the game program running on the terminal equipment to which the current game interface belongs, and extracting all game sound effects in the current running game program.
Specifically, for example, a game program for outputting a game interface displayed on the current screen of the terminal device is detected, and all game sound effects in the game program are extracted.
And d, detecting the game sound signal mapped by the game vibration control in all the game sound effects, and adding a preset vibration mark on the game sound signal.
And detecting game vibration control pieces triggered based on the control operation of the user in all the extracted game sound effects, mapping game sound signals, and adding preset vibration marks on the game sound signals.
Specifically, for example, after all the game sound effects are extracted from the game program currently running in the terminal device, and then, in all the current game sound effects, based on the game sound signal "gunshot" or "torpedo explosion" or the like, which is mapped and specified by the game vibration control triggered when the user inputs a control operation on the screen of the current terminal device, a flag "1" for distinguishing the game sound signal triggered by the user from the game sound signal triggered by another player in the current game program is added to the detected game sound signal "gunshot" or "torpedo explosion" mapped and specified by the game vibration control.
And step S30, if a game sound output event is detected, controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark.
When the game sound output by the current game program is detected, whether a preset vibration mark is contained in a currently output game sound signal is detected, and whether the current terminal equipment vibrates or not is controlled according to a detection result.
Specifically, for example, when it is detected that a game program currently running on the terminal device starts to output game sound effects, whether a preset vibration mark is included in an output game sound signal is detected, and whether a vibration module of the terminal device running the current game program is controlled to perform vibration feedback is determined according to the detection result.
It should be noted that the vibration module in the terminal device includes a sheet-shaped high-sensitivity vibration module, a single-phase electromagnet vibration module, a linear vibration motor, and other vibration actuators.
Further, step S30 includes:
and e, when the game program is detected to start outputting the game sound effect, determining the game sound signal as a vibration sound signal according to the preset vibration mark.
And when detecting that the game program currently running in the terminal equipment starts to output the game sound effect, determining the current game sound signal as a vibration sound signal for controlling the current terminal equipment to vibrate and feed back according to the game sound signal in the current game sound effect.
Specifically, for example, when it is detected that a game program currently running on the terminal device starts to output a game sound effect such as "gunshot" or "tornado explosion", the current game sound signal is determined as a shake sound signal for controlling the current terminal device to perform shake feedback, based on whether the current game sound signal "-" gunshot "or" tornado explosion "includes a flag" - "1" for distinguishing the game sound signal triggered by the user from the game sound signals triggered by other players in the current game program.
And f, extracting the vibration characteristic value of the vibration sound signal, and controlling and displaying the terminal equipment of the current game interface to vibrate according to the vibration characteristic value.
And extracting a vibration characteristic value for controlling the current terminal equipment to perform vibration feedback from the determined vibration sound signal, and controlling the current terminal equipment to perform vibration according to the vibration characteristic value.
Specifically, for example, in the application scenario shown in fig. 6, after "gunshot" or "thunder explosion" including a flag "-" 1 "for distinguishing a game sound signal triggered by the user from game sound signals triggered by other players in the current game program is determined as a shake sound signal in all sound effects of the game program run by the current terminal device, when the current game program is triggered to output the" gunshot "or" thunder explosion "including a preset shake flag" - "1" based on a game shake control triggered by the user, the shake module of the current terminal device is controlled to perform shake feedback according to a shake feature value extracted from the gunshot.
In the embodiment, when the control operation input by a user based on the current game interface is detected, whether the control operation triggers a preset game vibration control is detected; when the game vibration control is detected to be triggered by the control operation, adding a preset vibration mark on a game sound signal mapped by the game vibration control; and if a game sound output event is detected, controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark.
When detecting that a user inputs control operation based on a screen of a terminal device displaying a current game interface, detecting whether the control operation input by the user on the screen of the current terminal device triggers a preset game vibration control, after determining that the preset game vibration control is triggered by the control operation input by the user at present, detecting game sound signals mapped by the game vibration control in all game sound effects of the current game program, adding a preset vibration mark to the game sound signals, when detecting that the game sound is output by the current game program, detecting whether the preset vibration mark is contained in the currently output game sound signals, and controlling whether the current terminal device vibrates according to a detection result.
The method and the device realize that when the game sound effect triggered by the control operation input by the user based on the current game interface is detected, the preset vibration mark is added to the game sound signal triggered by the control operation input by the user so as to distinguish and set the vibration sound signal which needs vibration feedback by the user, and when the game program outputs the vibration sound signal, the terminal equipment currently displaying the game interface is controlled to vibrate according to the vibration characteristic value extracted from the determined vibration sound signal, so that the vibration feedback is flexibly given to the user based on the requirement of the user, the user can conveniently further feel the game content based on the vibration feedback, and the game experience of the user is improved.
Further, on the basis of the first embodiment of the game vibration method of the present invention, a second embodiment of the game vibration method of the present invention is proposed, and in the second embodiment of the game vibration method of the present invention, in step e of the game vibration method of the present invention, the step of determining the game sound signal as the vibration sound signal according to the preset vibration mark includes:
step e1, detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one.
When detecting that the current running game program of the terminal equipment starts to output game sound effects, detecting whether preset vibration marks are contained in each game sound signal of all the sound effects one by one.
Specifically, for example, when it is detected that a game program currently running on the terminal device starts to output a game sound effect such as "gunshot" or "torpedo explosion sound", it is detected one by one whether the game sound effect such as the "gunshot" or "torpedo explosion sound" includes a flag "-" 1 "for distinguishing a game sound signal triggered by the user from a game sound signal triggered by another player in the current game program.
And e2, taking the first game sound signal detected to contain the preset vibration mark as the vibration sound signal.
And determining the first game sound containing a preset vibration mark in the detected game sound effect output in the current game program as a vibration sound signal.
Specifically, for example, a first game sound "gunshot" and a "tornado explosion sound" containing a preset vibration mark — 1 "in the detected game sound effect output by the current game program are determined as vibration sound signals for controlling the current terminal device to perform vibration feedback.
Further, in another embodiment, the step of determining the game sound signal as a vibration sound signal according to the preset vibration flag further includes:
and e3, detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one.
When detecting that the current running game program of the terminal equipment starts to output game sound effects, detecting whether preset vibration marks are contained in each game sound signal of all the sound effects one by one.
Specifically, for example, when it is detected that a game program currently running on the terminal device starts to output a game sound effect such as "gunshot" or "tornado" and the like, it is detected one by one whether the game sound effect such as "gunshot" or "tornado" contains a flag "-" 1 "for distinguishing a game sound signal triggered by the user from a game sound signal triggered by another player in the current game program.
And e4, taking the second game sound signal which is detected not to contain the preset vibration mark as the vibration sound signal.
And determining the second game sound without the preset vibration mark in the detected game sound effect output in the current game program as a vibration sound signal.
Specifically, for example, the detected game sound effect output by the current game program contains a second game sound other than a preset vibration mark-1, namely a "gunshot sound" and a "tornado explosion sound", and is determined as a vibration sound signal for controlling the current terminal equipment to perform vibration feedback.
Further, in step S30 in the first embodiment, the controlling, according to the preset vibration mark, the terminal device displaying the current game interface to vibrate further includes:
and g, detecting the sound output type of the vibration sound signal.
The determined vibration sound signal is detected as belonging to a sound output type among output types of all game sound effects.
It should be noted that the sound output types of the game sound signals in the game sound effects include, but are not limited to: continuous output and instantaneous output.
Specifically, for example, in the terminal interface schematic diagram shown in fig. 7, after determining "gun sound" and "torpedo explosion sound" containing a preset vibration flag — 1 "or" gun sound "and" torpedo explosion sound "not containing a preset vibration flag — 1" as vibration sound signals for controlling current terminal equipment to perform vibration feedback, detecting the triggered "gun sound" and "torpedo explosion sound" sound trigger control, if the sound trigger control is a "first type sound trigger control", determining that the current vibration sound signal belongs to the type of continuous output, and if the sound trigger control is a "second type sound trigger control", determining that the current vibration sound signal belongs to the type of instantaneous output.
And h, controlling the terminal equipment to vibrate in a corresponding vibration type according to the sound output type.
And controlling the terminal equipment displaying the current game interface to perform vibration feedback of corresponding types according to the sound output type of the current vibration sound signal.
Specifically, for example, when the vibration sound signal output by the current game program is a "gunshot" signal belonging to a continuous output type, the vibration module in the terminal device displaying the current game interface is controlled to perform vibration feedback with lower vibration intensity but longer vibration time; or, when the vibration sound signal output by the current game program is a 'grenade explosion sound' belonging to an instant output type, controlling the vibration module in the terminal equipment displaying the current game interface to perform vibration feedback with higher vibration intensity but shorter vibration time.
In this embodiment, whether the preset vibration mark is included in the game sound signal in the game sound effect is detected one by one; taking the first game sound signal detected to contain the preset vibration mark as the vibration sound signal; or using a second game sound signal detected not to contain the preset vibration mark as the vibration sound signal; detecting a sound output type to which the vibration sound signal belongs, wherein the sound output type comprises: continuous output and instantaneous output; and controlling the terminal equipment to vibrate in a corresponding vibration type according to the sound output type.
When the game sound effect is detected to be output by the game program currently running by the terminal equipment, whether preset vibration marks are contained in all game sound signals of all the sound effects is detected one by one, the first game sound containing the preset vibration marks in the game sound effects detected to be output by the current game program is determined as a vibration sound signal, or the second game sound not containing the preset vibration marks in the game sound effects detected to be output by the current game program is determined as a vibration sound signal, the determined vibration sound signal is detected and belongs to the sound output type in all the output types of the game sound effects, and the terminal equipment displaying the current game interface is controlled to perform vibration feedback of the corresponding type according to the sound output type to which the current vibration sound signal belongs.
The method and the device realize that the current marked self-triggered game sound is set according to the independent selection of a user, or the unmarked game sound triggered by other players in the current game program is a vibration sound signal for controlling the current terminal equipment to perform vibration feedback, and after the vibration sound signal is determined, the current terminal equipment is controlled to perform different types of vibration feedback according to different sound output types of the vibration sound signal, so that the device is flexibly and intelligently subjected to various types of vibration according to the self-triggered sound of the user or the triggered sound of other players, the user can conveniently sense the current vibration feedback opportunity and the vibration type, the specific operation is currently performed, and the game experience of the user is further improved.
In addition, referring to fig. 5, an embodiment of the present invention further provides a game vibration device, where the game vibration device includes:
the acquisition module is used for detecting whether the control operation triggers a preset game vibration control or not when detecting that the acquisition user inputs the control operation based on the current game interface;
the marking module is used for adding a preset vibration mark on a game sound signal mapped by the game vibration control when the game vibration control is triggered by the control operation;
and the vibration control module is used for controlling and displaying the terminal equipment of the current game interface to vibrate according to the preset vibration mark if a game sound output event is detected.
Optionally, the obtaining module includes:
the touch area acquisition unit is used for acquiring a touch area when a user inputs the control operation on a terminal equipment screen displaying the current game interface;
and the control trigger confirmation unit is used for determining that the touch operation triggers the preset game vibration control when the touch area belongs to the preset area of the game vibration control on the game interface.
Optionally, a marking module comprising:
the detection extraction unit is used for detecting and outputting the game program of the current game interface and extracting all game sound effects of the game program;
and the detection marking unit is used for detecting the game sound signal mapped by the game vibration control in all the game sound effects and adding a preset vibration mark on the game sound signal.
Optionally, the shock control module comprises:
the vibration signal determining unit is used for determining the game sound signal as a vibration sound signal according to the preset vibration mark when the game program is detected to start outputting the game sound effect;
and the first vibration control unit extracts the vibration characteristic value of the vibration sound signal and controls and displays the current terminal equipment of the game interface to vibrate according to the vibration characteristic value.
Optionally, the shock determination unit comprises:
the mark detection unit is used for detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and a first signal determination unit which takes the first game sound signal detected to contain the preset vibration mark as the vibration sound signal.
Optionally, the shock determination unit further comprises:
the mark detection unit is used for detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and a second signal determination unit which takes the second game sound signal detected not to contain the preset vibration mark as the vibration sound signal.
Optionally, the vibration control module further includes:
a type detection unit that detects a sound output type to which the vibration sound signal belongs, the sound output type including: continuous output and instantaneous output;
and the second vibration control unit controls the terminal equipment to vibrate in a corresponding vibration type according to the sound output type.
The steps implemented by each functional module of the game vibration device can refer to each embodiment of the game vibration method of the present invention, and are not described herein again.
The present invention also provides a mobile terminal, comprising: a memory, a processor, a communication bus, and a game shake program stored on the memory:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the processing program of the game picture so as to realize the steps of the game vibration method in each embodiment.
The present invention also provides a computer readable storage medium storing one or more programs which are also executable by one or more processors for implementing the steps of the embodiments of the game shaking method described above.
The specific implementation of the computer readable storage medium of the present invention is substantially the same as the embodiments of the game vibration method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A game vibration method, comprising:
when detecting that a user inputs control operation based on a current game interface, detecting whether the control operation triggers a preset game vibration control;
detecting and outputting a game program of the current game interface, and extracting all game sound effects of the game program;
detecting game sound signals mapped by the game vibration control in all the game sound effects, and adding a preset vibration mark on the game sound signals;
when the game program is detected to start outputting the game sound effect, determining the game sound signal as a vibration sound signal according to the preset vibration mark;
and extracting the vibration characteristic value of the vibration sound signal, and controlling and displaying the current terminal equipment of the game interface to vibrate according to the vibration characteristic value.
2. The game vibration method of claim 1, wherein the step of detecting whether the control operation triggers a preset game vibration control comprises:
acquiring a touch area when a user inputs the control operation on a terminal equipment screen displaying the current game interface;
and when the touch control area belongs to a preset area of a game vibration control on the game interface, determining that the touch control operation triggers the preset game vibration control.
3. The game vibration method of claim 1, wherein said step of determining said game sound signal as a vibration sound signal based on said predetermined vibration flag comprises:
detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and taking the first game sound signal detected to contain the preset vibration mark as the vibration sound signal.
4. The game vibration method according to claim 1, wherein said step of determining vibration sound signals among all game sound signals of the game sound effect according to the preset vibration mark further comprises:
detecting whether the game sound signals in the game sound effect contain the preset vibration marks one by one;
and taking the second game sound signal which is detected not to contain the preset vibration mark as the vibration sound signal.
5. The game vibration method according to any one of claims 1 to 4, wherein the step of controlling the terminal device displaying the current game interface to vibrate according to the preset vibration mark further comprises:
detecting a sound output type to which the vibration sound signal belongs, wherein the sound output type comprises: continuous output and instantaneous output;
and controlling the terminal equipment to vibrate in a corresponding vibration type according to the sound output type.
6. A game vibration device, comprising:
the acquisition module is used for detecting whether the control operation triggers a preset game vibration control or not when detecting that the acquisition user inputs the control operation based on the current game interface;
the marking module is used for detecting and outputting a game program of the current game interface and extracting all game sound effects of the game program; detecting game sound signals mapped by the game vibration control in all the game sound effects, and adding a preset vibration mark on the game sound signals;
the vibration control module is used for determining the game sound signal as a vibration sound signal according to the preset vibration mark when detecting that the game program starts to output the game sound effect; and extracting the vibration characteristic value of the vibration sound signal, and controlling and displaying the terminal equipment of the current game interface to vibrate according to the vibration characteristic value.
7. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and a game vibration program stored on the memory and executable on the processor, the vibration program when executed by the processor implementing the steps of the game vibration method as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, having a game vibration program stored thereon, which when executed by a processor implements the steps of the game vibration method of any one of claims 1 to 5.
CN201910066105.XA 2019-01-23 2019-01-23 Game vibration method, device, mobile terminal and computer readable storage medium Active CN109701266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910066105.XA CN109701266B (en) 2019-01-23 2019-01-23 Game vibration method, device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910066105.XA CN109701266B (en) 2019-01-23 2019-01-23 Game vibration method, device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109701266A CN109701266A (en) 2019-05-03
CN109701266B true CN109701266B (en) 2023-03-24

Family

ID=66262721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910066105.XA Active CN109701266B (en) 2019-01-23 2019-01-23 Game vibration method, device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109701266B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385418B (en) * 2020-05-28 2020-09-18 北京小米移动软件有限公司 Vibration method, system and device for mobile terminal
CN111760271B (en) * 2020-06-30 2024-06-07 歌尔科技有限公司 Control method, device, equipment and system
CN111773674A (en) * 2020-07-15 2020-10-16 网易(杭州)网络有限公司 Instruction processing method in game and electronic equipment
CN111966278B (en) * 2020-08-28 2022-03-25 网易(杭州)网络有限公司 Prompting method of terminal equipment, terminal equipment and storage medium
CN112657179A (en) * 2020-12-31 2021-04-16 上海艾为电子技术股份有限公司 Motor control method, control system and control chip
CN112803828B (en) * 2020-12-31 2023-09-01 上海艾为电子技术股份有限公司 Motor control method, control system and control chip
CN113181632A (en) * 2021-04-22 2021-07-30 网易(杭州)网络有限公司 Information prompting method and device, storage medium and computer equipment
CN113821138A (en) * 2021-09-23 2021-12-21 维沃移动通信有限公司 Prompting method and device and electronic equipment
CN115344123A (en) * 2022-08-26 2022-11-15 润芯微科技(江苏)有限公司 Method and system for feeding back user operation accuracy based on vibration sound

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325828A (en) * 2003-04-25 2004-11-18 Namco Ltd Simulator, program, and information storage medium
CN103893971B (en) * 2012-12-25 2015-05-27 腾讯科技(深圳)有限公司 Game sound effect generating method and client
US9411422B1 (en) * 2013-12-13 2016-08-09 Audible, Inc. User interaction with content markers
JP6361872B2 (en) * 2014-07-09 2018-07-25 任天堂株式会社 Vibration generation system, vibration generation device, vibration signal generation program, and vibration generation method
CN106730831A (en) * 2016-12-31 2017-05-31 深圳市达实智控科技股份有限公司 Multi-platform vibration earphone and vibrations handle combined control system
CN106648113A (en) * 2017-01-11 2017-05-10 维沃移动通信有限公司 Message vibration prompting method and mobile terminal

Also Published As

Publication number Publication date
CN109701266A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN109701266B (en) Game vibration method, device, mobile terminal and computer readable storage medium
CN107835464B (en) Video call window picture processing method, terminal and computer readable storage medium
CN109040445B (en) Information display method, dual-screen mobile terminal and computer readable storage medium
CN109224436B (en) Virtual key definition method based on game interface, terminal and storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN109151216B (en) Application starting method, mobile terminal, server and computer readable storage medium
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN111324407A (en) Animation display method, terminal and computer readable storage medium
CN112188058A (en) Video shooting method, mobile terminal and computer storage medium
CN110052024B (en) Game vibration adjusting method, adjusting device, mobile terminal and storage medium
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN108744505B (en) Rate control method, terminal and computer readable storage medium
CN108260009B (en) Video processing method, mobile terminal and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN112866685A (en) Screen projection delay measuring method, mobile terminal and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN109669616B (en) Side screen interaction control method and device and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN108897451B (en) Main and auxiliary display screen identification method, mobile terminal 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
GR01 Patent grant
GR01 Patent grant