CN115463414A - Game operation method, system and computer readable storage medium - Google Patents
Game operation method, system and computer readable storage medium Download PDFInfo
- Publication number
- CN115463414A CN115463414A CN202211213884.XA CN202211213884A CN115463414A CN 115463414 A CN115463414 A CN 115463414A CN 202211213884 A CN202211213884 A CN 202211213884A CN 115463414 A CN115463414 A CN 115463414A
- Authority
- CN
- China
- Prior art keywords
- game
- information
- operation instruction
- scene information
- terminal
- 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
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- 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/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/33—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
- A63F13/335—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections using Internet
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/40—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
- A63F2300/407—Data transfer via internet
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6045—Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a game operation method, which is applied to a game system, wherein the game system comprises a terminal and peripheral equipment, and the method comprises the following steps: the terminal acquires current game information; determining an operation type according to a game type corresponding to the game information; acquiring a first operation instruction according to the operation type; identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information; generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral equipment; and the peripheral equipment responds to the operating parameters and adjusts corresponding attributes according to the operating parameters. Through the embodiment, the user can dynamically adjust the operation parameters according to the game types and the pictures in the process of operating the terminal through the peripheral equipment, so that the user can experience different operation characteristics of different games, and the game experience is improved.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a game operating method, a terminal, and a computer-readable storage medium.
Background
With the continuous progress of electronic technology, games played through terminals such as computers and smart phones are increasingly common. During the game, sometimes, the game operation needs to be performed through an external device. In the prior art, the external device can only be simply operated when being operated, cannot be dynamically adjusted according to different games, and is poor in experience.
Disclosure of Invention
The main purpose of the present application is to provide a game operation method, a game operation system, and a computer-readable storage medium, which aim to adjust control parameters of a peripheral device in real time according to a game scene, implement an immersive operation process, and enhance game experience.
In order to achieve the above object, the present application provides a game operation method applied to a game system, where the game system includes a terminal and a peripheral device, the method includes:
the terminal acquires current game information;
determining an operation type according to a game type corresponding to the game information;
acquiring a first operation instruction according to the operation type;
identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information;
generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral equipment;
and the peripheral equipment responds to the operating parameters and adjusts corresponding attributes according to the operating parameters.
Optionally, the obtaining, by the terminal, current game information includes:
acquiring process name information corresponding to the game information;
judging whether the process name information exists in a preset white list or not;
when the process name information exists in the preset white list, determining a game type corresponding to the game information according to the white list;
and when the process name information does not exist in the preset white list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to the return information of the preset server.
Optionally, the game types include: networking, single-machine, shooting, competition, role playing and card turning;
the operation type is matched with the game type.
Optionally, the obtaining the first operation instruction according to the operation type includes:
acquiring corresponding parameter adjusting ranges under different types according to the operation types, wherein the parameter adjusting ranges correspond to adjustable value intervals of the parameters;
and generating a first operation instruction aiming at the parameters according to the parameter adjusting range, wherein the parameters comprise damping, vibration strength, sensitivity and pressing force.
Optionally, the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring picture content to be displayed by the terminal;
identifying characteristic information in the picture content;
determining scene information corresponding to the picture content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
Optionally, the identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information includes:
acquiring audio content to be played by the terminal;
identifying characteristic information in the audio content;
determining scene information corresponding to the audio content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
Optionally, the obtaining, according to a preset scene information table, a second operation instruction corresponding to the scene information includes:
searching matched scene information in the preset scene information table;
determining the adjusting direction and the adjusting amplitude of the corresponding parameters according to the matched scene information, wherein the adjusting direction comprises an increasing direction and a decreasing direction;
and generating a second operation instruction according to the adjusting direction and the adjusting amplitude.
Optionally, the generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral device includes:
analyzing the second operation instruction, and judging whether the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are positioned in the parameter adjustment range corresponding to the first operation instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction are within the parameter adjusting range, generating an operating parameter according to the second operating instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction exceed the parameter adjusting range, determining an adjusting threshold according to the second operating instruction and the parameter adjusting range corresponding to the first operating instruction, and generating an operating parameter according to the second operating instruction and the adjusting threshold.
The present application also provides a game operating system, including:
a peripheral device;
and the terminal is connected with the peripheral equipment and comprises a memory and a processor, wherein the processor comprises a control instruction, and when the processor reads the control instruction, the terminal is controlled to realize the game operation method.
The present application also provides a computer-readable storage medium having one or more programs, which are executed by one or more processors to implement the game operating method described above.
According to the game operation method, the game operation system and the computer readable storage medium, the corresponding first operation instruction is obtained by obtaining the current game type of the terminal; furthermore, a second operation instruction is generated according to the current game scene, the corresponding operation parameters are more finely and accurately modified by combining the first operation instruction and the second operation instruction, and the operation parameters are sent to the peripheral equipment, so that a user can dynamically adjust the operation parameters according to the game types and the pictures in the peripheral operation process, the difference of the operation characteristics of different games can be realized, the game process is more targeted and strong in immersion, and the game experience is improved.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present application;
FIG. 2 is a flow chart of a method of operating a game according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a game operating system according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
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 configuration 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 duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
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 used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing 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 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process 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 the backlight when the mobile terminal 100 moves 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 resistive, capacitive, infrared, and 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, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation 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 the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate 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, and 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 as well as various data. 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 for 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, 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 integrally monitoring the mobile terminal. Processor 110 may include one or more processing units; preferably, 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 preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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.
Based on the hardware structure of the mobile terminal, various embodiments of the method are provided.
FIG. 2 is a flow chart of an embodiment of a method of operating a game provided herein. Once the method of this embodiment is triggered by a user, the process in this embodiment automatically runs through a terminal, where each step may be performed sequentially according to the sequence in the flowchart, or may be performed simultaneously according to a plurality of steps in an actual situation, which is not limited herein. In this embodiment, the game operating method is applied to a game system, where the game system includes a terminal and a peripheral device, the terminal may be a mobile terminal as described in fig. 1, or other terminals such as a computer, a tablet computer, and a VR device, and the embodiment of the present application is not limited thereto. This terminal is connected with peripheral equipment, peripheral equipment includes: display screen, keyboard, mouse, touch pad, handle. According to different game scenes, the peripheral device may further include: toy gun, steering wheel, game cabin, VR input device, etc., but the embodiment is not limited thereto. The connection mode of the terminal and the peripheral equipment can be wired connection or wireless connection. In this embodiment, the game operation method provided by the present application includes the following steps:
step S201, the terminal acquires current game information;
step S202, determining an operation type according to a game type corresponding to the game information;
step S203, acquiring a first operation instruction according to the operation type;
step S204, identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information;
step S205, generating operation parameters according to the first operation instruction and the second operation instruction, and sending the operation parameters to the peripheral equipment;
and S206, responding the operating parameters by the peripheral equipment, and adjusting corresponding attributes according to the operating parameters.
Through the embodiment, the corresponding first operation instruction is obtained by obtaining the current game type of the terminal; furthermore, a second operation instruction is generated according to the current game scene, the corresponding operation parameters are modified more finely and accurately by combining the first operation instruction and the second operation instruction, and the operation parameters are sent to the peripheral equipment, so that a user can experience different operation feelings of different games in the peripheral operation process, and can experience different operation controls in real time according to game contents and scenes, the game process is more targeted and strong in immersion, and the game experience is improved.
The above steps will be specifically described with reference to specific examples.
In step S201, the terminal acquires current game information.
Specifically, due to the variety of games, the requirements for control parameters are different in different game scenes. For example, shooting games have high requirements on operation sensitivity; such as networked games, the delay for control operations cannot be high. Further, in the game, different control requirements exist for different scene. For example, if the game character is on an uphill slope in the current scene, the user can be immersed in real time by adjusting the key pressure, the damping and the like. Therefore, in this embodiment, the game information of the terminal is first obtained, that is, the specific type of the game is first identified and determined, so as to facilitate subsequent adjustment and modification of the control parameters according to the specific type.
In an optional embodiment, the step S201 may further include the following steps:
step S2011, acquiring process name information corresponding to the game information;
step S2012, determining whether the process name information exists in a preset white list;
step S2013, when the process name information exists in the preset white list, determining a game type corresponding to the game information according to the white list;
step S2014 is to send a request instruction to a preset server when the process name information does not exist in the preset white list, and determine the game type corresponding to the game information according to the return information of the preset server.
Specifically, in this embodiment, first, the course name information of the game is acquired. For convenience of judgment, the terminal may preset a white list, where the white list includes process name information corresponding to most of the game applications, and may be used to identify a specific type of the current game application. The game types include: networking, single-machine, shooting, sports, role-playing, and card round. In other embodiments, the white list may also be updated in real-time over the network. The white list may also be dynamically adjusted due to the constantly updated number of games. When the acquired process name information is not in the white list, in order to perform judgment more accurately and prevent misjudgment, the process name information can be sent to a preset server to realize real-time judgment, so that more accurate judgment is realized. That is, the determination may be performed not only by the white list of the local side but also by the server of the network side.
In step S202, an operation type is determined according to a game type corresponding to the game information.
Specifically, in this embodiment, the game types include: networking, single-machine, shooting, sports, role-playing, and card round. After the game type is determined, the corresponding operation type is determined.
Because the types of games are many and the operation modes and control modes corresponding to different games are different, different operation types need to be determined according to different game types. In this embodiment, the game types include: networking, single-machine, shooting, sports, role-playing, and card round. The operation type is matched with the game type. In other embodiments, the game types may further include: virtual displays, racing cars, etc. The embodiments of the present application are not limited thereto.
In step S203, a first operation instruction is obtained according to the operation type.
Specifically, in this embodiment, after the operation type is obtained, parameter adjustment ranges corresponding to different types are obtained according to the operation type, where the parameter adjustment ranges correspond to adjustable value intervals of the parameters; and generating a first operation instruction aiming at the parameters according to the parameter adjusting range, wherein the parameters comprise damping, vibration strength, sensitivity and pressing force. Different parameters can be corresponded according to different external devices. For example, when the peripheral device is a keyboard, the parameters may be different key damping and pressing pressure degrees corresponding to keys of the keyboard; when the peripheral equipment is a mouse, the control parameter can be the sensitivity corresponding to the mouse and the like; when the peripheral equipment is a handle, the control parameter can be the vibration intensity corresponding to the handle and the like.
In this embodiment, parameter adjustment ranges corresponding to different types are obtained according to the types of the control parameters, and the parameter adjustment ranges correspond to adjustable value intervals of the parameters. For example, when the game type is a shooting type, the parameter adjustment range may include an adjustable value range of the sensitivity; when the game type is a role playing type, the parameter adjustment range may include an adjustable value interval of the damping or pressing force. Those skilled in the art can understand that, according to different game types, the types of parameters are different, and the corresponding parameter adjustment ranges may also be greatly different, and the embodiment is not limited thereto.
In step S204, game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information.
Specifically, in the embodiment, in order to more finely adjust control parameters in different game scenes, scene information to be displayed of the terminal is further acquired, and a second operation instruction is generated according to the scene information. That is, in this embodiment, the parameters are adjusted according to the current game scene dynamics, so that the operation is more immersive and targeted. Because scenes with very large differences, such as dynamic scenes, static scenes, scenes with different light rays, internal environments of different games and the like, can also exist in the same game, at the moment, the scene information can be identified dynamically, so that the adjustment can be more accurately carried out, and the user experience is improved.
In an optional embodiment, the step S204 may further include the following steps:
step S2041, obtaining the picture content to be displayed by the terminal;
step S2042, identifying characteristic information in the picture content;
step S2043, determining scene information corresponding to the picture content according to the feature information;
step S2044, according to a preset scene information table, obtaining a second operation instruction corresponding to the scene information.
Specifically, in the present embodiment, scene recognition is performed through a screen. The method comprises the steps of identifying characteristic information in a picture by acquiring the content of the picture to be displayed, and determining scene information of the current picture to be displayed according to the characteristic information. The picture content can be identified by acquiring image frames of the content to be displayed, and the characteristic information refers to corresponding characteristics for representing the scene. For example, the characteristic information may be a special character, a pattern, or a game object. After the corresponding feature information is identified through the picture, the corresponding scene can be determined. For example, through the picture recognition, it is recognized that a gun exists in the picture content, at this time, the gun serves as feature information to represent that the current game is in a shooting scene, and at this time, a second operation instruction in the shooting scene is correspondingly obtained. Further, according to a preset scene information table, a corresponding second operation instruction is obtained. The scene information table can be preset, and the scene information table comprises adjustment modes of parameters corresponding to different scenes under various game scenes. And after the specific picture is identified and the scene is determined, acquiring a specific second operation instruction according to a preset scene information table.
In another alternative embodiment, the step S204 may further include the steps of:
step S2045, obtaining the audio content to be played by the terminal;
step S2046, identifying characteristic information in the audio content;
step S2047, determining scene information corresponding to the audio content according to the feature information;
step S2048, according to a preset scene information table, obtaining a second operation instruction corresponding to the scene information.
Specifically, in this embodiment, the recognition is performed according to the audio frequency of the current scene information. The method comprises the steps of identifying whether characteristic information exists in audio content or not by acquiring the audio content to be played, and determining scene information according to the characteristic information. Similarly, in this embodiment, the second operation instruction corresponding to different scenes is also determined by a preset scene information table. In identifying the audio content, the feature information refers to the corresponding feature audio that can be used to characterize the scene. For example, the feature information is a gunshot, and the current scene can be characterized as a shooting scene. And after the specific audio is identified and the scene is determined, acquiring a specific second operation instruction according to a preset scene information table.
In another optional embodiment, step S2044 may further include the steps of:
step S20441, searching for matched scene information in the preset scene information table;
step S20442, determining the adjusting direction and the adjusting amplitude of the corresponding control parameter according to the matched scene information, wherein the adjusting direction comprises increasing and decreasing;
step S20443, a second operation instruction is generated according to the adjustment direction and the adjustment amplitude.
Specifically, in this embodiment, after the scene information is determined, whether the matched scene information exists is searched in a preset scene information table. If the parameter exists, determining the adjustment information of the subsequent parameters according to the matched scene information, wherein the adjustment information comprises an adjustment direction and an adjustment amplitude. For example, the adjustment direction may be up or down. The modulation amplitude may be an interval range value or a percentage amplitude value. And generating a corresponding second operation instruction according to the acquired adjusting direction and adjusting amplitude.
It is understood that step S2048 may also include steps S20441 to S20443, which is not limited to this embodiment of the present application.
In step S205, an operation parameter is generated according to the first operation instruction and the second operation instruction, and the operation parameter is sent to the peripheral device.
Specifically, in this embodiment, the peripheral device includes: keyboard, handle and mouse. After the second operation instruction is determined, it is further required to determine whether the adjustment direction and the amplitude corresponding to the second operation instruction exceed the parameter adjustment range corresponding to the previous first operation instruction.
For example, if it is determined that the vibration intensity in the current parameter adjustment range is 3-8 according to the game type, and the second operation command determined according to the game scene exceeds the range, it is necessary to combine the two to obtain a final operation parameter, so as to avoid that the corresponding parameter exceeds the first operation command to limit the parameter adjustment range.
In another optional embodiment, the step S205 may further include the steps of:
step S2051, analyzing the second operation instruction, and judging whether the adjusting direction and the adjusting amplitude corresponding to the second operation instruction are within the parameter adjusting range corresponding to the first operation instruction;
step S2052, if the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are within the parameter adjustment range, generating an operation parameter according to the second operation instruction;
step S2053, if the adjustment direction and the adjustment amplitude corresponding to the second operation instruction exceed the parameter adjustment range, determining an adjustment threshold according to the second operation instruction and the parameter adjustment range corresponding to the first operation instruction, and generating an operation parameter according to the second operation instruction and the adjustment threshold.
Specifically, when the adjusting direction and the adjusting amplitude are within the parameter adjusting range, the parameter is directly modified according to the second operation instruction; when the adjustment direction and the adjustment amplitude exceed the parameter adjustment range, the adjustment threshold needs to be determined according to the second operation instruction and the parameter adjustment range, and the operation parameter is generated according to the adjustment threshold, that is, the finally modified operation parameter cannot exceed the parameter adjustment range.
In step S206, the peripheral device responds to the operation parameter, and adjusts the corresponding attribute according to the operation parameter.
Specifically, in this embodiment, the corresponding operating parameters are different according to different peripheral devices. When the peripheral device is a keyboard, the corresponding operating parameter may be a parameter value of key damping and a corresponding value of key pressure, and further, the key may be a key of a designated area or a specific key. For example, the key may be a designated WASD key or a direction area key. When the peripheral device is a mouse, the corresponding operation parameter may be the sensitivity of the mouse, etc. After the peripheral equipment receives the operation parameters, the attribute value of the current peripheral equipment is updated in real time according to the operation parameters, so that the presence can be added, and the game experience is improved.
Through the embodiment, the corresponding first operation instruction is obtained by obtaining the current game type of the terminal; furthermore, a second operation instruction is generated according to the current game scene, the corresponding operation parameters are more finely and accurately modified by combining the first operation instruction and the second operation instruction, and the operation parameters are sent to the peripheral equipment, so that a user can experience different operation feelings of different games in the peripheral operation process, and can experience different operation controls in real time according to game contents and scenes, so that the game process is more targeted and has strong immersion, and the game experience is improved.
Fig. 3 is a schematic structural component diagram of a game system 300 according to an embodiment of the present application, where the game system 200 includes: a terminal 100 and a peripheral device 200. The terminal 100 further includes a processor 110 and a memory 109, the memory 109 is connected to the processor 110, the memory 109 contains a control instruction, and when the processor 110 reads the control instruction, the terminal 100 is controlled to implement the following steps:
acquiring current game information of the terminal;
determining an operation type according to a game type corresponding to the game information;
acquiring a first operation instruction according to the operation type;
identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information;
and generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral equipment.
The peripheral device 200 is further configured to respond to the operating parameter and adjust the corresponding attribute according to the operating parameter.
Optionally, the acquiring the current game information of the terminal includes:
acquiring process name information corresponding to the terminal game information;
judging whether the process name information exists in a preset white list or not;
when the process name information exists in the preset white list, determining a game type corresponding to the game information according to the white list;
and when the process name information does not exist in the preset white list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to the return information of the preset server.
Optionally, the game types include: networking, single-machine, shooting, sports, role playing and card round;
the operation type is matched with the game type.
Optionally, the obtaining the first operation instruction according to the operation type includes:
acquiring corresponding parameter adjusting ranges under different types according to the operation types, wherein the parameter adjusting ranges correspond to adjustable value intervals of the parameters;
and generating a first operation instruction aiming at the parameters according to the parameter adjusting range, wherein the parameters comprise damping, vibration strength, sensitivity and pressing force.
Optionally, the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring picture content to be displayed by the terminal;
identifying characteristic information in the picture content;
determining scene information corresponding to the picture content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
Optionally, the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring audio content to be played by the terminal;
identifying characteristic information in the audio content;
determining scene information corresponding to the audio content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table. .
The acquiring, according to a preset scene information table, a second operation instruction corresponding to the scene information includes:
searching matched scene information in the preset scene information table;
determining the adjusting direction and the adjusting amplitude of the corresponding parameters according to the matched scene information, wherein the adjusting direction comprises increasing and decreasing;
and generating a second operation instruction according to the adjusting direction and the adjusting amplitude.
Optionally, the generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral device includes:
analyzing the second operation instruction, and judging whether the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are positioned in the parameter adjustment range corresponding to the first operation instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction are within the parameter adjusting range, generating an operating parameter according to the second operating instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction exceed the parameter adjusting range, determining an adjusting threshold according to the second operating instruction and the parameter adjusting range corresponding to the first operating instruction, and generating an operating parameter according to the second operating instruction and the adjusting threshold.
Through the embodiment, the corresponding first operation instruction is obtained by obtaining the current game type of the terminal; furthermore, a second operation instruction is generated according to the current game scene, the corresponding operation parameters are modified more finely and accurately by combining the first operation instruction and the second operation instruction, and the operation parameters are sent to the peripheral equipment, so that a user can experience different operation feelings of different games in the peripheral operation process, and can experience different operation controls in real time according to game contents and scenes, the game process is more targeted and strong in immersion, and the game experience is improved.
Embodiments of the present application also provide a computer-readable storage medium having one or more programs, where the one or more programs are executed by one or more processors to implement the following steps:
acquiring current game information of the terminal;
determining an operation type according to a game type corresponding to the game information;
acquiring a first operation instruction according to the operation type;
identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information;
and generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral equipment.
The peripheral device 200 is further configured to respond to the operating parameters and adjust corresponding attributes according to the operating parameters.
Optionally, the acquiring the current game information of the terminal includes:
acquiring process name information corresponding to the terminal game information;
judging whether the process name information exists in a preset white list or not;
when the process name information exists in the preset white list, determining a game type corresponding to the game information according to the white list;
and when the process name information does not exist in the preset white list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to the return information of the preset server.
Optionally, the game types include: networking, single-machine, shooting, sports, role playing and card round;
the operation type is matched with the game type.
Optionally, the obtaining the first operation instruction according to the operation type includes:
acquiring corresponding parameter adjusting ranges under different types according to the operation types, wherein the parameter adjusting ranges correspond to adjustable value intervals of the parameters;
and generating a first operation instruction aiming at the parameters according to the parameter adjusting range, wherein the parameters comprise damping, vibration strength, sensitivity and pressing force.
Optionally, the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring picture content to be displayed by the terminal;
identifying characteristic information in the picture content;
determining scene information corresponding to the picture content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
Optionally, the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring audio content to be played by the terminal;
identifying feature information in the audio content;
determining scene information corresponding to the audio content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table. .
The acquiring, according to a preset scene information table, a second operation instruction corresponding to the scene information includes:
searching matched scene information in the preset scene information table;
determining the adjusting direction and the adjusting amplitude of the corresponding parameters according to the matched scene information, wherein the adjusting direction comprises an increasing direction and a decreasing direction;
and generating a second operation instruction according to the adjusting direction and the adjusting amplitude.
Optionally, the generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral device includes:
analyzing the second operation instruction, and judging whether the adjusting direction and the adjusting amplitude corresponding to the second operation instruction are located in the parameter adjusting range corresponding to the first operation instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction are within the parameter adjusting range, generating an operating parameter according to the second operating instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction exceed the parameter adjusting range, determining an adjusting threshold according to the second operating instruction and the parameter adjusting range corresponding to the first operating instruction, and generating an operating parameter according to the second operating instruction and the adjusting threshold.
Acquiring a corresponding first operation instruction by acquiring the current game type of the terminal through the computer-readable storage medium; furthermore, a second operation instruction is generated according to the current game scene, the corresponding operation parameters are more finely and accurately modified by combining the first operation instruction and the second operation instruction, and the operation parameters are sent to the peripheral equipment, so that a user can experience different operation feelings of different games in the peripheral operation process, and can experience different operation controls in real time according to game contents and scenes, so that the game process is more targeted and has strong immersion, and the game experience is improved.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium herein stores one or more programs. Among other things, computer-readable storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The corresponding technical features in the above embodiments may be used with each other without causing contradiction in the schemes or without being implementable.
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 application are merely for description, and do not represent the advantages and disadvantages 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 application may be embodied in the form of a software product, which is stored in a 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A game operation method is applied to a game system, the game system comprises a terminal and peripheral equipment, and the method is characterized by comprising the following steps:
the terminal acquires current game information;
determining an operation type according to a game type corresponding to the game information;
acquiring a first operation instruction according to the operation type;
identifying game scene information to be displayed by the terminal, and generating a second operation instruction according to the game scene information;
generating an operation parameter according to the first operation instruction and the second operation instruction, and sending the operation parameter to the peripheral equipment;
and the peripheral equipment responds to the operating parameters and adjusts corresponding attributes according to the operating parameters.
2. A game manipulation method according to claim 1, wherein the terminal acquiring current game information comprises:
acquiring process name information corresponding to the game information;
judging whether the process name information exists in a preset white list or not;
when the process name information exists in the preset white list, determining a game type corresponding to the game information according to the white list;
and when the process name information does not exist in the preset white list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to the return information of the preset server.
3. A game operating method according to claim 2, wherein the game type includes: networking, single-machine, shooting, sports, role playing and card round;
the operation type is matched with the game type.
4. A game operating method according to claim 3, wherein said obtaining a first operation instruction according to the operation type includes:
acquiring corresponding parameter adjusting ranges under different types according to the operation types, wherein the parameter adjusting ranges correspond to adjustable value intervals of the parameters;
and generating a first operation instruction aiming at the parameters according to the parameter adjusting range, wherein the parameters comprise damping, vibration strength, sensitivity and pressing force.
5. The game operation method according to claim 1, wherein the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring picture content to be displayed by the terminal;
identifying characteristic information in the picture content;
determining scene information corresponding to the picture content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
6. The game operation method according to claim 1, wherein the identifying game scene information to be displayed by the terminal and generating a second operation instruction according to the game scene information includes:
acquiring audio content to be played by the terminal;
identifying feature information in the audio content;
determining scene information corresponding to the audio content according to the characteristic information;
and acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
7. The game operation method according to claim 5 or 6, wherein the obtaining of the second operation instruction corresponding to the scene information according to a preset scene information table includes:
searching matched scene information in the preset scene information table;
determining the adjusting direction and the adjusting amplitude of the corresponding parameters according to the matched scene information, wherein the adjusting direction comprises increasing and decreasing;
and generating a second operation instruction according to the adjusting direction and the adjusting amplitude.
8. The game operation method according to claim 7, wherein the generating operation parameters according to the first operation instruction and the second operation instruction and sending the operation parameters to the peripheral device includes:
analyzing the second operation instruction, and judging whether the adjusting direction and the adjusting amplitude corresponding to the second operation instruction are located in the parameter adjusting range corresponding to the first operation instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction are within the parameter adjusting range, generating an operating parameter according to the second operating instruction;
if the adjusting direction and the adjusting amplitude corresponding to the second operating instruction exceed the parameter adjusting range, determining an adjusting threshold according to the second operating instruction and the parameter adjusting range corresponding to the first operating instruction, and generating an operating parameter according to the second operating instruction and the adjusting threshold.
9. A gaming system, the gaming system comprising:
a peripheral device;
the terminal is connected with the peripheral equipment and comprises a memory and a processor, the memory contains control instructions, and when the processor reads the control instructions, the terminal is controlled to realize the game operation method of any one of claims 1 to 8.
10. A computer-readable storage medium having one or more programs thereon, the one or more programs being executable by one or more processors to implement the method of game operation of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211213884.XA CN115463414A (en) | 2022-09-30 | 2022-09-30 | Game operation method, system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211213884.XA CN115463414A (en) | 2022-09-30 | 2022-09-30 | Game operation method, system and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115463414A true CN115463414A (en) | 2022-12-13 |
Family
ID=84335765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211213884.XA Pending CN115463414A (en) | 2022-09-30 | 2022-09-30 | Game operation method, system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115463414A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116036578A (en) * | 2023-01-28 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Data processing method and device and related equipment |
CN117101119A (en) * | 2023-10-23 | 2023-11-24 | 腾讯科技(深圳)有限公司 | Information prompting method, device, equipment and computer medium |
-
2022
- 2022-09-30 CN CN202211213884.XA patent/CN115463414A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116036578A (en) * | 2023-01-28 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Data processing method and device and related equipment |
CN117101119A (en) * | 2023-10-23 | 2023-11-24 | 腾讯科技(深圳)有限公司 | Information prompting method, device, equipment and computer medium |
CN117101119B (en) * | 2023-10-23 | 2024-06-07 | 腾讯科技(深圳)有限公司 | Information prompting method, device, equipment and computer medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108182019B (en) | Suspension control display processing method and mobile terminal | |
CN107730261B (en) | Resource transfer method and related equipment | |
CN108668024B (en) | Voice processing method and terminal | |
CN109814786B (en) | Image storage method and terminal equipment | |
CN115463414A (en) | Game operation method, system and computer readable storage medium | |
CN108196776B (en) | Terminal screen splitting method, terminal and computer readable storage medium | |
CN111143683A (en) | Terminal interaction recommendation method and device and readable storage medium | |
CN110012143B (en) | Telephone receiver control method and terminal | |
CN109407832B (en) | Terminal device control method and terminal device | |
CN112451968A (en) | Game sound control method, mobile terminal and computer-readable storage medium | |
CN108196753B (en) | Interface switching method and mobile terminal | |
CN111401463B (en) | Method for outputting detection result, electronic equipment and medium | |
CN111124569A (en) | Application sharing method, electronic equipment and computer readable storage medium | |
CN111078186A (en) | Playing method and electronic equipment | |
CN110636225B (en) | Photographing method and electronic equipment | |
CN111163449A (en) | Application sharing method, first electronic device and computer-readable storage medium | |
CN107231486B (en) | Intelligent control method and terminal for vehicle and computer readable storage medium | |
CN111261128B (en) | Screen brightness adjusting method and electronic equipment | |
CN109450508B (en) | Antenna determination method and device and mobile terminal | |
CN108471549B (en) | Remote control method and terminal | |
CN111328132A (en) | Method for adjusting transmitting power and electronic equipment | |
CN107562305B (en) | Method for setting dynamic icon, terminal and computer readable storage medium | |
CN111124585A (en) | Operation method and device of shortcut panel and readable storage medium | |
CN115083330A (en) | Screen parameter adjusting method, mobile terminal and computer readable storage medium | |
CN111459383B (en) | Key response method and electronic equipment |
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 |