Game mode-based steering wheel control method and device, controller, vehicle and medium
By generating test routes and adjusting steering wheel sensitivity in the vehicle's game mode, the problem of the difference between the steering wheel and key control sensitivity and the game operation sensitivity is solved, and the control accuracy and user experience in the game is improved.
Patent Information
- Application Number
- CN202411273383.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-07
AI Technical Summary
In the vehicle's game mode, due to the difference in the control sensitivity of the steering wheel and buttons and the sensitivity in the game, the control accuracy of the control objects in the game is deviated, affecting the user's gaming experience.
When the vehicle is in game mode, after receiving the steering wheel sensitivity correction command, a test route is generated, the test data is obtained in real time, the target sensitivity is determined based on the test data and the current steering wheel sensitivity, and the steering wheel sensitivity is adjusted to match the sensitivity in game operations.
By matching the sensitivity of the steering wheel and game operation, the control accuracy of the control objects in the game is improved, making the control of the steering wheel more natural and responsive, providing a more comfortable gaming experience.
Smart Images

Figure CN119258524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of steering wheel control, and in particular to a steering wheel control method, device, controller, vehicle and medium based on a game mode. Background Art
[0002] With the rapid development of intelligent technology and the update and iteration of vehicles, in addition to being able to pass through, vehicles can also interact with games in the metaverse world by configuring smart entertainment systems. In related technologies, interactive instructions can be sent to the smart entertainment system through the buttons on the steering wheel to achieve interaction with in-car games. However, when using the steering wheel to control the control objects in the game, the actual control sensitivity of the steering wheel and buttons is different from that in the game, which may cause deviations in the control accuracy of the control objects in the game, thereby resulting in a poor user gaming experience. Summary of the invention
[0003] Based on this, it is necessary to provide a steering wheel control method, device, computer equipment and storage medium based on game mode to address technical problems such as the difference between the actual control sensitivity of the steering wheel and buttons and that in the game, which leads to deviations in the control accuracy of the control objects in the game.
[0004] The present invention provides a steering wheel control method based on a game mode, comprising: When the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated; Acquire first test data corresponding to the first test route in real time; the first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; Determining a target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity; In response to the steering wheel operation instruction, the steering wheel is controlled according to the target sensitivity to perform the game operation.
[0005] The present invention also provides a steering wheel control device based on a game mode, comprising: A test route module, for generating a first test route when a steering wheel sensitivity correction instruction is received when the vehicle is in a game mode; A test data module, used for acquiring first test data corresponding to the first test route in real time; the first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; A correction module, used for determining a target sensitivity of the steering wheel according to the first test data and a current steering wheel sensitivity; The control module is used to respond to the steering wheel operation instruction and control the steering wheel to perform the game operation according to the target sensitivity.
[0006] The present invention also provides a controller, which is used to execute the above-mentioned steering wheel control method based on the game mode.
[0007] The present invention also provides a vehicle, comprising a steering wheel and the above-mentioned controller.
[0008] One or more readable storage media storing computer-readable instructions, which, when executed by one or more processors, enable the one or more processors to execute the steering wheel control method based on the game mode as described above.
[0009] The above-mentioned steering wheel control method, device, computer equipment and storage medium based on game mode, the method includes: when the vehicle is in game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated; first test data corresponding to the first test route is acquired in real time; the first test data refers to the steering wheel operation data when the control object in the vehicle steering wheel operation game interface passes through the first test route; the target sensitivity of the steering wheel is determined according to the first test data and the current steering wheel sensitivity; in response to the steering wheel operation instruction, the steering wheel is controlled according to the target sensitivity to perform game operations.
[0010] In the present invention, in the game mode of the vehicle, a target sensitivity adapted to the control object is determined by testing in a first test route, and then the target sensitivity is used to perform game operations, so that the actual control sensitivity of the steering wheel and buttons matches the sensitivity in the game operation, thereby improving the control accuracy of the control object in the game, making the steering wheel control feel more natural and responsive, and providing the user with a more comfortable gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0012] Figure 1 is a flow chart of a steering wheel control method based on a game mode in one embodiment of the present invention; Figure 2 is a structural schematic diagram of a steering wheel control device based on a game mode in one embodiment of the present invention; Figure 3is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0013] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0014] In one embodiment, if Figure 1 As shown, a steering wheel control method based on a game mode is provided, comprising the following steps S10-S40: S10. When the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated.
[0015] Understandably, the game mode refers to a mode in which the vehicle is in a game, allowing the user to control the control object in the game (the control object may refer to the game vehicle, etc.) through the vehicle's steering wheel to perform various game operations. The vehicle can switch between the game mode and the driving mode, that is, when switched to the driving mode, the vehicle can be driven normally through the steering wheel operation, and the steering wheel cannot be used for game operations. Similarly, when the vehicle is switched to the game mode, the steering wheel can only be used for game operations and cannot be used for vehicle driving operations.
[0016] It should be understood that after the vehicle is switched to game mode, the controller connected to the steering wheel will prompt the user in the game interface whether to correct the initial sensitivity of the steering wheel (the initial sensitivity refers to the sensitivity currently set for the game before receiving the correction instruction. If the user enters the game for the first time, the initial sensitivity is the default sensitivity pre-set by the developer after testing). If the user confirms that correction is needed, a steering wheel sensitivity correction instruction is generated and a first test route is created.
[0017] Preferably, after the user confirms that the initial sensitivity of the steering wheel needs to be corrected, the user will be prompted to first enter a sensitivity (the sensitivity can be different from or the same as the initial sensitivity of the steering wheel, which is not limited here), and then generate a steering wheel sensitivity correction instruction based on the sensitivity, and create a first test route corresponding to the sensitivity. It can be understood that the sensitivity corresponding to the first test route entered above needs to be assigned to the control object in the first test route, that is, the control object will be operated in the first test route with this sensitivity to perform game operations. Therefore, this sensitivity can be regarded as the current steering wheel sensitivity of the steering wheel in the first test route. Among them, the current steering wheel sensitivity refers to the vehicle control sensitivity parameter that needs to be tested and adjusted through the first test route. Here, the current steering wheel sensitivity can be determined according to the user's setting of the steering wheel sensitivity. For example, the current steering wheel sensitivity can be set in the range of (0-150), then the user can set the sensitivity of the steering wheel control game object on the vehicle to any value of 0~150. For example, if the user sets the sensitivity of the steering wheel control game object to 50 in the game interface, the current steering wheel sensitivity is 50. The steering wheel sensitivity correction instruction is generated after the user enters the current steering wheel sensitivity and performs a confirmation operation.
[0018] The first test route refers to a test route for testing and evaluating the sensitivity of steering wheel control, and the first test route includes at least one test section, and the test section is used to evaluate the rationality of the sensitivity of steering wheel control and response under specific conditions. Here, the specific conditions refer to the game operation scenarios set in the test section that require frequent steering wheel operation. For example, multiple turning sections can be set in the first test route as test sections to test and evaluate the rationality of the steering wheel control sensitivity.
[0019] Preferably, when the vehicle is in gaming mode, the function of at least one control key on the steering wheel can be updated according to the operating data of the game, thereby changing the control key from controlling the vehicle driving operation before the update to controlling the game operation.
[0020] S20. Acquire first test data corresponding to the first test route in real time; the first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route.
[0021] It is understandable that the first test data refers to the data of the user operating the steering wheel when the control object in the game is controlled by the steering wheel and running in the first test route. The control object refers to the vehicle or other character controlled by the user in the game. The steering wheel operation data refers to the data recording the user's actual operation of the steering wheel (turning the steering wheel or triggering the steering wheel control key), including the operation time, operation angle, operation speed, etc. It should be understood that the controller will record the steering wheel operation data of the user when passing through the first test route in real time. These steering wheel operation data not only record how the user turns the steering wheel or triggers the steering wheel control key to control the control object in the game, but also how the game responds to the operation and other related information.
[0022] S30. Determine a target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity.
[0023] Understandably, the target sensitivity refers to the optimal vehicle control sensitivity determined after the sensitivity is tested according to the first test data in the first test route. The collected first test data and the current steering wheel sensitivity are used to determine the target sensitivity, which is based on the user's performance and response expectations on the first test route. Therefore, correcting the current steering wheel sensitivity refers to adjusting the current steering wheel sensitivity according to the target sensitivity, so that the steering wheel control feels more natural and responsive, thereby making the sensitivity close to the expected value. Once the target sensitivity is determined, the game will adjust the sensitivity of the vehicle in game mode according to this value, that is, the initial sensitivity of the vehicle will eventually be replaced by the target sensitivity. The purpose of this is to make the steering wheel control feel more natural and responsive, so that the actual control sensitivity of the steering wheel and buttons matches the sensitivity in the game operation, thereby improving the control accuracy of the control object in the game.
[0024] S40. In response to the steering wheel operation instruction, control the steering wheel to perform the game operation according to the target sensitivity.
[0025] It is understandable that after the target sensitivity is confirmed, in response to the steering wheel operation instruction, the steering wheel will be controlled to perform the game operation according to the target sensitivity of the steering wheel. It should be understood that the steering wheel operation instruction refers to the game instruction for controlling the game operation through the steering wheel in the game mode.
[0026] In the above-mentioned embodiment of the present invention, in the game mode of the vehicle, by testing in the first test route, the target sensitivity adapted to the control object is determined, and then the target sensitivity is used to perform game operations, so that the actual control sensitivity of the steering wheel and buttons matches the sensitivity in the game operation, thereby improving the control accuracy of the control object in the game, making the steering wheel control feel more natural and responsive, and providing the user with a more comfortable gaming experience.
[0027] In one embodiment, that is, in step S30, the first test route includes at least one test section, and determining the target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity includes: S301, when determining that the controlled object passes through an end point of a first test section in the first test route, obtaining a first total duration from the first test data; the first total duration refers to a total duration of controlling the steering wheel to operate the controlled object to pass through the first test section with a current steering wheel sensitivity; S302: Determine a target sensitivity according to the first total duration and the current steering wheel sensitivity.
[0028] Understandably, the end point of the first test section refers to the end position of the first test section. The first total duration refers to the total time required for the steering wheel to control the control object in the game through the first test section with the current steering wheel sensitivity. The controller records the total time required for the user to control the control object to pass through the first test section in the first test route. The first total duration is the total time required from the user entering the starting point of the first test section to reaching the end point. Understandably, the longer the first total duration, the less likely the user will be able to operate sensitively in the first test section with the current steering wheel sensitivity, resulting in a longer first total duration. Therefore, the first total duration can be used to evaluate the performance of the steering wheel controlling the control object under the current steering wheel sensitivity. In this way, the controller can adjust the sensitivity according to the actual performance of the user, making the gaming experience more natural and responsive.
[0029] In one embodiment, that is, in step S302, determining the target sensitivity according to the first total duration and the current steering wheel sensitivity includes: S3021, obtaining a first preset duration associated with the first test section, and determining a first difference between the first total duration and the first preset duration, wherein the first preset duration is a reference duration for controlling the controlled object to pass through the first test section normally; S3022. When the first difference falls within a preset fluctuation range, determine the current steering wheel sensitivity as the target sensitivity.
[0030] It is understandable that the first preset duration is the reference duration for controlling the control object to pass the first test section normally. The reference duration refers to the standard passing time through the first test section, and the reference duration can be preset according to actual needs. Here, the first preset duration can be set according to the game designer's expectations for vehicle control and user performance. It should be understood that different standard passing times can be set for different test sections. The first total duration refers to the total actual time required for the control object in the game to pass the first test section with the current steering wheel sensitivity. The first difference refers to the time difference between the first total duration and the first preset duration. The first difference represents the difference between the actual performance of the user in the first test section and the preset standard performance. The preset fluctuation range refers to the allowable error fluctuation range of a preset time. Here, the preset fluctuation range can be a time range set by the game designer, and the first difference is allowed to fluctuate within this range, which is considered to be an acceptable performance. In this embodiment, when the first difference belongs to the preset fluctuation range, it means that the user can operate sensitively with the current steering wheel sensitivity for testing, and the actual performance can match the preset standard performance. In this way, the controller can ensure that the control sensitivity of the steering wheel can both meet the expectations of game design and adapt to the operating habits of different users.
[0031] In one embodiment, that is, in step S302, determining the target sensitivity according to the first total duration and the current steering wheel sensitivity includes: S3023. Obtain a first difference between the first total duration and a first preset duration; S3024. When the first difference exceeds the preset fluctuation range, the product of the first difference, the current steering wheel sensitivity and the correction coefficient is determined as the correction sensitivity; it can be understood that the correction coefficient refers to a value used to adjust the sensitivity. The correction sensitivity refers to a new sensitivity value obtained by calculating the product of the first difference, the current steering wheel sensitivity and the correction coefficient. It should be understood that if the first difference exceeds the preset fluctuation range, it means that the user's performance is significantly different from the preset standard, and the controller needs to continue to adjust the sensitivity. Specifically, the correction coefficient can be set according to demand. When the first difference is greater than the maximum value of the preset fluctuation range, it means that the user cannot operate sensitively when testing with the current steering wheel sensitivity, and the actual performance is poor compared to the preset standard. The setting of the correction coefficient needs to satisfy that the correction sensitivity in this state is lower than the previous current steering wheel sensitivity. When the first difference is less than the minimum value of the preset fluctuation range, it means that the user is very sensitive when testing with the current steering wheel sensitivity, and the actual performance is much better than the preset standard. At this time, the setting of the correction coefficient needs to satisfy that the correction sensitivity in this state is higher than the previous current steering wheel sensitivity.
[0032] S3025, controlling the steering wheel to operate the controlled object to pass through the next test section with the corrected sensitivity, and obtaining a second total time duration for the controlled object to pass through the next test section; It is understandable that the second total duration refers to the total time required for the steering wheel to control the controlled object in the game to pass the next test section with the corrected sensitivity. It is understandable that the control performance of the steering wheel under the corrected sensitivity can be evaluated based on the total time required for the steering wheel to control the controlled object to pass the next test section with the corrected sensitivity.
[0033] S3026, obtaining a second preset duration associated with the next test section, and determining to obtain a second difference between the second total duration and the second preset duration; the second preset duration is a reference duration for controlling the control object to pass through the next test section normally; it is understandable that the second preset duration refers to the preset standard passing time for passing through the next test section, and the second preset duration can be set according to actual needs. Here, the second preset duration can be set according to the game designer's expectations for vehicle control and user performance. It should be understood that different standard passing times can be set for different test sections. That is, there is no necessary connection between the first preset duration and the second preset duration, and the two can be the same or different. The second difference refers to the time difference between the second total duration and the second preset duration, and the second difference is used to represent the difference between the user's actual performance in the next test section and the preset standard performance.
[0034] S3027: When the second difference falls within a preset fluctuation range, determine the corrected sensitivity as the target sensitivity.
[0035] Understandably, if the second difference is within the preset fluctuation range, it means that the user's performance of passing the next test section of the first test section using the current corrected sensitivity matches the user's actual operating ability, and the controller will determine the corrected sensitivity as the final target sensitivity. If the second difference is not within the preset fluctuation range, the system may need to adjust the sensitivity again and repeat the test process with reference to the above step S3024 and subsequent steps.
[0036] In one embodiment, that is, in step S30, determining the target sensitivity of the steering wheel according to the first total duration and the current steering wheel sensitivity includes: S303. When the target sensitivity is consistent with the current steering wheel sensitivity, the current steering wheel sensitivity of the controlled object in the game mode is corrected to the target sensitivity; it can be understood that if the target sensitivity determined through testing and analysis is the same as the current steering wheel sensitivity being tested, this means that the current sensitivity setting is already optimal, and the controller will directly correct the current steering wheel sensitivity of the steering wheel in the game mode to the target sensitivity.
[0037] S304: When the target sensitivity is inconsistent with the current steering wheel sensitivity, if a confirmation instruction is received, the current steering wheel sensitivity of the controlled object in the game mode is corrected to the target sensitivity. It can be understood that when the target sensitivity is inconsistent with the current steering wheel sensitivity, it means that the current sensitivity setting is not optimal. At this time, the controller can prompt the user whether to confirm to play the game with the target sensitivity that is not optimal. If the user confirms to use the target sensitivity and generates a confirmation instruction, the controller will correct the current steering wheel sensitivity to the target sensitivity according to the received confirmation instruction.
[0038] In one embodiment, that is, in step S30, determining the target sensitivity of the steering wheel according to the first total duration and the current steering wheel sensitivity includes: S305. When the target sensitivity is inconsistent with the current steering wheel sensitivity, if the steering wheel sensitivity correction instruction is received again, a second test route is generated; understandably, the second test route includes at least one test section; when the target sensitivity is inconsistent with the current steering wheel sensitivity, it means that the current sensitivity setting is not optimal. At this time, the controller can prompt the user whether to make corrections again. If the user confirms to make corrections again and generates the steering wheel sensitivity correction instruction again, the controller will generate a second test route according to the steering wheel sensitivity correction instruction received again. It is understandable that the second test route is a new test route created to further test and evaluate the control performance of the steering wheel, and the second test route includes at least one test section. Among them, the test section of the second test route is used to evaluate the rationality of the sensitivity of the steering wheel control and response under specific conditions. Here, the specific condition refers to the game operation scene set in the test section that requires frequent operation of the steering wheel. For example, multiple turning sections can be set in the second test route as test sections for testing and evaluating the steering wheel control sensitivity.
[0039] S306. Acquire in real time the second test data corresponding to the second test section; the second test data refers to the steering wheel operation data when controlling the steering wheel to operate the control object to pass through the second test route; understandably, the second test data refers to the data of steering wheel operation when the user controls the control object in the game through the steering wheel to run in the second test route.
[0040] S307, updating the target sensitivity according to the second test data; S308. In response to the steering wheel operation instruction, control the steering wheel to perform the game operation according to the updated target sensitivity.
[0041] It is understandable that the updated target sensitivity refers to the new target sensitivity determined based on the second test data. Specifically, when determining that the controlled object passes the end point of a certain test section in the second test route, the third total duration is obtained from the second test data; the target sensitivity is updated to the new target sensitivity based on the third total duration and the current steering wheel sensitivity. Among them, the third total duration refers to the total duration of controlling the steering wheel to operate the controlled object through the test section in the second test route with the current steering wheel sensitivity. The process of updating the target sensitivity specifically according to the second test data can refer to the process of determining the target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity in step S30 of the above embodiment, which will not be repeated here.
[0042] It should be understood that the controller updates the target sensitivity based on the second test data obtained from the second test route. The updated target sensitivity will more accurately reflect the user's performance under the new test conditions and the responsiveness between the steering wheel and the controlled object. Correcting the current steering wheel sensitivity of the steering wheel in the game mode according to this updated target sensitivity can provide a more natural and responsive gaming experience.
[0043] In one embodiment, controlling the steering wheel to perform a game operation according to the target sensitivity includes: S40. Determine a target sampling frequency according to the target sensitivity, and adjust the current data sampling frequency of the steering wheel to the target sampling frequency, so that the sensitivity of the steering wheel is adjusted from the current steering wheel sensitivity to the target sensitivity.
[0044] Understandably, the sampling frequency refers to the frequency of collecting the real-time rotation data of the steering wheel. The higher the sampling frequency, the higher the sensitivity, and vice versa. The real-time rotation data refers to the data of the steering wheel rotation obtained during the game operation, including real-time operation time, real-time operation speed, real-time rotation force, real-time rotation amplitude, real-time acceleration, etc. The higher the sampling frequency, the more real-time rotation data is obtained, and the more rotation data generated for manipulating the control object is generated, so that the control sensitivity of the control object is higher. As can be seen from the above, a target sampling frequency corresponding to the target sensitivity can be determined according to the target sensitivity, and then the current data sampling frequency of the controller for the real-time rotation data of the steering wheel can be adjusted to the target sampling frequency determined according to the target sensitivity. In this way, the sensitivity of the steering wheel will be converted from the current steering wheel sensitivity to the target sensitivity, and then applied to the control object in the game interface. In this way, the corrected target sensitivity ensures that the user's control of the steering wheel can be accurately and naturally converted into the action of the control object in the game. If the sensitivity is set too high, the vehicle may over-respond to the user's small movements; if it is set too low, the vehicle may appear sluggish and not sensitive enough to the user's operation. Therefore, in this embodiment, by controlling the sampling frequency to accurately adjust the sensitivity, a more realistic and immersive gaming experience can be provided.
[0045] In one embodiment, the vehicle steering wheel control method further includes: S50, determining the total number of steering wheel sensitivity correction instructions currently received, and when the total number exceeds a preset number threshold, determining an optional sensitivity range according to the latest target sensitivity and the current steering wheel sensitivity; S60: Generate a modification prompt including the optional sensitivity range to prompt modifying the current steering wheel sensitivity to within the optional sensitivity range.
[0046] Understandably, the total number of correction instructions currently received includes the total number of correction instructions generated when the user determines to correct the current steering wheel sensitivity or target sensitivity in the above embodiment. The total number threshold refers to the preset total number limit value. When the total number of correction instructions received exceeds the total number threshold, it means that the operation of the user controlling the steering wheel is too different from the current steering wheel sensitivity set by the current user. At this time, it is necessary to prompt the user to modify the sensitivity to a reasonable optional sensitivity range so that the game operation can more easily achieve the target expectation. The optional sensitivity range refers to a sensitivity interval determined based on the current steering wheel sensitivity and the target sensitivity. For example, after taking the average value of the two, a fluctuation range is set based on the average value, and then the fluctuation range based on the average value is used as the optional sensitivity range, etc.; the user can choose to adjust the target sensitivity within this interval. The modification prompt refers to the prompt information generated according to the optional sensitivity range, suggesting that the user finally modify the steering wheel sensitivity to the optional sensitivity range. In this way, it can help users find the most suitable sensitivity setting while avoiding instability or confusion caused by frequent adjustments. By providing clear guidance after reaching a certain number of times, it can ensure that users can adjust the sensitivity within a reasonable range, thereby maintaining the balance and fun of the game.
[0047] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0048] In one embodiment, a steering wheel control device based on a game mode is provided, and the steering wheel control device based on a game mode corresponds one-to-one to the steering wheel control method based on a game mode in the above embodiment. Figure 2 As shown, the game mode-based steering wheel control device includes a test route module 10, a test data module 20, a correction module 30 and a control module 40. Each functional module is described in detail as follows: A test route module 10 is used to generate a first test route when the vehicle is in the game mode and when the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received; The test data module 20 is used to obtain first test data corresponding to the first test route in real time; the first test data refers to the steering wheel operation data when the control object in the vehicle steering wheel operation game interface passes through the first test route; A correction module 30, configured to determine a target sensitivity of the steering wheel according to the first test data and a current steering wheel sensitivity; The control module 40 is used to respond to the steering wheel operation instruction and control the steering wheel to perform the game operation according to the target sensitivity.
[0049] In the device of the above embodiment of the present invention, in the game mode of the vehicle, a target sensitivity adapted to the control object is determined by testing in the first test route, and then the current steering wheel sensitivity is corrected according to the above target sensitivity. Then, the corrected current steering wheel sensitivity is used to perform game operations, so that the actual control sensitivity of the steering wheel and buttons matches the sensitivity in the game operation, thereby improving the control accuracy of the control object in the game, making the steering wheel control feel more natural and responsive, and providing the user with a more comfortable gaming experience.
[0050] For the specific definition of the steering wheel control device based on the game mode, please refer to the definition of the steering wheel control method based on the game mode above, which will not be repeated here. Each module in the above-mentioned steering wheel control device based on the game mode can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0051] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The network interface of the computer device is used to communicate with an external server via a network connection. When the computer-readable instructions are executed by the processor, a steering wheel control method based on a game mode is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0052] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the following steps: When the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated; Acquire first test data corresponding to the first test route in real time; the first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; Determining a target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity; In response to the steering wheel operation instruction, the steering wheel is controlled according to the target sensitivity to perform the game operation.
[0053] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented: When the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated; Acquire first test data corresponding to the first test route in real time; the first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; Determining a target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity; In response to the steering wheel operation instruction, the steering wheel is controlled according to the target sensitivity to perform the game operation.
[0054] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0055] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0056] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A steering wheel control method based on a game mode, characterized in that: include: When the vehicle is in the game mode, if a steering wheel sensitivity correction instruction is received, a first test route is generated; Acquire first test data corresponding to the first test route in real time; The first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; Determining a target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity; In response to the steering wheel operation instruction, the steering wheel is controlled according to the target sensitivity to perform the game operation.
2. The game mode-based steering wheel control method according to claim 1, characterized in that: The first test route includes at least one test section, and determining the target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity includes: When determining that the controlled object passes through an end point of a first test section in the first test route, obtaining a first total duration from the first test data; the first total duration refers to a total duration of controlling the steering wheel to operate the controlled object to pass through the first test section with the current steering wheel sensitivity; A target sensitivity is determined according to the first total duration and the current steering wheel sensitivity.
3. The game mode-based steering wheel control method according to claim 2, characterized in that: The determining the target sensitivity according to the first total time and the current steering wheel sensitivity includes: Acquire a first preset duration associated with the first test section, and determine a first difference between the first total duration and the first preset duration, wherein the first preset duration is a reference duration for controlling the controlled object to pass through the first test section normally; When the first difference belongs to a preset fluctuation range, the current steering wheel sensitivity is determined as the target sensitivity.
4. The game mode-based steering wheel control method according to claim 2, characterized in that: The determining the target sensitivity according to the first total time and the current steering wheel sensitivity includes: Obtaining a first difference between the first total duration and a first preset duration; When the first difference exceeds a preset fluctuation range, determining the product of the first difference, the current steering wheel sensitivity and a correction coefficient as a correction sensitivity; controlling the steering wheel to operate the controlled object to pass through the next test section at the corrected sensitivity, and obtaining a second total time duration for the controlled object to pass through the next test section; Acquire a second preset duration associated with the next test section, and determine a second difference between the second total duration and the second preset duration; the second preset duration is a reference duration for controlling the controlled object to pass the next test section normally; When the second difference belongs to a preset fluctuation range, the corrected sensitivity is determined as the target sensitivity.
5. The game mode-based steering wheel control method according to claim 1, characterized in that: The step of controlling the steering wheel to perform game operations according to the target sensitivity includes: A target sampling frequency is determined according to the target sensitivity, and a current data sampling frequency of the steering wheel is adjusted to the target sampling frequency, so that the sensitivity of the steering wheel is adjusted from the current steering wheel sensitivity to the target sensitivity.
6. The game mode-based steering wheel control method according to claim 1, characterized in that: After determining the target sensitivity of the steering wheel according to the first test data and the current steering wheel sensitivity, the method includes: When the target sensitivity is inconsistent with the current steering wheel sensitivity, if a steering wheel sensitivity correction instruction is received again, generating a second test route; Acquire in real time second test data corresponding to the second test section; the second test data refers to steering wheel operation data when the steering wheel is controlled to operate the control object through the second test route; updating the target sensitivity according to the second test data; In response to the steering wheel operation instruction, the steering wheel is controlled to perform the game operation according to the updated target sensitivity.
7. A steering wheel control device based on a game mode, characterized in that: include: A test route module, configured to generate a first test route when a steering wheel sensitivity correction instruction is received when the vehicle is in a game mode; A test data module, used for acquiring first test data corresponding to the first test route in real time; The first test data refers to steering wheel operation data when a control object in a vehicle steering wheel operation game interface passes through the first test route; A correction module, used for determining a target sensitivity of the steering wheel according to the first test data and a current steering wheel sensitivity; The control module is used to respond to the steering wheel operation instruction and control the steering wheel to perform the game operation according to the target sensitivity.
8. A controller, characterized in that: The controller is used to execute the steering wheel control method based on the game mode as described in any one of claims 1-6.
9. A vehicle, characterized in that: The vehicle comprises a steering wheel and a controller as claimed in claim 8.
10. One or more computer-readable storage media storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steering wheel control method based on the game mode as described in any one of claims 1 to 6.