Control parameter adjustment method, terminal and computer readable storage medium

By dynamically adjusting peripheral control parameters based on game type and scene information, the problem of insufficient interaction between external devices and game scenes is solved, thereby enhancing the immersion and operational experience of the game.

CN115525584BActive Publication Date: 2026-01-23NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211215332.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-01-23
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In existing technologies, external devices cannot achieve real-time interaction with the game scene during game operation, resulting in a poor gaming experience.

Method used

By acquiring information about the terminal's foreground applications, identifying game type and scene information, and dynamically adjusting the control parameters of peripheral devices, such as damping, vibration intensity, and sensitivity, to match game content and scene changes.

Benefits of technology

It enables real-time interaction between peripheral device operation and game content, enhancing the immersion and relevance of the game and improving the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525584B_ABST
    Figure CN115525584B_ABST
Patent Text Reader

Abstract

The application provides a control parameter adjustment method applied to a terminal, which comprises the following steps: obtaining current foreground application information of the terminal; determining a control parameter type according to an application type corresponding to the foreground application information; obtaining a control parameter adjustment range according to the control parameter type; identifying scene information to be displayed by the terminal, and generating an adjustment instruction according to the scene information; modifying the control parameter according to the adjustment instruction and the control parameter adjustment range, and sending the modified control parameter to an external device. Through the above implementation, the adjustment instruction can be generated according to the current scene information, the control parameter can be modified more accurately and precisely in combination with the adjustment instruction and the control parameter adjustment range, and the modified control parameter is sent to the external device, so that the user can experience different operation feelings of different games in the process of operating the terminal through the external device, and the game experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a method for adjusting control parameters, a terminal, and a computer-readable storage medium. Background Technology

[0002] With the continuous advancement of electronic technology, playing games on computers, smartphones, and other devices is becoming increasingly common. During gameplay, external devices are sometimes needed for operation. However, current technology limits the use of these external devices to simple controls; they cannot provide real-time interaction with the game's scenes and content, resulting in a poor user experience. Summary of the Invention

[0003] The main purpose of this application is to propose a control parameter adjustment method, a terminal, and a computer-readable storage medium, which aims to solve the problem of adjusting the control parameters of peripherals in real time according to the game scene, so as to realize an immersive operation process and enhance the game experience.

[0004] To achieve the above objectives, this application provides a control parameter adjustment method applied to a terminal connected to a peripheral device, the method comprising:

[0005] Obtain the current foreground application information of the terminal;

[0006] The control parameter type is determined based on the application type corresponding to the front-end application information;

[0007] The control parameter adjustment range is obtained according to the control parameter type;

[0008] Identify the scene information to be displayed on the terminal, and generate adjustment instructions based on the scene information;

[0009] According to the adjustment command and the adjustment range of the control parameters, the control parameters are modified, and the modified control parameters are sent to the peripheral device.

[0010] Optionally, obtaining the current foreground application information of the terminal includes:

[0011] Obtain the process name information corresponding to the terminal foreground application information;

[0012] Determine whether the process name information exists in a preset whitelist;

[0013] When the process name information exists in the preset whitelist, the foreground application information is determined to be a game application;

[0014] When the process name information does not exist in the preset whitelist, a request instruction is sent to the preset server, and the application type of the foreground application information is determined based on the return information from the preset server.

[0015] Optionally, determining the control parameter type based on the application type corresponding to the foreground application information includes:

[0016] When the application type is a game application, the game type corresponding to the game application is determined;

[0017] Based on the game type, the control parameter type corresponding to the game application is determined. The control parameter type includes: online, offline, shooting, competitive, role-playing, and card-based turn-based games.

[0018] Optionally, obtaining the control parameter adjustment range according to the control parameter type includes:

[0019] The control parameters include damping, vibration intensity, sensitivity, and pressing force.

[0020] Based on the control parameter type, obtain the corresponding parameter adjustment range for different types, where the parameter adjustment range corresponds to the adjustable numerical range of the parameter.

