Game operation method, system and computer readable storage medium
By acquiring game and scene information to generate operation commands and dynamically adjusting peripheral devices, the problem of external devices being unable to be adjusted during game operation is solved, thus improving the gaming experience.
Patent Information
- Application Number
- CN202211213884.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2042-09-30
AI Technical Summary
In existing technologies, external devices cannot dynamically adjust according to different game operations, resulting in a poor gaming experience.
By acquiring game and scene information from the terminal, a first and a second operation command are generated. These are then combined to generate operation parameters and sent to the peripheral device, enabling dynamic adjustment of the peripheral device.
It improves the precision and immersion of game controls, enhancing the overall gaming experience.
Smart Images

Figure CN115463414B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, in particular to a game operation method, a terminal and a computer readable storage medium. BACKGROUND
[0002] With the continuous progress of electronic technology, currently, games are increasingly popular through computers, smart phones and other terminals. In the game process, sometimes external devices are needed to perform game operations. In the prior art, the external device can only perform operations when performing operations, and cannot be dynamically adjusted according to different games, resulting in a poor experience. SUMMARY
[0003] The main purpose of the present application is to provide a game operation method, system and computer readable storage medium, which aims to solve the problem of real-time adjustment of control parameters of external devices according to game scenes, realize an immersive operation process and enhance the game experience.
[0004] To achieve the above purpose, the present application provides a game operation method applied to a game system, wherein the game system comprises a terminal and a peripheral device, and the method comprises the following steps:
[0005] The terminal acquires current game information;
[0006] According to the game type corresponding to the game information, the operation type is determined;
[0007] According to the operation type, a first operation instruction is acquired;
[0008] The game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information;
[0009] According to the first operation instruction and the second operation instruction, an operation parameter is generated, and the operation parameter is sent to the peripheral device;
[0010] The peripheral device responds to the operation parameter, and adjusts the corresponding attribute according to the operation parameter.
[0011] Optionally, the terminal acquires current game information, comprising:
[0012] The process name information corresponding to the game information is acquired;
[0013] It is judged whether the process name information exists in a preset whitelist list;
[0014] When the process name information exists in the preset whitelist list, the game type corresponding to the game information is determined according to the whitelist list;
[0015] When the process name information does not exist in the preset whitelist list, a request instruction is sent to a preset server, and a game type corresponding to the game information is determined according to return information of the preset server.
[0016] Optionally, the game type includes: a network type, a single machine type, a shooting type, a competition type, a role playing type and a card round type.
[0017] The operation type matches the game type.
[0018] Optionally, the first operation instruction is obtained according to the operation type, and the first operation instruction includes:
[0019] A parameter adjustment range corresponding to the operation type is obtained according to the operation type, and the parameter adjustment range corresponds to an adjustable numerical interval of the parameter.
[0020] The first operation instruction for the parameter is generated according to the parameter adjustment range, and the parameter includes damping, vibration intensity, sensitivity and pressing strength.
[0021] Optionally, the game scene information to be displayed by the terminal is identified, and the second operation instruction is generated according to the game scene information, and the second operation instruction includes:
[0022] The screen content to be displayed by the terminal is obtained.
[0023] Feature information in the screen content is identified.
[0024] Scene information corresponding to the screen content is determined according to the feature information.
[0025] The second operation instruction corresponding to the scene information is obtained according to a preset scene information table.
[0026] Optionally, the game scene information to be displayed by the terminal is identified, and the second operation instruction is generated according to the game scene information, and the second operation instruction includes:
[0027] Audio content to be played by the terminal is obtained.
[0028] Feature information in the audio content is identified.
[0029] Scene information corresponding to the audio content is determined according to the feature information.
[0030] The second operation instruction corresponding to the scene information is obtained according to a preset scene information table.
[0031] Optionally, the second operation instruction corresponding to the scene information is obtained according to a preset scene information table, and the second operation instruction includes:
[0032] finding matched scene information in the preset scene information table;
[0033] determining an adjustment direction and an adjustment range of a corresponding parameter according to the matched scene information, the adjustment direction including increasing and decreasing;
[0034] generating a second operation instruction according to the adjustment direction and the adjustment range.
[0035] 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, comprises:
[0036] analyzing the second operation instruction to determine whether the adjustment direction and the adjustment range corresponding to the second operation instruction are within a parameter adjustment range corresponding to the first operation instruction;
[0037] if the adjustment direction and the adjustment range corresponding to the second operation instruction are within the parameter adjustment range, generating an operation parameter according to the second operation instruction;
[0038] if the adjustment direction and the adjustment range 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.
[0039] The application further provides a game operation system, which comprises:
[0040] a peripheral device;
[0041] a terminal connected to the peripheral device, the terminal comprising a memory and a processor, the processor containing control instructions, and when the processor reads the control instructions, the terminal is controlled to implement the game operation method described above.
[0042] The application further provides a computer readable storage medium having one or more programs, and the one or more programs are executed by one or more processors to implement the game operation method described above.
[0043] The game operation method, system and computer readable storage medium provided by the application, by acquiring the current game type of the terminal, acquiring the corresponding first operation instruction, further generating the second operation instruction according to the current game scene, combining the first operation instruction and the second operation instruction, realizing more accurate modification of the corresponding operation parameter, and sending the operation parameter to the peripheral device, so that the user can adjust the operation parameter according to the game type and the picture dynamic in the peripheral operation process, so as to experience the different operation characteristics of different games, make the game process more targeted and immersive, and improve the game experience.
[0044] The above description is only a summary of the technical scheme of the application, in order to more clearly understand the technical means of the application, which can be implemented according to the content of the specification, and in order to make the above and other purposes, characteristics and advantages of the application more obvious and easy to understand, the following specific embodiments of the application are described. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 An optional hardware structure schematic diagram of a mobile terminal for realizing various embodiments of the application is provided.
[0046] Figure 2 A flowchart of a game operation method provided by an embodiment of the application is provided.
[0047] Figure 3 A structure schematic diagram of a game operation system provided by an embodiment of the application is provided.
[0048] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the application, and do not limit the application.
[0050] In the following description, the suffixes such as "module", "part", or "unit" used to express elements are only for the convenience of explanation of the application, and have no specific meaning. Therefore, "module", "part", or "unit" can be mixedly used.
[0051] The terminal can be implemented in various forms. For example, the terminal described in the present application can 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 bracelet, a pedometer, and a fixed terminal such as a digital TV and a desktop computer.
[0052] The following description will be made with a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiments of the present application can also be applied to a terminal of a stationary type, except for elements particularly used for mobile purposes.
[0053] Referring to FIG. 1, Figure 1 which is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present application, the mobile terminal 100 can include an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that the mobile terminal structure shown in FIG. 1 does not constitute a limitation on the mobile terminal, and the mobile terminal can include more or less components than those shown in the drawing, or combine certain components, or arrange the components differently. Figure 1 The mobile terminal structure shown in FIG. 1 does not constitute a limitation on the mobile terminal, and the mobile terminal can include more or less components than those shown in the drawing, or combine certain components, or arrange the components differently.
[0054] The following description will be made with a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiments of the present application can also be applied to a terminal of a stationary type, except for elements particularly used for mobile purposes. Figure 1 The components of the mobile terminal will be described in detail.
[0055] The radio frequency unit 101 can be used for receiving and transmitting signals in information or communication processes. Specifically, the radio frequency unit 101 receives downlink information from a base station and provides the received information to the processor 110 for processing. In addition, the radio frequency unit 101 transmits uplink data to the base station. Generally, the 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, etc. In addition, the radio frequency unit 101 can communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communication), 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 Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0056] The WiFi belongs to a short-range wireless transmission technology. The WiFi module 102 can help a user to send and receive e-mails, browse web pages, and access streaming media, etc. The WiFi module 102 provides the user with wireless broadband Internet access. Although Figure 1 The WiFi module 102 is shown, but it is understood that it does not belong to the necessary components of the mobile terminal, and can be omitted as needed without changing the essence of the application.
[0057] The audio output unit 103 can convert audio data, which is received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109, into an audio signal and output the audio signal 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, etc. In addition, the audio output unit 103 can provide audio output related to a particular function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.
[0058] The A / V input unit 104 is configured to receive audio or video signals. The A / V input unit 104 can include a graphics processor (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video call mode or an image call mode. Processed image frames can be displayed on the display unit 106. Processed image frames can 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 sound (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 sound into audio data. Processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
[0059] 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 and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and / or the 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), and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize the posture of the mobile phone (such as switching between landscape and portrait screens, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), and the like. As for the fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, and other sensors that can be configured to the mobile phone, they are not described here.
[0060] The display unit 106 is configured to display information input by a user or information provided to the user. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0061] The user input unit 107 can be used to receive input numerals or character information, and to generate key signal inputs related to user settings of the mobile terminal and control of functions. Specifically, the user input unit 107 can include a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect a touch operation of a user on or proximate thereto (such as an operation of the user using a finger, a stylus, or any suitable object or accessory on or proximate to the touch panel 1071), and drive a corresponding connection device according to a pre-set program. The touch panel 1071 can include two parts, a touch detecting device and a touch controller. The touch detecting device detects a user's touch position and detects a signal resulting from a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detecting device, converts it into touch coordinates, and transmits the touch coordinates to the processor 110, and can receive commands from the processor 110 and execute them. In addition, the touch panel 1071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 1071, the user input unit 107 can include other input devices 1072. Specifically, the other input devices 1072 can include one or more of, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.
[0062] Further, the touch panel 1071 can cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or proximate thereto, it transmits the same 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 the above description, the touch panel 1071 and the display panel 1061 are implemented as two separate components to achieve the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to achieve the input and output functions of the mobile terminal, without being limited thereto. Figure 1
[0063] The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external device can include a wired or wireless headset port, an external power (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, etc. The interface unit 108 can be used to receive input (e.g., data information, power, etc.) from an external device and to transmit the received input to one or more elements within the mobile terminal 100, or can be used to transmit data between the mobile terminal 100 and the external device.
[0064] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile terminal (such as audio data, a phone book, etc.), and the like. In addition, the memory 109 can include a high-speed random access memory, and can also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0065] The processor 110 is the control center of the mobile terminal, connects all parts of the mobile terminal through various interfaces and lines, executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109 and calling data stored in the memory 109, and thus performs overall monitoring on the mobile terminal. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.
[0066] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components; preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0067] Although Figure 1 The mobile terminal 100 can also include a Bluetooth module and the like, which are not shown here.
[0068] Based on the above mobile terminal hardware structure, various embodiments of the method of the present application are proposed.
[0069] Figure 2 is a flowchart of an embodiment of a game operation method provided by the present application. Once the method of this embodiment is triggered by a user, the flow of this embodiment is automatically run by the terminal, wherein each step can be performed in sequence according to the order in the flowchart, or multiple steps can be performed simultaneously according to actual conditions, which is not limited here. In this embodiment, the game operation method is applied to a game system, and the game system includes a terminal and an external device, and the terminal can be, for example, a mobile terminal. Figure 1The mobile terminal described in the specification can also be a computer, a computer, a tablet computer, a VR device, and other terminals. The embodiments of the present application are not limited thereto. The terminal is connected with peripheral devices, and the peripheral devices include a display screen, a keyboard, a mouse, a touchpad, and a handle. According to different game scenes, the peripheral devices can further include a toy gun, a steering wheel, a game cockpit, a VR input device, and the like, and the embodiments are not limited thereto. The connection mode of the terminal and the peripheral device can be wired connection or wireless connection. In the embodiments, the game operation method provided by the present application includes the following steps:
[0070] Step S201, the terminal acquires current game information;
[0071] Step S202, according to the game type corresponding to the game information, the operation type is determined;
[0072] Step S203, according to the operation type, a first operation instruction is acquired;
[0073] Step S204, the game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information;
[0074] Step S205, according to the first operation instruction and the second operation instruction, an operation parameter is generated, and the operation parameter is sent to the peripheral device;
[0075] Step S206, the peripheral device responds to the operation parameter, and adjusts the corresponding attribute according to the operation parameter.
[0076] Through the above-mentioned embodiments, by acquiring the current game type of the terminal, the corresponding first operation instruction is acquired. Further, the second operation instruction is generated according to the current game scene, the first operation instruction and the second operation instruction are combined, the corresponding operation parameter is modified more accurately and accurately, and the operation parameter is sent to the peripheral device, so that the user can experience different operation feelings of different games during the operation of the peripheral device, and can feel the difference of operation control according to the game content and scene in real time, so that the game process is more targeted and immersive, and the game experience is improved.
[0077] The above steps will be described in detail in combination with specific embodiments.
[0078] In step S201, the terminal acquires current game information.
[0079] Specifically, due to the variety of games, the control parameters are different in different game scenes. For example, the shooting game requires high operation sensitivity; for example, the online game cannot have high delay in control operation. Further, in the game, different picture scenes also have different control requirements. For example, if the game character is on an uphill in the current scene, the user can be brought real-time immersion by adjusting the key pressure, damping, etc. Therefore, in the embodiment, first, the game information of the terminal is acquired, that is, the specific type of the game is identified and judged, so as to subsequently adjust and modify the control parameters according to the specific type.
[0080] In an optional embodiment, step S201 can further include the following steps:
[0081] In step S2011, process name information corresponding to the game information is acquired.
[0082] In step S2012, it is judged whether the process name information exists in a preset whitelist list.
[0083] In step S2013, when the process name information exists in the preset whitelist list, the game type corresponding to the game information is determined according to the whitelist list.
[0084] In step S2014, when the process name information does not exist in the preset whitelist list, a request instruction is sent to a preset server, and the game type corresponding to the game information is determined according to the return information of the preset server.
[0085] Specifically, in the embodiment, first, the process name information of the game is acquired. In order to facilitate judgment, the terminal can first preset a whitelist list, and the whitelist list includes process name information corresponding to most game applications, which can be used to identify the specific type of the current game application. The game type includes online, single-player, shooting, competition, role-playing, and card round. In other embodiments, the whitelist list can also be updated in real time through the network. Due to the continuous update of the number of games, the whitelist list can also be dynamically adjusted. When the acquired process name information is not in the whitelist list, in order to more accurately judge and prevent misjudgment, the process name information can also be sent to the preset server to realize real-time judgment, so as to more accurately judge. That is, not only can the judgment be made through the whitelist list of the local end, but also can the judgment be made through the server of the network end.
[0086] In step S202, the operation type is determined according to the game type corresponding to the game information.
[0087] Specifically, in this embodiment, the game types include: networking type, single-player type, shooting type, competition type, role-playing type, and card round type. After determining the game type, the corresponding operation type is determined.
[0088] Since there are many types of games, the operation modes and control modes corresponding to different games are different, and therefore, different operation types need to be determined according to different game types. In this embodiment, the game types include: networking type, single-player type, shooting type, competition type, role-playing type, and card round type. The operation type matches the game type. In other embodiments, the game types can also include: virtual display type, racing type, etc. The embodiments of the present application are not limited thereto.
[0089] In step S203, the first operation instruction is obtained according to the operation type.
[0090] Specifically, in this embodiment, after the operation type is obtained, the corresponding parameter adjustment range in different types is obtained according to the operation type, the parameter adjustment range corresponds to the adjustable numerical interval of the parameter; the first operation instruction for the parameter is generated according to the parameter adjustment range, and the parameter includes damping, vibration intensity, sensitivity, and pressing force. Different parameters can be corresponded according to different external devices. For example, when the external device is a keyboard, the parameter can be different key damping and pressing force corresponding to the keys of the keyboard; when the external device is a mouse, the control parameter can be the sensitivity corresponding to the mouse; and when the external device is a handle, the control parameter can be the vibration intensity corresponding to the handle.
[0091] In this embodiment, the corresponding parameter adjustment range in different types is obtained according to the control parameter type, and the parameter adjustment range corresponds to the adjustable numerical interval of the parameter. For example, when the game type is shooting type, the parameter adjustment range can include the adjustable numerical interval of the sensitivity; and when the game type is role-playing type, the parameter adjustment range can include the adjustable numerical interval of the damping or pressing force. Those skilled in the art can understand that, according to the difference of the game type, the type of the parameter is also different, and the corresponding parameter adjustment range can also be very different, and the embodiments of the present application are not limited thereto.
[0092] In step S204, the game scene information to be displayed by the terminal is recognized, and the second operation instruction is generated according to the game scene information.
[0093] Specifically, in the embodiment, in order to more finely realize the adjustment of the control parameters in different game scenes, the application further acquires scene information to be displayed by the terminal, and generates a second operation instruction according to the scene information. That is, in the embodiment, the adjustment of the parameters is dynamically performed according to the current game scene, so that the operation is more immersive and more targeted. Since there can be very different scenes in the same game, such as dynamic scenes and static scenes, scenes with different light, different game internal environments, etc., at this time, by dynamically identifying the scene information, the adjustment can be more accurate, and the user experience can be improved.
[0094] In an optional embodiment, the step S204 can further include the following steps:
[0095] Step S2041, acquiring picture content to be displayed by the terminal;
[0096] Step S2042, identifying feature information in the picture content;
[0097] Step S2043, determining scene information corresponding to the picture content according to the feature information;
[0098] Step S2044, acquiring a second operation instruction corresponding to the scene information according to a preset scene information table.
[0099] Specifically, in the embodiment, the scene is identified through the picture. By acquiring the picture content to be displayed, the feature information in the picture is identified, and the scene information of the current picture to be displayed is determined according to the feature information. The picture content can be identified by acquiring an image frame of the content to be displayed, and the feature information refers to a corresponding feature for representing the scene. For example, the feature information can be special text, patterns, game objects. After the corresponding feature information is identified through the picture, the corresponding scene can be determined. For example, by identifying the picture, it is identified that there is a gun in the picture content. At this time, the gun as the feature information represents that the current game is in a shooting scene, and then the second operation instruction in the shooting scene is acquired. Further, the corresponding second operation instruction is acquired according to the preset scene information table. The scene information table can be preset, and the scene information table includes the adjustment mode of the parameters corresponding to different scenes in various game scenes. After the specific picture is identified and the scene is determined, the specific second operation instruction is acquired according to the preset scene information table.
[0100] In another optional embodiment, the step S204 can further include the following steps:
[0101] Step S2045, acquiring audio content to be played by the terminal;
[0102] Step S2046, identifying feature information in the audio content;
[0103] Step S2047, determining scene information corresponding to the audio content according to the feature information;
[0104] Step S2048, obtaining a second operation instruction corresponding to the scene information according to a preset scene information table.
[0105] Specifically, in the embodiment, the audio in the current scene information is identified. By obtaining the audio content to be played, it is identified whether there is feature information in the audio content, and the scene information is determined according to the feature information. Similarly, in the embodiment, the second operation instruction corresponding to different scenes is also determined through the pre-set scene information table. In the process of identifying the audio content, the feature information refers to the corresponding feature audio that can be used to represent the scene. For example, the feature information is gunshots, which can represent the current scene as a shooting scene. After identifying the specific audio and determining the scene, the specific second operation instruction is obtained according to the preset scene information table.
[0106] In another optional implementation, step S2044 can further include the following steps:
[0107] Step S20441, searching for matching scene information in the preset scene information table;
[0108] Step S20442, determining the adjustment direction and the adjustment amplitude of the corresponding control parameter according to the matching scene information, the adjustment direction including increasing and decreasing;
[0109] Step S20443, generating a second operation instruction according to the adjustment direction and the adjustment amplitude.
[0110] Specifically, in the embodiment, after the scene information is determined, it is searched whether there is matching scene information in the preset scene information table. If there is, the subsequent parameter adjustment information is determined according to the matching scene information, and the adjustment information includes the adjustment direction and the adjustment amplitude. For example, the adjustment direction can be increasing or decreasing. The adjustment amplitude can be an interval range value or a percentage amplitude value. According to the obtained adjustment direction and the adjustment amplitude, the corresponding second operation instruction is generated.
[0111] It can be understood that step S2048 can also include steps S20441-S20443 described above, and the embodiments of the application are not limited thereto.
[0112] 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.
[0113] Specifically, in the embodiment, the peripheral device includes a keyboard, a handle, and a mouse. After the second operation instruction is determined, it is further needed 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.
[0114] For example, if it is determined according to the game type that the vibration intensity in the current parameter adjustment range is 3-8, and at this time the second operation instruction determined according to the game scene exceeds this range, at this time it is needed to combine the two to obtain a final operation parameter, so as to avoid that the corresponding parameter exceeds the parameter adjustment range limited by the first operation instruction.
[0115] In another optional embodiment, the step S205 can further include the following steps:
[0116] In step S2051, the second operation instruction is parsed, and it is determined whether the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are located in the parameter adjustment range corresponding to the first operation instruction.
[0117] In step S2052, if the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are located in the parameter adjustment range, an operation parameter is generated according to the second operation instruction.
[0118] In step S2053, if the adjustment direction and the adjustment amplitude corresponding to the second operation instruction exceed the parameter adjustment range, an adjustment threshold is determined according to the second operation instruction and the parameter adjustment range corresponding to the first operation instruction, and an operation parameter is generated according to the second operation instruction and the adjustment threshold.
[0119] Specifically, when the adjustment direction and the adjustment amplitude are located in the parameter adjustment range, the parameter can be directly modified according to the second operation instruction; when the adjustment direction and the adjustment amplitude exceed the parameter adjustment range, the threshold of the adjustment 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 final modified operation parameter cannot exceed the parameter adjustment range.
[0120] In step S206, the peripheral device responds to the operation parameter, and adjusts the corresponding attribute according to the operation parameter.
[0121] Specifically, in this embodiment, the corresponding operation parameters are different according to different peripheral devices. When the peripheral device is a keyboard, the corresponding operation parameters can be the parameter value of the key damping, the corresponding value of the key pressure, and further, the key can be a key in a specified area or a specific key. For example, it can be a specified WASD key or a directional area key. When the peripheral device is a mouse, the corresponding operation parameters can be the sensitivity of the mouse, etc. After the peripheral device receives the operation parameters, the attribute value of the current peripheral device is updated in real time according to the operation parameters, so that the sense of presence can be improved and the game experience can be improved.
[0122] Through the above embodiment, by acquiring the current game type of the terminal, the corresponding first operation instruction is acquired; further, the second operation instruction is generated according to the current game scene, the first operation instruction and the second operation instruction are combined, the corresponding operation parameter is modified more accurately and finely, and the operation parameter is sent to the peripheral device, so that the user can experience different operation feelings of different games in the process of operating the peripheral device, and can feel the difference of operation control in real time according to the game content and scene, so that the game process is more targeted and immersive, and the game experience is improved.
[0123] Figure 3 The structure and composition of the game system 300 provided in the embodiment of the application are shown in a schematic diagram. 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 control instructions. When the processor 110 reads the control instructions, the terminal 100 is controlled to implement the following steps:
[0124] Acquire the current game information of the terminal;
[0125] Determine the operation type according to the game type corresponding to the game information;
[0126] Acquire the first operation instruction according to the operation type;
[0127] Identify the game scene information to be displayed by the terminal, and generate the second operation instruction according to the game scene information;
[0128] Generate the operation parameter according to the first operation instruction and the second operation instruction, and send the operation parameter to the peripheral device.
[0129] The peripheral device 200 is further configured to respond to the operation parameter and adjust the corresponding attribute according to the operation parameter.
[0130] Optionally, the acquiring the current game information of the terminal includes:
[0131] obtaining process name information corresponding to the terminal game information;
[0132] judging whether the process name information exists in a preset whitelist list;
[0133] when the process name information exists in the preset whitelist list, determining a game type corresponding to the game information according to the whitelist list;
[0134] when the process name information does not exist in the preset whitelist list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to return information of the preset server.
[0135] Optionally, the game type includes: a network type, a single-player type, a shooting type, a competitive type, a role-playing type, and a card round type.
[0136] The operation type matches the game type.
[0137] Optionally, the first operation instruction is obtained according to the operation type, including:
[0138] obtaining a corresponding parameter adjustment range in different types according to the operation type, the parameter adjustment range corresponding to an adjustable numerical interval of the parameter;
[0139] generating a first operation instruction for the parameter according to the parameter adjustment range, the parameter including damping, vibration intensity, sensitivity, and pressing strength.
[0140] Optionally, the game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information, including:
[0141] obtaining picture content to be displayed by the terminal;
[0142] identifying feature information in the picture content;
[0143] determining scene information corresponding to the picture content according to the feature information;
[0144] obtaining a second operation instruction corresponding to the scene information according to a preset scene information table.
[0145] Optionally, the game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information, including:
[0146] obtaining audio content to be played by the terminal;
[0147] identifying feature information in the audio content;
[0148] determine scene information corresponding to the audio content according to the feature information;
[0149] obtain a second operation instruction corresponding to the scene information according to a preset scene information table.
[0150] The obtaining of the second operation instruction corresponding to the scene information according to the preset scene information table comprises:
[0151] searching for matched scene information in the preset scene information table;
[0152] determining an adjustment direction and an adjustment amplitude of a corresponding parameter according to the matched scene information, the adjustment direction comprising increasing and decreasing;
[0153] generating a second operation instruction according to the adjustment direction and the adjustment amplitude.
[0154] Optionally, the generating of an operation parameter according to the first operation instruction and the second operation instruction and the sending of the operation parameter to the peripheral device comprise:
[0155] analyzing the second operation instruction to determine whether the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are within a parameter adjustment range corresponding to the first operation instruction;
[0156] 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;
[0157] 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.
[0158] Through the above embodiments, a corresponding first operation instruction is obtained by obtaining a current game type of a terminal, and a second operation instruction is further generated according to a current game scene. The first operation instruction and the second operation instruction are combined to achieve more accurate and precise modification of a corresponding operation parameter, and the operation parameter is sent to a peripheral device, so that a user can experience different operation feelings of different games in the process of operating the peripheral device, and can feel different operation controls in real time according to game content and a scene, so that the game process is more targeted and immersive, and the game experience is improved.
[0159] The embodiment of the application further provides a computer readable storage medium, the computer readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the following steps:
[0160] acquire current game information of the terminal;
[0161] determine an operation type according to a game type corresponding to the game information;
[0162] acquire a first operation instruction according to the operation type;
[0163] identify game scene information to be displayed by the terminal, and generate a second operation instruction according to the game scene information;
[0164] generate an operation parameter according to the first operation instruction and the second operation instruction, and send the operation parameter to the peripheral device.
[0165] The peripheral device 200 is further configured to respond to the operation parameter, and adjust a corresponding attribute according to the operation parameter.
[0166] Optionally, the acquiring of the current game information of the terminal comprises:
[0167] acquiring process name information corresponding to the game information of the terminal;
[0168] determining whether the process name information exists in a preset whitelist list;
[0169] when the process name information exists in the preset whitelist list, determining the game type corresponding to the game information according to the whitelist list;
[0170] when the process name information does not exist in the preset whitelist list, sending a request instruction to a preset server, and determining the game type corresponding to the game information according to return information of the preset server.
[0171] Optionally, the game type comprises a network type, a single-player type, a shooting type, a competitive type, a role-playing type, and a card round type.
[0172] The operation type matches the game type.
[0173] Optionally, the acquiring of the first operation instruction according to the operation type comprises:
[0174] acquiring a parameter adjustment range corresponding to the operation type, the parameter adjustment range corresponding to an adjustable numerical interval of the parameter;
[0175] generating a first operation instruction for the parameter according to the parameter adjustment range, the parameter comprising damping, vibration intensity, sensitivity, and pressing strength.
[0176] Optionally, the game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information, and the method comprises:
[0177] Obtaining the picture content to be displayed by the terminal;
[0178] Identifying feature information in the picture content;
[0179] Determining scene information corresponding to the picture content according to the feature information;
[0180] Obtaining a second operation instruction corresponding to the scene information according to a preset scene information table.
[0181] Optionally, the game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information, and the method comprises:
[0182] Obtaining the audio content to be played by the terminal;
[0183] Identifying feature information in the audio content;
[0184] Determining scene information corresponding to the audio content according to the feature information;
[0185] Obtaining a second operation instruction corresponding to the scene information according to a preset scene information table.
[0186] The second operation instruction corresponding to the scene information is obtained according to a preset scene information table, and the method comprises:
[0187] Searching for matching scene information in the preset scene information table;
[0188] Determining an adjustment direction and an adjustment amplitude of a corresponding parameter according to the matching scene information, wherein the adjustment direction comprises increasing and decreasing;
[0189] Generating a second operation instruction according to the adjustment direction and the adjustment amplitude.
[0190] Optionally, the operation parameter is generated according to the first operation instruction and the second operation instruction, and the operation parameter is sent to the external device, and the method comprises:
[0191] Analyzing the second operation instruction to determine whether an adjustment direction and an adjustment amplitude corresponding to the second operation instruction are within a parameter adjustment range corresponding to the first operation instruction;
[0192] If the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are within the parameter adjustment range, an operation parameter is generated according to the second operation instruction;
[0193] If the adjustment direction and the adjustment range corresponding to the second operation instruction exceed the parameter adjustment range, an adjustment threshold is determined according to the second operation instruction and the parameter adjustment range corresponding to the first operation instruction, and an operation parameter is generated according to the second operation instruction and the adjustment threshold.
[0194] By the computer readable storage medium, the current game type of the terminal is acquired to acquire the corresponding first operation instruction; further, a second operation instruction is generated according to the current game scene, the first operation instruction and the second operation instruction are combined to realize more accurate modification of the corresponding operation parameter, and the operation parameter is sent to the peripheral device, so that the user can experience different operation feelings of different games in the peripheral operation process, and can feel the difference of the operation control according to the game content and scene in real time, so that the game process is more targeted and immersive, and the game experience is improved.
[0195] The embodiment of the present application further provides a computer readable storage medium. The computer readable storage medium stores one or more programs. The computer readable storage medium can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid state disk; and the memory can also include a combination of the above kinds of memories.
[0196] The technical features corresponding to the above embodiments can be used in each other without causing contradiction or unimplementable scheme.
[0197] It should be noted that, in this document, the terms "comprising", "containing" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of another identical element in the process, method, article or apparatus including the element.
[0198] The above sequence numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0199] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, also can be through hardware, but in many cases the former is the better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art contribution can be embodied in the form of software products, the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disc, optical disc), including a number of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) executes the method described in various embodiments of the present application.
[0200] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, the above-mentioned specific embodiments are only illustrative, but not limited, those skilled in the art can make many forms without departing from the purpose of the present application and the scope of the claims under the inspiration of the present application, which are all within the protection of the present application.
Claims
1. A game operation method applied to a game system, the game system comprising a terminal and a peripheral device, characterized in that, The method comprises: The terminal acquires current game information; According to the game type corresponding to the game information, the operation type is determined; According to the operation type, a first operation instruction is acquired; The game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information; According to the first operation instruction and the second operation instruction, an operation parameter is generated, and the operation parameter is sent to the external device; The external device responds to the operation parameter, and adjusts the corresponding attribute according to the operation parameter; The game scene information to be displayed by the terminal is identified, and a second operation instruction is generated according to the game scene information, comprising: Acquire the picture content or audio content to be displayed by the terminal; Identify the feature information in the picture content or the audio content; According to the feature information, the scene information corresponding to the picture content or the audio content is determined; According to the preset scene information table, the second operation instruction corresponding to the scene information is acquired; According to the preset scene information table, the second operation instruction corresponding to the scene information is acquired, comprising: Find the matching scene information in the preset scene information table; According to the matching scene information, the adjustment direction and the adjustment amplitude of the corresponding parameter are determined, and the adjustment direction includes increasing and decreasing; According to the adjustment direction and the adjustment amplitude, a second operation instruction is generated; According to the first operation instruction and the second operation instruction, an operation parameter is generated, and the operation parameter is sent to the external device, comprising: Parse the second operation instruction, and judge whether the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are within the parameter adjustment range corresponding to the first operation instruction; If the adjustment direction and the adjustment amplitude corresponding to the second operation instruction are within the parameter adjustment range, an operation parameter is generated according to the second operation instruction; If the adjustment direction and the adjustment amplitude corresponding to the second operation instruction exceed the parameter adjustment range, the adjustment threshold value is determined according to the second operation instruction and the parameter adjustment range corresponding to the first operation instruction, and an operation parameter is generated according to the second operation instruction and the adjustment threshold value.
2. The game operating method of claim 1, wherein The terminal acquires current game information, comprising: Acquire the process name information corresponding to the game information; Judge whether the process name information exists in the preset white list; When the process name information exists in the preset white list, the game type corresponding to the game information is determined according to the white list; When the process name information does not exist in the preset white list, a request instruction is sent to the preset server, and the game type corresponding to the game information is determined according to the return information of the preset server.
3. The game operating method of claim 2, wherein The game type includes: networking, single machine, shooting, competition, role playing and card round; The operation type matches the game type.
4. The game operating method of claim 3, wherein According to the operation type, a first operation instruction is acquired, comprising: According to the operation type, the parameter adjustment range corresponding to different types is acquired, and the parameter adjustment range corresponds to the adjustable numerical interval of the parameter; A first operation instruction for the parameter is generated according to the parameter adjustment range, the parameter including damping, vibration intensity, sensitivity, and pressing force.
5. A gaming system, characterized in that The game system comprises: A peripheral device; A terminal connected with the peripheral device, the terminal comprising a memory and a processor, the memory containing control instructions, when the processor reads the control instructions, the terminal implements the game operation method as claimed in any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that, The computer readable storage medium has one or more programs, the one or more programs are executed by one or more processors to implement the game operation method as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Gamepad and terminal interaction method and system
CN109432767A
Parameter adjusting method and device of input equipment, terminal equipment and medium
CN111084985A