WO2020173251A1 - 辅助功能的开启方法、装置、设备及可读存储介质 - Google Patents

辅助功能的开启方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2020173251A1
WO2020173251A1 PCT/CN2020/072802 CN2020072802W WO2020173251A1 WO 2020173251 A1 WO2020173251 A1 WO 2020173251A1 CN 2020072802 W CN2020072802 W CN 2020072802W WO 2020173251 A1 WO2020173251 A1 WO 2020173251A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
data
game
auxiliary function
trigger
Prior art date
Application number
PCT/CN2020/072802
Other languages
English (en)
French (fr)
Inventor
翁尔森
刘晶
吴丽曼
管雅君
钱策
方煜宽
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to SG11202104915QA priority Critical patent/SG11202104915QA/en
Priority to JP2021516972A priority patent/JP7299975B2/ja
Priority to KR1020217012822A priority patent/KR102565830B1/ko
Publication of WO2020173251A1 publication Critical patent/WO2020173251A1/zh
Priority to US17/232,115 priority patent/US11684856B2/en
Priority to US18/316,780 priority patent/US20230277937A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/422Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle automatically for the purpose of assisting the player, e.g. automatic braking in a driving game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/22Setup operations, e.g. calibration, key configuration or button assignment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8017Driving on land or water; Flying