[0021] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0022] Obtain the screen content to be displayed on the terminal;

[0023] Identify feature information in the content of the image;

[0024] The scene information corresponding to the image content is determined based on the feature information;

[0025] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0026] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0027] Obtain the audio content to be played on the terminal;

[0028] Identify the feature information in the audio content;

[0029] The scene information corresponding to the audio content is determined based on the feature information;

[0030] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0031] Optionally, obtaining the adjustment command corresponding to the scene information according to the preset scene information table includes:

[0032] Search for matching scene information in the preset scene information table;

[0033] Based on the matched scenario information, the adjustment direction and adjustment range of the corresponding control parameters are determined, wherein the adjustment direction includes increasing and decreasing.

[0034] An adjustment command is generated based on the adjustment direction and adjustment range.

[0035] Optionally, the step of modifying the control parameters according to the adjustment command and the control parameter adjustment range, and sending the modified control parameters to the peripheral device, includes:

[0036] Analyze the adjustment command and determine whether the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter;

[0037] If the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter, then the control parameter is modified according to the adjustment command;

[0038] If the adjustment direction and adjustment range corresponding to the adjustment command exceed the adjustment range of the control parameter, then an adjustment threshold is determined according to the adjustment command and the adjustment range of the control parameter, and the control parameter is modified according to the adjustment threshold.

[0039] The peripheral devices include: keyboard, gamepad, and mouse.

[0040] This application also provides a terminal, the terminal comprising:

[0041] processor;

[0042] A memory, connected to the processor, contains control instructions. When the processor reads the control instructions, it controls the terminal to implement the control parameter adjustment method described above.

[0043] This application also provides a computer-readable storage medium having one or more programs that are executed by one or more processors to implement the control parameter adjustment method described above.

[0044] The control parameter adjustment method, terminal, and computer-readable storage medium provided in this application obtain the current foreground application of the terminal, determine the corresponding control parameter type according to the application type, and then obtain the corresponding control parameter adjustment range; furthermore, it generates adjustment instructions based on the current scene information, and combines the adjustment instructions and the control parameter adjustment range to achieve more precise and accurate modification of control parameters, and sends the modified control parameters to peripheral devices. This allows users to experience different operating sensations in different games during peripheral operation, and to feel the differences in operation control in real time according to game content and scene, making the game process more targeted and immersive, and improving the gaming experience.

[0045] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0046] Figure 1 A schematic diagram of the hardware structure of an optional mobile terminal to implement the various embodiments of this application;

[0047] Figure 2 A flowchart of a control parameter adjustment method provided in an embodiment of this application;

[0048] Figure 3 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of this application.

[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0051] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.

[0052] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0053] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.

[0054] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may 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... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0055] The following is combined Figure 1 A detailed introduction to each component of the mobile terminal:

[0056] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, 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, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of 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), and TDD-LTE (Time Division Duplexing-Long Term Evolution).

[0057] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.

[0058] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0059] 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 GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 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) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0060] 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. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0061] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0062] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.

[0063] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.

[0064] Interface unit 108 serves as an interface through which at least one external device can connect to 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 with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.

[0065] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0066] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.

[0067] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0068] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0069] Based on the above-described mobile terminal hardware structure, various embodiments of the method of this application are proposed.

[0070] Figure 2 This is a flowchart of an embodiment of a control parameter adjustment method provided in this application. Once triggered by a user, the process in this embodiment runs automatically via a mobile terminal. The steps can be performed sequentially as shown in the flowchart, or multiple steps can be performed simultaneously depending on the actual situation; no limitation is made here. In this embodiment, the control parameter adjustment method is applied to a terminal, which can be as follows: Figure 1The mobile terminal described herein can also be a computer, tablet, VR device, or other terminal, and this embodiment is not limited thereto. The terminal is connected to peripheral devices, which include: a display screen, keyboard, mouse, touchpad, and gamepad. Depending on the game scenario, the peripheral devices may further include: toy guns, steering wheels, game cockpits, VR input devices, etc., and this embodiment is not limited thereto. In this embodiment, the control parameter adjustment method provided by this application includes the following steps:

[0071] Step S201: Obtain the current foreground application information of the terminal;

[0072] Step S202: Determine the control parameter type based on the application type corresponding to the foreground application information;

[0073] Step S203: Obtain the control parameter adjustment range according to the control parameter type;

[0074] Step S204: Identify the scene information to be displayed on the terminal, and generate adjustment instructions based on the scene information;

[0075] Step S205: Modify the control parameters according to the adjustment command and the control parameter adjustment range, and send the modified control parameters to the peripheral device.

[0076] Through the above implementation method, by obtaining the current foreground application of the terminal, determining the corresponding control parameter type according to the application type, and then obtaining the corresponding control parameter adjustment range; furthermore, by generating adjustment instructions based on the current scene information, and combining the adjustment instructions with the control parameter adjustment range, more precise and accurate modification of the control parameters can be achieved, and the modified control parameters are sent to the peripheral device. This allows users to experience the different operating feel of different games during the operation through the peripheral device, and to feel the difference in operation control in real time according to the game content and scene, making the game process more targeted and immersive, and improving the game experience.

[0077] The above steps will be described in detail below with reference to specific embodiments.

[0078] In step S201, the current foreground application information of the terminal is obtained.

[0079] Specifically, due to the diversity of game genres, the requirements for control parameters vary across different game scenarios. For example, shooting games demand high operational sensitivity; online games, on the other hand, cannot tolerate high latency in control operations. Furthermore, different visual scenes within games also present different control requirements. For instance, if the game character is climbing an uphill slope, adjusting button pressure and resistance can provide the user with a real-time sense of immersion. Therefore, in this embodiment, the first step is to acquire the foreground application information of the terminal, that is, to identify and determine whether it is a game application, so as to facilitate subsequent adjustments and modifications to control parameters based on the specific type.

[0080] In an optional implementation, step S201 may further include the following steps:

[0081] Step S2011: Obtain the process name information corresponding to the terminal foreground application information;

[0082] Step S2012: Determine whether the process name information exists in a preset whitelist;

[0083] Step S2013: When the process name information exists in the preset whitelist, the foreground application information is determined to be a game application;

[0084] Step S2014: When the process name information does not exist in the preset whitelist, a request instruction is sent to the preset server, and the application type of the foreground application information is determined according to the return information of the preset server.

[0085] Specifically, in this embodiment, the process name information of the foreground application is first obtained. For ease of judgment, the terminal can pre-set a whitelist, which includes the process name information of most game applications and can be used to identify whether the current foreground application is a game application. In other embodiments, this whitelist can also be updated in real time via the network. Due to the continuous updating of the number of games, the whitelist can also be dynamically adjusted. When the obtained process name information is not in the whitelist, to make a more accurate judgment and prevent misjudgment, the process name information can be sent to a preset server for real-time judgment, thereby more accurately determining whether it is a game application. In other words, judgment can be made not only through the local whitelist but also through a network server.

[0086] In step S202, the control parameter type is determined according to the application type corresponding to the foreground application information.

[0087] Specifically, in this embodiment, after determining that the application type corresponding to the foreground application information is a game, the corresponding control parameter type is further determined based on the game type.

[0088] Because there are many types of games, and different games have different operation and control methods, it is necessary to determine different control parameter types according to different game types. In this embodiment, the control parameter types include: online games, single-player games, shooting games, competitive games, role-playing games, and card turn-based games. In other embodiments, the control parameter types may also include: virtual display games, racing games, etc. This application embodiment is not limited to these.

[0089] In an optional implementation, step S202 may further include the following steps:

[0090] Step S2021: When the application type is a game application, determine the game type corresponding to the game application;