Definitions

  • the embodiments of the present application relate to the field of games, and in particular to a method, device, device, and readable storage medium for opening an auxiliary function. Background technique
  • a novice auxiliary function is usually set in the game, and the novice auxiliary function is used to assist the novice player to become familiar with the operation mode of the game, and to perform some operations in the game to cooperate with the player to complete the game.
  • novice players need to enable the novice assist function in the setting interface, and assist the player's game process through the novice assist function.
  • the player It is necessary to click the nitrogen spray control to achieve acceleration after drifting.
  • the automatic small spray function will assist the player in nitrogen acceleration when the player ignores clicking the nitrogen spray control.
  • the novice assist function provided in the setting interface is a fixed function, such as: the novice assist function provided in the setting interface in a racing game is an automatic spray function, and novice players have a lower level of proficiency during the game.
  • the operation is not necessarily the operation corresponding to the function provided in the setting interface, and the auxiliary accuracy of the novice auxiliary function is low.
  • the embodiments of the present application provide a method, device, device, and readable storage medium for opening an auxiliary function, which can solve the problem of low auxiliary accuracy of the novice auxiliary function.
  • the technical solutions are as follows:
  • a method for turning on auxiliary functions includes:
  • the game auxiliary function In response to the target data matching the trigger condition of the auxiliary function trigger, the game auxiliary function is triggered to start, wherein the target data is used to indicate the completion of the execution of the target operation, and the game The play assist function is used to assist the execution of the target operation;
  • the target operation is automatically executed according to the game auxiliary function.
  • an auxiliary function opening device in another aspect, and the device includes:
  • An obtaining module used to obtain target data generated by the target account in the current game match according to target operations
  • the trigger module is configured to trigger the start of the game auxiliary function in response to the target data matching the trigger condition of the auxiliary function trigger, wherein the target data is used to indicate the completion of the execution of the target operation, and the game auxiliary function Used to assist the execution of the target operation;
  • the execution module is configured to automatically execute the target operation according to the game auxiliary function when a trigger operation that meets the execution condition of the target operation is received in the current game match of the target account.
  • a computer device includes a processor and a memory.
  • the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, at least one program
  • the code set or instruction set is loaded and executed by the processor to implement the opening method of the auxiliary function provided in the above-mentioned embodiment of the present application.
  • a computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or The instruction set is loaded and executed by the processor to implement the opening method of the auxiliary function provided in the above-mentioned embodiment of the present application.
  • a computer program product which when the computer program product runs on a computer, causes the computer to execute the opening method of the auxiliary function provided in the above-mentioned embodiment of the present application.
  • the beneficial effects brought by the technical solutions provided by the embodiments of the present application include at least:
  • the game auxiliary function By matching the target data corresponding to the target operation with the trigger condition of the auxiliary function trigger, when the target data meets the trigger condition of the auxiliary function trigger, the game auxiliary function is turned on, and the game auxiliary function is used to trigger the target that turns on the function.
  • the operation is assisted, that is, after the game assist function is turned on, the operation assisted by the game assist function is to trigger the target operation to turn on the function, and the target data is used to indicate the completion of the target operation, when the target data indicates the target operation
  • the game auxiliary function is triggered, that is, the opening of the auxiliary function is targeted, and the target operation with poor execution completion during the game is turned on, and the game auxiliary has high accuracy.
  • the auxiliary efficiency is also higher. Description of the drawings
  • Fig. 1 is a schematic diagram of an interface of a game auxiliary function in a game setting interface provided by an exemplary embodiment of the present application;
  • Fig. 2 is a flowchart of a method for opening an auxiliary function provided by an exemplary embodiment of the present application
  • Fig. 3 is a schematic diagram of an interface for automatically returning to the front of the car after the game auxiliary function is turned on in a racing game provided by an exemplary embodiment of the present application
  • FIG. 4 is a schematic diagram of an interface for automatically assembling a magazine after the game assist function is turned on in a shooting game provided by an exemplary embodiment of the present application;
  • Fig. 5 is a flowchart of a method for opening an auxiliary function according to another exemplary embodiment of the present application
  • Fig. 6 is an interface for calculating the force F according to the angle between the racing car and the track provided by an exemplary embodiment of the present application
  • Fig. 7 is a flowchart of a method for opening an auxiliary function provided by another exemplary embodiment of the present application
  • Fig. 8 is a flowchart of a method for opening an auxiliary function provided by another exemplary embodiment of the present application
  • Fig. 10 is a flowchart of a method for opening an auxiliary function provided by another exemplary embodiment of the present application
  • Fig. 11 is a structural block diagram of an apparatus for opening an auxiliary function provided by an exemplary embodiment of the present application
  • Fig. 12 is an example of the present application
  • the structural block diagram of the terminal provided by the exemplary embodiment. detailed description
  • Game Auxiliary Function refers to the function of assisting players to perform auxiliary operations through the client to complete the game.
  • the auxiliary operation that the client assists the player to perform may be a complete game operation, a partial game operation, or a preset target operation.
  • the game assist function is turned on, assisting the player to perform the target operation is taken as an example for description.
  • the client terminal performs auxiliary operations according to player operations of the player in the game match.
  • the game assist function can be applied to a variety of game applications.
  • the game assist function can be applied to a racing application.
  • Game data refers to the data generated based on player operations in game matches.
  • the game data may include only game data of the current game, or may include historical data of a preset number of recent games, such as: game data of the last 3 games.
  • the game data includes target data generated according to the target operation, and the target data is used to indicate the execution completion of the target operation.
  • the target data includes at least one of operation data and calculation data, where the operation data includes the operation frequency of the target operation.
  • the player clicks the left turn control and the drift control Then the generated operation is a leftward drift operation. After the drift operation, click the right turn control to generate a head return operation.
  • This operation data is used to indicate the frequency of the head return operation after the drift operation.
  • the leftward drift operation As an example, the drift operation can also be implemented as a right drift operation. After the drift operation, click the left turn control as the front return operation.
  • the operation data is mainly for the game operation of the player during the game.
  • the game operation data is mainly for the operation of the player to control the car, that is, the game operation data It does not include the setting operations performed by the player, such as: turn on voice operation, turn off voice operation, etc.
  • the above calculation data is used to indicate the completion quality of the target operation. Illustratively, in a racing game, clicking the right turn control after the left drift operation will generate the head return operation.
  • the calculation data is used to indicate After the drift operation, the finished quality of the front-end operation, that is, the angle between the car and the track after the front-end operation.
  • the target data is used to determine the game proficiency of the target account.
  • the player controls the car by controlling the left turn control, the right turn control and the drift control.
  • the front of the car is not turned back many times, or, After the player controls the car to drift to the left or right, the front of the car is turned back to the center, and the front of the car is turned back to the center and deflected many times, such as: After drifting to the left, turn the front of the car back to the center and deflect to the right, then the game assist is activated Function to assist the player to turn the front of the racing car back straight after drifting;
  • TPS Three-person shooting game
  • FPS First-person shooting game
  • the player controls the virtual character to fight through virtual firearms.
  • the virtual character uses virtual firearms to fight After shooting, if the virtual firearm has not been supplemented with the magazine for many times, the game auxiliary function is turned on to assist the player to automatically supplement the magazine after shooting.
  • the setting interface 100 of a racing game includes an automatic spray Setting item 110, after the player chooses to enable the automatic spray setting item 110, when the player completes drifting in the game match, the automatic spray can be accelerated without clicking the nitrogen control in the game interface.
  • the method for enabling the auxiliary function provided in the embodiments of the present application is described.
  • the method can be applied to a terminal or a server. As shown in Figure 2, the method includes:
  • Step 201 Obtain target data generated by the target account in the current game match according to the target operation.
  • the target data includes data generated by the target account in the current game match, and may also include historical data generated by the target account in the last preset number of matches, such as: generated by the target operation in the last 3 matches Target data.
  • the target data includes at least one of operation data and calculation data, where the operation data includes the operation frequency of the target operation, and optionally, the operation data may also include the number of operations of the target operation, etc., illustratively, In a racing game match, the player clicks the left turn control and the drift control, and the generated operation is a left drift operation. After the drift operation, clicks the right turn control to generate the head back operation.
  • This operation data is used to indicate the drift operation.
  • the frequency of head-back operation is used.
  • the operation data is mainly for the game operation of the player during the game, that is, the game operation data does not include the setting operation performed by the player, such as turning on voice operation, turning off voice operation, and so on.
  • the above-mentioned calculation data is used to indicate the completion quality of the target operation.
  • the target data is used to determine the game proficiency of the target account.
  • the terminal caches the game data generated by the target account in the current game match, and the terminal directly obtains the target from the cache area.
  • Data When the target data includes only the data generated by the target account in the current game match, or the target data includes the data generated in the current game match and the historical data generated by the most recent preset number of matches, the terminal can download from The target data is acquired from the server, for example, after the terminal sends a data acquisition request to the server, the historical data generated by the target operation stored in the server and the data in the current game match are acquired.
  • the terminal sends the generated game data to the server in real time during the game match.
  • the timing for obtaining the target data includes any one of the following situations:
  • the target data is acquired every preset time length.
  • step 202 in response to the target data matching the trigger condition of the auxiliary function trigger, trigger to start the game auxiliary function.
  • the target data is used to indicate the completion of the execution of the target operation
  • the game assist function is used to assist the execution of the target operation.
  • the trigger condition of the auxiliary function trigger includes that the execution completion of the target operation is lower than the preset completion.
  • a trigger condition is set in the auxiliary function trigger, and the trigger condition is used for matching with the target data to determine whether the target data meets the requirements for starting the game auxiliary function.
  • a single set of trigger conditions may include multiple trigger conditions, where at least one trigger condition in the single set of trigger conditions is met to enable the game assist function; or, a preset number of trigger conditions are met in the single set of trigger conditions to start Game auxiliary function; or, open when each trigger condition in a single set of trigger conditions is met Game accessibility features.
  • determining the match between the target data and the trigger condition of the auxiliary function trigger includes any one of the following situations.
  • the target data includes at least one of operation data and calculation data, and the operation data is used to indicate the target
  • the operating frequency of the operation, the calculated data is used to represent the completion quality of the target operation:
  • the target account is a login account in the racing application
  • the target operation is a front-back operation
  • the game assist function is triggered, where the operating frequency of the head-returning operation is calculated based on the number of received drift operations and the number of head-returning operations.
  • the operating frequency of the turning-back operation is the ratio of the number of turning-back operations to the number of drifting operations.
  • the preset frequency is 20%. When the operating frequency of the head-returning operation is within 20%, it is determined that the operating frequency of the target operation matches the preset frequency, and the game assist function is activated.
  • the target account is a login account in the racing application
  • the calculated data includes the angle data between the racing car and the track.
  • the target data includes calculation data
  • the number of times the angle between the car and the track in the calculation data is greater than the preset angle reaches the preset number of times
  • the game assist function is triggered to start.
  • the angle between the car and the track is obtained after receiving the drift operation and the head-back operation, and the angle between the driving direction of the car and the direction of the track is determined.
  • the angle between the racing car and the track can also be understood as the angle between the driving direction of the racing car and the track.
  • the target data range is greater than 30°
  • the preset number of times is 3 times.
  • the number of times that the angle between the car and the track is greater than 30° reaches 3 times, it is determined that the game calculation data within the target data range in the calculation data appears If the number of times matches the preset number of times, the game auxiliary function is turned on.
  • the target data includes operating data and calculation data, and the operating frequency in response to the front return operation is lower than the preset frequency and the number of times the angle between the car and the track in the calculation data is greater than the preset angle reaches the preset Set the number of times to trigger the opening of the game auxiliary function;
  • the game auxiliary function is triggered
  • the game assist function is triggered to start.
  • the game auxiliary function refers to the function of assisting the player to perform auxiliary operations through the client to complete the game.
  • the game assist function is used to assist the execution of the target operation.
  • Step 203 In the current game match of the target account, when a trigger operation meeting the execution condition of the target operation is received, the target operation is automatically executed according to the game auxiliary function.
  • the client terminal performs auxiliary operations according to player operations of the player in the game match.
  • the above-mentioned trigger operation is an operation that triggers the target operation, that is, an operation performed before the target operation is performed in a game match.
  • the front-returning operation is the target operation
  • the drifting operation before the frontal-returning operation is the triggering operation of the frontal backing operation; or, because the magazine clip after the shooting operation The bullet is missing, so the magazine replenishment operation is the target operation, and the shooting operation before the magazine replenishment operation is the trigger operation of the magazine replenishment operation.
  • the game assist function can be applied to a racing application.
  • the client exerts a rightward force on the front of the racing car.
  • the driving direction of the power car is rotated to be consistent with the direction of the track, that is, the player does not need to manually adjust the front direction after drifting.
  • the game assist function is a function applied to the current game match, and the game assist function can also be applied to other game matches of the target account, such as: the game assist function is applied to the current game match In the next game match.
  • the player can turn off the game assist function in the setting interface, or the game assist function can be automatically turned off according to the target operation through the client, which is not included in this embodiment of the application. limited.
  • the game assist function is used to perform a front return operation after a drift operation, that is, assist the player to rotate the front of the car until it is consistent with the direction of the track.
  • a drift operation that is, assist the player to rotate the front of the car until it is consistent with the direction of the track.
  • the driving direction of the car will usually be deflected.
  • the front of the car will deflect to the left side of the track.
  • the direction of the car and the track is consistent, that is, the direction of the car is consistent with the direction of the track.
  • FIG. 3 Schematically, please refer to FIG. 3.
  • the racing game game interface 300 includes a race track 310 and a race car 320, where the race track 310 is presented as two L-shaped vertical race tracks 311 and a race track. 312.
  • the racing car 320 turns from the track 311 to the track 312, it makes a right-hand drift operation to turn.
  • the front of the racing car 320 is deflected to the right, and the racing car 320 is assisted by the game assist function.
  • 320 is driving in a direction parallel to the track 312.
  • the game assist function is used to perform a magazine supplement operation after shooting, that is, to assist the player in supplementing the magazine.
  • the number of bullets in the virtual firearms magazine is reduced.
  • the bullets in the magazine are completely filled.
  • the TPS game game interface 400 includes a virtual object 410 and a firearm display control 420, the virtual object 410 holds a virtual firearm 411, and the firearm display control 420 displays the virtual firearm 411
  • the gun status which includes the magazine status bar 421 of the virtual gun 411.
  • the current virtual gun 411 has 12 bullets in the magazine, and in the fully equipped state, the magazine should include 40 bullets. Therefore, through the game assist function, the magazine of the virtual firearm 411 is completely filled.
  • the method for opening the auxiliary function matches the target data corresponding to the target operation with the trigger condition of the auxiliary function trigger.
  • the game is started Auxiliary function
  • the game auxiliary function is used to assist the target operation that triggers the opening of the function, that is, after the game auxiliary function is turned on
  • the operation assisted by the game auxiliary function is the target operation that triggers the opening of the function
  • the target data It is used to indicate the completion of the execution of the target operation.
  • the game auxiliary function is triggered, that is, the activation of the auxiliary function is targeted and specific to the execution completion during the game.
  • FIG. 5 is a flowchart of a method for opening an auxiliary function provided by another exemplary embodiment of the present application. The method is applied to a racing application. Methods include:
  • Step 501 Obtain target data generated by the target account according to the target operation in the current game match.
  • the target data includes data generated by the target account in a current game match, and may also include historical data generated by the target account in a recent preset number of matches.
  • the target data includes at least one of operation data and calculation data, where the operation data is used to indicate the operation frequency of the target operation, and the calculation data is used to indicate the operation completion quality of the target operation.
  • the target data is used to determine the game proficiency of the target account.
  • Step 502 When the target data includes the operation data of the front-end operation, and the operation data of the front-end operation When the operating frequency is lower than the preset frequency, the game auxiliary function is triggered to start.
  • the operating frequency of the head-back operation is calculated based on the number of drift operations received and the number of head-back operations.
  • the operating frequency of the head-return operation is the ratio of the number of received head-return operations to the number of drift operations.
  • the preset frequency is 20%
  • the number of drift operations received by the terminal is 10 times
  • the number of head-back operations performed after the terminal receives the drift operation is 1, then when the head-back operations are performed
  • the frequency is 10%, and within 20%, the game assist function is turned on.
  • Step 503 When the target data includes calculation data, and the number of times that the included angle between the car and the track in the calculated data is greater than the preset included angle reaches the preset number of times, the game assist function is triggered to start.
  • the angle between the racing car and the track is obtained by determining the angle between the driving direction of the racing car and the track direction after receiving a drift operation and a head-returning operation.
  • the angle between the racing car and the track is obtained after the racing car drifts and performs a correction operation, and then the angle between the racing car and the track is determined.
  • the angle between the racing car and the track can also be understood as the angle between the driving direction of the racing car and the track; or, the angle between the line between the rear and the front of the racing car and the track.
  • the target data range is greater than 30°, and the preset number of times is 3 times. After the drift operation and the front return operation, the number of times the angle between the car and the track is greater than 30° reaches 3 times, then the player is in the front of the car. The quality of the return in the return operation is poor, and there are more cases of excessive or insufficient return of the front of the vehicle, which triggers the opening of the game assist function.
  • Step 504 In the current game match of the target account, after the drift operation is received, the heading operation is automatically executed according to the game auxiliary function.
  • a force is applied to the front of the car according to the game assist function, and the force is used to deflect the driving direction of the car to be consistent with the direction of the track .
  • applying a force to the front of the racing car includes any one of the following situations:
  • the terminal receives the drift operation and does not receive the head-back operation within the preset time period, that is, when the car finishes drifting in the current game match, it does not receive the head-back operation within the preset time period, and the car and race When the angle between the lanes is greater than the preset angle, apply force to the front of the car;
  • the front-end operation is received within the preset time period, that is, the front-end operation is received after the car drifts in the current game match, and the angle between the car and the track When the included angle is greater than the preset angle, force is applied to the front of the racing car.
  • the front-end operation is not performed, and the angle between the racing car and the track If the angle is greater than the preset angle, that is, the car does not return to the center after drifting, resulting in excessive drift; after the racing car completes the drift, the front of the car is returned to the center, and the angle between the car and the track is greater than the preset angle, that is, the car is in Excessive deflection in the process of returning to normal.
  • the process of determining the angle between the racing car and the track first determine the racing direction according to the connection between the racing center and the front of the car, and determine the angle between the two according to the racing direction and the track direction.
  • the magnitude of the force is calculated by identifying the friction between the car and the ground, and the force is applied to the front of the car to ensure that the driving direction of the car is consistent with the direction of the track.
  • the racing game interface 600 includes a race track 610 and a racing car 620.
  • the front of the racing car 620 is in a rightward deflection state, and
  • the angle between the racing car 620 and the track is a, and after the friction between the racing car 620 and the track 610 is determined by the game assist function, the force F is calculated and the force F is applied to the front of the racing car 620 .
  • Step 701 drift ends.
  • Step 702 It is judged whether the angle between the front of the car and the track is greater than 30°.
  • Step 703 When the angle between the front of the car and the track is not greater than 30°, no assistance is provided.
  • step 704 when the angle between the front of the car and the track is greater than 30°, it is determined whether the number of occurrences of excessive drift in the current game is greater than 3 times.
  • Step 705 When the number of occurrences of excessive drift in the current game is not more than 3, no assistance is performed.
  • step 706 when the number of occurrences of excessive drift in the current game is greater than 3 times, a force is applied to the front of the car to make the front of the car back straight.
  • step 707 it is judged whether the front of the car is back to the right.
  • step 708 when the front of the vehicle has not returned to the center, continue to perform step 706.
  • step 709 when the front of the car is back to the center, nitrogen is provided to the racing car.
  • step 709 may be automatically implemented according to the game auxiliary function, or may be implemented according to the player's operation in the game interface.
  • the racing car performs a head-back operation within a preset time after drifting in the current game match, and the angle between the racing car and the track is not greater than the preset angle, There is no need to apply force to the front of the racing car.
  • the player's operation is blocked.
  • the method for opening the auxiliary function matches the target data corresponding to the target operation with the trigger condition of the auxiliary function trigger, and when the target data meets the auxiliary function trigger condition,
  • the trigger condition of the launcher is triggered, the game auxiliary function is turned on, and the game auxiliary function is used to assist the target operation that triggers the opening of the function, that is, after the game auxiliary function is turned on, the operation assisted by the game auxiliary function is trigger on
  • the target operation of the function, and the target data is used to indicate the completion of the execution of the target operation.
  • the game auxiliary function is triggered, that is, the activation of the auxiliary function is targeted Yes, the target operation that is poorly executed during the game is turned on, and the game assist accuracy is higher, and the assist efficiency is also higher.
  • the player’s game proficiency is determined by judging whether the player performs a head-returning operation after drifting, or judging the accuracy of the player’s head-returning operation during the head-returning operation, and When the player's proficiency is low, the auxiliary function is turned on to assist the player to complete the drifting operation of the front of the vehicle, which is convenient for the player to operate and facilitates the improvement of the proficiency of the novice player.
  • the game auxiliary function is automatically turned on, it can also be automatically turned off according to the target data.
  • FIG. 8 is a flowchart of a method for turning on the auxiliary function provided by another exemplary embodiment of the present application. In a game application, the method includes:
  • Step 801 Obtain target data generated by the target account according to the target operation in the current game match.
  • the target data includes data generated by the target account in a current game match, and may also include historical data generated by the target account in a recent preset number of matches.
  • the target data includes at least one of operation data and calculation data, where the operation data is used to indicate the operation frequency of the target operation, and the calculation data is used to indicate the operation completion quality of the target operation.
  • the target data is used to determine the game proficiency of the target account.
  • step 802 when the target data matches the trigger condition of the auxiliary function trigger, trigger to start the game auxiliary function.
  • the target data is used to indicate the completion of the execution of the target operation
  • the game assist function is used to assist the execution of the target operation.
  • the trigger condition of the auxiliary function trigger is a condition corresponding to when the execution completion of the target operation is lower than the preset completion.
  • a trigger condition is set in the auxiliary function trigger, and the trigger condition is used to match the target data to determine whether the target data meets the requirements for triggering the game auxiliary function.
  • determining the match between the target data and the trigger condition of the auxiliary function trigger includes any one of the following situations.
  • the target data includes at least one of operation data and calculation data, wherein the operation data includes the target operation
  • the operation frequency of the calculated data includes the operation completion quality of the target operation.
  • the game auxiliary function refers to a function of assisting the player to perform auxiliary operations through the client to complete the game.
  • the game assist function is used to assist the execution of the target operation.
  • a prompt message is displayed in the interface of the game match, and the prompt message is used to remind the player that the game assist function is enabled in the current game match.
  • a prompt message 910 is displayed in the racing game match interface 900, and the prompt content of the prompt message 910 is "Automatic drift correction is enabled in the current game”.
  • Step 803 In the current game match of the target account, when a trigger operation meeting the execution condition of the target operation is received, the target operation is automatically executed according to the game auxiliary function.
  • the client terminal after the game auxiliary function is turned on, performs auxiliary operations according to player operations of the player in the game match.
  • the above-mentioned trigger operation is an operation that triggers the target operation, that is, an operation performed before the target operation is performed in a game match.
  • the game assist function is a function applied to the current game match, and the game assist function can also be applied to other game matches of the target account, such as: the game assist function is applied to the current game match In the next game match.
  • Step 804 Obtain target data generated by the target account after the game auxiliary function is turned on according to the target operation.
  • the target data is data generated by the target account according to the target operation during the continued game after the game auxiliary function is automatically turned on.
  • Step 805 When the target data does not match the trigger condition of the auxiliary function trigger, trigger to close the game auxiliary function.
  • the target data includes data generated by the target account after the game assist function is enabled according to the target operation.
  • the target data may also include data generated according to target operations before the game auxiliary function is turned on.
  • the operation implemented by the auxiliary function is different from the player operation, generally, the operation effect realized by the auxiliary function is weaker than the player operation.
  • the operation effect realized by the auxiliary function is weaker than the player operation.
  • the heading operation can be performed at the same time as the drifting operation ends.
  • the auxiliary function realizes the heading backing operation, it needs to be preset after the player triggers the drifting operation to end. Therefore, the player prefers to play the game through player operation.
  • Step 1010 Turn on the game data collection system.
  • Step 1020 Register the trigger through the trigger rule.
  • Step 1030 Determine whether the game data meets the trigger.
  • Step 1040 When the game data meets the trigger, activate the touch Hair.
  • Step 1050 Activate the corresponding auxiliary function according to the trigger.
  • Step 1060 When the game data does not satisfy the trigger, it is determined whether the auxiliary function has been turned on.
  • Step 1070 When the auxiliary function is turned on, turn off the auxiliary function.
  • Step 1080 When the auxiliary function is not turned on, continue to perform step 1030 to determine whether the game data meets the trigger.
  • the method for opening the auxiliary function matches the target data corresponding to the target operation with the trigger condition of the auxiliary function trigger.
  • the game is started Auxiliary function
  • the game auxiliary function is used to assist the target operation that triggers the opening of the function, that is, after the game auxiliary function is turned on
  • the operation assisted by the game auxiliary function is the target operation that triggers the opening of the function
  • the target data It is used to indicate the completion of the execution of the target operation.
  • the game auxiliary function is triggered, that is, the activation of the auxiliary function is targeted and specific to the execution completion during the game.
  • the poor target operation is turned on, the game assist accuracy is higher, and the assist efficiency is also higher.
  • FIG. 11 is a structural block diagram of a device for enabling an auxiliary function according to an exemplary embodiment of the present application.
  • the device may be implemented in a terminal. As shown in FIG. 11, the device includes: an acquisition module 1110, a trigger module 1120, and an execution module 1130 ;
  • the obtaining module 1110 is used to obtain target data generated by the target account according to the target operation in the current game match;
  • the trigger module 1120 is configured to trigger the activation of the game auxiliary function in response to the target data matching the trigger condition of the auxiliary function trigger, wherein the target data is used to indicate the completion of the execution of the target operation, and the game auxiliary The function is used to assist the execution of the target operation;
  • the execution module 1130 is configured to automatically execute the target operation according to the game auxiliary function when a trigger operation that meets the execution condition of the target operation is received in the current game match of the target account.
  • the trigger condition of the auxiliary function trigger includes that the execution completion of the target operation is lower than the preset completion.
  • the target data includes operation data and calculation data At least one, wherein the operation data includes the operation frequency of the target operation, and the calculation data includes the operation completion quality of the target operation;
  • the trigger module 1120 is further configured to respond to the target data including the operation data, and the operation frequency of the target operation indicated by the operation data is lower than a preset frequency, to trigger the activation of the game assist function ;
  • the trigger module 1120 is further configured to respond to the target data including the calculation data, and the number of occurrences of data within the target data range in the calculation data reaches a preset number of times, triggering the activation of the game assist function;
  • the trigger module is further configured to respond to the target data including the operation data and the calculation data, and that the operation frequency indicated by the operation data is lower than the preset frequency, the calculation data The number of occurrences of data within the target data range reaches the preset number of times, triggering the activation of the game auxiliary function.
  • the device is applied to a racing application
  • the target account is an account logged in in the racing application
  • the target operation is a front-end operation
  • the trigger module 1120 is further configured to trigger the start of the game in response to the target data including the operation data of the front return operation, and the operation frequency of the front return operation is lower than the preset frequency An auxiliary function, wherein the operating frequency of the front return operation is calculated based on the number of drift operations received and the number of the front return operation.
  • the device is applied to a racing application
  • the target account is an account logged in the racing application
  • the target operation is a front return operation
  • the calculation data is used for Indicates the angle between the racing car and the track after receiving the front return operation
  • the trigger module 1120 is further configured to respond to the target data including the calculation data, and the number of times the angle between the racing car and the track in the calculation data is greater than the preset angle reaches the preset angle. Set the number of times to trigger the activation of the game assist function, where the angle between the racing car and the track is the difference between the driving direction of the racing car and the track direction after the drift operation and the front return operation are received. The angle between is determined.
  • the execution module 1130 is further configured to, in response to receiving the drift operation, automatically execute the front return operation according to the game assist function.
  • the execution module 1130 is further configured to respond to receiving the drift In a shift operation, a force is applied to the front of the racing car according to the game assist function, and the force is used to deflect the driving direction of the racing car to be consistent with the direction of the track.
  • the execution module 1130 is further configured to respond to that the front-end operation is not received within a preset period of time after the drift operation is received, and that the racing car is connected to the track The included angle between is greater than the preset included angle, and the force is applied to the front of the racing car;
  • the execution module 1130 is further configured to receive the front return operation within a preset time period after receiving the drift operation, and the included angle between the racing car and the track is greater than the preset The included angle applies the force to the front of the racing car.
  • the auxiliary function activation device matches the target data corresponding to the target operation with the trigger condition of the auxiliary function trigger.
  • the game is started Auxiliary function
  • the game auxiliary function is used to assist the target operation that triggers the opening of the function, that is, after the game auxiliary function is turned on
  • the operation assisted by the game auxiliary function is the target operation that triggers the opening of the function
  • the target data It is used to indicate the completion of the execution of the target operation.
  • the game auxiliary function is triggered, that is, the activation of the auxiliary function is targeted and specific to the execution completion during the game.
  • the opening device for auxiliary functions provided in the above embodiments is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be allocated by different functional modules as needed, that is, the equipment The internal structure is divided into different functional modules to complete all or part of the functions described above.
  • the device for turning on the auxiliary function provided in the above-mentioned embodiment and the method embodiment of the method for turning on the auxiliary function belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here. FIG.
  • the terminal 1200 can be: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture experts compressed standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressed standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 1200 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1200 includes: a processor 1201 and a memory 1202.
  • the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1201 may adopt at least one hardware form among DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field_Programmable Gate Array), PLA (Programmable Logic Array, Programmable Logic Array). achieve.
  • the processor 1201 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the awake state, and is also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • the processor 1201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
  • the processor 1201 may further include an AI (Artificial Intelligence, artificial intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • the memory 1202 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1201 to implement the auxiliary functions provided by the method embodiments of the present application Method of opening.
  • the terminal 1200 may optionally further include: a peripheral device interface 1203 and at least one peripheral device.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 may be connected through a bus or signal line.
  • Each peripheral device can be connected to the peripheral device interface 1203 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1204, a touch screen 1205, a camera 1206, an audio circuit 1207, a positioning component 1208, and a power supply 1209.
  • the peripheral device interface 1203 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1201 and the memory 1202.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1201, the memory 1202, and the peripheral device interface 1203 or The two can be implemented on separate chips or circuit boards, which are not limited in this embodiment.
  • the radio frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1204 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts the received electromagnetic signals Converted to electrical signals.
  • the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network.
  • the radio frequency circuit 1204 may also include NFC (Near Field Communication, Near Field Communication) related circuits, which is not limited in this application.
  • the display screen 1205 is used to display UI (User Interface, user interface).
  • the UI may include graphics, text, icons, videos, and any combination thereof.
  • the display screen 1205 also has the ability to collect touch signals on or above the surface of the display screen 1205.
  • the touch signal can be input to the processor 1201 as a control signal for processing.
  • the display screen 1205 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 1205 there may be one display screen 1205, which is provided with the front panel of the terminal 1200; in other embodiments, there may be at least two display screens 1205, which are respectively arranged on different surfaces of the terminal 1200 or have a folding design; In still other embodiments, the display screen 1205 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal 1200. Furthermore, the display screen 1205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1205 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
  • the camera assembly 1206 is used to capture images or videos.
  • the camera assembly 1206 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 1206 may also include a flash.
  • the flash can be a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 1207 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1201 for processing, or input to the radio frequency circuit 1204 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 1200.
  • the microphone can also be an array microphone or an omnidirectional acquisition microphone Wind.
  • the speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves.
  • the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
  • the audio circuit 1207 may also include a headphone jack.
  • the positioning component 1208 is used to locate the current geographic location of the terminal 1200 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 1208 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, or the Galileo system of Russia.
  • the power supply 1209 is used to supply power to various components in the terminal 1200.
  • the power source 1209 may be alternating current, direct current, disposable batteries or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
  • a wired rechargeable battery is a battery charged through a wired line
  • a wireless rechargeable battery is a battery charged through a wireless coil.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 1200 further includes one or more sensors 1210.
  • the one or more sensors 1210 include but are not limited to: an acceleration sensor 1211, a gyroscope sensor 1212, a pressure sensor 1213, a fingerprint sensor 1214, an optical sensor 1215, and a proximity sensor 1216.
  • the acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1200.
  • the acceleration sensor 121 1 can be used to detect the components of the gravitational acceleration on three coordinate axes.
  • the processor 1201 can control the touch screen 1205 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1211.
  • the acceleration sensor 1211 can also be used for game or user motion data collection.
  • the gyroscope sensor 1212 can detect the body direction and rotation angle of the terminal 1200, and the gyroscope sensor 1212 can cooperate with the acceleration sensor 1211 to collect the user's 3D actions on the terminal 1200.
  • the processor 1201 can implement the following functions based on the data collected by the gyroscope sensor 1212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 1213 may be disposed on the side frame of the terminal 1200 and/or the lower layer of the touch screen 1205.
  • the processor 1201 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1213.
  • the pressure sensor 1213 is arranged on the lower layer of the touch screen 1205.
  • the manager 1201 realizes the control of the operability controls on the UI interface according to the user's pressure operation on the touch screen 1205.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 1214 is used to collect the user's fingerprint.
  • the processor 1201 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity based on the collected fingerprint.
  • the processor 1201 authorizes the user to perform related sensitive operations, and the sensitive operations include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 1214 can be set on the front, back or side of the terminal 1200. When a physical button or a manufacturer's logo is provided on the terminal 1200, the fingerprint sensor 1214 can be integrated with the physical button or the manufacturer's logo.
  • the optical sensor 1215 is used to collect the ambient light intensity.
  • the processor 1201 may control the display brightness of the touch screen 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1205 is decreased.
  • the processor 1201 may also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215.
  • the proximity sensor 1216 also called a distance sensor, is usually set on the front panel of the terminal 1200.
  • the proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200.
  • the processor 1201 controls the touch screen 1205 to switch from the on-screen state to the off-screen state; when the proximity sensor 1216 detects When the distance between the user and the front of the terminal 1200 gradually increases, the processor 1201 controls the touch display screen 1205 to switch from the rest screen state to the bright screen state.
  • FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.
  • the program can be stored in a computer-readable storage medium.
  • the medium may be a computer-readable storage medium included in the memory in the foregoing embodiment; or may be a computer-readable storage medium that exists alone and is not assembled into the terminal.
  • the computer-readable storage medium stores at least one instruction, at least one program, code set, or Instruction set, the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the activation of the auxiliary function described in any one of FIGS. 2, 5, and 8 method.
  • the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD, Solid State Drives), or optical discs.
  • the random access memory may include a resistance random access memory (ReRAM, Resistance Random Access Memory) and a dynamic random access memory (DRAM, Dynamic Random Access Memory).
  • ReRAM Resistance Random Access Memory
  • DRAM Dynamic Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Toys (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种辅助功能的开启方法、装置、设备及可读存储介质,涉及游戏领域。该方法包括:获取目标帐号在当前游戏对局中根据目标操作产生的目标数据(201);当目标数据与辅助功能触发器的触发条件匹配时,触发开启游戏辅助功能(202);在目标帐号的当前游戏对局中,当接收到符合目标操作的执行条件的触发操作时,根据游戏辅助功能自动执行目标操作(203)。通过对目标操作对应的目标数据与辅助功能触发器的触发条件进行匹配,当目标数据符合触发条件时,开启游戏辅助功能,而目标数据用于表示目标操作的执行完成情况,也即,辅助功能的开启是具有针对性的,针对游戏过程中执行完成情况较差的目标操作进行开启,游戏辅助准确度较高,辅助效率也较高。

Description

辅助功能的开启方法、 装置、 设备及可读存储介质 本申请要求于 2019年 02月 28 日提交的申请号为 201910153433.3、 发明名 称为 “游戏辅助功能的开启方法、 装置、 设备及可读存储介质” 的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本申请实施例涉及游戏领域, 特别涉及一种辅助功能的开启方法、 装置、 设备及可读存储介质。 背景技术
在游戏中通常设置有新手辅助功能, 该新手辅助功能用于辅助新手玩家熟 悉游戏的操作方式, 以及执行游戏中的部分操作以配合玩家完成游戏。
相关技术中, 新手玩家需要在设置界面中开启新手辅助功能, 通过新手辅 助功能对玩家的游戏过程进行辅助, 示意性的, 在赛车类游戏中, 以漂移为例, 在漂移操作完成后, 玩家需要点击氮气喷射控件以实现漂移后的加速, 当玩家 开启自动小喷功能时, 在玩家忽视点击氮气喷射控件时, 该自动小喷功能会协 助玩家进行氮气加速。
然而, 由于在设置界面中提供的新手辅助功能为固定的功能, 如: 赛车游 戏中的设置界面中提供的新手辅助功能为自动小喷功能, 而新手玩家的游戏过 程中操作熟练程度较低的操作并不一定是设置界面中提供的功能对应的操作, 该新手辅助功能的辅助准确度较低。 发明内容
本申请实施例提供了一种辅助功能的开启方法、 装置、 设备及可读存储介 质, 可以解决新手辅助功能的辅助准确度较低的问题。 技术方案如下:
一方面, 提供了一种辅助功能的开启方法, 所述方法包括:
获取目标帐号在当前游戏对局中根据目标操作产生的目标数据;
响应于所述目标数据与辅助功能触发器的触发条件匹配, 触发开启游戏辅 助功能, 其中, 所述目标数据用于表示所述目标操作的执行完成情况, 所述游 戏辅助功能用于对所述目标操作的执行进行辅助;
在所述目标帐号的所述当前游戏对局中, 当接收到符合所述目标操作的执 行条件的触发操作时, 根据所述游戏辅助功能自动执行所述目标操作。
另一方面, 提供了一种辅助功能的开启装置, 所述装置包括:
获取模块, 用于获取目标帐号在当前游戏对局中根据目标操作产生的目标 数据;
触发模块, 用于响应于所述目标数据与辅助功能触发器的触发条件匹配, 触发开启游戏辅助功能, 其中, 所述目标数据用于表示所述目标操作的执行完 成情况, 所述游戏辅助功能用于对所述目标操作的执行进行辅助;
执行模块, 用于在所述目标帐号的所述当前游戏对局中, 当接收到符合所 述目标操作的执行条件的触发操作时, 根据所述游戏辅助功能自动执行所述目 标操作。
另一方面, 提供了一种计算机设备, 所述计算机设备包括处理器和存储器, 所述存储器中存储有至少一条指令、 至少一段程序、 代码集或指令集, 所述至 少一条指令、 至少一段程序、 代码集或指令集由所述处理器加载并执行以实现 如上述本申请实施例中提供的辅助功能的开启方法。
另一方面, 提供了一种计算机可读存储介质, 所述可读存储介质中存储有 至少一条指令、 至少一段程序、 代码集或指令集, 所述至少一条指令、 至少一 段程序、 代码集或指令集由处理器加载并执行以实现如上述本申请实施例中提 供的辅助功能的开启方法。
另一方面, 提供了一种计算机程序产品, 当计算机程序产品在计算机上运 行时, 使得计算机执行如上述本申请实施例中提供的辅助功能的开启方法。 本申请实施例提供的技术方案带来的有益效果至少包括:
通过对目标操作对应的目标数据与辅助功能触发器的触发条件进行匹配, 当目标数据符合辅助功能触发器的触发条件时, 开启游戏辅助功能, 该游戏辅 助功能用于对触发开启该功能的目标操作进行辅助, 也即在开启游戏辅助功能 后, 该游戏辅助功能所辅助执行的操作为触发开启该功能的目标操作, 而目标 数据用于表示目标操作的执行完成情况, 当目标数据表示目标操作的执行完成 情况较差时, 触发游戏辅助功能, 也即, 该辅助功能的开启是具有针对性的, 针对游戏过程中执行完成情况较差的目标操作进行开启, 游戏辅助准确度较高, 辅助效率也较高。 附图说明
为了更清楚地说明本申请实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本申请 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1 是本申请一个示例性实施例提供的游戏设置界面中的游戏辅助功能的 界面示意图;
图 2是本申请一个示例性实施例提供的辅助功能的开启方法的流程图; 图 3 是本申请一个示例性实施例提供的赛车游戏中游戏辅助功能开启后自 动回正车头的界面示意图;
图 4 是本申请一个示例性实施例提供的射击类游戏中游戏辅助功能开启后 自动装配弹夹的界面示意图;
图 5是本申请另一个示例性实施例提供的辅助功能的开启方法的流程图; 图 6 是本申请一个示例性实施例提供的根据赛车与赛道之间的夹角计算作 用力 F的界面示意图;
图 7是本申请另一个示例性实施例提供的辅助功能的开启方法的流程图; 图 8是本申请另一个示例性实施例提供的辅助功能的开启方法的流程图; 图 9 是本申请一个示例性实施例提供的开启游戏辅助功能后进行提示的界 面示意图;
图 10是本申请另一个示例性实施例提供的辅助功能的开启方法的流程图; 图 11是本申请一个示例性实施例提供的辅助功能的开启装置的结构框图; 图 12是本申请一个示例性实施例提供的终端的结构框图。 具体实施方式
为使本申请的目的、 技术方案和优点更加清楚, 下面将结合附图对本申请 实施方式作进一步地详细描述。 首先, 对本申请实施例中涉及的名词进行简单介绍:
游戏辅助功能: 是指通过客户端辅助玩家进行辅助操作以完成游戏的功能。 可选地, 该游戏辅助功能开启后, 客户端辅助玩家进行的辅助操作可以是完整 的游戏操作, 也可以是部分游戏操作, 还可以是预设的目标操作。 可选地, 本 申请实施例中, 以开启游戏辅助功能后, 辅助玩家执行目标操作为例进行说明。 可选地, 该游戏辅助功能开启后, 客户端根据玩家在游戏对局中的玩家操作进 行辅助操作。 可选地, 该游戏辅助功能可以应用于多种游戏应用程序中, 示意 性的, 该游戏辅助功能可以应用于赛车应用程序中, 在赛车应用程序中, 当玩 家触发漂移操作进行转弯后, 通常需要点击反向转向控件以调整赛车的行驶方 向, 如: 玩家点击左转控件以及漂移控件进行左转漂移后, 需要点击右转控件 将赛车的方向旋转至与赛道方向一致, 而当游戏辅助功能开启后, 玩家在进行 左向漂移后, 由客户端对赛车车头施加向右的作用力, 根据该作用力赛车的行 驶方向旋转至与赛道方向一致, 即, 漂移后无需玩家手动调整车头方向。
游戏数据: 是指在游戏对局中根据玩家操作生成的数据。 可选地, 该游戏 数据可以是仅包括当前对局的游戏数据, 也可以包括最近预设数量对局的历史 数据, 如: 最近 3 局对局的游戏数据。 可选地, 该游戏数据中包括根据目标操 作产生的目标数据, 该目标数据用于表示目标操作的执行完成情况。 可选地, 该目标数据包括操作数据以及计算数据中的至少一种, 其中, 操作数据包括目 标操作的操作频率, 示意性的, 在赛车游戏对局中, 玩家点击左转控件和漂移 控件, 则生成的操作为左向漂移操作, 漂移操作后点击右转控件则生成车头回 正操作, 该操作数据用于表示漂移操作后, 执行车头回正操作的频率, 上述举 例中以左向漂移操作为例进行说明, 该漂移操作还可以实现为右向漂移操作, 则漂移操作后点击左转控件作为车头回正操作。 可选地, 该操作数据主要是针 对玩家在游戏过程中的游戏操作, 如: 在赛车游戏对局中, 该游戏操作数据主 要是针对玩家对赛车进行控制的操作, 也即, 该游戏操作数据中不包括玩家进 行的设置操作, 如: 开启语音操作、 关闭语音操作等。 可选地, 上述计算数据 用于表示目标操作的操作完成质量, 示意性的, 在赛车游戏对局中, 左向漂移 操作后点击右转控件则生成车头回正操作, 该计算数据用于表示漂移操作后, 车头回正操作的完成质量, 即车头回正操作后赛车与赛道之间的夹角。 可选地, 该目标数据用于判断目标帐号的游戏熟练程度。 其次, 本申请实施例提供的辅助功能的开启方法的应用场景进行说明, 本 申请提供的辅助功能的开启方法的应用场景至少包括如下应用场景中的至少一 种:
第一, 在赛车游戏中, 玩家通过控制左转控件、 右转控件以及漂移控件对 赛车进行控制, 当玩家控制赛车进行左转漂移或右转漂移后, 多次未将车头回 正, 或, 玩家控制赛车进行左向漂移或右向漂移后, 将车头回正的过程中, 多 次将车头回正并偏转, 如: 左转漂移后, 将车头回正并偏转至右, 则开启游戏 辅助功能以辅助玩家在漂移后将赛车车头回正;
第二, 在第三人称射击游戏 (Third-Personal Shooting Game, TPS ) 或第一 人称射击游戏 (First-person shooting game, FPS) 中, 玩家控制虚拟角色通过虚 拟枪械进行对战, 当虚拟角色通过虚拟枪械进行射击后, 多次未对虚拟枪械进 行补充弹夹操作, 则开启游戏辅助功能辅助玩家在射击后自动对弹夹进行补充。
值得注意的是, 上述应用场景仅为示意性的举例, 根据游戏数据能够判断 玩家的游戏熟练程度的场景都可以应用本申请实施例提供的辅助功能的开启方 法。 相关技术中, 通常需要在游戏设置中对辅助功能进行开启后, 客户端根据 开启的辅助功能辅助玩家完成游戏, 示意性的, 请参考图 1, 在赛车游戏的设置 界面 100 中包括自动小喷设置项 110, 玩家选择开启该自动小喷设置项 110后, 当玩家在游戏对局中完成漂移后, 无需点击对局界面中的氮气控件便可实现自 动小喷进行加速。 结合上述名词简介以及应用场景, 对本申请实施例提供的辅助功能的开启 方法进行说明, 该方法可以应用于终端中, 也可以应用于服务器中, 如图 2 所 示, 该方法包括:
步骤 201, 获取目标帐号在当前游戏对局中根据目标操作产生的目标数据。 可选地, 该目标数据包括目标帐号在当前游戏对局中产生的数据, 还可以 包括目标帐号在最近预设数量对局中产生的历史数据, 如: 最近 3 局对局的目 标操作产生的目标数据。 可选地, 该目标数据包括操作数据以及计算数据中的 至少一种, 其中, 操作数据包括目标操作的操作频率, 可选地, 操作数据还可 以包括目标操作的操作次数等, 示意性的, 在赛车游戏对局中, 玩家点击左转 控件和漂移控件, 则生成的操作为左向漂移操作, 漂移操作后点击右转控件则 生成车头回正操作, 该操作数据用于表示漂移操作后, 车头回正操作的频率。 可选地, 该操作数据主要是针对玩家在游戏过程中的游戏操作, 也即, 该游戏 操作数据中不包括玩家进行的设置操作, 如: 开启语音操作、 关闭语音操作等。 可选地, 上述计算数据用于表示目标操作的操作完成质量, 示意性的, 在赛车 游戏对局中, 左向漂移操作后点击右转控件则生成车头回正操作, 该计算数据 用于表示漂移操作后, 车头回正操作的完成质量, 即车头回正操作后赛车与赛 道之间的夹角。 可选地, 该目标数据用于判断目标帐号的游戏熟练程度。
可选地, 当目标数据中仅包括目标帐号在当前游戏对局中产生的数据时, 终端中缓存有该目标帐号在当前游戏对局中产生的游戏数据, 终端直接从缓存 区中获取该目标数据; 当目标数据中仅包括目标帐号在当前游戏对局中产生的 数据, 或, 目标数据中包括当前游戏对局中产生的数据以及最近预设数量对局 产生的历史数据时, 终端可以从服务器中获取该目标数据, 如: 终端向服务器 发送数据获取请求后, 获取该服务器中已存储的目标操作产生的历史数据以及 当前游戏对局中的数据。 可选地, 终端在进行游戏对局的过程中, 将产生的游 戏数据实时发送至服务器。
可选地, 获取目标数据的时机包括如下情况中的任意一种:
第一, 当对指定操作进行执行后获取目标数据, 如: 赛车应用程序中执行 漂移操作后, 或, 射击游戏中执行射击操作后;
第二, 每隔预设时长进行一次对目标数据的获取。
步骤 202, 响应于目标数据与辅助功能触发器的触发条件匹配, 触发开启游 戏辅助功能。
可选地, 该目标数据用于表示目标操作的执行完成情况, 该游戏辅助功能 用于对目标操作的执行进行辅助。 可选地, 辅助功能触发器的触发条件包括目 标操作的执行完成情况低于预设完成情况。
可选地, 辅助功能触发器中设置有触发条件, 该触发条件用于与目标数据 进行匹配, 以确定该目标数据是否符合开启游戏辅助功能的要求。
可选地, 该辅助功能触发器中可以设置有多组触发条件, 针对每组触发条 件所触发开启的游戏辅助功能也可以是不同的, 如: 与触发条件 1 匹配时, 触 发开启游戏辅助功能 A, 与触发条件 2匹配时, 触发开启游戏辅助功能 B。 可选 地, 单组触发条件中可以包括多个触发条件, 其中, 单组触发条件中满足至少 一个触发条件即开启游戏辅助功能; 或, 单组触发条件中满足预设数量的触发 条件即开启游戏辅助功能; 或, 单组触发条件中的每个触发条件都满足时开启 游戏辅助功能。
可选地, 确定目标数据与辅助功能触发器的触发条件的匹配情况包括如下 情况中的任意一种, 上述目标数据包括操作数据以及计算数据中的至少一种, 其中, 操作数据用于表示目标操作的操作频率, 计算数据用于表示目标操作的 操作完成质量:
第一, 响应于目标数据中包括操作数据, 且操作数据所标识的目标操作的 操作频率低于预设频率, 触发开启游戏辅助功能; 也即, 确定目标操作的操作 频率与预设频率是否匹配;
示意性的, 以该方法应用于赛车应用程序为例, 该目标帐号为赛车应用程 序中登录的帐号, 该目标操作为车头回正操作, 则当目标数据中包括车头回正 操作的操作数据, 且车头回正操作的操作频率低于预设频率时, 触发开启游戏 辅助功能, 其中, 车头回正操作的操作频率是根据接收到的漂移操作的次数以 及车头回正操作的次数计算得到的。 可选地, 该车头回正操作的操作频率为车 头回正操作的次数与漂移操作的次数的比值。 示意性的, 预设频率为 20%, 则 当车头回正操作的操作频率在 20%以内时, 确定目标操作的操作频率与预设频 率匹配, 则开启游戏辅助功能。
第二, 响应于目标数据中包括计算数据, 且计算数据中在目标数据范围内 的数据出现次数达到预设次数, 触发开启游戏辅助功能;
示意性的, 以该方法应用于赛车应用程序为例, 该目标帐号为赛车应用程 序中登录的帐号, 该计算数据中包括赛车与赛道的夹角数据。 当目标数据中包 括计算数据, 且计算数据中赛车与赛道之间的夹角大于预设夹角的次数达到预 设次数时, 触发开启游戏辅助功能。 其中, 赛车与赛道之间的夹角是在接收到 漂移操作以及车头回正操作后, 对赛车行驶方向与赛道方向之间的夹角进行确 定后得到的。 其中, 赛车与赛道的夹角还可以理解为赛车行驶方向与赛道之间 的夹角。 示意性的, 目标数据范围为大于 30° , 预设次数为 3次, 当赛车与赛 道的夹角大于 30° 的次数达到 3次时, 确定计算数据中目标数据范围内的游戏 计算数据出现次数与预设次数匹配, 则开启游戏辅助功能。
第三, 目标数据中包括操作数据和计算数据, 则响应于车头回正操作的操 作频率低于预设频率且计算数据中赛车与赛道之间的夹角大于预设夹角的次数 达到预设次数, 触发开启游戏辅助功能;
第四, 当目标数据中包括操作数据, 且目标操作的操作次数在预设操作次 数以内时, 触发开启游戏辅助功能;
第五, 当目标数据中包括计算数据, 且计算数据中在目标数据范围内的数 据出现频率在预设频率内时, 触发开启游戏辅助功能。
可选地, 该游戏辅助功能是指通过客户端辅助玩家进行辅助操作以完成游 戏的功能。 可选地, 该游戏辅助功能用于对目标操作的执行进行辅助。
步骤 203 , 在目标帐号的当前游戏对局中, 当接收到符合目标操作的执行条 件的触发操作时, 根据游戏辅助功能自动执行目标操作。
可选地, 该游戏辅助功能开启后, 客户端根据玩家在游戏对局中的玩家操 作进行辅助操作。 可选地, 上述触发操作为对目标操作进行触发的操作, 也即 在游戏对局, 在目标操作执行之前执行的操作。 示意性的, 由于漂移操作会导 致赛车车头偏转, 故以车头回正操作为目标操作, 则车头回正操作之前的漂移 操作即为车头回正操作的触发操作; 或, 由于射击操作后弹夹子弹缺失, 故以 弹夹补充操作为目标操作, 则弹夹补充操作之前的射击操作即为该弹夹补充操 作的触发操作。
可选地, 该游戏辅助功能可以应用于赛车应用程序中, 示意性的, 当游戏 辅助功能开启, 玩家在进行左向漂移后, 由客户端对赛车车头施加向右的作用 力, 根据该作用力赛车的行驶方向旋转至与赛道方向一致, 即, 漂移后无需玩 家手动调整车头方向。
可选地, 该游戏辅助功能为应用于当前游戏对局中的功能, 该游戏辅助功 能还可以应用于该目标帐号的其他游戏对局中, 如: 该游戏辅助功能应用于在 当前游戏对局之后开启的游戏对局中。
可选地, 该游戏辅助功能开启后, 玩家可以在设置界面中对该游戏辅助功 能进行关闭, 也可以通过客户端根据目标操作对该游戏辅助功能进行自动关闭, 本申请实施例对此不加以限定。
示意性的, 以当前游戏对局为赛车游戏对局为例, 该游戏辅助功能用于在 漂移操作后进行车头回正操作, 即辅助玩家旋转车头至与赛道方向一致。 当玩 家在赛车游戏对局中完成漂移操作时, 通常赛车行驶方向会发生偏转, 如: 玩 家控制赛车进行左向漂移操作后, 赛车车头会向赛道左侧偏转, 通过游戏辅助 功能对赛车车头进行控制后, 实现赛车与赛道方向一致, 也即实现赛车行驶方 向与赛道方向一致。 示意性的, 请参考图 3 , 在赛车游戏对局界面 300中包括赛 道 310和赛车 320, 其中, 赛道 310呈现为 L型的两条垂直的赛道 311和赛道 312, 赛车 320从赛道 311转至赛道 312时, 通过右向漂移操作进行转弯, 转至 赛道 312后, 赛车 320的车头呈向右偏转状态, 而通过游戏辅助功能进行辅助 后, 赛车 320呈现与赛道 312平行的方向进行行驶。
示意性的, 以当前游戏对局为 TPS游戏对局为例, 该游戏辅助功能用于在 射击后执行弹夹补充操作, 即辅助玩家补充弹夹。 当玩家在游戏对局中进行射 击操作后, 虚拟枪械弹夹中的子弹数量减少, 通过游戏辅助功能对虚拟枪械弹 夹进行填充后, 弹夹中子弹被填充完整。 示意性的, 请参考图 4, 在 TPS 游戏 对局界面 400中包括虚拟对象 410和枪械显示控件 420,该虚拟对象 410持有虚 拟枪械 411, 该枪械显示控件 420中显示有该虚拟枪械 411的枪械状态, 其中包 括虚拟枪械 411的弹夹状态栏 421, 如图 4所示, 当前虚拟枪械 411的弹夹中包 括 12颗子弹, 而满配状态下, 该弹夹中应当包括 40颗子弹, 故, 通过游戏辅 助功能, 该虚拟枪械 411的弹夹被填充完整。
综上所述, 本实施例提供的辅助功能的开启方法, 通过对目标操作对应的 目标数据与辅助功能触发器的触发条件进行匹配, 当目标数据符合辅助功能触 发器的触发条件时, 开启游戏辅助功能, 该游戏辅助功能用于对触发开启该功 能的目标操作进行辅助, 也即在开启游戏辅助功能后, 该游戏辅助功能所辅助 执行的操作为触发开启该功能的目标操作, 而目标数据用于表示目标操作的执 行完成情况, 当目标数据表示目标操作的执行完成情况较差时, 触发游戏辅助 功能, 也即, 该辅助功能的开启是具有针对性的, 针对游戏过程中执行完成情 况较差的目标操作进行开启, 游戏辅助准确度较高, 辅助效率也较高。 在一个可选的实施例中, 上述游戏应用程序实现为赛车应用程序, 图 5 是 本申请另一个示例性实施例提供的辅助功能的开启方法流程图, 该方法应用于 赛车应用程序中, 该方法包括:
步骤 501, 获取目标帐号在当前游戏对局中根据目标操作产生的目标数据。 可选地, 该目标数据包括目标帐号在当前游戏对局中产生的数据, 还可以 包括目标帐号在最近预设数量对局中产生的历史数据。 可选地, 该目标数据包 括操作数据以及计算数据中的至少一种, 其中, 操作数据用于表示目标操作的 操作频率, 计算数据用于表示目标操作的操作完成质量。 可选地, 该目标数据 用于判断目标帐号的游戏熟练程度。
步骤 502, 当目标数据中包括车头回正操作的操作数据, 且车头回正操作的 操作频率低于预设频率时, 触发开启游戏辅助功能。
可选地, 车头回正操作的操作频率是根据接收到的漂移操作的次数以及车 头回正操作的次数计算得到的。 可选地, 该车头回正操作的操作频率为接收到 的车头回正操作的次数与漂移操作的次数的比值。
示意性的, 预设频率为 20%, 终端接收到的漂移操作的次数为 10次, 终端 接收到的漂移操作后执行的车头回正操作的次数为 1 次, 则当车头回正操作的 操作频率为 10%, 在 20%以内, 则开启游戏辅助功能。
步骤 503, 当目标数据中包括计算数据, 且计算数据中赛车与赛道之间的夹 角大于预设夹角的次数达到预设次数时, 触发开启游戏辅助功能。
可选地, 赛车与赛道之间的夹角时在接收到漂移操作以及车头回正操作后, 对赛车的行驶方向与赛道方向之间的夹角进行确定后的得到的。 可选地, 赛车 与赛道之间的夹角是赛车漂移后进行回正操作后, 对赛车与赛道之间的夹角进 行确定后得到的。 其中, 赛车与赛道的夹角还可以理解为赛车行驶方向与赛道 之间的夹角; 或, 赛车车尾与车头的连线与赛道之间的夹角。
示意性的, 目标数据范围为大于 30 ° , 预设次数为 3次, 当漂移操作以及 车头回正操作后, 赛车与赛道的夹角大于 30° 的次数达到 3次时, 则玩家在车 头回正操作中的回正质量较差, 出现车头过分回正或回正不足的情况较多, 则 触发开启游戏辅助功能。
步骤 504, 在目标帐号的当前游戏对局中, 当接收到漂移操作后, 根据游戏 辅助功能自动执行车头回正操作。
可选地, 在目标帐号的当前游戏对局中, 当接收到漂移操作后, 根据游戏 辅助功能向赛车的车头施加作用力, 该作用力用于将赛车的行驶方向偏转至与 赛道方向一致。
可选地, 向赛车车头施加作用力包括如下情况中的任意一种:
第一, 当终端接收到漂移操作后预设时长内未接收到车头回正操作, 即当 赛车在当前游戏对局中完成漂移后预设时长内未接收到车头回正操作, 且赛车 与赛道之间的夹角大于预设夹角时, 向赛车车头施加作用力;
第二, 当终端接收到漂移操作后预设时长内接收到车头回正操作, 即当赛 车在当前游戏对局中完成漂移后接收到车头回正操作, 且赛车与赛道之间的夹 角大于预设夹角时, 向赛车车头施加作用力。
可选地, 赛车完成漂移后未进行车头回正操作, 且赛车与赛道之间的夹角 大于预设夹角, 即该赛车漂移后未进行回正, 导致漂移过度; 赛车完成漂移后 进行车头回正操作, 且赛车与赛道之间的夹角大于预设夹角, 即该赛车在回正 的过程中偏转过度。
可选地, 赛车与赛道之间的夹角确定过程中, 首先根据赛车中心与车头的 连线确定赛车方向, 根据赛车方向与赛道方向确定两者之间的夹角。
可选地, 在对赛车车头施加作用力的过程中, 通过识别赛车与地面的摩擦 力计算该作用力的大小, 并向车头施加该作用力, 以确保赛车行驶方向与赛道 方向一致。
示意性的, 请参考图 6, 在赛车游戏对局界面 600 中包括赛道 610和赛车 620, 其中, 赛车 620通过右向漂移操作进行转弯后, 赛车 620的车头呈向右偏 转状态, 且该赛车 620 与赛道之间的夹角为 a, 而通过游戏辅助功能确定赛车 620与赛道 610之间的摩擦力后, 计算得到作用力 F, 并将该作用力 F作用在赛 车 620的车头。
示意性的, 对上述过程结合图 7进行说明, 请参考图 7, 步骤 701, 漂移结 束。 步骤 702, 判断车头与赛道夹角是否大于 30 ° 。 步骤 703, 当车头与赛道夹 角不大于 30 ° , 不进行辅助。 步骤 704, 当车头与赛道夹角大于 30 ° 时, 判断 当前对局中漂移过度的出现次数是否大于 3次。 步骤 705, 当当前对局中漂移过 度的出现次数不大于 3次时, 不进行辅助。 步骤 706, 当当前对局中漂移过度的 出现次数大于 3次时, 对车头施加作用力, 使车头回正。 步骤 707, 判断车头是 否回正。 步骤 708, 当车头未回正时, 继续执行步骤 706。 步骤 709, 当车头回 正时, 向赛车提供氮气。
可选地, 上述步骤 709 可以是根据游戏辅助功能自动实现的, 也可以是根 据玩家在游戏界面中的操作实现的。
可选地, 开启游戏辅助功能后, 当赛车在当前游戏对局中完成漂移后预设 时长内进行了车头回正操作, 且赛车与赛道之间的夹角不大于预设夹角时, 则 无需向赛车车头施加作用力。
可选地, 向赛车车头施加作用力的过程中, 若玩家对游戏对局进行操作时, 为避免玩家进行的操作与向赛车车头施加的作用力相互影响, 故屏蔽玩家的操 作。
综上所述, 本实施例提供的辅助功能的开启方法, 通过对目标操作对应的 目标数据与辅助功能触发器的触发条件进行匹配, 当目标数据符合辅助功能触 发器的触发条件时, 开启游戏辅助功能, 该游戏辅助功能用于对触发开启该功 能的目标操作进行辅助, 也即在开启游戏辅助功能后, 该游戏辅助功能所辅助 执行的操作为触发开启该功能的目标操作, 而目标数据用于表示目标操作的执 行完成情况, 当目标数据表示目标操作的执行完成情况较差时, 触发游戏辅助 功能, 也即, 该辅助功能的开启是具有针对性的, 针对游戏过程中执行完成情 况较差的目标操作进行开启, 游戏辅助准确度较高, 辅助效率也较高。
本实施例提供的方法, 在赛车应用程序中, 通过判断玩家在漂移之后是否 进行车头回正操作, 或, 判断玩家在车头回正操作时的回正准确度, 确定玩家 的游戏熟练程度, 并当玩家熟练程度较低时, 开启辅助功能辅助玩家完成漂移 后的车头回正操作, 便于玩家操作以及便于提高新手玩家对游戏的熟练程度。 在一个可选的实施例中, 当游戏辅助功能自动开启后, 还可以根据目标数 据进行自动关闭, 图 8 是本申请另一个示例性实施例提供的辅助功能的开启方 法流程图, 该方法应用于游戏应用程序中, 该方法包括:
步骤 801, 获取目标帐号在当前游戏对局中根据目标操作产生的目标数据。 可选地, 该目标数据包括目标帐号在当前游戏对局中产生的数据, 还可以 包括目标帐号在最近预设数量对局中产生的历史数据。 可选地, 该目标数据包 括操作数据以及计算数据中的至少一种, 其中, 操作数据用于表示目标操作的 操作频率, 计算数据用于表示目标操作的操作完成质量。 可选地, 该目标数据 用于判断目标帐号的游戏熟练程度。
步骤 802, 当目标数据与辅助功能触发器的触发条件匹配时, 触发开启游戏 辅助功能。
可选地, 该目标数据用于表示目标操作的执行完成情况, 该游戏辅助功能 用于对目标操作的执行进行辅助。 可选地, 辅助功能触发器的触发条件为目标 操作的执行完成情况低于预设完成情况时对应的条件。
可选地, 辅助功能触发器中设置有触发条件, 该触发条件用于与目标数据 进行匹配, 以确定该目标数据是否符合触发游戏辅助功能的要求。
可选地, 确定目标数据与辅助功能触发器的触发条件的匹配情况包括如下 情况中的任意一种, 上述目标数据包括操作数据以及计算数据中的至少一种, 其中, 操作数据中包括目标操作的操作频率, 计算数据中包括目标操作的操作 完成质量。 可选地, 该游戏辅助功能是指通过客户端辅助玩家进行辅助操作以完成游 戏的功能。 可选地, 该游戏辅助功能用于对目标操作的执行进行辅助。
可选地, 触发开启游戏辅助功能后, 在该游戏对局的界面中显示提示消息, 该提示消息用于提示玩家, 当前游戏对局中开启了游戏辅助功能。 示意性的, 请参考图 9, 在赛车游戏对局界面 900中显示有提示消息 910, 该提示消息 910 的提示内容为 “当前游戏中已开启漂移自动回正”。
步骤 803 , 在目标帐号的当前游戏对局中, 当接收到符合目标操作的执行条 件的触发操作时, 根据游戏辅助功能自动执行目标操作。
可选地, 该游戏辅助功能开启后, 客户端根据玩家在游戏对局中的玩家操 作进行辅助操作。 可选地, 上述触发操作为对目标操作进行触发的操作, 也即 在游戏对局, 在目标操作执行之前执行的操作。
可选地, 该游戏辅助功能为应用于当前游戏对局中的功能, 该游戏辅助功 能还可以应用于该目标帐号的其他游戏对局中, 如: 该游戏辅助功能应用于在 当前游戏对局之后开启的游戏对局中。
步骤 804,获取目标帐号在开启游戏辅助功能后根据目标操作产生的目标数 据。
可选地, 该目标数据为自动开启游戏辅助功能后, 目标帐号在继续进行的 游戏过程中根据目标操作产生的数据。
步骤 805, 当目标数据与辅助功能触发器的触发条件不匹配时, 触发关闭游 戏辅助功能。
可选地, 该目标数据包括上述目标帐号在开启游戏辅助功能后根据目标操 作产生的数据。 可选地, 该目标数据中还可以包括开启游戏辅助功能之前根据 目标操作产生的数据。
可选地, 由于辅助功能实现的操作与玩家操作有一定的差别, 通常, 辅助 功能实现的操作效果较玩家操作较弱, 示意性的, 在赛车游戏对局中, 当玩家 触发漂移操作后, 可以在漂移操作结束的同时进行车头回正操作, 而辅助功能 在实现车头回正操作时, 需要在玩家触发漂移操作结束后预设时长之后, 故, 玩家优选通过玩家操作的方式进行游戏。
示意性的, 请参考图 10, 该辅助功能的开启过程如图 10所示。 步骤 1010, 开启游戏数据收集系统。 步骤 1020, 通过触发器规则注册触发器。 步骤 1030, 判断游戏数据是否满足触发器。 步骤 1040, 当游戏数据满足触发器时, 激活触 发器。 步骤 1050, 根据触发器激活对应的辅助功能。 步骤 1060, 当游戏数据不 满足触发器时, 判断辅助功能是否已开启。 步骤 1070, 当辅助功能已开启时, 关闭该辅助功能。 步骤 1080, 当辅助功能未开启时, 继续执行步骤 1030, 判断 游戏数据是否满足触发器。
综上所述, 本实施例提供的辅助功能的开启方法, 通过对目标操作对应的 目标数据与辅助功能触发器的触发条件进行匹配, 当目标数据符合辅助功能触 发器的触发条件时, 开启游戏辅助功能, 该游戏辅助功能用于对触发开启该功 能的目标操作进行辅助, 也即在开启游戏辅助功能后, 该游戏辅助功能所辅助 执行的操作为触发开启该功能的目标操作, 而目标数据用于表示目标操作的执 行完成情况, 当目标数据表示目标操作的执行完成情况较差时, 触发游戏辅助 功能, 也即, 该辅助功能的开启是具有针对性的, 针对游戏过程中执行完成情 况较差的目标操作进行开启, 游戏辅助准确度较高, 辅助效率也较高。
本实施例提供的方法, 在开启游戏辅助功能后, 通过目标数据继续与触发 器进行匹配, 当目标数据与触发器的触发条件不匹配时, 关闭游戏辅助功能, 避免玩家对游戏熟悉且游戏操作熟练后, 该游戏辅助功能对玩家的操作产生影 响。 图 11是本申请一个示例性实施例提供的辅助功能的开启装置的结构框图, 该装置可以实现在终端中, 如图 11所示, 该装置包括: 获取模块 1110、 触发模 块 1120以及执行模块 1130;
获取模块 1110, 用于获取目标帐号在当前游戏对局中根据目标操作产生的 目标数据;
触发模块 1120, 用于响应于所述目标数据与辅助功能触发器的触发条件匹 配, 触发开启游戏辅助功能, 其中, 所述目标数据用于表示所述目标操作的执 行完成情况, 所述游戏辅助功能用于对所述目标操作的执行进行辅助;
执行模块 1130, 用于在所述目标帐号的所述当前游戏对局中, 当接收到符 合所述目标操作的执行条件的触发操作时, 根据所述游戏辅助功能自动执行所 述目标操作。
在一个可选的实施例中, 所述辅助功能触发器的触发条件包括所述目标操 作的执行完成情况低于预设完成情况。
在一个可选的实施例中, 所述目标数据中包括操作数据以及计算数据中的 至少一种, 其中, 所述操作数据包括所述目标操作的操作频率, 所述计算数据 包括所述目标操作的操作完成质量;
所述触发模块 1120, 还用于响应于所述目标数据中包括所述操作数据, 且 所述操作数据所表示的所述目标操作的操作频率低于预设频率, 触发开启所述 游戏辅助功能;
或,
所述触发模块 1120, 还用于响应于所述目标数据中包括所述计算数据, 且 所述计算数据中在目标数据范围内的数据出现次数达到预设次数, 触发开启所 述游戏辅助功能;
或,
所述触发模块, 还用于响应于所述目标数据中包括所述操作数据和所述计 算数据, 且所述操作数据所表示的所述操作频率低于所述预设频率, 所述计算 数据在所述目标数据范围内的数据出现次数达到所述预设次数, 触发开启所述 游戏辅助功能。
在一个可选的实施例中, 所述装置应用于赛车应用程序中, 所述目标帐号 为所述赛车应用程序中登录的帐号, 所述目标操作为车头回正操作;
所述触发模块 1120, 还用于响应于所述目标数据中包括所述车头回正操作 的操作数据, 且所述车头回正操作的操作频率低于所述预设频率, 触发开启所 述游戏辅助功能, 其中, 所述车头回正操作的所述操作频率是根据接收到的漂 移操作的次数以及所述车头回正操作的次数计算得到的。
在一个可选的实施例中, 所述装置应用于赛车应用程序中, 所述目标帐号 为所述赛车应用程序中登录的帐号, 所述目标操作为车头回正操作, 所述计算 数据用于表示接收到所述车头回正操作后赛车与赛道之间的夹角;
所述触发模块 1120, 还用于响应于所述目标数据中包括所述计算数据, 且 所述计算数据中所述赛车与赛道之间的夹角大于预设夹角的次数达到所述预设 次数, 触发开启所述游戏辅助功能, 其中, 所述赛车与赛道之间的夹角是在接 收到漂移操作以及所述车头回正操作后, 对所述赛车的行驶方向与赛道方向之 间的夹角进行确定后得到的。
在一个可选的实施例中, 所述执行模块 1130, 还用于响应于接收到所述漂 移操作, 根据所述游戏辅助功能自动执行所述车头回正操作。
在一个可选的实施例中, 所述执行模块 1130, 还用于响应于接收到所述漂 移操作, 根据所述游戏辅助功能向所述赛车的车头施加作用力, 所述作用力用 于将所述赛车的行驶方向偏转至与所述赛道方向一致。
在一个可选的实施例中, 所述执行模块 1130, 还用于响应于接收到所述漂 移操作后预设时长内未接收到所述车头回正操作, 且所述赛车与所述赛道之间 的夹角大于预设夹角, 向所述赛车的车头施加所述作用力;
或,
所述执行模块 1130, 还用于响应于接收到所述漂移操作后预设时长内接收 到所述车头回正操作, 且所述赛车与所述赛道之间的夹角大于所述预设夹角, 向所述赛车的车头施加所述作用力。
综上所述, 本实施例提供的辅助功能的开启装置, 通过对目标操作对应的 目标数据与辅助功能触发器的触发条件进行匹配, 当目标数据符合辅助功能触 发器的触发条件时, 开启游戏辅助功能, 该游戏辅助功能用于对触发开启该功 能的目标操作进行辅助, 也即在开启游戏辅助功能后, 该游戏辅助功能所辅助 执行的操作为触发开启该功能的目标操作, 而目标数据用于表示目标操作的执 行完成情况, 当目标数据表示目标操作的执行完成情况较差时, 触发游戏辅助 功能, 也即, 该辅助功能的开启是具有针对性的, 针对游戏过程中执行完成情 况较差的目标操作进行开启, 游戏辅助准确度较高, 辅助效率也较高。 需要说明的是: 上述实施例提供的辅助功能的开启装置, 仅以上述各功能 模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不 同的功能模块完成, 即将设备的内部结构划分成不同的功能模块, 以完成以上 描述的全部或者部分功能。 另外, 上述实施例提供的辅助功能的开启装置与辅 助功能的开启方法的方法实施例属于同一构思, 其具体实现过程详见方法实施 例, 这里不再赘述。 图 12示出了本发明一个示例性实施例提供的终端 1200的结构框图。 该终 端 1200可以是:智能手机、平板电脑、 MP3播放器(Moving Picture Experts Group Audio Layer III, 动态影像专家压缩标准音频层面 3)、 MP4 ( Moving Picture Experts Group Audio Layer IV, 动态影像专家压缩标准音频层面 4) 播放器、 笔 记本电脑或台式电脑。 终端 1200还可能被称为用户设备、 便携式终端、 膝上型 终端、 台式终端等其他名称。 通常, 终端 1200包括有: 处理器 1201和存储器 1202。
处理器 1201可以包括一个或多个处理核心, 比如 4核心处理器、 8核心处 理器等。 处理器 1201可以采用 DSP(Digital Signal Processing, 数字信号处理)、 FPGA ( Field _ Programmable Gate Array , 现场可编程门阵列)、 PLA (Programmable Logic Array, 可编程逻辑阵列) 中的至少一种硬件形式来实现。 处理器 1201也可以包括主处理器和协处理器, 主处理器是用于对在唤醒状态下 的数据进行处理的处理器, 也称 CPU (Central Processing Unit, 中央处理器); 协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。 在一些实施 例中, 处理器 1201可以在集成有 GPU(Graphics Processing Unit, 图像处理器), GPU 用于负责显示屏所需要显示的内容的渲染和绘制。 一些实施例中, 处理器 1201还可以包括 AI(Artificial Intelligence, 人工智能) 处理器, 该 AI处理器用 于处理有关机器学习的计算操作。
存储器 1202可以包括一个或多个计算机可读存储介质, 该计算机可读存储 介质可以是非暂态的。 存储器 1202还可包括高速随机存取存储器, 以及非易失 性存储器, 比如一个或多个磁盘存储设备、 闪存存储设备。 在一些实施例中, 存储器 1202中的非暂态的计算机可读存储介质用于存储至少一个指令, 该至少 一个指令用于被处理器 1201所执行以实现本申请中方法实施例提供的辅助功能 的开启方法。
在一些实施例中, 终端 1200还可选包括有: 外围设备接口 1203和至少一 个外围设备。 处理器 1201、 存储器 1202和外围设备接口 1203之间可以通过总 线或信号线相连。 各个外围设备可以通过总线、 信号线或电路板与外围设备接 口 1203相连。 具体地, 外围设备包括: 射频电路 1204、 触摸显示屏 1205、 摄 像头 1206、 音频电路 1207、 定位组件 1208和电源 1209中的至少一种。
外围设备接口 1203可被用于将 I/O (Input /Output, 输入 /输出) 相关的至少 一个外围设备连接到处理器 1201和存储器 1202。在一些实施例中,处理器 1201、 存储器 1202和外围设备接口 1203被集成在同一芯片或电路板上; 在一些其他 实施例中, 处理器 1201、 存储器 1202和外围设备接口 1203 中的任意一个或两 个可以在单独的芯片或电路板上实现, 本实施例对此不加以限定。
射频电路 1204用于接收和发射 RF(Radio Frequency, 射频) 信号, 也称电 磁信号。 射频电路 1204通过电磁信号与通信网络以及其他通信设备进行通信。 射频电路 1204将电信号转换为电磁信号进行发送, 或者, 将接收到的电磁信号 转换为电信号。 可选地, 射频电路 1204 包括: 天线系统、 RF 收发器、 一个或 多个放大器、 调谐器、 振荡器、 数字信号处理器、 编解码芯片组、 用户身份模 块卡等等。 射频电路 1204可以通过至少一种无线通信协议来与其它终端进行通 信。 该无线通信协议包括但不限于: 万维网、 城域网、 内联网、 各代移动通信 网络(2G、 3G、 4G及 5G)、 无线局域网和 /或 WiFi(Wireless Fidelity, 无线保真) 网络。 在一些实施例中, 射频电路 1204 还可以包括 NFC (Near Field Communication , 近距离无线通信) 有关的电路, 本申请对此不加以限定。
显示屏 1205用于显示 UI(User Interface, 用户界面)。该 UI可以包括图形、 文本、 图标、 视频及其它们的任意组合。 当显示屏 1205是触摸显示屏时, 显示 屏 1205还具有采集在显示屏 1205 的表面或表面上方的触摸信号的能力。 该触 摸信号可以作为控制信号输入至处理器 1201 进行处理。 此时, 显示屏 1205还 可以用于提供虚拟按钮和 /或虚拟键盘, 也称软按钮和 /或软键盘。 在一些实施例 中, 显示屏 1205 可以为一个, 设置终端 1200的前面板; 在另一些实施例中, 显示屏 1205可以为至少两个, 分别设置在终端 1200的不同表面或呈折叠设计; 在再一些实施例中, 显示屏 1205 可以是柔性显示屏, 设置在终端 1200的弯曲 表面上或折叠面上。 甚至, 显示屏 1205还可以设置成非矩形的不规则图形, 也 即异形屏。 显示屏 1205 可以采用 LCD(Liquid Crystal Display, 液晶显示屏)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件 1206 用于采集图像或视频。 可选地, 摄像头组件 1206 包括前 置摄像头和后置摄像头。 通常, 前置摄像头设置在终端的前面板, 后置摄像头 设置在终端的背面。 在一些实施例中, 后置摄像头为至少两个, 分别为主摄像 头、 景深摄像头、 广角摄像头、 长焦摄像头中的任意一种, 以实现主摄像头和 景深摄像头融合实现背景虚化功能、 主摄像头和广角摄像头融合实现全景拍摄 以及 VR (Virtual Reality, 虚拟现实) 拍摄功能或者其它融合拍摄功能。 在一些 实施例中, 摄像头组件 1206还可以包括闪光灯。 闪光灯可以是单色温闪光灯, 也可以是双色温闪光灯。 双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合, 可以用于不同色温下的光线补偿。
音频电路 1207可以包括麦克风和扬声器。 麦克风用于采集用户及环境的声 波, 并将声波转换为电信号输入至处理器 1201进行处理, 或者输入至射频电路 1204 以实现语音通信。 出于立体声采集或降噪的目的, 麦克风可以为多个, 分 别设置在终端 1200的不同部位。 麦克风还可以是阵列麦克风或全向采集型麦克 风。 扬声器则用于将来自处理器 1201 或射频电路 1204的电信号转换为声波。 扬声器可以是传统的薄膜扬声器, 也可以是压电陶瓷扬声器。 当扬声器是压电 陶瓷扬声器时, 不仅可以将电信号转换为人类可听见的声波, 也可以将电信号 转换为人类听不见的声波以进行测距等用途。 在一些实施例中, 音频电路 1207 还可以包括耳机插孔。
定位组件 1208 用于定位终端 1200 的当前地理位置, 以实现导航或 LBS (Location Based Service, 基于位置的服务)。 定位组件 1208可以是基于美国的 GPS (Global Positioning System, 全球定位系统)、 中国的北斗系统或俄罗斯的 伽利略系统的定位组件。
电源 1209用于为终端 1200中的各个组件进行供电。 电源 1209可以是交流 电、 直流电、 一次性电池或可充电电池。 当电源 1209包括可充电电池时, 该可 充电电池可以是有线充电电池或无线充电电池。 有线充电电池是通过有线线路 充电的电池, 无线充电电池是通过无线线圈充电的电池。 该可充电电池还可以 用于支持快充技术。
在一些实施例中, 终端 1200还包括有一个或多个传感器 1210。 该一个或多 个传感器 1210 包括但不限于: 加速度传感器 1211、 陀螺仪传感器 1212、 压力 传感器 1213、 指纹传感器 1214、 光学传感器 1215以及接近传感器 1216。
加速度传感器 1211 可以检测以终端 1200建立的坐标系的三个坐标轴上的 加速度大小。 比如, 加速度传感器 121 1可以用于检测重力加速度在三个坐标轴 上的分量。 处理器 1201 可以根据加速度传感器 1211 采集的重力加速度信号, 控制触摸显示屏 1205以横向视图或纵向视图进行用户界面的显示。 加速度传感 器 1211还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器 1212可以检测终端 1200的机体方向及转动角度, 陀螺仪传 感器 1212可以与加速度传感器 1211协同采集用户对终端 1200的 3D动作。 处 理器 1201 根据陀螺仪传感器 1212采集的数据, 可以实现如下功能: 动作感应 (比如根据用户的倾斜操作来改变 UI) 、 拍摄时的图像稳定、 游戏控制以及惯 性导航。
压力传感器 1213可以设置在终端 1200的侧边框和 /或触摸显示屏 1205的下 层。当压力传感器 1213设置在终端 1200的侧边框时,可以检测用户对终端 1200 的握持信号, 由处理器 1201 根据压力传感器 1213采集的握持信号进行左右手 识别或快捷操作。 当压力传感器 1213设置在触摸显示屏 1205 的下层时, 由处 理器 1201根据用户对触摸显示屏 1205的压力操作, 实现对 UI界面上的可操作 性控件进行控制。 可操作性控件包括按钮控件、 滚动条控件、 图标控件、 菜单 控件中的至少一种。
指纹传感器 1214用于采集用户的指纹,由处理器 1201根据指纹传感器 1214 采集到的指纹识别用户的身份, 或者, 由指纹传感器 1214根据采集到的指纹识 别用户的身份。 在识别出用户的身份为可信身份时, 由处理器 1201授权该用户 执行相关的敏感操作, 该敏感操作包括解锁屏幕、 查看加密信息、 下载软件、 支付及更改设置等。 指纹传感器 1214 可以被设置终端 1200的正面、 背面或侧 面。 当终端 1200上设置有物理按键或厂商 Logo时, 指纹传感器 1214可以与物 理按键或厂商 Logo集成在一起。
光学传感器 1215 用于采集环境光强度。 在一个实施例中, 处理器 1201 可 以根据光学传感器 1215采集的环境光强度, 控制触摸显示屏 1205的显示亮度。 具体地, 当环境光强度较高时, 调高触摸显示屏 1205的显示亮度; 当环境光强 度较低时, 调低触摸显示屏 1205的显示亮度。 在另一个实施例中, 处理器 1201 还可以根据光学传感器 1215采集的环境光强度, 动态调整摄像头组件 1206的 拍摄参数。
接近传感器 1216, 也称距离传感器, 通常设置在终端 1200的前面板。 接近 传感器 1216 用于采集用户与终端 1200的正面之间的距离。 在一个实施例中, 当接近传感器 1216检测到用户与终端 1200的正面之间的距离逐渐变小时, 由 处理器 1201控制触摸显示屏 1205从亮屏状态切换为息屏状态; 当接近传感器 1216检测到用户与终端 1200的正面之间的距离逐渐变大时, 由处理器 1201控 制触摸显示屏 1205从息屏状态切换为亮屏状态。
本领域技术人员可以理解, 图 12 中示出的结构并不构成对终端 1200的限 定, 可以包括比图示更多或更少的组件, 或者组合某些组件, 或者采用不同的 组件布置。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存 储介质中, 该计算机可读存储介质可以是上述实施例中的存储器中所包含的计 算机可读存储介质; 也可以是单独存在, 未装配入终端中的计算机可读存储介 质。 该计算机可读存储介质中存储有至少一条指令、 至少一段程序、 代码集或 指令集, 所述至少一条指令、 所述至少一段程序、 所述代码集或指令集由所述 处理器加载并执行以实现如图 2、图 5以及图 8任一所述的辅助功能的开启方法。
可选地, 该计算机可读存储介质可以包括: 只读存储器 (ROM, Read Only Memory)、 随机存取记忆体 (RAM, Random Access Memory)、 固态硬盘 (SSD, Solid State Drives) 或光盘等。 其中, 随机存取记忆体可以包括电阻式随机存取 记忆体 (ReRAM, Resistance Random Access Memory) 和动态随机存取存储器 ( DRAM, Dynamic Random Access Memory )。 上述本申请实施例序号仅仅为了 描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过 硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于 一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或
、k 寺 o
以上所述仅为本申请的较佳实施例, 并不用以限制本申请, 凡在本申请的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本申请的 保护范围之内。

Claims

权 利 要 求 书
1、 一种辅助功能的开启方法, 其特征在于, 应用于终端中, 所述方法包括: 获取目标帐号在当前游戏对局中根据目标操作产生的目标数据;
响应于所述目标数据与辅助功能触发器的触发条件匹配, 触发开启游戏辅 助功能, 其中, 所述目标数据用于表示所述目标操作的执行完成情况, 所述游 戏辅助功能用于对所述目标操作的执行进行辅助;
在所述目标帐号的所述当前游戏对局中, 当接收到符合所述目标操作的执 行条件的触发操作时, 根据所述游戏辅助功能自动执行所述目标操作。
2、 根据权利要求 1所述的方法, 其特征在于, 所述辅助功能触发器的触发 条件包括所述目标操作的执行完成情况低于预设完成情况。
3、 根据权利要求 2所述的方法, 其特征在于, 所述目标数据中包括操作数 据以及计算数据中的至少一种, 其中, 所述操作数据包括所述目标操作的操作 频率, 所述计算数据包括所述目标操作的操作完成质量;
所述响应于所述目标数据与辅助功能触发器的触发条件匹配, 触发开启游 戏辅助功能, 包括:
响应于所述目标数据中包括所述操作数据, 且所述操作数据所表示的所述 操作频率低于预设频率, 触发开启所述游戏辅助功能;
或,
响应于所述目标数据中包括所述计算数据, 且所述计算数据中在目标数据 范围内的数据出现次数达到预设次数, 触发开启所述游戏辅助功能;
或,
响应于所述目标数据中包括所述操作数据和所述计算数据, 且所述操作数 据所表示的所述操作频率低于所述预设频率, 所述计算数据在所述目标数据范 围内的数据出现次数达到所述预设次数, 触发开启所述游戏辅助功能。
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法应用于赛车应用程 序中, 所述目标帐号为所述赛车应用程序中登录的帐号, 所述目标操作为车头 回正操作; 所述响应于所述目标数据中包括所述操作数据, 且所述操作数据所表示的 所述操作频率低于预设频率, 触发开启所述游戏辅助功能, 包括:
响应于所述目标数据中包括所述车头回正操作的操作数据, 且所述车头回 正操作的操作频率低于所述预设频率, 触发开启所述游戏辅助功能, 其中, 所 述车头回正操作的所述操作频率是根据接收到的漂移操作的次数以及所述车头 回正操作的次数计算得到的。
5、 根据权利要求 3所述的方法, 其特征在于, 所述方法应用于赛车应用程 序中, 所述目标帐号为所述赛车应用程序中登录的帐号, 所述目标操作为车头 回正操作, 所述计算数据用于表示接收到所述车头回正操作后赛车与赛道之间 的夹角;
所述响应于所述目标数据中包括所述计算数据, 且所述计算数据中在目标 数据范围内的数据出现次数达到预设次数时, 触发开启所述游戏辅助功能, 包 括:
响应于所述目标数据中包括所述计算数据, 且所述计算数据中所述赛车与 赛道之间的夹角大于预设夹角的次数达到所述预设次数, 触发开启所述游戏辅 助功能, 其中, 所述赛车与赛道之间的夹角是在接收到漂移操作以及所述车头 回正操作后, 对所述赛车的行驶方向与赛道方向之间的夹角进行确定后得到的。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述当接收到符合所述 目标操作的执行条件的触发操作时, 根据所述游戏辅助功能自动执行所述目标 操作, 包括:
响应于接收到所述漂移操作, 根据所述游戏辅助功能自动执行所述车头回 正操作。
7、 根据权利要求 6所述的方法, 其特征在于, 所述响应于接收到所述漂移 操作, 根据所述游戏辅助功能自动执行所述车头回正操作, 包括:
响应于接收到所述漂移操作, 根据所述游戏辅助功能向所述赛车的车头施 加作用力, 所述作用力用于将所述赛车的行驶方向偏转至与所述赛道方向一致。
8、 根据权利要求 7所述的方法, 其特征在于, 所述当接收到所述漂移操作 后, 根据所述游戏辅助功能向所述赛车的车头施加作用力, 包括:
响应于接收到所述漂移操作后预设时长内未接收到所述车头回正操作, 且 所述赛车与所述赛道之间的夹角大于预设夹角, 向所述赛车的车头施加所述作 用力;
或,
响应于接收到所述漂移操作后预设时长内接收到所述车头回正操作, 且所 述赛车与所述赛道之间的夹角大于所述预设夹角, 向所述赛车的车头施加所述 作用力。
9、 一种辅助功能的开启装置, 其特征在于, 应用于终端中, 所述装置包括: 获取模块, 用于获取目标帐号在当前游戏对局中根据目标操作产生的目标 数据;
触发模块, 用于响应于所述目标数据与辅助功能触发器的触发条件匹配, 触发开启游戏辅助功能, 其中, 所述目标数据用于表示所述目标操作的执行完 成情况, 所述游戏辅助功能用于对所述目标操作的执行进行辅助;
执行模块, 用于在所述目标帐号的所述当前游戏对局中, 当接收到符合所 述目标操作的执行条件的触发操作时, 根据所述游戏辅助功能自动执行所述目 标操作。
10、 根据权利要求 9 所述的装置, 其特征在于, 所述辅助功能触发器的触 发条件包括所述目标操作的执行完成情况低于预设完成情况。
11、 根据权利要求 10所述的装置, 其特征在于, 所述目标数据中包括操作 数据以及计算数据中的至少一种, 其中, 所述操作数据包括所述目标操作的操 作频率, 所述计算数据包括所述目标操作的操作完成质量;
所述触发模块, 还用于响应于所述目标数据中包括所述操作数据, 且所述 操作数据所表示的所述目标操作的操作频率低于预设频率, 触发开启所述游戏 辅助功能;
或, 所述触发模块, 还用于响应于所述目标数据中包括所述计算数据, 且所述 计算数据中在目标数据范围内的数据出现次数达到预设次数, 触发开启所述游 戏辅助功能;
或,
所述触发模块, 还用于响应于所述目标数据中包括所述操作数据和所述计 算数据, 且所述操作数据所表示的所述操作频率低于所述预设频率, 所述计算 数据在所述目标数据范围内的数据出现次数达到所述预设次数, 触发开启所述 游戏辅助功能。
12、 根据权利要求 11所述的装置, 其特征在于, 所述装置应用于赛车应用 程序中, 所述目标帐号为所述赛车应用程序中登录的帐号, 所述目标操作为车 头回正操作;
所述触发模块, 还用于响应于所述目标数据中包括所述车头回正操作的操 作数据, 且所述车头回正操作的操作频率低于所述预设频率, 触发开启所述游 戏辅助功能, 其中, 所述车头回正操作的所述操作频率是根据接收到的漂移操 作的次数以及所述车头回正操作的次数计算得到的。
13、 根据权利要求 11所述的装置, 其特征在于, 所述装置应用于赛车应用 程序中, 所述目标帐号为所述赛车应用程序中登录的帐号, 所述目标操作为车 头回正操作, 所述计算数据用于表示接收到所述车头回正操作后赛车与赛道之 间的夹角;
所述触发模块, 还用于响应于所述目标数据中包括所述计算数据, 且所述 计算数据中所述赛车与赛道之间的夹角大于预设夹角的次数达到所述预设次 数, 触发开启所述游戏辅助功能, 其中, 所述赛车与赛道之间的夹角是在接收 到漂移操作以及所述车头回正操作后, 对所述赛车的行驶方向与赛道方向之间 的夹角进行确定后得到的。
14、 根据权利要求 12或 13所述的装置, 其特征在于, 所述执行模块, 还 用于响应于接收到所述漂移操作, 根据所述游戏辅助功能自动执行所述车头回 正操作。
15、 根据权利要求 14所述的装置, 其特征在于, 所述执行模块, 还用于响 应于接收到所述漂移操作, 根据所述游戏辅助功能向所述赛车的车头施加作用 力, 所述作用力用于将所述赛车的行驶方向偏转至与所述赛道方向一致。
16、 根据权利要求 15所述的装置, 其特征在于, 所述执行模块, 还用于响 应于接收到所述漂移操作后预设时长内未接收到所述车头回正操作, 且所述赛 车与所述赛道之间的夹角大于预设夹角, 向所述赛车的车头施加所述作用力; 或,
所述执行模块, 还用于响应于接收到所述漂移操作后预设时长内接收到所 述车头回正操作, 且所述赛车与所述赛道之间的夹角大于所述预设夹角, 向所 述赛车的车头施加所述作用力。
17、 一种计算机设备, 其特征在于, 所述计算机设备包括处理器和存储器, 所述存储器中存储有至少一条指令、 至少一段程序、 代码集或指令集, 所述至 少一条指令、 至少一段程序、 代码集或指令集由所述处理器加载并执行以实现 如权利要求 1至 8任一所述的辅助功能的开启方法。
18、 一种计算机可读存储介质, 其特征在于, 所述可读存储介质中存储有 至少一条指令、 至少一段程序、 代码集或指令集, 所述至少一条指令、 至少一 段程序、 代码集或指令集由处理器加载并执行以实现如权利要求 1 至 8任一所 述的辅助功能的开启方法。
PCT/CN2020/072802 2019-02-28 2020-01-17 辅助功能的开启方法、装置、设备及可读存储介质 WO2020173251A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
SG11202104915QA SG11202104915QA (en) 2019-02-28 2020-01-17 Assistance function start-up method, apparatus, and device, and readable storage medium
JP2021516972A JP7299975B2 (ja) 2019-02-28 2020-01-17 補助機能の起動方法、装置、デバイス及びコンピュータプログラム
KR1020217012822A KR102565830B1 (ko) 2019-02-28 2020-01-17 어시스턴스 기능 스타트-업 방법 및 장치, 디바이스 및 읽기 가능한 스토리지 매체
US17/232,115 US11684856B2 (en) 2019-02-28 2021-04-15 Assist function enabling method and apparatus, device, and readable storage medium
US18/316,780 US20230277937A1 (en) 2019-02-28 2023-05-12 Enabling of assist function

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910153433.3A CN109806586B (zh) 2019-02-28 2019-02-28 游戏辅助功能的开启方法、装置、设备及可读存储介质
CN201910153433.3 2019-02-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/232,115 Continuation US11684856B2 (en) 2019-02-28 2021-04-15 Assist function enabling method and apparatus, device, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2020173251A1 true WO2020173251A1 (zh) 2020-09-03

Family

ID=66607850

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/072802 WO2020173251A1 (zh) 2019-02-28 2020-01-17 辅助功能的开启方法、装置、设备及可读存储介质

Country Status (6)

Country Link
US (2) US11684856B2 (zh)
JP (1) JP7299975B2 (zh)
KR (1) KR102565830B1 (zh)
CN (1) CN109806586B (zh)
SG (1) SG11202104915QA (zh)
WO (1) WO2020173251A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109513210B (zh) 2018-11-28 2021-02-12 腾讯科技(深圳)有限公司 虚拟世界中的虚拟车辆漂移方法、装置及存储介质
CN109806590B (zh) * 2019-02-21 2020-10-09 腾讯科技(深圳)有限公司 对象控制方法和装置、存储介质及电子装置
CN109806586B (zh) 2019-02-28 2022-02-22 腾讯科技(深圳)有限公司 游戏辅助功能的开启方法、装置、设备及可读存储介质
CN109999499B (zh) * 2019-04-04 2021-05-14 腾讯科技(深圳)有限公司 对象控制方法和装置、存储介质及电子装置
JP2021080402A (ja) 2019-11-21 2021-05-27 Dicグラフィックス株式会社 リキッド印刷インキ、及び積層体
CN111324409B (zh) * 2020-02-14 2023-03-10 腾讯科技(深圳)有限公司 基于人工智能的互动方法和相关装置
US11406905B2 (en) * 2020-05-26 2022-08-09 Dell Products L.P. System and method for communicating target information to users
CN112274936B (zh) * 2020-10-29 2022-04-26 腾讯科技(深圳)有限公司 虚拟道具的子道具补充方法、装置、设备及存储介质
CN113457146B (zh) * 2021-06-25 2024-04-12 网易(杭州)网络有限公司 游戏中虚拟物品的显示控制方法及装置
US12083429B2 (en) * 2022-02-08 2024-09-10 Sony Group Corporation Artificial intelligence for driving lines in racing games
CN117122925A (zh) * 2022-05-20 2023-11-28 腾讯科技(成都)有限公司 虚拟车辆的控制方法、装置、设备及介质
JP7455258B1 (ja) 2023-06-05 2024-03-25 株式会社コロプラ プログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137433A1 (zh) * 2017-01-24 2018-08-02 腾讯科技(深圳)有限公司 游戏应用中的对象控制方法和装置、存储介质和电子装置
CN108595022A (zh) * 2018-04-27 2018-09-28 网易(杭州)网络有限公司 虚拟角色行进方向调整方法及装置、电子设备、存储介质
CN108654085A (zh) * 2018-05-18 2018-10-16 网易(杭州)网络有限公司 游戏虚拟对象控制方法及装置、电子设备、存储介质
CN109107152A (zh) * 2018-07-26 2019-01-01 网易(杭州)网络有限公司 控制虚拟对象漂移的方法和设备
CN109806586A (zh) * 2019-02-28 2019-05-28 腾讯科技(深圳)有限公司 游戏辅助功能的开启方法、装置、设备及可读存储介质

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11123279A (ja) * 1997-10-21 1999-05-11 Calsonic Corp コンピュータを利用したレーシングゲームの走行操作補助プログラムが記録された記録媒体
JP3972230B2 (ja) * 1999-02-15 2007-09-05 株式会社セガ ゲーム装置、ゲーム装置の制御方法及び記録媒体
JP3977264B2 (ja) 2003-02-05 2007-09-19 株式会社バンダイナムコゲームス プログラム、情報記憶媒体及びゲーム装置
US7625287B2 (en) * 2005-10-05 2009-12-01 Nintendo Co., Ltd. Driving game steering wheel simulation method and apparatus
US7744451B2 (en) * 2005-11-14 2010-06-29 Microsoft Corporation Speed-dependent suggested driving lines
JP5179020B2 (ja) * 2006-05-09 2013-04-10 任天堂株式会社 ゲームプログラム、ゲーム装置、ゲームシステムおよびゲーム処理方法
JP5795460B2 (ja) 2009-03-04 2015-10-14 株式会社タイトー ゲームプログラム及びゲーム機
JP5563790B2 (ja) * 2009-06-23 2014-07-30 任天堂株式会社 ゲーム装置およびゲームプログラム
JP5135366B2 (ja) 2010-02-05 2013-02-06 株式会社コナミデジタルエンタテインメント ゲーム装置、ゲーム制御プログラム、及びゲーム制御方法
JP5548177B2 (ja) 2011-09-28 2014-07-16 株式会社コナミデジタルエンタテインメント ゲーム装置、および、プログラム
JP6869692B2 (ja) * 2016-10-19 2021-05-12 任天堂株式会社 ゲームプログラム、ゲーム処理方法、ゲームシステム、およびゲーム装置
WO2018091861A1 (en) * 2016-11-15 2018-05-24 Space Ape Games (Uk) Ltd Graphical user interface for single-input controls in a racing game on a touchscreen device
KR102003794B1 (ko) * 2016-12-16 2019-10-01 엔티콘 주식회사 커스터마이징된 미션 이벤트를 제공하기 위한 장치, 시스템, 방법 및 컴퓨터 판독가능 저장 매체
CN108635855A (zh) * 2018-05-03 2018-10-12 网易(杭州)网络有限公司 游戏中载具的移动控制方法、装置和终端
CN108939546B (zh) * 2018-05-21 2021-09-03 网易(杭州)网络有限公司 虚拟对象的漂移控制方法及装置、电子设备、存储介质
CN108744518B (zh) * 2018-06-08 2022-03-22 网易(杭州)网络有限公司 游戏对象的控制方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137433A1 (zh) * 2017-01-24 2018-08-02 腾讯科技(深圳)有限公司 游戏应用中的对象控制方法和装置、存储介质和电子装置
CN108595022A (zh) * 2018-04-27 2018-09-28 网易(杭州)网络有限公司 虚拟角色行进方向调整方法及装置、电子设备、存储介质
CN108654085A (zh) * 2018-05-18 2018-10-16 网易(杭州)网络有限公司 游戏虚拟对象控制方法及装置、电子设备、存储介质
CN109107152A (zh) * 2018-07-26 2019-01-01 网易(杭州)网络有限公司 控制虚拟对象漂移的方法和设备
CN109806586A (zh) * 2019-02-28 2019-05-28 腾讯科技(深圳)有限公司 游戏辅助功能的开启方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
JP7299975B2 (ja) 2023-06-28
KR20210056434A (ko) 2021-05-18
CN109806586B (zh) 2022-02-22
CN109806586A (zh) 2019-05-28
SG11202104915QA (en) 2021-06-29
US20230277937A1 (en) 2023-09-07
JP2022502167A (ja) 2022-01-11
US11684856B2 (en) 2023-06-27
US20210245053A1 (en) 2021-08-12
KR102565830B1 (ko) 2023-08-09

Similar Documents

Publication Publication Date Title
WO2020173251A1 (zh) 辅助功能的开启方法、装置、设备及可读存储介质
US11200022B2 (en) Method and apparatus of playing audio data
CN109729411B (zh) 直播互动方法及装置
CN110333834B (zh) 帧频调整方法及装置、显示设备、计算机可读存储介质
US11954200B2 (en) Control information processing method and apparatus, electronic device, and storage medium
CN110139116B (zh) 直播间切换方法、装置及存储介质
CN110213612B (zh) 直播互动方法、装置及存储介质
CN112044065B (zh) 虚拟资源的显示方法、装置、设备及存储介质
CN110772793A (zh) 虚拟资源的配置方法、装置、电子设备及存储介质
JP7309913B2 (ja) 視点回転の方法、装置、端末およびコンピュータプラグラム
CN110288689B (zh) 对电子地图进行渲染的方法和装置
CN110007981B (zh) 启动应用程序的方法、装置、电子设备及介质
WO2020244516A1 (zh) 在线互动的方法和装置
CN114594923A (zh) 车载终端的控制方法、装置、设备及存储介质
WO2020258698A1 (zh) 歌词显示方法、装置、设备及存储介质
CN108509127B (zh) 启动录屏任务的方法、装置及计算机设备
CN112367533B (zh) 交互业务的处理方法、装置、设备及计算机可读存储介质
CN109005359B (zh) 视频录制方法、装置存储介质
WO2021003949A1 (zh) 歌曲播放方法、装置及系统
WO2022095506A1 (zh) 直播方法及装置
CN113391865B (zh) 剧情聊天方法、装置、终端、服务器及存储介质
CN112669884B (zh) 音频数据处理方法、装置、设备及存储介质
CN110519614B (zh) 一种直播间中账户之间进行交互的方法、装置及设备
CN114140105A (zh) 资源转移方法、装置、设备及计算机可读存储介质
CN108310767B (zh) 信息展示方法、装置、设备及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20763739

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021516972

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20217012822

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20763739

Country of ref document: EP

Kind code of ref document: A1