[0091] Step S2022: Determine the control parameter type corresponding to the game application based on the game type.

[0092] Specifically, in this embodiment, to more accurately adjust control parameters for different games, after determining the application type as a game application, the game type of the game application is further determined. For example, this can be done by recording the game types corresponding to different games in a whitelist, obtaining the corresponding game types in real-time from a server, or determining the corresponding game type in real-time through screen recognition. In other real-time methods, after the game download is complete, the game type can be categorized based on the download page and download source, and corresponding tag information can be generated for easy reading. In this step, the game type can be determined directly by reading this tag information.

[0093] In step S203, the control parameter adjustment range is obtained according to the control parameter type.

[0094] Specifically, in this embodiment, after obtaining the control parameter type, the adjustment range of the control parameter corresponding to different control types is further obtained. This control parameter corresponds to the operation control parameters of the peripheral device, including damping, vibration intensity, sensitivity, and pressing force. For example, when the peripheral device is a keyboard, the control parameters could be the different key damping and pressing force corresponding to the keyboard keys; when the peripheral device is a mouse, the control parameters could be the sensitivity of the mouse; and when the peripheral device is a gamepad, the control parameters could be the vibration intensity of the gamepad.

[0095] In this embodiment, the parameter adjustment range corresponding to different types is obtained according to the control parameter type. The parameter adjustment range corresponds to the adjustable numerical range of the parameter. For example, when the control parameter type is shooting, the parameter adjustment range may include the adjustable numerical range of sensitivity; when the control parameter type is role-playing, the parameter adjustment range may include the adjustable numerical range of damping or pressing force. Those skilled in the art will understand that the type of control parameter varies depending on the game type, and the corresponding adjustment range of the control parameter can also vary greatly. This embodiment is not limited to this.

[0096] In step S204, the scene information to be displayed on the terminal is identified, and an adjustment command is generated based on the scene information.

[0097] Specifically, in this embodiment, to achieve more refined adjustment of control parameters under different game scenarios, this application further acquires the scene information to be displayed on the terminal and generates adjustment instructions based on the scene information. That is, in this embodiment, the control parameters are dynamically adjusted according to the current game scene, making the operation more immersive and targeted. Since there may be very different scenes within the same game, such as dynamic and static scenes, scenes with different lighting, and different in-game environments, dynamically identifying scene information allows for more precise adjustments, improving the user experience.

[0098] In an optional implementation, step S204 may further include the following steps:

[0099] Step S2041: Obtain the screen content to be displayed on the terminal;

[0100] Step S2042: Identify feature information in the content of the image;

[0101] Step S2043: Determine the scene information corresponding to the image content based on the feature information;

[0102] Step S2044: Obtain the adjustment command corresponding to the scene information according to the preset scene information table.

[0103] Specifically, in this embodiment, scene recognition is performed through the screen. By acquiring the content of the screen to be displayed, feature information within the screen is identified, and the scene information of the current screen to be displayed is determined based on this feature information. The screen content can be identified by acquiring image frames of the content to be displayed, and the feature information refers to the corresponding features used to characterize the scene. For example, feature information can be specific text, patterns, or game objects. After identifying the corresponding feature information through the screen, the corresponding scene can be determined. For example, if the screen recognition identifies the presence of a gun in the screen content, the gun serves as feature information, indicating that the current game is in a shooting scene. Therefore, the corresponding adjustment instructions for the shooting scene are obtained. Further, the corresponding adjustment instructions are obtained according to a preset scene information table. The scene information table can be preset and includes the adjustment methods for control parameters corresponding to different scenes under various game scenarios. After identifying the specific screen and determining the scene, the specific adjustment instructions are obtained according to the preset scene information table.

[0104] In another alternative implementation, step S204 may further include the following steps:

[0105] Step S2045: Obtain the audio content to be played on the terminal;

[0106] Step S2046: Identify feature information in the audio content;

[0107] Step S2047: Determine the scene information corresponding to the audio content based on the feature information;

[0108] Step S2048: Obtain the adjustment command corresponding to the scene information according to the preset scene information table.

[0109] Specifically, in this embodiment, audio recognition is performed based on the current scene information. By acquiring the audio content to be played, the presence of feature information is identified, and scene information is determined based on this feature information. Similarly, this embodiment also uses a pre-set scene information table to determine adjustment instructions corresponding to different scenes. During the audio content recognition process, the feature information refers to corresponding characteristic audio that can be used to characterize the scene. For example, if the feature information is gunshots, it can characterize the current scene as a shooting scene. After recognizing the specific audio and determining the scene, specific adjustment instructions are obtained according to the pre-set scene information table.

[0110] In another alternative implementation, step S2044 may further include the following steps:

[0111] Step S20441: Search for matching scene information in the preset scene information table;

[0112] Step S20442: Based on the matched scene information, determine the adjustment direction and adjustment range of the corresponding control parameters, wherein the adjustment direction includes increasing and decreasing.

[0113] Step S20443: Generate adjustment instructions based on the adjustment direction and adjustment range.

[0114] Specifically, in this embodiment, after determining the scene information, a search is performed in a preset scene information table to determine if matching scene information exists. If it does, the adjustment information for subsequent control parameters is determined based on the matching scene information. The adjustment information includes the adjustment direction and the adjustment range. For example, the adjustment direction can be increased or decreased. The adjustment range can be a range value or a percentage value. Based on the obtained adjustment direction and adjustment range, a corresponding adjustment command is generated.

[0115] It is understood that step S2048 may also include steps S20441-S20443 as described above, and the embodiments of this application are not limited thereto.

[0116] In step S205, the control parameters are modified according to the adjustment command and the control parameter adjustment range, and the modified control parameters are sent to the peripheral device.

[0117] Specifically, in this embodiment, the peripheral devices include a keyboard, a gamepad, and a mouse. After determining the adjustment command, it is also necessary to determine whether the adjustment direction and amplitude corresponding to the adjustment command exceed the previously controlled parameter adjustment range.

[0118] For example, if the vibration intensity is determined to be between 3 and 8 within the current control parameter adjustment range based on the game type, but the adjustment command determined based on the game scene exceeds this range, then it is necessary to combine the two to derive a final control parameter to avoid exceeding the control parameter adjustment range.

[0119] In another alternative implementation, step S205 may further include the following steps:

[0120] Step S2051: parse the adjustment command and determine whether the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter;

[0121] Step S2052: If the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter, then modify the control parameter according to the adjustment command;

[0122] Step S2053: If the adjustment direction and adjustment range corresponding to the adjustment command exceed the adjustment range of the control parameter, then determine the adjustment threshold according to the adjustment command and the adjustment range of the control parameter, and modify the control parameter according to the adjustment threshold.

[0123] Specifically, when the adjustment direction and adjustment range are within the control parameter adjustment range, the control parameters can be modified directly according to the adjustment command; when the adjustment direction and adjustment range exceed the control parameter adjustment range, the adjustment threshold needs to be determined together according to the adjustment command and the control parameters, and the control parameters are modified according to the adjustment threshold. That is, the final modified control parameters cannot exceed the control parameter adjustment range.

[0124] Through the above implementation method, by obtaining the current foreground application of the terminal, determining the corresponding control parameter type according to the application type, and then obtaining the corresponding control parameter adjustment range; furthermore, by generating adjustment instructions based on the current scene information, and combining the adjustment instructions with the control parameter adjustment range, more precise and accurate modification of the control parameters can be achieved, and the modified control parameters are sent to the peripheral device. This allows users to experience the different operating feel of different games during the operation through the peripheral device, and to feel the difference in operation control in real time according to the game content and scene, making the game process more targeted and immersive, and improving the game experience.

[0125] Figure 3 This is a schematic diagram of the structural composition of a terminal 100 provided in an embodiment of this application. The terminal 100 includes: a processor 110; and a memory 109 connected to the processor 110. The memory 109 contains control instructions. When the processor 110 reads the control instructions, it controls the terminal 100 to perform the following steps:

[0126] Obtain the current foreground application information of the terminal;

[0127] The control parameter type is determined based on the application type corresponding to the front-end application information;

[0128] The control parameter adjustment range is obtained according to the control parameter type;

[0129] Identify the scene information to be displayed on the terminal, and generate adjustment instructions based on the scene information;

[0130] According to the adjustment command and the adjustment range of the control parameters, the control parameters are modified, and the modified control parameters are sent to the peripheral device.

[0131] Optionally, obtaining the current foreground application information of the terminal includes:

[0132] Obtain the process name information corresponding to the terminal foreground application information;

[0133] Determine whether the process name information exists in a preset whitelist;

[0134] When the process name information exists in the preset whitelist, the foreground application information is determined to be a game application;

[0135] When the process name information does not exist in the preset whitelist, a request instruction is sent to the preset server, and the application type of the foreground application information is determined based on the return information from the preset server.

[0136] Optionally, determining the control parameter type based on the application type corresponding to the foreground application information includes:

[0137] When the application type is a game application, the game type corresponding to the game application is determined;

[0138] Based on the game type, the control parameter type corresponding to the game application is determined. The control parameter type includes: online, offline, shooting, competitive, role-playing, and card-based turn-based games.

[0139] Optionally, obtaining the control parameter adjustment range according to the control parameter type includes:

[0140] The control parameters include damping, vibration intensity, sensitivity, and pressing force.

[0141] Based on the control parameter type, obtain the corresponding parameter adjustment range for different types, where the parameter adjustment range corresponds to the adjustable numerical range of the parameter.

[0142] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0143] Obtain the screen content to be displayed on the terminal;

[0144] Identify feature information in the content of the image;

[0145] The scene information corresponding to the image content is determined based on the feature information;

[0146] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0147] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0148] Obtain the audio content to be played on the terminal;

[0149] Identify the feature information in the audio content;

[0150] The scene information corresponding to the audio content is determined based on the feature information;

[0151] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0152] Optionally, obtaining the adjustment command corresponding to the scene information according to the preset scene information table includes:

[0153] Search for matching scene information in the preset scene information table;

[0154] Based on the matched scenario information, the adjustment direction and adjustment range of the corresponding control parameters are determined, wherein the adjustment direction includes increasing and decreasing.

[0155] An adjustment command is generated based on the adjustment direction and adjustment range.

[0156] Optionally, the step of modifying the control parameters according to the adjustment command and the control parameter adjustment range, and sending the modified control parameters to the peripheral device, includes:

[0157] Analyze the adjustment command and determine whether the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter;

[0158] If the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter, then the control parameter is modified according to the adjustment command;

[0159] If the adjustment direction and adjustment range corresponding to the adjustment command exceed the adjustment range of the control parameter, then an adjustment threshold is determined according to the adjustment command and the adjustment range of the control parameter, and the control parameter is modified according to the adjustment threshold.

[0160] Through the above implementation method, by obtaining the current foreground application of the terminal, determining the corresponding control parameter type according to the application type, and then obtaining the corresponding control parameter adjustment range; furthermore, by generating adjustment instructions based on the current scene information, and combining the adjustment instructions with the control parameter adjustment range, more precise and accurate modification of the control parameters can be achieved, and the modified control parameters are sent to the peripheral device. This allows users to experience the different operating feel of different games during the operation through the peripheral device, and to feel the difference in operation control in real time according to the game content and scene, making the game process more targeted and immersive, and improving the game experience.

[0161] This application also provides a computer-readable storage medium having one or more programs, which are executed by one or more processors to perform the following steps:

[0162] Obtain the current foreground application information of the terminal;

[0163] The control parameter type is determined based on the application type corresponding to the front-end application information;

[0164] The control parameter adjustment range is obtained according to the control parameter type;

[0165] Identify the scene information to be displayed on the terminal, and generate adjustment instructions based on the scene information;

[0166] According to the adjustment command and the adjustment range of the control parameters, the control parameters are modified, and the modified control parameters are sent to the peripheral device.

[0167] Optionally, obtaining the current foreground application information of the terminal includes:

[0168] Obtain the process name information corresponding to the terminal foreground application information;

[0169] Determine whether the process name information exists in a preset whitelist;

[0170] When the process name information exists in the preset whitelist, the foreground application information is determined to be a game application;

[0171] When the process name information does not exist in the preset whitelist, a request instruction is sent to the preset server, and the application type of the foreground application information is determined based on the return information from the preset server.

[0172] Optionally, determining the control parameter type based on the application type corresponding to the foreground application information includes:

[0173] When the application type is a game application, the game type corresponding to the game application is determined;

[0174] Based on the game type, the control parameter type corresponding to the game application is determined. The control parameter type includes: online, offline, shooting, competitive, role-playing, and card-based turn-based games.

[0175] Optionally, obtaining the control parameter adjustment range according to the control parameter type includes:

[0176] The control parameters include damping, vibration intensity, sensitivity, and pressing force.

[0177] Based on the control parameter type, obtain the corresponding parameter adjustment range for different types, where the parameter adjustment range corresponds to the adjustable numerical range of the parameter.

[0178] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0179] Obtain the screen content to be displayed on the terminal;

[0180] Identify feature information in the content of the image;

[0181] The scene information corresponding to the image content is determined based on the feature information;

[0182] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0183] Optionally, identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes:

[0184] Obtain the audio content to be played on the terminal;

[0185] Identify the feature information in the audio content;

[0186] The scene information corresponding to the audio content is determined based on the feature information;

[0187] Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information.

[0188] Optionally, obtaining the adjustment command corresponding to the scene information according to the preset scene information table includes:

[0189] Search for matching scene information in the preset scene information table;

[0190] Based on the matched scenario information, the adjustment direction and adjustment range of the corresponding control parameters are determined, wherein the adjustment direction includes increasing and decreasing.

[0191] An adjustment command is generated based on the adjustment direction and adjustment range.

[0192] Optionally, the step of modifying the control parameters according to the adjustment command and the control parameter adjustment range, and sending the modified control parameters to the peripheral device, includes:

[0193] Analyze the adjustment command and determine whether the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter;

[0194] If the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter, then the control parameter is modified according to the adjustment command;

[0195] If the adjustment direction and adjustment range corresponding to the adjustment command exceed the adjustment range of the control parameter, then an adjustment threshold is determined according to the adjustment command and the adjustment range of the control parameter, and the control parameter is modified according to the adjustment threshold.

[0196] Through the aforementioned computer-readable storage medium, the current foreground application of the terminal is obtained, the corresponding control parameter type is determined according to the application type, and then the corresponding control parameter adjustment range is obtained; furthermore, adjustment instructions are generated based on the current scene information, and combined with the adjustment instructions and control parameter adjustment range, more precise and accurate modification of control parameters is achieved, and the modified control parameters are sent to peripheral devices. This allows users to experience the different operating feel of different games during peripheral operation, and to feel the difference in operation control in real time according to game content and scene, making the game process more targeted and immersive, and improving the game experience.

[0197] This application also provides a computer-readable storage medium. This computer-readable storage medium stores one or more programs. The computer-readable storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; the memory may also include combinations of the above types of memory.

[0198] The corresponding technical features in the above embodiments can be used in combination without causing contradictions or making the solutions unfeasible.

[0199] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0200] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0201] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0202] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims. All of these forms are within the protection scope of this application.

Claims

1. A method for adjusting control parameters, applied to a terminal, the terminal being connected to a peripheral device, characterized in that, The method includes: Obtain the current foreground application information of the terminal; The control parameter type is determined based on the application type corresponding to the front-end application information; The control parameter adjustment range is obtained according to the control parameter type; Identify the scene information to be displayed on the terminal, and generate adjustment instructions based on the scene information; According to the adjustment command and the adjustment range of the control parameters, modify the control parameters and send the modified control parameters to the peripheral device; The step of determining the control parameter type based on the application type corresponding to the foreground application information includes: When the application type is a game application, the game type corresponding to the game application is determined; Based on the game type, the control parameter type corresponding to the game application is determined. The control parameter type includes: online, offline, shooting, competitive, role-playing, and card-based turn-based games. The step of obtaining the control parameter adjustment range according to the control parameter type includes: The control parameters include damping, vibration intensity, sensitivity, and pressing force. According to the control parameter type, obtain the corresponding parameter adjustment range under different types, and the parameter adjustment range corresponds to the adjustable value range of the parameter; in, When the peripheral device is a keyboard, the control parameter is the different key damping and pressing force corresponding to the keys of the keyboard; when the peripheral device is a mouse, the control parameter is the sensitivity of the mouse; when the peripheral device is a gamepad, the control parameter is the vibration intensity of the gamepad. When the control parameter type is shooting, the parameter adjustment range includes an adjustable range of sensitivity values; when the control parameter type is role-playing, the parameter adjustment range includes an adjustable range of damping or pressing force values. The step of identifying the scene information to be displayed on the terminal and generating adjustment instructions based on the scene information includes: Obtain the screen content to be displayed on the terminal; Identify feature information in the content of the image; The scene information corresponding to the screen content is determined based on the feature information, including dynamic scenes, static scenes, scenes with different lighting, and different in-game environments; or, Obtain the audio content to be played on the terminal; Identify feature information in the audio content, wherein the feature information is corresponding feature audio used to characterize the scene; The scene information corresponding to the audio content is determined based on the feature information; Based on the preset scene information table, obtain the adjustment instructions corresponding to the scene information; The step of obtaining the adjustment command corresponding to the scene information according to the preset scene information table includes: Search for matching scene information in the preset scene information table; Based on the matched scenario information, the adjustment direction and adjustment range of the corresponding control parameters are determined. The adjustment direction includes increasing and decreasing, and the adjustment range is a range value or a percentage value. Based on the adjustment direction and adjustment range, an adjustment command is generated; The step of modifying the control parameters according to the adjustment command and the control parameter adjustment range, and sending the modified control parameters to the peripheral device, includes: Analyze the adjustment command and determine whether the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter; If the adjustment direction and adjustment range corresponding to the adjustment command are within the adjustment range of the control parameter, then the control parameter is modified according to the adjustment command; If the adjustment direction and adjustment range corresponding to the adjustment command exceed the adjustment range of the control parameter, then an adjustment threshold is determined according to the adjustment command and the adjustment range of the control parameter, and the control parameter is modified according to the adjustment threshold.

2. The control parameter adjustment method as described in claim 1, characterized in that, The step of obtaining the current foreground application information of the terminal includes: Obtain the process name information corresponding to the terminal foreground application information; Determine whether the process name information exists in a preset whitelist; When the process name information exists in the preset whitelist, the foreground application information is determined to be a game application; When the process name information does not exist in the preset whitelist, a request instruction is sent to the preset server, and the application type of the foreground application information is determined based on the return information from the preset server.

3. A terminal, characterized in that, The terminal includes: processor; A memory, connected to the processor, contains control instructions. When the processor reads the control instructions, it controls the terminal to implement the control parameter adjustment method as described in claim 1 or 2.

4. A computer-readable storage medium, characterized in that, The computer-readable storage medium has one or more programs that are executed by one or more processors to implement the control parameter adjustment method of claim 1 or 2.

Citation Information

Patent Citations

  • Input component configuration method and device, terminal and storage medium

    CN108733427A

  • Terminal game control method and device, storage medium and terminal

    CN113813593A