CN117563230B - Data processing method and related equipment - Google Patents

Data processing method and related equipment Download PDF

Info

Publication number
CN117563230B
CN117563230B CN202410065002.2A CN202410065002A CN117563230B CN 117563230 B CN117563230 B CN 117563230B CN 202410065002 A CN202410065002 A CN 202410065002A CN 117563230 B CN117563230 B CN 117563230B
Authority
CN
China
Prior art keywords
track
difficulty
sub
dimension
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410065002.2A
Other languages
Chinese (zh)
Other versions
CN117563230A (en
Inventor
张兴斌
黄斌
袁明凯
罗章龙
严明
魏学峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202410065002.2A priority Critical patent/CN117563230B/en
Publication of CN117563230A publication Critical patent/CN117563230A/en
Application granted granted Critical
Publication of CN117563230B publication Critical patent/CN117563230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • 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
    • A63F13/537Controlling 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 using indicators, e.g. showing the condition of a game character on screen
    • 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
    • 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/8076Shooting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application provides a data processing method and related equipment, wherein the method comprises the following steps: acquiring operation track data to be processed, wherein the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point concentration of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop; performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension; and carrying out fusion processing on the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop. By the embodiment of the application, the evaluation accuracy of the operation difficulty of the virtual prop can be improved.

Description

Data processing method and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method and related devices.
Background
In a virtual scene, in order to better simulate the use performance of a virtual prop in the real world, corresponding attribute parameters (such as recoil) are usually set for the virtual prop so as to simulate the visual sense and the striking sense of a real shooting. Based on the functions of the attribute parameters, in the process of continuously transmitting the virtual object by using the virtual prop, if no control operation is performed, the landing points of the transmitted virtual object are scattered in a large area, so that the ideal hit rate is not achieved. In the practical application process, a player can adapt to the use of the virtual prop through a large amount of control training, so that the landing points of the transmitted virtual object are concentrated in a certain area range, and the ideal hit rate is achieved. However, the difficulty of the control operation performed to achieve a more desirable hit rate may be different for different virtual props, and currently, the operation difficulty of the virtual props is often evaluated based on subjective feeling, and the accuracy of evaluating the operation difficulty of the virtual props needs to be improved.
Disclosure of Invention
The embodiment of the application provides a data processing method and related equipment, which can objectively quantify the operation difficulty of a virtual prop from at least one dimension based on operation track data, so that the evaluation accuracy of the operation difficulty of the virtual prop is improved.
In one aspect, an embodiment of the present application provides a data processing method, including:
acquiring operation track data to be processed, wherein the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point concentration of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop;
performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension;
and carrying out fusion processing on the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop.
In one aspect, an embodiment of the present application provides a data processing apparatus, including:
The device comprises an acquisition unit, a control unit and a processing unit, wherein the acquisition unit is used for acquiring operation track data to be processed, and the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point concentration of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop;
the processing unit is used for carrying out difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension;
and the processing unit is also used for carrying out fusion processing on the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop.
In one aspect, embodiments of the present application provide a computer device comprising:
a processor adapted to execute a computer program;
a computer readable storage medium having a computer program stored therein, which when executed by a processor, implements a data processing method as described above.
In one aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored therein, the computer program being loaded by a processor and performing a data processing method as described above.
In one aspect, embodiments of the present application provide a computer program product comprising a computer program or computer instructions which, when executed by a processor, implement the above-described data processing method.
In this embodiment of the present application, operation track data generated by performing a control operation on a first virtual prop in a virtual scene may be obtained, where the control operation is used to control a set of landing points of a virtual object that is transmitted to be within a preset range in a process that the first virtual prop continuously transmits the virtual object. Based on the method, the obtained operation track data are track data corresponding to the better control operation, and the method is favorable for guiding the first virtual prop to accurately and difficultly quantify. And then, difficulty quantization processing can be carried out on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively, and the difficulty quantization information corresponding to one dimension can be used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension. Therefore, on one hand, the difficulty quantization processing can be performed on the operation track data in one or more dimensions, so that the operation difficulty of the first virtual prop can be quantized based on objective data, and the difficulty quantization is more real and reliable; on the other hand, if the difficulty is quantized from multiple dimensions, different factors are integrated in the quantization process of the operation difficulty of the first virtual prop, so that the evaluation accuracy of the operation difficulty of the first virtual prop is improved. And finally, fusing the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop. The operation difficulty of the first virtual prop can be obtained by integrating the difficulty quantization information of one or more dimensions, so that the reliability and accuracy of the operation difficulty of the first virtual prop are further enhanced, and the evaluation accuracy of the operation difficulty of the virtual prop is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a data processing system according to one illustrative embodiment of the present application;
FIG. 2 is a flow chart of a method of data processing according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a data processing flow provided in an exemplary embodiment of the present application;
FIG. 4 is a flow chart of another data processing method provided in an exemplary embodiment of the present application;
FIG. 5a is a schematic diagram of a comparison of an original operational trajectory curve and a fitted operational trajectory curve provided in an exemplary embodiment of the present application;
FIG. 5b is a schematic illustration of a curvature visualization of an operational trajectory provided by an exemplary embodiment of the present application;
FIG. 5c is a schematic diagram of a correspondence between an operational trajectory sub-curve and a zone according to an exemplary embodiment of the present application;
FIG. 5d is a schematic view of tangential included angles of an interval according to an exemplary embodiment of the present application;
FIG. 6a is a schematic diagram of a straight line corresponding to each of the operation trace sub-curves according to an exemplary embodiment of the present application;
FIG. 6b is a schematic diagram of a visualization of the degree of curvature of each curve sample point provided by an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of a difficulty quantization procedure provided in an exemplary embodiment of the present application;
FIG. 8 is a schematic diagram of a data processing apparatus according to an exemplary embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The application provides a data processing method, which is a technical scheme for evaluating the operation difficulty of a virtual prop based on operation track data. According to the technical scheme, the operation track data generated by the excellent control operation executed for the first virtual prop can be obtained, difficulty quantization processing is carried out on the operation track data under at least one dimension, difficulty quantization information corresponding to each dimension is obtained, and the difficulty quantization information corresponding to each dimension is fused, so that the operation difficulty of the first virtual prop is obtained. In the process, the operation difficulty of the first virtual prop can be quantized based on objective data, the operation difficulty of the first virtual prop is quantized from one or more dimensions, the quantization operation difficulty reflected in at least one dimension is synthesized, and the assessment accuracy of the operation difficulty of the first virtual prop is improved.
In the embodiment of the present application, a virtual scene may be understood as a scene that can be displayed in a device screen. Specifically, the virtual scene may be a scene obtained by simulating a scene in the real world, for example, a scene obtained by simulating a scenic spot play scene in the real world; alternatively, the virtual scene may be a semi-simulated semi-fictional scene, for example, a scene in which fictional characters are superimposed in a simulated world corresponding to the real world; still alternatively, the virtual scene may also be a purely fictional scene, such as a game scene, a scene in a movie or movie, and so on. The virtual scene may also be a multi-dimensional virtual scene, such as any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The virtual scene can be used for virtual scene fight between at least two virtual characters and can also be used for fight between at least two virtual characters by using virtual props. The device for displaying the virtual scene may be a computer device such as a terminal, and further the virtual scene may be provided by an application running in the device, such as a game application.
Virtual objects refer to movable objects in a virtual scene, including, but not limited to: virtual characters, virtual animals, etc. Alternatively, when the virtual scene is a three-dimensional virtual scene, the virtual object may be a stereoscopic model created based on an animated skeleton technique, the virtual object having its own shape, volume, and orientation in the virtual scene and occupying part of the space in the virtual scene. A virtual character refers to a virtual object, such as a virtual character, that a player can control.
Virtual props refer to props provided for virtual characters in a virtual scene, and may specifically be props supporting launching of virtual objects, including but not limited to: virtual handguns, virtual rifle, virtual sniper gun, virtual crossbow gun, and the like. The virtual object is an object which is supported in the virtual prop in the virtual scene and can be emitted by the virtual prop. The virtual object support replenishment may be performed after all virtual objects loaded in the virtual prop are used, for example. Virtual objects include, but are not limited to: virtual projectiles (e.g., virtual walking projectiles, virtual shotgun projectiles, virtual shotshells), virtual arches (e.g., virtual crossbow), and the like. Auxiliary props such as a quick clip, a sighting telescope, a muffler and the like can be mounted on the virtual props, so that partial attribute addition is provided for the virtual props. The first virtual prop in the application may be any virtual prop to be put into a virtual scene for use.
In a virtual scene, a virtual prop is used to aim at a target virtual object in the virtual scene and to launch a virtual object to hit the target virtual object. When the virtual object hits the target virtual object, an intersection point where the virtual object contacts the surface of the target virtual object is a landing point of the virtual object. For example, the virtual prop is a virtual pistol, the virtual object launched by the virtual prop is a virtual bullet, and the target virtual object aimed at is a wall, then when the virtual bullet launched by the virtual prop strikes the wall, the intersection point of the bullet and the wall, i.e. the landing point of the bullet, is also called an impact point. Further, the distribution of landing points may represent how densely the emitted virtual objects hit the target virtual object. In the application, under the condition that the control operation is better executed for the first virtual prop, the landing points of the virtual objects can be concentrated in the preset range, in other words, when the landing points of the virtual objects emitted by the first virtual prop are concentrated in the preset range, the control operation executed for the first virtual prop is indicated, and the hit rate of the first virtual prop can be higher. The preset range may be a circular range with a radius smaller than a preset radius threshold, or may be a square range with a fixed size or a range with a fixed shape, which is not limited in the application. And, the preset range may be a certain range of the aimed target virtual object surface, such as a circular range on the wall surface in the above example.
Based on the above description, the general logic of the data processing method provided in the present application includes the following: and acquiring operation track data to be processed, wherein the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene, and the control operation is used for controlling the landing point set of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop. Then, difficulty quantization processing can be carried out on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; and then carrying out fusion processing on difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop.
FIG. 1 is a block diagram of a data processing system in which the data method described above may be implemented, as provided by an exemplary embodiment of the present application. As shown in fig. 1, the data processing system includes a computer device 101 and a database 102. A communication connection may be established between the computer device 101 and the database 102. The database 102 may be a local database of the computer device 101 or a cloud database capable of establishing a connection with the computer device 101, divided by deployment location; according to the attribute classification, the database 102 may be a public database, i.e., a database that is open to all computer devices; but may also be a private database, i.e., a database that is open only to specific computer devices, such as computer device 101. The computer device may include either or both of a terminal or a server. Terminals include, but are not limited to: smart phones, tablet computers, intelligent wearable devices, intelligent voice interaction devices, intelligent home appliances, personal computers, vehicle-mounted terminals, intelligent cameras, virtual reality devices and the like, to which the application does not limit. The number of terminals is not limited in this application. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), basic cloud computing services such as big data and artificial intelligent platform, but is not limited thereto. The present application is not limited with respect to the number of servers.
If the computer device 101 includes one of a terminal and a server, the computer device 101 may obtain operation track data to be processed from a database, perform difficulty quantization processing on the operation track data in at least one dimension, and then perform fusion processing on difficulty quantization information corresponding to each dimension obtained by the difficulty quantization processing, so as to obtain operation difficulty of the first virtual prop. If the computer device 101 includes a terminal and a server, in one implementation manner, the terminal may obtain operation track data to be processed, then send the operation track data to the server, and perform difficulty quantization processing on the operation track data by the server under at least one dimension, and based on difficulty quantization information corresponding to each dimension obtained by the difficulty quantization processing, may obtain operation difficulty of the first virtual prop through fusion processing. Further, in a possible implementation manner, the server may send the operation difficulty of the first virtual prop to the terminal for outputting at the terminal, or the server may further store the operation difficulty of the first virtual prop in the database, so that after obtaining the operation difficulty of the plurality of virtual props, the terminal may obtain the stored operation difficulty of the plurality of virtual props from the database for performing difficulty ranking, so as to provide a scientifically and reasonably difficulty assessment result for a planner.
The technical scheme provided by the embodiment of the application can be applied to shooting game scenes, and the shooting game scenes are divided according to game viewing angles, and the shooting game scenes comprise but are not limited to: first Person Shooter (FPS) games and Third Person Shooter (TPS) games. The first-person shooting game is a shooting game in which a player can play at a first-person viewing angle, and in the first-person shooting game, a game screen is a screen in which a virtual scene is observed at the first viewing angle with a virtual object controlled by the player. Thus, the player can experience visual impact brought by the game in an immersive manner, and the reality of the game is enhanced. The third person scale shooting game is a shooting game in which a player can play at a third person scale viewing angle, and in the third person scale shooting game, a game screen is a screen in which a virtual object controlled by the player observes a virtual scene at the third viewing angle, and in the game screen, the player can observe a virtual object controlled by the player through the game screen and can control the virtual object to play a battle. In some shooting-type games, the first person viewing angle and the third person viewing angle may also be mutually switched to enhance the game experience. For various virtual props supporting to emit virtual objects in shooting game scenes, the scheme can be used for carrying out difficulty quantization processing from at least one dimension based on operation track data generated by control operation executed on the virtual props, so that operation difficulty of the virtual props is obtained. By evaluating the operation difficulty of the virtual prop, game planners can be assisted to analyze the operation difficulty more reasonably and conduct reasonable planning of the operation difficulty.
It should be noted that, in this application, the terms "first," "second," and the like are used to distinguish identical items or similar items that have substantially identical functions and actions, and it should be understood that the terms "first," "second," and "nth" do not have a logical or time-sequential dependency relationship, and are not limited in number or execution order. The term "at least one" in this application means one or more, and the meaning of "a plurality of" means two or more; for example: at least one dimension refers to one or more dimensions.
The term "module" or "unit" in this application refers to a computer program or a part of a computer program having a predetermined function and working together with other relevant parts to achieve a predetermined object, and may be implemented in whole or in part by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Also, a processor (or multiple processors or memories) may be used to implement one or more modules or units. Furthermore, each module or unit may be part of an overall module or unit that incorporates the functionality of the module or unit.
The data processing method provided in the embodiment of the present application is described in detail below.
Referring to fig. 2, a flowchart of a data processing method according to an exemplary embodiment of the present application is shown. The data processing method may be performed by a computer device, such as the computer device 101 in the data processing system shown in fig. 1, and may include what is described in the following S201-S203.
S201, operation track data to be processed is acquired.
The operation track data are track data generated by executing control operation on a first virtual prop in the virtual scene; the control operation is used for controlling the landing point set of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop.
The operation trajectory data may be used to describe an operation trajectory generated by a control operation performed with respect to the virtual prop. The operation track data comprises a plurality of discrete data points, each data point can be understood as a position point of the first virtual prop in the virtual scene, and the landing point of the virtual object emitted by the first virtual prop under each data point is within a preset range. The operation track data can also comprise operation angles in different directions, and the operation angle of each direction can be used for describing an operation track formed by moving the first virtual prop to the corresponding direction in the virtual scene. Wherein the different directions include, but are not limited to: directions perpendicular to each other, such as transverse (horizontal) and longitudinal (vertical).
In one implementation, the distance between any two landing points of the virtual objects emitted by the first virtual prop continuously and repeatedly can be controlled to be a preset distance through control operation, so that the landing points of the virtual objects emitted continuously are relatively close to or identical and are concentrated in a preset range. The control operation may include at least one sub-operation, each of which is for controlling the landing point of the virtual object emitted by the first virtual prop to be within a preset range and relatively close to or identical to the landing point of the virtual object emitted by the previous sub-operation. In the present application, the first virtual prop may be set to perform a sub-operation before each time the virtual object is launched, or may be set to perform a sub-operation during an interval between two consecutive launches of the virtual object. Correspondingly, each data point or operation angle in the operation trajectory data may be formed after performing one sub-operation. For example, if the virtual prop fires a virtual projectile 10 consecutive times, a sub-operation may be performed after the first firing of the virtual object to enable the landing point of the virtual projectile fired a second time to be as close as possible to the landing point of the virtual projectile fired the first time. And the sub-operation is performed to adjust the angle of the first virtual prop, so that the position coordinate of the first virtual prop in the virtual scene after the angle adjustment can be used as a data point in the operation track data.
In one implementation, the operational trajectory data may be trajectory data obtained by controlling an operational training algorithm to perform anthropomorphic training. For example, the first virtual prop is a virtual firearm, the control operation training algorithm is a gun pressing training algorithm, such as a anthropomorphic gun pressing track learning algorithm based on a quantum particle swarm, the algorithm utilizes a Fourier expansion type to represent the anthropomorphic gun pressing track of the virtual firearm, the Fourier expansion type parameters with good hit rate can be obtained under the condition of continuous shooting through the learning of the quantum particle swarm algorithm, and then the anthropomorphic gun pressing track of the virtual firearm, namely operation track data of the virtual firearm, is output. It can be seen that, in this example, the operation track data is trained gun pressing track data, and the gun pressing track data is obtained by performing control training on the first virtual prop based on a gun pressing training algorithm. Because the recoil (or referred to as recoil) can be better counteracted under the operation track data obtained by training, the hit accuracy of the virtual prop is relatively high, and therefore, the operation difficulty of the virtual prop can be accurately quantized based on the operation track data by performing difficulty quantization processing. In another implementation, the operation trajectory data may be operation trajectory data actually generated by the player when performing the control operation training. For example, the first virtual prop may be provided to a part of players for internal measurement, and operation track data corresponding to a control operation meeting the requirements may be obtained in the internal measurement process, where the control operation meeting the requirements refers to: the first virtual prop can be enabled to concentrate on a preset range in the process of continuously emitting the virtual objects through control operation.
If the virtual prop is a virtual shooting prop, such as a virtual firearm, the control operation is gun pressing operation, and correspondingly, the operation difficulty of the first virtual prop is gun pressing difficulty. Each sub-operation included in the control operation is also a plurality of gun pressing operations performed on the virtual gun, the operation track can be called a gun pressing track, and the shot virtual object landing points can be concentrated in a smaller area through the gun pressing operation. The gun-pressing trajectory data may include position coordinates of the virtual firearm in the virtual scene after one gun-pressing operation per firing interval. Since the control operation on the first virtual prop can be controlled based on some input devices (such as a mouse/a handle/a screen/a gyroscope, etc.), the operation track can be corresponding to the motion track of the input devices (such as the mouse/the handle/the screen/the gyroscope, etc.). For example, when the first virtual prop is controlled, some gun pressing tracks can be set through an algorithm, so that a mouse can move according to the gun pressing tracks to exercise how to control the first virtual prop, and a better hit rate is achieved.
S202, performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension.
In one implementation, the difficulty quantization processing can be performed on the operation track data in one dimension to obtain corresponding difficulty quantization information in the dimension. In another implementation manner, the difficulty quantization processing may be performed on the operation track data under two or more dimensions, so as to obtain difficulty quantization information corresponding to each of the at least two dimensions.
Optionally, based on the properties of the operational track, the at least one dimension may include one or more of a track length dimension, a track length variation dimension, and a track bending dimension. The difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop in the corresponding dimension. For example, the at least one dimension includes a track length dimension, and then the difficulty quantization information corresponding to the track length dimension is used to indicate a quantization operation difficulty of the first virtual prop in the track length dimension. The quantized operation difficulty is the operation difficulty quantized in a certain dimension, and can be used for evaluating the operation difficulty of the first virtual prop in the certain dimension, and the quantized operation difficulty reflects the influence of data in the corresponding dimension on the operation difficulty of the first virtual prop.
And S203, fusing the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop.
In one implementation, if only difficulty quantization information corresponding to one dimension is obtained, the fusion process in this step refers to: and determining difficulty quantization information corresponding to one dimension as the operation difficulty of the first virtual prop. In another implementation manner, if difficulty quantization information corresponding to each of at least two dimensions is obtained, the fusion processing in this step refers to: and carrying out weighted summation on difficulty quantization information corresponding to each dimension respectively to obtain a difficulty quantization value, wherein the difficulty quantization value is used for indicating the operation difficulty of the first virtual prop. Specifically, the difficulty quantization value is positively correlated with the operation difficulty: the larger the difficulty quantization value is, the larger the operation difficulty is; the smaller the difficulty quantization value, the smaller the operation difficulty. In the process of weighted summation, the weights of the difficulty quantization information corresponding to each dimension can be set to be the same (for example, 1), and the weight can be set based on the importance degree of different dimensions on the operation difficulty, so that the influence degree of the difficulty quantization information under different dimensions on the operation difficulty is different.
Based on the flow provided in this embodiment, taking the first virtual prop as the virtual firearm as an example, for the quantification process of the operation difficulty of the first virtual prop, reference may be made to a schematic diagram of a data processing flow provided in an exemplary embodiment as shown in fig. 3. As shown in fig. 3, in the stage of planning a shooting firearm, a target gun pressing track can be first learned through a gun pressing training algorithm, wherein the target gun pressing track is a trained gun pressing track, and a gun pressing operation corresponding to the target gun pressing track can enable virtual objects launched by a virtual firearm to be concentrated in a relatively small range. That is, the target gun-pressing trajectory is an operation trajectory generated by a gun-pressing operation performed to ensure that the virtual object emitted from the virtual gun is concentrated in a relatively small range. And then, carrying out difficulty quantification processing on the target gun pressing track in at least one dimension to obtain the gun pressing difficulty of the virtual gun. Further, the gun pressing difficulty can be compared with the operation difficulty of other virtual guns which are put into the virtual scene for use, so that whether the relative gun pressing difficulty of the virtual gun meets expectations or not is determined.
According to the data processing method, operation track data generated by executing control operation on the first virtual prop in the virtual scene can be obtained, and the control operation is used for controlling the landing point set of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop. Based on the method, the obtained operation track data are track data corresponding to the better control operation, and the method is favorable for guiding the first virtual prop to accurately and difficultly quantify. And then, difficulty quantization processing can be carried out on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively, and the difficulty quantization information corresponding to one dimension can be used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension. Therefore, on one hand, the difficulty quantization processing can be performed on the operation track data in one or more dimensions, so that the operation difficulty of the first virtual prop can be quantized based on objective data, and the difficulty quantization is more real and reliable; on the other hand, if the difficulty is quantized from multiple dimensions, different factors are integrated in the quantization process of the operation difficulty of the first virtual prop, so that the evaluation accuracy of the operation difficulty of the first virtual prop is improved. And finally, fusing the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop. The difficulty quantization information of one or more dimensions is fused, so that the operation difficulty of the first virtual prop can be obtained by integrating the quantization information of at least one dimension, and the reliability and accuracy of the operation difficulty of the first virtual prop are further enhanced.
Referring to fig. 4, a flowchart of another data processing method according to an exemplary embodiment of the present application is shown. The data processing method may be performed by a computer device, such as computer device 101 in the data processing system shown in fig. 1, and may include what is described in the following S401-S405. In this embodiment, the logic of the difficulty quantization processing in each dimension is mainly described in detail.
S401, acquiring operation track data to be processed.
In one embodiment, the dimensions include: one or more of a track length dimension, a track length variation dimension, and a track bending dimension. The track length dimension refers to the dimension of the length of the operation track; track length variation dimension refers to the dimension of the length variation between track lengths generated under different sub-operations; the track curvature dimension refers to the dimension of curvature of the operational track. When the computer device performs difficulty quantization on the operation track data in at least one dimension, one or more steps of the following steps S402 to S404 may be performed based on specific contents of the dimension, and a detailed description is given below on a specific implementation manner of the difficulty quantization process in each dimension.
S402, if the dimensions comprise track length dimensions, performing difficulty quantization processing on the operation track data under the track length dimensions to obtain first difficulty quantization information corresponding to the track length dimensions.
The first difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track length dimension. In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1. Alternatively, assuming that the sub-operation is performed once before each virtual object is transmitted or once every virtual object is transmitted at intervals, the first virtual prop transmits N virtual objects consecutively, and N sub-operations are performed correspondingly. The operation track data are obtained by executing N times of sub-operations on the first virtual prop, each sub-operation is executed for counteracting the recoil force of the virtual prop to launch the virtual object, and each sub-operation generates a corresponding operation angle, and the operation angle can be the angle of the virtual prop in the virtual scene, which is adjusted relative to the last sub-operation. Based on this, the operation trajectory data includes: the N times of sub-operations respectively correspond to the operation angles, wherein the operation angles comprise a transverse operation angle and a longitudinal operation angle. The horizontal operation angle is an angle for adjusting the first virtual prop along the horizontal direction, and the vertical operation angle is an angle for adjusting the first virtual prop along the vertical direction. For example, the sub-operation is a gun-pressing operation, then the lateral operation angle may also be referred to as a lateral gun-pressing angle, and the longitudinal operation angle may also be referred to as a vertical gun-pressing angle. The horizontal direction and the vertical direction are relative directions in the virtual scene, e.g., the virtual scene in which the first virtual prop is located is a scene under the first person's perspective of the player, then the horizontal direction and the vertical direction are directions under the first person's perspective of the perspective.
The computer device performs difficulty quantization processing on the operation track data under the track length dimension, and when first difficulty quantization information corresponding to the track length dimension is obtained, the following steps 1.1-1.3 can be executed.
And 1.1, respectively carrying out length quantization processing according to the operation angles corresponding to each sub-operation to obtain the operation track length corresponding to each sub-operation.
In the present application, the length of the operation track is formed by counteracting the recoil force received by the first virtual prop when the virtual object is launched for each sub-operation, and the length of the operation track is positively correlated with the magnitude of the recoil force. The larger the recoil force received by the first virtual prop, the longer the operation track length, and the smaller the recoil force received by the first virtual prop, the shorter the operation track length. Alternatively, the sub-operation may be performed after each virtual object is launched to counteract the generated squat force, or may be performed after a plurality of virtual objects are launched, and since the squat force of the first virtual object may gradually accumulate during the continuous launching of the virtual object, in some cases, one sub-operation may counteract the squat force accumulated by the virtual object after a plurality of launches, or may not completely counteract the squat force suffered by the first virtual object, and thus, the length of the operation track corresponding to the different sub-operations may be different, depending on the magnitude of the squat force currently suffered.
Any one of the N sub-operations is denoted as the ith sub-operation, i.e. [1, N ]. The specific implementation of step 1.1 may comprise: performing length quantization according to the transverse operation angle corresponding to the ith sub-operation and the longitudinal operation angle corresponding to the ith sub-operation to obtain the length of an operation track corresponding to the ith sub-operation; the length of the operation track corresponding to the ith sub-operation refers to the length of the operation track formed by the ith sub-operation. In the virtual scene, the operation angle corresponding to each sub-operation represents the angle adjustment of the first virtual prop, so that an operation track with a corresponding length can be correspondingly formed. Therefore, based on the relation between the operation angle and the operation track length, in the length quantization processing process, the sum value between the square of the transverse operation angle corresponding to the ith sub-operation and the square of the longitudinal operation angle corresponding to the ith sub-operation can be calculated, and then root-opening processing is carried out on the sum value to obtain the operation track length corresponding to the ith sub-operation. Specific expressions can be seen in the following formulas 1 to 1:
1-1
Wherein,indicating the length of the operation track corresponding to the ith sub-operation,/->Represents the lateral operation angle, < +_, of the ith sub-operation >The longitudinal operation angle of the ith sub-operation is indicated. Alternatively, if the first virtual prop performs a sub-operation on the first virtual prop every time the first virtual prop emits a virtual object, then +.>Representing the corresponding lateral operating angle (e.g., the lateral gun-pressing angle of the ith shot) of the sub-operation performed by the ith shot virtual object +.>Representing the corresponding longitudinal operational angle (e.g., vertical gun-pressing angle for the ith shot) of the sub-operation performed by the ith shot of the virtual object.
It will be understood that, for each sub-operation, the corresponding operation track length may be obtained in the manner shown in equation 1-1, so that N operation track lengths may be obtained, where one operation track length corresponds to one sub-operation, and sub-operations corresponding to different operation track lengths are different.
And 1.2, carrying out fusion processing on the N obtained operation track lengths to obtain the track length difficulty.
In one implementation, the fusion process in step 1.2 may be: and summing the N obtained operation track lengths to obtain the track length difficulty. See, in particular, the following expressions 1-2:
DP1=1-2
Wherein, DP1 represents the track length difficulty, N represents the execution times of sub-operations, Representing summation(s)>Indicating the operation track length corresponding to the ith sub-operation. For->And->The meaning of (1) may be specifically referred to the above formula 1-1, and will not be described herein.
The track length difficulty is used for indicating the length of the fusion track obtained by the fusion processing. That is, by performing fusion processing on the operation track length, a fusion track length can be obtained, and the fusion track length can be used to define the track length difficulty. Therefore, the track length difficulty can be obtained by fusing the operation track length. Track length difficulty and fusion track length positive correlation: the longer the fusion track length is, the higher the track length difficulty is, and the higher the quantization operation difficulty of the first virtual prop under the track length dimension is; the shorter the fusion track length is, the lower the track length difficulty is, and the lower the quantization operation difficulty of the first virtual prop in the track length dimension is.
And 1.3, determining the track length difficulty as first difficulty quantization information corresponding to the track length dimension.
The track length difficulty is directly determined to be first difficulty quantization information corresponding to the track length dimension, and the first difficulty quantization information can indicate quantization operation difficulty of the first virtual prop in the track length dimension. The quantization operation difficulty of the first virtual prop in the track length dimension comprises an operation amplitude; the magnitude of the operation is positively correlated with the fusion trace length. Specifically, the larger the operation amplitude is, the higher the quantization operation difficulty under the track length dimension is, and the longer the fusion track length is; the smaller the operation amplitude, the lower the quantization operation difficulty in the track length dimension, and the shorter the fusion track length.
In the steps 1.1 to 1.3, the larger the recoil applied to the first virtual prop, the larger the operation range corresponding to the sub-operation, and the greater the operation difficulty of the first virtual prop. In the corresponding operation track, the longer the length of the operation track is, the greater the operation difficulty of the first virtual prop is. Based on the mode, the operation track data are used for determining the length of the operation track, analyzing the operation difficulty of the first virtual prop in the length dimension of the operation track, defining the track length difficulty, and describing the operation difficulty of the first virtual prop in the track length dimension, so that the operation difficulty of the first virtual prop is quantized in terms of operation amplitude.
S403, if the dimensions comprise track length change dimensions, performing difficulty quantization processing on the operation track data under the track length change dimensions to obtain second difficulty quantization information corresponding to the track length change dimensions.
The second difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop under the track length change dimension. In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1, the operation trace data including: n times of sub-operations respectively correspond to the operation angles. For the meaning of the sub-operations and the operation angles, reference may be made specifically to what is described in the detailed description of the estimated length dimension, and details are not described herein.
Based on the content included in the operation track data, the computer device performs difficulty quantization processing on the operation track data under the track length change dimension, and when second difficulty quantization information corresponding to the track length change dimension is obtained, the following steps 2.1-2.4 can be executed.
And 2.1, traversing the operation angles corresponding to the N times of sub-operations respectively.
In a specific implementation, because the control operation includes N times of sub-operations with an execution sequence, in this step, the operation angles corresponding to the N times of sub-operations respectively may be sequentially traversed according to the execution sequence of the sub-operations, and based on the times of the sub-operations corresponding to the traversed operation angles, the traversed operation angles are correspondingly processed, so as to obtain corresponding data under the dimension of track length change.
And 2.2, when traversing to an operation angle corresponding to the ith sub-operation, if i is greater than 1, acquiring the operation angle corresponding to the ith-1 sub-operation, and determining a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the ith-1 sub-operation.
Wherein i is [1, N ]. That is, if the operation angle corresponding to the i-th sub-operation traversed is the operation angle corresponding to the sub-operation of the 2 nd and subsequent times, the operation angle corresponding to the i-1 th sub-operation may be acquired, so that the track length variation value is determined based on the operation angles corresponding to the adjacent two sub-operations. The track length change value means: the difference between the operation track length corresponding to the i-1 th sub-operation and the operation track length corresponding to the i-1 th sub-operation.
Specifically, since each sub-operation performed can be used to counteract the recoil force that the first virtual prop is transmitting the virtual object, and each sub-operation corresponds to generating an operation track, the change value of the operation track length corresponding to the two sub-operations performed for the first virtual prop can also be used to indicate the relative change of the recoil force that the first virtual prop is continuously transmitting the virtual object. For example, once a virtual object is launched, two sub-operations are performed during two consecutive launches of the virtual object by the first virtual prop, the virtual object is subjected to a recoil force F1 and a recoil force F2 respectively, the relative change of the recoil force is F2-F1, and the track length change value of the operation tracks S1 and S2 generated by the two sub-operations performed to cancel each received recoil force is S2-S1 respectively.
It will be appreciated that if a sub-operation is performed after the first virtual prop launches a plurality of virtual objects, then the squat force that is offset by the two sub-operations is the cumulative squat force experienced by the plurality of launched virtual objects. The track length change value is positively correlated with the relative change in recoil: the larger the relative change in recoil, the larger the track length change value; the smaller the relative change in recoil, the smaller the track length change value.
In one implementation, the operating angles include a lateral operating angle and a longitudinal operating angle. The computer device may specifically execute the following steps (1) - (3) when determining the track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the i-1 th sub-operation:
and (1) performing difference processing according to the transverse operation angle corresponding to the ith sub-operation and the transverse operation angle corresponding to the (i-1) th sub-operation to obtain a transverse operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
In the specific implementation, in the process of difference processing, the transverse operation angle corresponding to the ith sub-operation is used as a reduction number, the transverse operation angle corresponding to the ith sub-operation is used as a reduced number, and therefore the difference value obtained by subtracting the transverse operation angle corresponding to the ith sub-operation from the transverse operation angle corresponding to the ith sub-operation, namely the transverse operation angle difference value of the ith sub-operation relative to the ith sub-operation. The specific expression can be shown in the following formula 2-1:
2-1
Wherein,representing a difference value of the lateral operation angle of the ith sub-operation relative to the ith-1 sub-operation, namely a difference value between the lateral operation angle corresponding to the ith sub-operation and the lateral operation angle corresponding to the ith-1 sub-operation; Represents the corresponding lateral operating angle of the ith sub-operation,/->Indicating the corresponding lateral operation angle of the i-1 th sub-operation.
And (2) performing difference processing according to the longitudinal operation angle corresponding to the ith sub-operation and the longitudinal operation angle corresponding to the (i-1) th sub-operation to obtain a longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
In the specific implementation, in the process of performing the difference processing, the longitudinal operation angle corresponding to the ith sub-operation is used as a reduction number, and the longitudinal operation angle corresponding to the ith sub-operation is used as a reduced number, so that the difference value of the longitudinal operation angle corresponding to the ith sub-operation subtracted by the longitudinal operation angle corresponding to the ith sub-operation, namely the longitudinal operation angle difference value of the ith sub-operation relative to the ith sub-operation. The specific expression can be shown in the following formula 2-2:
2-2
Wherein,representing a difference value of longitudinal operation angles of the ith sub-operation relative to the ith-1 sub-operation, namely a difference value between a longitudinal operation angle corresponding to the ith sub-operation and a longitudinal operation angle of the ith-1 sub-operation;indicates the longitudinal operation angle corresponding to the ith sub-operation,/->The longitudinal operation angle corresponding to the i-1 th sub-operation is indicated.
And (3) obtaining a track length change value according to the transverse operation angle difference value and the longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
In a specific implementation, based on the relation between the operation angle and the track length, the square of the transverse operation angle difference value of the ith sub-operation relative to the ith-1 sub-operation and the square of the longitudinal operation angle difference value of the ith sub-operation relative to the ith-1 sub-operation can be calculated, the calculated square values are summed to obtain a sum value, and the sum value is subjected to root-opening processing to obtain a change value of the operation track length of the ith sub-operation relative to the operation track length of the ith-1 sub-operation, namely a track length change value. Specific expressions can be seen in the following formulas 2-3:
2-3
Wherein,a track length change value indicating the ith time relative to the ith-1 th time; />Represents the difference of the lateral operating angle of the ith relative to the ith-1 th,/and->Representing the longitudinal operating angle difference of the ith with respect to the ith-1 th.
It should be understood that the sequence number of the steps in the present application does not limit the execution sequence of each step, for example, the step (1) and the step (2) may be executed simultaneously or may be executed sequentially, which is not limited in the present application. And (3) calculating the operation angles corresponding to the traversed sub-operation 2 and the sub-operation 2 after the traversed sub-operation 2 according to the steps (1) to (3), so as to obtain the track length change value formed by the operation tracks corresponding to the adjacent sub-operations.
It should be noted that, when the operation angle corresponding to the traversed ith sub-operation is equal to 1, since the sub-operation is executed for the first time, no operation angle corresponding to other sub-operations is available before the execution of the 1 st sub-operation. In this case, the track length change value may be determined to be 0, and the operation angle corresponding to the i+1st sub-operation is continuously traversed, so that the track length change value is obtained in the manner shown in the above steps (1) to (3) after traversing to the operation angle corresponding to the 2 nd sub-operation. After traversing to the operation angle corresponding to the 2 nd sub-operation and obtaining a track length change value in the above manner, the computer device may continue traversing. Alternatively, in the process of calculating the track length change value, traversal may be continued, thereby concurrently calculating a plurality of track length change values. In summary, before the operation angle corresponding to the N sub-operations is not traversed, the computer device may continue traversing, so as to obtain N-1 track length change values in the above manner, where the track length change value 0 determined by the first execution of the sub-operations is not counted.
And 2.3, after obtaining N-1 track length change values, carrying out fusion processing on the N-1 track length change values to obtain the track length change difficulty.
Based on the foregoing, the obtained N-1 track length change values may be values each other than 0. After obtaining the N-1 track length change values in the above manner, the N-1 track length change values may be fused. These N-1 track length change values. In one specific implementation, the fusion process for N-1 track length change values may be: and carrying out weighted summation on the N-1 track length change values to obtain track length change difficulty, wherein the track length change difficulty is used for indicating the fusion track length change value obtained by fusion processing. That is, by performing fusion processing on the N-1 track length change values, a fused track length change value can be obtained, which can be used to define the track length change difficulty. For a specific implementation of the fusion process, see formulas 2-4 below:
2-4
Wherein DP2 represents the difficulty of track length variation, N represents the execution times of sub-operations,the sum is represented by a sum,the i-th track length change value is shown. It will be appreciated that, based on the above, when i=1,. When i is greater than 1,/is>And->
And 2.4, determining the track length change difficulty as second difficulty quantization information corresponding to the track length change dimension.
The track length change difficulty is directly determined to be second difficulty quantization information corresponding to the track length change dimension, and the second difficulty quantization information can indicate the quantization operation difficulty of the first virtual prop in the track length change dimension. The quantization operation difficulty of the first virtual prop under the track length change dimension comprises operation stability; the operational stability is inversely related to the fusion track length variation value. The lower the operation stability is, the larger the fusion track length change value is; the higher the operational stability, the smaller the fusion track length variation value.
The greater the recoil change of the virtual object emitted by the virtual prop, the more unstable the sub-operation performed on the virtual prop, steps 2.1-2.4 described above. And in the corresponding operation track, the larger the length change of the operation track is, the more difficult the first virtual prop is to be controlled to stably emit the virtual object, and the greater the operation difficulty of the first virtual prop is. Based on the principle, the operation track data can be used for determining the change of the length of the operation track, analyzing the operation difficulty of the first virtual prop in the length change dimension of the operation track based on the mode, defining the track length change difficulty, and describing the operation difficulty of the first virtual prop in the track length change dimension, so that the operation difficulty of the first virtual prop is quantized in the aspect of operation stability.
S404, if the dimensions comprise track bending dimensions, performing difficulty quantization processing on the operation track data under the track bending dimensions to obtain third difficulty quantization information corresponding to the track bending dimensions.
The third difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track bending dimension. In one embodiment, the computer device performs the difficulty quantization processing on the operation track data in the track bending dimension, and when obtaining the third difficulty quantization information corresponding to the track bending dimension, the following steps 3.1 to 3.4 may be executed.
And 3.1, performing curve fitting processing on the operation track data to obtain an operation track curve.
In a specific implementation, the operation track data includes a plurality of discrete data points, and the operation track curve is a track curve obtained by connecting the data points through a smooth curve according to a certain curve fitting mode. The curve fitting process of the operation trace data may include one or more of the following: fitting the operation track data in a polynomial fitting mode; or, performing curve fitting processing on the operation track data in a least square method mode; or, performing curve fitting processing on the operation track data in a spline interpolation (namely, establishing a smooth curve between adjacent data points) mode; or, the curve fitting processing of the operation track data is performed through the neural network. The least square method is an optimal function matching algorithm for searching data by searching a square sum of minimized errors, the basic idea is to make the square sum of distances from data points to a fitting curve minimum to fit curve parameters, and the least square method can be sampled in the curve fitting process to realize the least square method.
In one implementation, the computer device, when executing step 3.1 above, specifically includes implementation according to the following (1) - (3).
(1) And decomposing the operation track data to obtain transverse track data and longitudinal track data.
In particular implementations, since the recoil experienced by the virtual prop includes a transverse recoil and a longitudinal recoil, correspondingly, the operational trajectory data may also be decomposed into transverse trajectory data (which may also be referred to as horizontal trajectory data, e.g., transverse gun compression trajectory data) and longitudinal trajectory data (which may also be referred to as vertical trajectory data, e.g., vertical gun compression trajectory data) based on the recoil in both directions. Alternatively, the operational trajectory data comprises N data points, each of which may be represented by coordinates (e.g., cartesian coordinates), then the lateral trajectory data comprises the abscissa of the N data points and the longitudinal trajectory data comprises the ordinate of the N data points. Transverse trajectory dataLongitudinal track data->The specific representation of (a) may be as follows:
wherein,represents the corresponding lateral component of the ith sub-operation,/->Representing the longitudinal component corresponding to the ith sub-operation. Wherein i is E [0, N ]When i=0 represents a sub-operation performed on the first virtual prop before the 1 st transmission of the virtual object.
(2) Fitting the transverse track data by using a polynomial function to obtain transverse fitting data, and fitting the longitudinal track data by using the polynomial function to obtain longitudinal fitting data.
The polynomial function here may be a fitting polynomial required in the least squares method. And fitting the transverse track data and the longitudinal track data by using the same polynomial function respectively to obtain transverse fitting data and longitudinal fitting data. The fitting process of the longitudinal trajectory data based on the polynomial function can be shown as follows in equation 3-1:
3-1
Where n is the highest power of the fitting polynomial, where n may take a value of 6, where n represents the number of times the sub-operation is performed,representing the vector.
For vectorsAccording to algebraic method, can utilize matrix pair to solve and get, concretely following formula 3-2:
3-2
Wherein,is->Transposed matrix of>Representing longitudinal trajectory data. For matrix->Specific definitions of (a) can be found in the following formulae 3-3:
3-3
The fitting process of the transverse trajectory data based on the polynomial function may be as follows:
3-4
Where n is the highest power of the fitting polynomial, where n may take a value of 6, where n represents the number of times the sub-operation is performed,representing the vector.
Similarly, for vectorsAccording to algebraic methods, the method can be obtained by solving matrix pairs, and the method is specifically shown in the following formulas 3-5:
3-5
Wherein,is->Transposed matrix of>Representing lateral trajectory data. For matrix->Specific definitions of (a) can be found in the above formulas 3 to 3, and are not repeated here.
The above formulas 3-1 and 3-4 are polynomial functions, and discrete data points in corresponding operation track data can be substituted into the polynomial functions, so that a continuous curve is fitted. For a schematic representation of the effect of the fit, reference may be made to a schematic comparison of an original operational trajectory curve and a fitted operational trajectory curve as provided by an exemplary embodiment shown in fig. 5 a. As shown in fig. 5a (a) is an original operation track curve, and as shown in fig. 5a (b) is a fitted operation track curve, it can be found through the comparison schematic diagram that the curve formed by the fitted operation track curve and the original operation track is basically consistent, and the error is very small. Therefore, the accuracy of difficulty quantization in the track bending difficulty dimension can be improved based on the curve which is accurately fitted.
(3) And carrying out fusion processing on the transverse fitting data and the longitudinal fitting data to obtain an operation track curve.
In a specific implementation, the transverse fitting data and the longitudinal fitting data can be fused according to the inverse process of decomposition, so that an operation track curve is obtained. For example, the transverse fitting component x (t) and the longitudinal fitting component y (t) may be combined in the same dimension (e.g., same valued t) of the transverse fitting data and the longitudinal fitting data, to obtain the operational trajectory curve s (x, y).
In the curve fitting modes shown in the above (1) - (3), the operation track is divided into a transverse operation track and a longitudinal operation track, and the transverse track data and the longitudinal track data of the track data are subjected to curve fitting by using a polynomial function, so that a smooth operation track curve is obtained. The track curve obtained by fitting can be represented by a polynomial, and the subsequent curvature calculation can be facilitated.
And 3.2, dividing the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves.
In one possible implementation, curvature refers to the rotation rate of the tangential angle to the arc length at a point on the curve. The greater the curvature, the greater the degree of curvature of the curve at that point. The computer device may calculate at least one curvature of the trajectory curve using a curvature calculation formula, which may be represented by formula 4 below:
4. The method is to
Wherein K represents a curvature,for the first derivative of the transverse component,/>Second derivative of transverse component +_>For the first derivative of the longitudinal component, +.>The second derivative of the longitudinal component.
The operation track curves are divided by at least one curvature, and a plurality of operation track sub-curves can be obtained. The operation track sub-curves are partial curve segments of the operation track curves, and each operation track sub-curve corresponds to one section. And each interval comprises two endpoints, and one endpoint can be shared between adjacent operation track sub-curves.
In one implementation manner, when the computer device performs the step 3.2, the following steps (1) - (2) are specifically performed:
(1) the target curvature is selected from at least one curvature of the operation trajectory curve, and the target curvature is a curvature with a value of 0.
In a specific implementation, since the bending directions of the curves on both sides of the point where the curvature is 0 are often opposite, the curvature having the value of 0 may be regarded as the target curvature. That is, all curvatures having a value of 0 may be selected from at least one curvature as target curvatures. For visualization of the target curvature of the operation trajectory curve, reference may be made to a schematic illustration of a curvature visualization of an operation trajectory provided by an exemplary embodiment as shown in fig. 5 b. As shown in fig. 5b, where each point represents the curvature of the curve at 0, and the arrow on the curve represents the magnitude of the curvature at the curve. As can be readily seen from fig. 5B, the curve has opposite directions on both sides of the points (e.g. points a and B marked in fig. 5B).
(2) And dividing the operation track curve according to the target curvature to obtain a plurality of operation track sub-curves.
The point corresponding to the target curvature on the curve may be the point at which the operation trajectory curve is divided (as shown in fig. 5b above), and thus a plurality of operation trajectory sub-curves (i.e., two or more) may be divided using the point corresponding to the target curvature on the curve as the division end point. Alternatively, each operation track sub-curve may correspond to one section in the longitudinal direction, that is, the section corresponding to the operation track sub-curve may specifically include a longitudinal component; and the curvature corresponding to one end point shared between the adjacent operation track sub-curves is the target curvature. For example, based on the schematic diagram shown in fig. 5b, a schematic diagram of the correspondence between the exemplary operation trace sub-curve and the interval shown in fig. 5c may be provided. For example, the interval corresponding to the operation locus sub-curve s1 is an interval [1,4] on the longitudinal component. After the division process, the intervals corresponding to each operation track sub-curve are arranged in sequence. The curvature corresponding to the end point of each section is the target curvature except the section corresponding to the first operation track sub-curve and the section corresponding to the last operation track sub-curve.
In one implementation, the operational trajectory curve is also a curve segment that includes a curve start point and a curve end point (or referred to as curve end points). The sequential arrangement between the intervals may mean that the intervals are arranged from high to low according to the longitudinal component, so that the first operation track sub-curve refers to a curve from a curve starting point to a point of the target curvature, and the curve starting point may be a point where the maximum longitudinal component in the operation track curve is located; the last trajectory sub-curve refers to the curve from the point of the last target curvature to the curve end point, which may be the point where the smallest longitudinal component is located. In the plurality of operation track sub-curves, the curvature corresponding to each end point of the interval corresponding to the other track sub-curves is the target curvature except for the two track sub-curves. It will be appreciated that since there are common endpoints for the endpoints of the intervals corresponding to adjacent track sub-curves, the curvature at one endpoint in the first interval and the curvature at one endpoint in the last interval are both target curvatures. If the plurality of operation trace sub-curves includes two operation trace sub-curves, there is a common end point between the two operation trace sub-curves, and the curvatures at the common end points are all target curvatures.
It can be seen that, in the above-described dividing schemes shown in (1) to (2), the point with the curvature of 0 is taken as the point for dividing the curve into different sections, so that H (H is an integer greater than 1) sections can be obtained by dividing the operation locus curve, and the 1 st section, that is, the curve from the start point of the curve to the 1 st point with the curvature of 0, the j (j e [2, H ] and j is an integer) section is the point with the curvature of 0 to the j+1th point with the curvature of 0, and the last 1 section is the point with the curvature of 0 to the end point of the curve. In this way, the curves in the same bending direction can be divided into one section, and the curves in different bending directions are classified into different sections, so that the turning section can be conveniently determined later.
And 3.3, screening the sections corresponding to the operation track sub-curves respectively to obtain at least one turning section.
After the operation track sub-curves are divided into a plurality of operation track sub-curves, the sections corresponding to each operation track sub-curve can be screened according to a certain rule, and at least one turning section is obtained. Optionally, the rule used for screening is, for example, selected according to the bending degree of the operation track sub-curve, so that each turning section corresponds to an operation track sub-curve with a bending degree reaching a preset bending degree.
In a possible implementation, in a specific implementation, the computer device, when executing the above step 3.3, may specifically perform the filtering according to the following content shown in steps a-c.
a. Traversing intervals corresponding to the operation track sub-curves respectively.
In a specific implementation, the sections corresponding to the operation track sub-curves may be sequentially arranged, so that the sections may be traversed in a certain order. Each section comprises a starting end point and a terminating end point, and based on the starting end point and the terminating end point included in the traversed section, whether the traversed section is a turning section or not can be further determined, and particularly, the determination can be performed based on a tangential included angle formed by intersecting tangential lines of the two end points.
b. And obtaining tangential included angles of all traversed intervals, wherein the tangential included angles are formed by tangents of the starting end points of the intervals and tangents of the ending end points of the same interval.
The tangent line of the start point is a straight line perpendicular to the curvature direction of the start point, and the tangent line of the end point is a straight line perpendicular to the curvature direction of the end point. For any section traversed, the tangent at the start end point and the tangent at the end point may intersect to form a corresponding tangent included angle for the section in the direction of the tangent point. This tangential angle can be used to indicate the degree of curvature of the operating trajectory sub-curve corresponding to the interval. The greater the tangent angle, the greater the degree of curvature of the operational track sub-curve (i.e., the more curved), the smaller the tangent angle, the lesser the degree of curvature of the operational track sub-curve (i.e., the more gentle the curve). For example, as shown in the exemplary schematic view of the tangential included angle of the interval shown in fig. 5d, the tangential included angle formed between the tangents of the endpoint a and the endpoint B in the interval1 is 30 °, the tangential included angle formed between the tangents of the endpoint B and the endpoint C in the interval2 is 30 °, and the tangential included angles corresponding to the remaining intervals are not shown in the figure. Therefore, each traversed section has a tangent included angle, so that whether one section is a turning section can be judged based on the tangent included angle.
c. Determining an interval with the tangent included angle being greater than or equal to a preset included angle as a turning interval
The computer device may compare the tangential included angle of each traversed section to a preset included angle to determine whether the traversed section is a curve section. For any traversed section, if the tangential included angle corresponding to the section is greater than or equal to the preset included angle, the section is indicated to have a larger bending degree, so that the section can be determined as a turning section. Illustratively, the preset included angle is 20 degrees, and if the tangential included angle of the traversed section is 30 °, the section may be determined as a curve section. That is, a section in which the angle between the tangential direction of the section start point (i.e., the section includes the start end point) and the tangential direction of the section end point (i.e., the section includes the end point) is greater than the preset angle may be determined as a curve section corresponding to a curve section having a large degree of curvature. It will be appreciated that if the tangential included angle of the traversed section is less than the predetermined included angle, this section is illustrated as having a smaller degree of curvature, and thus the section may be determined as a non-cornering section.
In one implementation, before the completion of the determination of whether an interval is a turning interval, the computer device may continue to traverse, thereby concurrently determining whether the next interval is a turning interval in the same manner, or may concurrently determine whether each interval is a turning interval in the same manner, further increasing the screening speed of the turning interval. Whether each section is a turning section or not can be judged in the mode, after the sections corresponding to the operation track sub-curves respectively are traversed, and after the process is executed for each section, one or more turning sections can be obtained. For example, after the sections corresponding to the 5 operation track sub-sections shown in fig. 5d are distinguished by the above-mentioned flow, two curve sections, i.e., the section interval1 and the section interval2, may be determined.
It can be seen that in the steps a-c described above, the curve sections are sections that are screened out according to a certain rule. The judgment of the turning section can be performed quickly by taking the tangential included angle as a basis. The tangential angle can be used for indicating the bending degree of the operation track sub-curve, or the bending degree of the curve can be used for indicating the size of the angle between the tangential direction of the section starting point and the tangential direction of the section ending point. When the operation track needs to be bent, the operation difficulty is increased, and the operation difficulty is increased along with the increase of the bending quantity. Therefore, in the embodiment of the application, the curve (i.e. turning) is defined, and the sections in the same curve direction can be distinguished by using the curvature first, and then the turning sections are distinguished by using the tangential included angle, so that the operation difficulty of the first virtual prop is more accurately quantified based on the distinguished turning sections.
And 3.4, determining third difficulty quantization information corresponding to the track bending dimension according to the number of at least one turning interval and intervals corresponding to the plurality of operation track sub-curves.
In one implementation, the number of curve sections affects the difficulty of bending the trajectory, and the difficulty increases dramatically each time a curve is added. Therefore, in the bending difficulty quantization process, the number of turning sections is considered, and the sections corresponding to the operation track sub-curves are combined to determine the third difficulty quantization information.
In a possible implementation, the computer device may be implemented in the following steps s 11-s 14 when performing the above step 3.4.
Step s11, connecting a start endpoint and a stop endpoint of a section corresponding to each operation track sub-curve to obtain a straight line corresponding to each operation track curve.
For any operation track sub-curve, the computer device may directly connect the start endpoint and the end endpoint of the corresponding section, so as to form a straight line segment, that is, a straight line corresponding to the operation track sub-curve. Each of the operation trace sub-curves corresponds to a straight line, and illustratively, as shown in fig. 6a, an exemplary schematic diagram of a straight line corresponding to each of the operation trace sub-curves, the 2 operation trace sub-curves obtained by dividing each of the operation trace sub-curves correspond to a straight line connected by respective dividing endpoints. In addition, each operation track sub-curve is provided with a plurality of curve sampling points, and the curve sampling points and the straight lines are further used for measuring the bending degree of the corresponding operation track sub-curve.
Step s12, determining the distance between each curve sampling point on each operation track sub-curve and the straight line corresponding to each operation track sub-curve.
For any operation track sub-curve, the distance between each curve sampling point in the operation track sub-curve and the straight line corresponding to the operation track sub-curve refers to the vertical distance from the curve sampling point to the straight line. The straight line distance can be calculated by a distance formula. Sampling points by any curveThe distance calculation may be represented by the following formula 5-1: />
5-1
Where j represents the j-th sampling point (i.e., curve sampling point) on the operation track sub-curve,representing the distance from the j-th curve sampling point to the straight line; />Represents the lateral coordinates of the sampling point, +.>Vertical coordinates representing the sampling point, +.>Distance represents a function of the distance from the sampling point to the straight line, which is the straight line corresponding to the interval where the sampling point is located. The distance corresponding to each curve sampling point is used for indicating the bending degree of the operation track curve at the corresponding curve sampling point.
Illustratively, a schematic diagram of an exemplary visualization of the degree of curvature of each curve sample point is shown in fig. 6b, wherein the perpendicular distance of each curve sample point to a straight line may represent the degree of curvature. The larger the distance, the larger the degree of curvature at the corresponding curve sampling point, and the smaller the distance, the smaller the degree of curvature at the corresponding curve sampling point.
Step s13, determining the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of curve sampling points and the execution times N of sub-operations.
In a specific implementation, the control operation includes N sub-operations, that is, N sub-operations are performed to obtain operation track data, and then curve fitting is performed on the operation track data to obtain an operation track curve. Each sub-operation may correspond to a portion of the curve segment in the operation track curve, and the number of times N of execution of the sub-operation may be included in the calculation process of the bending degree of the operation track curve for the measurement of the bending degree of the operation track curve. In addition, for the operation track curve, the curve sampling points on the operation track sub-curve are also sampling points on the operation track curve, and each curve sampling point includes each sampling point on all operation track sub-curves, for example, M (M is an integer greater than 1) curve sampling points. Therefore, the curve sampling point number M can also be incorporated into the calculation process of the bending degree of the operation track curve. Moreover, the straight lines corresponding to the divided operation track sub-curves are different, the distances from the curve sampling points of the different operation track sub-curves to the corresponding straight lines may be different, but the distances are corresponding to the curve sampling points, and the distance of each curve sampling point can more intuitively reflect the bending degree at the corresponding curve sampling point. Therefore, the distance corresponding to each curve sampling point is included in the calculation process of the bending degree of the operation track curve.
In one implementation, for the implementation of step s13, the following contents I-III may be included:
I. and determining the bending direction difficulty coefficient of each curve sampling point according to the relative position relation between each curve sampling point and the corresponding straight line.
Specifically, the bending direction difficulty coefficient of the jth curve sampling point can be recorded asThe bending direction difficulty coefficient is a coefficient for evaluating the bending direction difficulty, and can be used for indicating the degree of difficulty of operation due to the bending direction of the operation track curve. The operating difficulties associated with different bending directions are different, e.g. the operating trajectory curves are curved to the leftThe operation difficulty is greater than the operation difficulty when the operation track is bent to the right. And for each curve sampling point, determining the bending direction difficulty coefficient of the corresponding curve sampling point according to the relative position relation between each curve sampling point and the corresponding straight line. For one curve sampling point, a straight line corresponding to the operation track sub-curve where the curve sampling point is located has a relative position relation with the curve sampling point, and the relative position relation is used for indicating that the curve sampling point is located on the left side or the right side of the straight line. The curve sampling point is positioned on the right side of the straight line, which indicates that the user needs to turn left when performing the sub-operation, the curve sampling point is positioned on the left side of the straight line, which indicates that the user needs to turn right when performing the sub-operation, and because of ergonomic reasons, the operation of turning right is generally more difficult than the operation of turning left, and therefore, the bending direction difficulty coefficient of the curve sampling point positioned on the right side of the straight line is smaller than the bending difficulty coefficient of the curve sampling point positioned on the left side of the straight line. Alternatively, with any one of the curve sampling points, when the curve sampling point is on the right side of the straight line, +. >=1, ++when the curve sampling point is on the left side of the straight line>=1.2, formula 5-2 as follows:
5-2->
The bending direction difficulty coefficient of each curve sampling point can be determined through the formula 5-2, so that the bending direction difficulty coefficient can be added into the definition of the bending degree of the operation track curve, and the accuracy of the track bending difficulty can be further improved.
II. And carrying out average processing according to the distances respectively corresponding to the curve sampling points, the bending direction difficulty coefficient of the corresponding curve sampling points and the number of the curve sampling points to obtain an average distance.
In a specific implementation, the distance corresponding to each curve sampling point can be calculatedAnd the sum of products between the curve sampling points and the bending direction difficulty coefficient of each curve sampling point is averaged by adopting the number M of the curve sampling points to obtain the average distance. Specific expressions for the average distance are as follows:
5-3
Wherein,represents the average distance, M is the number of curve sampling points, +.>And the bending difficulty coefficient of the j-th curve sampling point is represented. The meaning of the remaining parameters can be found in the above formulas 5-1 and 5-2, and are not described here.
III, determining the bending degree of the operation track curve according to the execution times N of the sub-operations and the average distance.
In this step, the product of the number of times N of execution of the sub-operation and the average distance may be calculated, and the result may be referred to as the degree of curvature (also referred to as the magnitude of curvature) of the operation trajectory curve. The specific formula is shown in the following formulas 5-4:
5-4
Wherein D represents the bending degree of the operation track curve, N represents the execution times of the sub-operations, and the meaning of the remaining parameters may refer to the definitions in the related expressions, which will not be described herein.
The content shown in the above I-III can determine the bending direction difficulty coefficient of the curve sampling points based on the relative position relationship between the curve sampling points and the straight line, determine the distance sum by the distance corresponding to each curve sampling point and the bending direction difficulty coefficient of each curve sampling point, average the distance sum by using the number of the curve sampling points, indicate the average bending degree of each curve sampling point by the average distance, and determine the overall bending degree of the operation track curve by the execution times of the sub-operations and the average bending degree. The bending direction difficulty coefficient is introduced in the whole process to evaluate the bending direction difficulty, so that the bending degree can be measured more accurately.
Step s14, determining the track bending difficulty according to the bending degree of the operation track curve and the number of at least one turning interval, and determining the track bending difficulty as third difficulty quantization information corresponding to the track bending dimension.
In one embodiment, the difficulty of bending of the operation trace is not linearly increased according to the number of bends, and the difficulty is sharply increased when one bending is added. The effect of the number of curves on the difficulty of track bending may be adjusted using a polynomial f, which may be calculated based on the number of curve sections. And obtaining the track bending difficulty by combining the bending degree of the operation track curve. Therefore, for the specific implementation of the track bending difficulty, the number of at least one turning section can be calculated according to a polynomial to obtain an influence factor, and the track bending difficulty is obtained by calculating the product between the influence factor and the bending degree of the operation track curve. Specific reference is made to the following formulas 5-5:
5-5
Wherein, DP3 represents the difficulty of track bending,for the influence factor determined on the basis of the polynomial formula, +.>The number of curve sections (or simply the number of curves) is represented, and D represents the degree of curvature of the operation locus curve. For polynomial- >The specific expression of (2) may be as follows formulas 5 to 6: />
5-6
If the number G of curve sections is substituted into the polynomial equation, then=/>
The trajectory bending difficulty may be used to indicate a corresponding operational difficulty when the first virtual prop needs to be bent. When the control operation of the first virtual prop needs to bend, the operation difficulty increases, and the more the bending number (defined by the number of turning sections in this embodiment) is, the more difficult the operation is, the different bending directions and the different operation difficulties are.
In the steps s 11-s 14, an operation track curve can be fitted based on the operation track data, the operation track curve is divided to obtain a plurality of sections corresponding to the operation track sub-curve, and turning sections are screened according to a certain rule, so that the track bending difficulty is determined based on the number of the turning sections, the bending direction, the bending degree and the like of the operation track curve.
In general, the steps described in S402-S404 may perform one or more of the following based on content included in at least one dimension: (1) if the at least one dimension includes only any one of a track length dimension, a track length variation dimension, and a track bending dimension, the computer device may perform the descriptions of the corresponding steps in S402-S404 based on the content included in the at least one dimension. (2) If the at least one dimension includes any two of a track length dimension, a track length variation dimension, and a track bending dimension, the steps described in S402 and S404 may be specifically performed when the track length dimension and the track bending dimension are included. The steps described in S403 and S404 may be specifically performed when the track length variation dimension and the track bending dimension are included. The steps described in S402 and S403 may be specifically performed when the track length dimension and the track length change dimension are included. (3) If the at least one dimension includes a track length dimension, a track length variation dimension, and a track bending dimension, the computer device may specifically perform the steps described in S402-S404.
S405, fusion processing is carried out on difficulty quantization information corresponding to each dimension respectively, and operation difficulty of the first virtual prop is obtained.
Based on the above, difficulty quantization information corresponding to one dimension or a plurality of dimensions can be obtained, so that the difficulty quantization information corresponding to one or a plurality of dimensions can be fused when fusion processing is performed. In one implementation, the at least one dimension includes: the track length dimension, track length change dimension, and track bending dimension, then the fusion process in step S405 may specifically be: and carrying out fusion processing on the first difficulty quantization information, the second difficulty quantization information and the third difficulty quantization information to obtain the operation difficulty of the first virtual prop. Based on the description of the quantization difficulty of each dimension in the above steps, the quantization difficulty after fusion can be represented by the following formula 6-1:
6-1
Wherein, DP represents the operation degree of difficulty of first virtual stage property, DP1 represents first degree of difficulty quantization information, DP2 represents second degree of difficulty quantization information, DP3 represents third degree of difficulty quantization information. Substituting the specific expression related to the difficulty quantization information of the corresponding dimension into the formula 6-1 can be further shown as the following formula 6-2:
6-2
In the mode, the length difficulty of the operation track and the track length change difficulty of the operation track among a plurality of sub-operations are combined, curve fitting is carried out on the operation track by utilizing a polynomial, the curve obtained by fitting is divided into different sections through the curvature of the curve, and the bending difficulty of the operation track curve is calculated, so that the track length difficulty, the track length change difficulty and the track bending difficulty are fused, and finally the operation difficulty of the first virtual prop is obtained.
In another implementation, the at least one dimension includes: the track length dimension and track curvature dimension, the fusion process in step S405 may specifically be: and carrying out fusion processing on the first difficulty quantization information and the third difficulty quantization information to obtain the operation difficulty of the first virtual prop. Then the operational difficulty of the first virtual prop is calculated as shown in equation 6-3 below:
6-3
Substituting the specific expression related to the difficulty quantization information of the corresponding dimension into the formula 6-3 can also be shown as the following formula 6-4:
6-4
In the mode, the overall length difficulty of the operation track is combined, curve fitting is carried out on the operation track by utilizing a polynomial, the curve obtained by fitting is divided into different sections through the curvature of the curve, and the bending difficulty of the operation track curve is calculated, so that the track length difficulty and the track bending difficulty are fused, and finally the operation difficulty of the first virtual prop is obtained.
Therefore, in the embodiment of the present application, the operation track of the first virtual prop may be converted into a specific difficulty value, and this process may also be referred to as operation track difficulty quantization. If the steps shown in S402-S405 are performed, a schematic diagram of an exemplary difficulty quantization process shown in fig. 7 may be provided. In the flowchart shown in fig. 7, taking the operation track data as the gun pressing track data as an example, a process flow of difficulty quantization in the track bending dimension is mainly described. Specifically, after the gun pressing track data is input, the gun pressing track length difficulty (one track length difficulty) and the gun pressing track change difficulty (one track length change difficulty) can be directly calculated, and then the gun pressing track data is subjected to curve fitting by using a least square method to obtain a gun pressing track curve. And the gun pressing curve is divided into different sections by calculating the curvature, so that the number of turns and the bending size can be calculated based on the sections, the bending difficulty of the gun pressing track (a track bending difficulty) is finally obtained, and the gun pressing track difficulty (an operation difficulty) =gun pressing track length difficulty+gun pressing track change difficulty+gun pressing track bending difficulty. Therefore, the whole process can quantify the difficulty of discrete gun pressing track data, is used for evaluating the gun pressing difficulty of a virtual gun, replaces subjective feeling by objective gun pressing track data, and can reasonably assist in planning to analyze the gun pressing difficulty of the gun. In addition, the method and the device can be established under the condition that the virtual firearm is trained, and the gun pressing difficulty is obtained by comprehensively evaluating the length, the track variation and the track bending of the trained gun pressing track, so that the accuracy of gun pressing difficulty evaluation is improved.
In general, the difficulty is quantified by analyzing the length of the operation track, the change of the track, the number of turns, the bending degree and the like, so that the operation difficulty of the first virtual prop is analyzed. Specifically, firstly, the length of the operation tracks is quantized to obtain the track length difficulty, and the length of the change between the operation tracks is taken as the length change difficulty. Secondly, quantifying the number of turns and the bending degree of the operation track, performing curve fitting through a least square method to obtain a smooth operation track curve, dividing the fitted curve into sections with different bending directions through calculating curve curvature, and regularly screening out sections meeting the conditions, wherein the number of the sections is the number of turns; connecting a starting end point and a terminating end point of a section into a straight line, calculating the size of a curve deviation straight line, namely the bending degree of the section, calculating the bending degree, the turning number and the bending direction to obtain the track bending difficulty, and taking the sum of the track length difficulty, the track length change difficulty and the track bending difficulty as the integral quantization difficulty of an operation track to obtain the operation difficulty of the first virtual prop.
In summary, according to the embodiment of the application, the operation difficulty can be comprehensively quantified under one or more dimensions of the length of the operation track, the length change of the operation track, the bending (such as the number of turns and the degree of turns) of the operation track, and the like, so that the operation difficulty of the first virtual prop can be more accurately analyzed and evaluated based on objective data, and the evaluation accuracy of the operation difficulty of the first virtual prop is facilitated to be improved. In a specific implementation, the length dimension of the operation track can be quantized to obtain the track length difficulty; quantifying the change dimension of the length of the operation track generated by different sub-operations to obtain the track length change difficulty; and quantifying the contents such as the number of turns, the bending degree and the like in the operation process to obtain the track bending difficulty, and finally obtaining a result based on the difficulty quantification dimension, and integrating the difficulty quantification information of one or more dimensions to obtain the operation difficulty of the first virtual prop, thereby improving the accuracy and the reliability of the operation difficulty.
In one implementation, multiple factors related to the operation difficulty can be mined from the actual perception trigger of the player, for example, the gesture of the player when the player performs the control operation on the virtual prop is added to the evaluation of the operation difficulty, so that the accuracy of evaluating the operation difficulty is improved.
Further, after determining the operation difficulty of the first virtual prop, the operation difficulty of the first virtual prop and the operation difficulty of other virtual props existing in the virtual scene can be compared, so that whether to adjust the operation difficulty of the first virtual prop is determined. Specifically, the following steps s21 to s23 may be included.
Step s21, obtaining operation difficulties of a plurality of second virtual props put in use in the virtual scene; the plurality of second virtual props are of the same type as the first virtual props.
Any second virtual prop put in use in the virtual scene refers to a virtual prop that a player can select and equip with to use in the virtual scene. For the operation difficulty of each second virtual prop put in use in the virtual scene, the operation difficulty of the second virtual prop can be obtained by referring to the difficulty quantization processing process based on the operation track data in the embodiment. The second virtual prop obtained here is a virtual prop of the same type as the first virtual prop, for example, due to differences in design, different types of virtual props can be included under the same type, for example, the first virtual prop and the second virtual prop are different types of virtual rifle, or are different types of virtual sniper rifle.
Step s22, determining a difficulty range corresponding to the type according to the operation difficulty of the plurality of second virtual props.
In a specific implementation, the maximum operation difficulty and the minimum operation difficulty can be determined from the operation difficulty of the plurality of second virtual props, and then the difficulty range corresponding to the type is determined based on the maximum operation difficulty and the minimum operation difficulty. Illustratively, the maximum operational difficulty of 3 virtual props is 5, the minimum operational difficulty is 1, and then the corresponding difficulty range of this type is [1,5]. Further, the difficulty range may be used to evaluate whether the operation difficulty of the first virtual prop is too difficult or too easy, thereby determining whether to adjust the operation difficulty of the first virtual prop.
Step s23, if the operation difficulty of the first virtual prop is within the difficulty range, keeping the attribute parameters of the first virtual prop unchanged.
The operation difficulty of the first virtual prop being within the difficulty range means that: the operation difficulty of the first virtual prop is smaller than or equal to the maximum operation difficulty in the difficulty range and is larger than or equal to the minimum operation difficulty in the difficulty range. Under the condition that the operation difficulty of the first virtual prop is within the difficulty range, the operation difficulty of the first virtual prop is close to the operation difficulty of the plurality of second virtual props, the probability that the operation difficulty of the first virtual prop is accepted by a player is high, and the operation difficulty of the first virtual prop accords with expectations.
In one implementation, the first virtual prop and each second virtual prop can be ranked according to the operation difficulty, and a difficulty ranking result is obtained, so that the second virtual prop closest to the operation difficulty of the first virtual prop is found based on the difficulty ranking result, and whether the operation difficulty of the first virtual prop meets expectations is further determined. In the case where the operational difficulty of the first virtual prop is in line with expectations, the computer device may maintain the attribute parameters of the first virtual prop unchanged, which may include recoil, by maintaining the attribute parameters of the first virtual prop unchanged, i.e., representing the operational difficulty of the first virtual prop unchanged, optionally the first virtual prop may be launched into the virtual scene for use by the player.
Further, based on the operation difficulty and the operation difficulty range corresponding to the type of the first virtual prop, the method can further comprise the following contents shown in the following steps s 24-s 26:
step s24, if the operation difficulty of the first virtual prop exceeds the difficulty range, selecting a reference virtual prop with the operation difficulty closest to that of the first virtual prop from the plurality of second virtual props.
The operation difficulty of the first virtual prop exceeding the difficulty range means that: the operation difficulty of the first virtual prop is greater than the maximum operation difficulty in the difficulty range or less than the minimum operation difficulty in the difficulty range. In the case where the difficulty of operation of the first virtual prop is outside the difficulty range, it may be the most difficult or easiest to demonstrate the difficulty of operation of the first virtual prop as compared to the difficulty of operation of the second virtual prop. For example, if the operation difficulty of the first virtual prop is greater than the maximum operation difficulty of the difficulty range, and the operation difficulty of the first virtual prop is ranked in order from high to low, the operation difficulty of the first virtual prop is the first position, that is, the first virtual prop is the virtual prop with the highest operation difficulty among the plurality of virtual props of the same type, and the operation difficulty of the first virtual prop may not be expected. Further, the computer device may select a reference virtual prop from the plurality of second virtual props having an operational difficulty closest to an operational difficulty of the first virtual prop. For example: and in the difficulty ranking result, the first virtual prop ranks at the first position, and then the second virtual prop ranked at the second position is used as the reference virtual prop with the closest operation difficulty.
Step s25, obtaining a relative operation difficulty between the operation difficulty of the reference virtual prop and the operation difficulty of the first virtual prop.
After the reference virtual prop is selected, a difference between the operation difficulty of the reference virtual prop and the operation difficulty of the first virtual prop can be calculated and used as a relative operation difficulty. The relative operation difficulty is used for evaluating whether the difficulty of the phase difference between the first virtual prop and the second virtual prop closest to the operation difficulty is too large or not, so as to determine whether to adjust the operation difficulty of the first virtual prop.
And step S26, if the relative operation difficulty is greater than the relative difficulty threshold, adjusting the attribute parameters of the first virtual prop.
In particular, if the relative difficulty of operation is greater than the relative difficulty threshold, then it is indicated that the operation difficulty of the first virtual prop indicates that the control operation performed on the first virtual prop may be too difficult or too easy, and that the virtual prop whose difficulty is closest to and meets the relative operation difficulty with the expectation is not found in the second virtual prop, so that the design of the operation difficulty of the first virtual prop is not in compliance with the expectation. Based on this, the attribute parameters of the first virtual prop may be adjusted, in particular the recoil. In addition, the attribute parameter may also include a bending parameter, such as the number of bends, the size of bends, and the like.
In one possible implementation, based on the adjusted attribute parameters, the difficulty evaluation may be performed again on the first virtual prop, that is, the difficulty quantization process may be performed again according to the flow in the embodiment shown in fig. 2 or fig. 4, to obtain a new operation difficulty of the first virtual prop. And whether the new operation difficulty accords with the expected design or not can be evaluated according to the flow, so that final attribute parameters of the first virtual prop are determined, and the operation difficulty of the first virtual prop is determined.
It will be appreciated that if the relative difficulty of operation is less than or equal to the relative difficulty threshold, the design that illustrates the difficulty of operation of the first virtual prop is expected to be consistent, then the attribute parameters of the first virtual prop may be maintained unchanged. Further, the first virtual prop may be launched into a virtual scene for use by a player.
In the above manner, after the operation difficulty of the first virtual prop is determined, the operation difficulty of the existing virtual prop can be compared, so that whether the relative operation difficulty of the first virtual prop meets expectations or not is evaluated, and the operation difficulty of the first virtual prop is adjusted by adjusting the attribute parameters of the first virtual prop under the condition that the relative operation difficulty of the first virtual prop does not meet expectations.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application, where the data processing apparatus may be provided in a computer device according to an embodiment of the present application. The data processing apparatus shown in fig. 8 may be a computer program (comprising program code) running in a computer device, which may be used to perform some or all of the steps of the method embodiments shown in fig. 2 or fig. 4. Referring to fig. 8, the data processing apparatus may include the following units:
an obtaining unit 801, configured to obtain operation track data to be processed, where the operation track data is track data generated by performing a control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point concentration of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop;
the processing unit 802 is configured to perform difficulty quantization processing on the operation track data in at least one dimension, so as to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension;
The processing unit 802 is further configured to perform fusion processing on the difficulty quantization information corresponding to each dimension, so as to obtain an operation difficulty of the first virtual prop.
In one embodiment, the dimensions include: one or more of a track length dimension, a track length variation dimension, and a track bending dimension; the processing unit 802 is configured to perform difficulty quantization processing on the operation track data in at least one dimension, and when obtaining difficulty quantization information corresponding to each dimension, the processing unit is specifically configured to at least one of the following: if the dimensions comprise track length dimensions, performing difficulty quantization processing on the operation track data under the track length dimensions to obtain first difficulty quantization information corresponding to the track length dimensions; the first difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track length dimension; if the dimension comprises a track length change dimension, performing difficulty quantization processing on the operation track data under the track length change dimension to obtain second difficulty quantization information corresponding to the track length change dimension; the second difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop under the track length change dimension; if the dimension comprises a track bending dimension, performing difficulty quantization processing on the operation track data under the track bending dimension to obtain third difficulty quantization information corresponding to the track bending dimension; the third difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track bending dimension.
In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1, the operation trace data including: n times of sub-operations respectively correspond to the operation angles; the processing unit 802 is configured to perform difficulty quantization processing on the operation track data in a track length dimension, and when obtaining first difficulty quantization information corresponding to the track length dimension, is specifically configured to: respectively carrying out length quantization processing according to the operation angles corresponding to each sub-operation to obtain the operation track length corresponding to each sub-operation; the length of the operation track is formed by counteracting the recoil force of the first virtual prop when the virtual object is launched for each sub-operation, and the length of the operation track is positively related to the magnitude of the recoil force; fusion processing is carried out on the N obtained operation track lengths, so that track length difficulty is obtained; the track length difficulty is used for indicating the length of the fusion track obtained by the fusion treatment; determining the track length difficulty as first difficulty quantization information corresponding to the track length dimension; the quantization operation difficulty of the first virtual prop in the track length dimension comprises an operation amplitude; the magnitude of the operation is positively correlated with the fusion trace length.
In one embodiment, the control operation includes N sub-operations, N is an integer greater than 1, and the operation trajectory data includes operation angles corresponding to the N sub-operations, respectively; the processing unit 802 is configured to perform difficulty quantization processing on the operation track data under the track length variation dimension, and when obtaining second difficulty quantization information corresponding to the track length variation dimension, is specifically configured to: traversing the operation angles corresponding to the N times of sub-operations respectively; when traversing to an operation angle corresponding to the ith sub-operation, if i is greater than 1, acquiring the operation angle corresponding to the ith-1 sub-operation; determining a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the (i-1) th sub-operation; the track length change value refers to the difference between the operation track length corresponding to the i-1 th sub-operation and the operation track length corresponding to the i-1 th sub-operation; after N-1 track length change values are obtained, carrying out fusion processing on the N-1 track length change values to obtain track length change difficulty; the track length change difficulty is used for indicating a fusion track length change value obtained by fusion processing; determining the track length change difficulty as second difficulty quantization information corresponding to the track length change dimension; the quantization operation difficulty of the first virtual prop under the track length change dimension comprises operation stability; the operation stability is inversely related to the fusion track length variation value; i is E [1, N ].
In one embodiment, the operating angles include a lateral operating angle and a longitudinal operating angle; the processing unit 802 is configured to determine a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the i-1 th sub-operation, where the track length change value is specifically configured to: performing difference processing according to the transverse operation angle corresponding to the ith sub-operation and the transverse operation angle corresponding to the ith-1 sub-operation to obtain a transverse operation angle difference value of the ith sub-operation relative to the ith-1 sub-operation; performing difference processing according to the longitudinal operation angle corresponding to the ith sub-operation and the longitudinal operation angle corresponding to the (i-1) th sub-operation to obtain a longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation; and obtaining a track length change value according to the transverse operation angle difference value and the longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
In one embodiment, the processing unit 802 is configured to perform difficulty quantization processing on the operation track data in the track bending dimension, and when obtaining third difficulty quantization information corresponding to the track bending dimension, is specifically configured to: performing curve fitting treatment on the operation track data to obtain an operation track curve; dividing the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves, wherein each operation track sub-curve corresponds to one section; screening the sections corresponding to the operation track sub-curves respectively to obtain at least one turning section; and determining third difficulty quantization information corresponding to the track bending dimension according to the number of at least one turning interval and intervals corresponding to the plurality of operation track sub-curves respectively.
In one embodiment, the processing unit 802 is configured to perform curve fitting processing on the operation track data, and is specifically configured to: decomposing the operation track data to obtain transverse track data and longitudinal track data; fitting the transverse track data by using a polynomial function to obtain transverse fitting data, and fitting the longitudinal track data by using the polynomial function to obtain longitudinal fitting data; and carrying out fusion processing on the transverse fitting data and the longitudinal fitting data to obtain an operation track curve.
In one embodiment, the processing unit 802 is configured to divide the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves, and is specifically configured to: selecting a target curvature from at least one curvature of the operation track curve; dividing the operation track curve according to the target curvature to obtain a plurality of operation track sub-curves; the sections corresponding to the operation track sub-curves are arranged in sequence, and the curvature corresponding to the end point of each section is the target curvature except the section corresponding to the first operation track sub-curve and the section corresponding to the last operation track sub-curve.
In one embodiment, the processing unit 802 is configured to perform screening processing on sections corresponding to the plurality of operation track sub-curves respectively, and when at least one turning section is obtained, the processing unit is specifically configured to: traversing intervals corresponding to the operation track sub-curves respectively, wherein each interval comprises a starting endpoint and a terminating endpoint; obtaining tangential included angles of all traversed intervals, wherein the tangential included angles are formed by tangential lines of starting endpoints of the intervals and tangential lines of ending endpoints of the same interval; and determining an interval in which the tangent included angle is larger than or equal to the preset included angle as a turning interval.
In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1; the processing unit 802 is configured to determine, according to the number of at least one turning interval and intervals corresponding to the plurality of operation track sub-curves, third difficulty quantization information corresponding to a track bending dimension, specifically configured to: connecting a starting end point and a terminating end point of an interval corresponding to each operation track sub-curve to obtain a straight line corresponding to each operation track curve; each operation track sub-curve is provided with a plurality of curve sampling points; determining the distance between each curve sampling point on each operation track sub-curve and the straight line corresponding to each operation track sub-curve; the distance corresponding to each curve sampling point is used for indicating the bending degree of the operation track curve at the corresponding curve sampling point; determining the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of the curve sampling points and the execution times N of sub-operations; and determining the track bending difficulty according to the bending degree of the operation track curve and the number of at least one turning interval, and determining the track bending difficulty as third difficulty quantization information corresponding to the track bending dimension.
In one embodiment, the processing unit 802 is configured to determine the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of curve sampling points, and the execution times N of the sub-operations, which are specifically configured to: determining the bending direction difficulty coefficient of each curve sampling point according to the relative position relation between each curve sampling point and the corresponding straight line; the bending direction difficulty coefficient is used for indicating the operation difficulty caused by the bending direction of the operation track curve; average processing is carried out according to the distance corresponding to each curve sampling point, the bending direction difficulty coefficient of the corresponding curve sampling point and the number of the curve sampling points, so as to obtain an average distance; and determining the bending degree of the operation track curve according to the execution times N of the sub-operations and the average distance.
In one embodiment, the obtaining unit 801 is further configured to: acquiring the operation difficulty of a plurality of second virtual props put in use in the virtual scene; the types of the plurality of second virtual props are the same as the types of the first virtual props;
the processing unit 802 is further configured to: determining a difficulty range corresponding to the type according to the operation difficulty of the plurality of second virtual props; if the operation difficulty of the first virtual prop is within the difficulty range, keeping the attribute parameters of the first virtual prop unchanged; wherein the attribute parameter comprises recoil.
In one embodiment, the processing unit 802 is further configured to: if the operation difficulty of the first virtual prop exceeds the difficulty range, selecting a reference virtual prop with the operation difficulty closest to that of the first virtual prop from a plurality of second virtual props; acquiring the relative operation difficulty between the operation difficulty of the reference virtual prop and the operation difficulty of the first virtual prop; and if the relative operation difficulty is greater than the relative difficulty threshold, adjusting the attribute parameters of the first virtual prop.
It may be understood that the specific functions of each unit of the data processing apparatus described in the embodiments of the present application may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the relevant descriptions of the foregoing method embodiments, which are not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
A related description of the computer device provided in the embodiments of the present application follows.
An exemplary embodiment of the present application further provides a schematic structural diagram of a computer device, where the schematic structural diagram of the computer device may be seen in fig. 9; the computer device may include: a processor 901, an input device 902, an output device 903, and a memory 904. The processor 901, the input device 902, the output device 903, and the memory 904 are connected by buses. The memory 904 is used for storing a computer-readable storage medium including a computer program, and the processor 901 is used for executing the computer program stored in the memory 904.
In one embodiment, the processor 901 performs the following operations by running a computer program in the memory 904: acquiring operation track data to be processed, wherein the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point concentration of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop; performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to one dimension is used for indicating the quantization operation difficulty of the first virtual prop under the corresponding dimension; and carrying out fusion processing on the difficulty quantization information corresponding to each dimension respectively to obtain the operation difficulty of the first virtual prop.
In one embodiment, the dimensions include: one or more of a track length dimension, a track length variation dimension, and a track bending dimension; the processor 901 performs difficulty quantization processing on the operation track data in at least one dimension, and is specifically used for at least one of the following when difficulty quantization information corresponding to each dimension is obtained: if the dimensions comprise track length dimensions, performing difficulty quantization processing on the operation track data under the track length dimensions to obtain first difficulty quantization information corresponding to the track length dimensions; the first difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track length dimension; if the dimension comprises a track length change dimension, performing difficulty quantization processing on the operation track data under the track length change dimension to obtain second difficulty quantization information corresponding to the track length change dimension; the second difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop under the track length change dimension; if the dimension comprises a track bending dimension, performing difficulty quantization processing on the operation track data under the track bending dimension to obtain third difficulty quantization information corresponding to the track bending dimension; the third difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track bending dimension.
In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1, the operation trace data including: n times of sub-operations respectively correspond to the operation angles; the processor 901 performs difficulty quantization processing on the operation track data in the track length dimension, and is specifically configured to: respectively carrying out length quantization processing according to the operation angles corresponding to each sub-operation to obtain the operation track length corresponding to each sub-operation; the length of the operation track is formed by counteracting the recoil force of the first virtual prop when the virtual object is launched for each sub-operation, and the length of the operation track is positively related to the magnitude of the recoil force; fusion processing is carried out on the N obtained operation track lengths, so that track length difficulty is obtained; the track length difficulty is used for indicating the length of the fusion track obtained by the fusion treatment; determining the track length difficulty as first difficulty quantization information corresponding to the track length dimension; the quantization operation difficulty of the first virtual prop in the track length dimension comprises an operation amplitude; the magnitude of the operation is positively correlated with the fusion trace length.
In one embodiment, the control operation includes N sub-operations, N is an integer greater than 1, and the operation trajectory data includes operation angles corresponding to the N sub-operations, respectively; the processor 901 performs difficulty quantization processing on the operation track data under the track length change dimension, and is specifically configured to: traversing the operation angles corresponding to the N times of sub-operations respectively; when traversing to an operation angle corresponding to the ith sub-operation, if i is greater than 1, acquiring the operation angle corresponding to the ith-1 sub-operation; determining a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the (i-1) th sub-operation; the track length change value refers to the difference between the operation track length corresponding to the i-1 th sub-operation and the operation track length corresponding to the i-1 th sub-operation; after N-1 track length change values are obtained, carrying out fusion processing on the N-1 track length change values to obtain track length change difficulty; the track length change difficulty is used for indicating a fusion track length change value obtained by fusion processing; determining the track length change difficulty as second difficulty quantization information corresponding to the track length change dimension; the quantization operation difficulty of the first virtual prop under the track length change dimension comprises operation stability; the operation stability is inversely related to the fusion track length variation value; i is E [1, N ].
In one embodiment, the operating angles include a lateral operating angle and a longitudinal operating angle; the processor 901 determines a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the i-1 th sub-operation, and is specifically configured to: performing difference processing according to the transverse operation angle corresponding to the ith sub-operation and the transverse operation angle corresponding to the ith-1 sub-operation to obtain a transverse operation angle difference value of the ith sub-operation relative to the ith-1 sub-operation; performing difference processing according to the longitudinal operation angle corresponding to the ith sub-operation and the longitudinal operation angle corresponding to the (i-1) th sub-operation to obtain a longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation; and obtaining a track length change value according to the transverse operation angle difference value and the longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
In one embodiment, the processor 901 performs difficulty quantization processing on the operation track data in the track bending dimension, and when obtaining third difficulty quantization information corresponding to the track bending dimension, the method is specifically used for: performing curve fitting treatment on the operation track data to obtain an operation track curve; dividing the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves, wherein each operation track sub-curve corresponds to one section; screening the sections corresponding to the operation track sub-curves respectively to obtain at least one turning section; and determining third difficulty quantization information corresponding to the track bending dimension according to the number of at least one turning interval and intervals corresponding to the plurality of operation track sub-curves respectively.
In one embodiment, when the processor 901 performs curve fitting processing on the operation track data to obtain an operation track curve, the method is specifically used for: decomposing the operation track data to obtain transverse track data and longitudinal track data; fitting the transverse track data by using a polynomial function to obtain transverse fitting data, and fitting the longitudinal track data by using the polynomial function to obtain longitudinal fitting data; and carrying out fusion processing on the transverse fitting data and the longitudinal fitting data to obtain an operation track curve.
In one embodiment, when the processor 901 performs a division process on the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves, the processor is specifically configured to: selecting a target curvature from at least one curvature of the operation track curve; dividing the operation track curve according to the target curvature to obtain a plurality of operation track sub-curves; the sections corresponding to the operation track sub-curves are arranged in sequence, and the curvature corresponding to the end point of each section is the target curvature except the section corresponding to the first operation track sub-curve and the section corresponding to the last operation track sub-curve.
In one embodiment, when the processor 901 performs screening processing on the sections corresponding to the plurality of operation track sub-curves respectively to obtain at least one turning section, the method is specifically used for: traversing intervals corresponding to the operation track sub-curves respectively, wherein each interval comprises a starting endpoint and a terminating endpoint; obtaining tangential included angles of all traversed intervals, wherein the tangential included angles are formed by tangential lines of starting endpoints of the intervals and tangential lines of ending endpoints of the same interval; and determining an interval in which the tangent included angle is larger than or equal to the preset included angle as a turning interval.
In one embodiment, the control operation includes N sub-operations, N being an integer greater than 1; the processor 901 is configured to determine, according to the number of at least one turning interval and intervals corresponding to the plurality of operation track sub-curves, third difficulty quantization information corresponding to a track bending dimension, where the third difficulty quantization information is specifically configured to: connecting a starting end point and a terminating end point of an interval corresponding to each operation track sub-curve to obtain a straight line corresponding to each operation track curve; each operation track sub-curve is provided with a plurality of curve sampling points; determining the distance between each curve sampling point on each operation track sub-curve and the straight line corresponding to each operation track sub-curve; the distance corresponding to each curve sampling point is used for indicating the bending degree of the operation track curve at the corresponding curve sampling point; determining the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of the curve sampling points and the execution times N of sub-operations; and determining the track bending difficulty according to the bending degree of the operation track curve and the number of at least one turning interval, and determining the track bending difficulty as third difficulty quantization information.
In one embodiment, the processor 901 determines the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of curve sampling points and the execution times N of the sub-operations, which is specifically configured to: determining the bending direction difficulty coefficient of each curve sampling point according to the relative position relation between each curve sampling point and the corresponding straight line; the bending direction difficulty coefficient is used for indicating the operation difficulty caused by the bending direction of the operation track curve; average processing is carried out according to the distance corresponding to each curve sampling point, the bending direction difficulty coefficient of the corresponding curve sampling point and the number of the curve sampling points, so as to obtain an average distance; and determining the bending degree of the operation track curve according to the execution times N of the sub-operations and the average distance.
In one embodiment, the processor 901 is further configured to: acquiring the operation difficulty of a plurality of second virtual props put in use in the virtual scene; the types of the plurality of second virtual props are the same as the types of the first virtual props; determining a difficulty range corresponding to the type according to the operation difficulty of the plurality of second virtual props; if the operation difficulty of the first virtual prop is within the difficulty range, keeping the attribute parameters of the first virtual prop unchanged; wherein the attribute parameter comprises recoil.
In one embodiment, the processor 901 is further configured to: if the operation difficulty of the first virtual prop exceeds the difficulty range, selecting a reference virtual prop with the operation difficulty closest to that of the first virtual prop from a plurality of second virtual props; acquiring the relative operation difficulty between the operation difficulty of the reference virtual prop and the operation difficulty of the first virtual prop; and if the relative operation difficulty is greater than the relative difficulty threshold, adjusting the attribute parameters of the first virtual prop.
It should be understood that the computer device described in the embodiments of the present application may perform the description of the data processing method in the foregoing corresponding embodiments, or may perform the description of the data processing apparatus in the foregoing corresponding embodiments, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, where the computer program includes program instructions, when executed by a processor, can perform the method in the embodiment corresponding to fig. 2 and fig. 4, and therefore, a detailed description will not be given here.
According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program stored in a computer readable storage medium. The processor of the computer device reads the computer program from the computer readable storage medium, and the processor executes the computer program, so that the computer device can perform the method in the corresponding embodiment of fig. 2 and fig. 4, and thus, a detailed description will not be given here.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored on a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only a preferred embodiment of the present application, and it is not intended to limit the scope of the claims, and one of ordinary skill in the art will understand that all or part of the processes for implementing the embodiments described above may be performed with equivalent changes in the claims of the present application and still fall within the scope of the present application.

Claims (16)

1. A method of data processing, the method comprising:
acquiring operation track data to be processed, wherein the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point set of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop; wherein the control operation comprises N sub-operations, N being an integer greater than 1; each of the sub-operations is to counteract a recoil force experienced by the first virtual prop when launching a virtual object; the operation track data includes: n times of sub-operations respectively correspond to the operation angles; the operation angle is an angle for adjusting the first virtual prop;
performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension; the difficulty quantization information corresponding to the dimension is used for indicating the quantization operation difficulty of the first virtual prop in the corresponding dimension; wherein the dimensions include: one or more of a track length dimension, a track length variation dimension, and a track bending dimension; under the track length dimension, the operation angle corresponding to each sub-operation is used for determining the operation track length corresponding to each sub-operation, and the operation track length is used for determining first difficulty quantization information corresponding to the track length dimension; determining a track length change value according to an operation angle corresponding to the ith sub-operation and an operation angle corresponding to the ith-1 sub-operation under the track length change dimension, wherein the track length change value refers to a difference value between an operation track length corresponding to the ith-1 sub-operation and an operation track length corresponding to the ith sub-operation, the track length change value is used for determining second difficulty quantization information corresponding to the track change dimension, i is (1, N) and i is an integer, under the track bending dimension, the operation track data is used for determining an operation track curve, the bending degree of the operation track curve and the number of turning sections are used for determining third difficulty quantization information corresponding to the track bending dimension, the turning sections refer to sections corresponding to operation track sub-curves with the bending degree reaching a preset bending degree, and the operation track sub-curves are curve sections obtained by dividing the operation track curve through curvature;
The difficulty quantization information corresponding to each dimension is fused, and the operation difficulty of the first virtual prop is obtained;
acquiring the operation difficulty of a plurality of second virtual props put in use in the virtual scene; the types of the plurality of second virtual props are the same as the types of the first virtual props;
determining a difficulty range corresponding to the type according to the operation difficulty of the plurality of second virtual props;
if the operation difficulty of the first virtual prop is within the difficulty range, keeping the attribute parameters of the first virtual prop unchanged; wherein the attribute parameter comprises recoil.
2. The method of claim 1, wherein the performing difficulty quantization on the operation trace data in at least one dimension to obtain difficulty quantization information corresponding to each dimension includes at least one of:
if the dimension comprises a track length dimension, performing difficulty quantization processing on the operation track data under the track length dimension to obtain first difficulty quantization information corresponding to the track length dimension; the first difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track length dimension;
If the dimension comprises a track length change dimension, performing difficulty quantization processing on the operation track data under the track length change dimension to obtain second difficulty quantization information corresponding to the track length change dimension; the second difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop under the track length change dimension;
if the dimension comprises a track bending dimension, performing difficulty quantization processing on the operation track data under the track bending dimension to obtain third difficulty quantization information corresponding to the track bending dimension; the third difficulty quantization information is used for indicating the quantization operation difficulty of the first virtual prop in the track bending dimension.
3. The method of claim 2, wherein the performing difficulty quantization on the operation trace data in the trace length dimension to obtain first difficulty quantization information corresponding to the trace length dimension includes:
respectively carrying out length quantization treatment according to the operation angles corresponding to each sub-operation to obtain the operation track length corresponding to each sub-operation; the operation track length is formed by counteracting the recoil force received by the first virtual prop when the virtual object is launched each time, and is positively related to the magnitude of the recoil force;
Fusion processing is carried out on the N obtained operation track lengths, so that track length difficulty is obtained; the track length difficulty is used for indicating the length of the fusion track obtained by fusion processing;
determining the track length difficulty as first difficulty quantization information corresponding to the track length dimension;
the quantization operation difficulty of the first virtual prop in the track length dimension comprises an operation amplitude; the magnitude of the operation is positively correlated with the fusion trace length.
4. The method of claim 2, wherein the performing difficulty quantization on the operation trace data in the trace length variation dimension to obtain second difficulty quantization information corresponding to the trace length variation dimension includes:
traversing the operation angles corresponding to the N times of sub-operations respectively;
when traversing to an operation angle corresponding to the ith sub-operation, if i is greater than 1, acquiring the operation angle corresponding to the ith-1 sub-operation;
determining a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the (i-1) th sub-operation;
after N-1 track length change values are obtained, carrying out fusion processing on the N-1 track length change values to obtain track length change difficulty; the track length change difficulty is used for indicating a fusion track length change value obtained by fusion processing;
Determining the track length change difficulty as second difficulty quantization information corresponding to the track length change dimension;
the quantization operation difficulty of the first virtual prop under the track length change dimension comprises operation stability; the operation stability is inversely related to the fusion track length variation value; i is an integer, and i is an integer.
5. The method of claim 4, wherein the operating angles comprise a lateral operating angle and a longitudinal operating angle; the determining a track length change value according to the operation angle corresponding to the ith sub-operation and the operation angle corresponding to the (i-1) th sub-operation comprises:
performing difference processing according to the transverse operation angle corresponding to the ith sub-operation and the transverse operation angle corresponding to the (i-1) th sub-operation to obtain a transverse operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation;
performing difference processing according to the longitudinal operation angle corresponding to the ith sub-operation and the longitudinal operation angle corresponding to the (i-1) th sub-operation to obtain a longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation;
and obtaining a track length change value according to the transverse operation angle difference value and the longitudinal operation angle difference value of the ith sub-operation relative to the (i-1) th sub-operation.
6. The method of claim 2, wherein the performing difficulty quantization on the operation trajectory data in the trajectory bending dimension to obtain third difficulty quantization information corresponding to the trajectory bending dimension includes:
performing curve fitting processing on the operation track data to obtain an operation track curve;
dividing the operation track curve according to at least one curvature of the operation track curve to obtain a plurality of operation track sub-curves, wherein each operation track sub-curve corresponds to one section;
screening the sections corresponding to the operation track sub-curves respectively to obtain at least one turning section;
and determining third difficulty quantization information corresponding to the track bending dimension according to the number of the at least one turning interval and intervals respectively corresponding to the plurality of operation track sub-curves.
7. The method of claim 6, wherein performing curve fitting on the operation trajectory data to obtain an operation trajectory curve comprises:
decomposing the operation track data to obtain transverse track data and longitudinal track data;
fitting the transverse track data by using a polynomial function to obtain transverse fitting data, and fitting the longitudinal track data by using the polynomial function to obtain longitudinal fitting data;
And carrying out fusion processing on the transverse fitting data and the longitudinal fitting data to obtain an operation track curve.
8. The method of claim 6, wherein dividing the operation trajectory graph according to at least one curvature of the operation trajectory graph to obtain a plurality of operation trajectory sub-graphs, comprises:
selecting a target curvature from at least one curvature of the operation track curve;
dividing the operation track curve according to the target curvature to obtain a plurality of operation track sub-curves;
the sections corresponding to the operation track sub-curves are arranged in sequence, and the curvature corresponding to the end point of each section is the target curvature except the section corresponding to the first operation track sub-curve and the section corresponding to the last operation track sub-curve.
9. The method of claim 6, wherein the screening the sections corresponding to the plurality of operation track sub-curves to obtain at least one curve section comprises:
traversing intervals respectively corresponding to the operation track sub-curves, wherein each interval comprises a starting endpoint and a terminating endpoint;
Obtaining tangent included angles of all traversed intervals, wherein the tangent included angles are formed by tangents of starting endpoints of the intervals and tangents of ending endpoints of the same interval;
and determining an interval in which the tangent included angle is larger than or equal to the preset included angle as a turning interval.
10. The method of any one of claims 6-9, wherein the control operation comprises N sub-operations, N being an integer greater than 1; the determining the third difficulty quantization information corresponding to the track bending dimension according to the number of the at least one turning interval and intervals respectively corresponding to the plurality of operation track sub-curves includes:
connecting a starting end point and a terminating end point of an interval corresponding to each operation track sub-curve to obtain a straight line corresponding to each operation track curve; each operation track sub-curve is provided with a plurality of curve sampling points;
determining the distance between each curve sampling point on each operation track sub-curve and the straight line corresponding to each operation track sub-curve; the distance corresponding to each curve sampling point is used for indicating the bending degree of the operation track curve at the corresponding curve sampling point;
determining the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of the curve sampling points and the execution times N of the sub-operations;
And determining the track bending difficulty according to the bending degree of the operation track curve and the number of the at least one turning interval, and determining the track bending difficulty as third difficulty quantization information corresponding to the track bending dimension.
11. The method of claim 10, wherein determining the bending degree of the operation track curve according to the distance corresponding to each curve sampling point, the number of curve sampling points and the execution times N of the sub-operations includes:
determining the bending direction difficulty coefficient of each curve sampling point according to the relative position relation between each curve sampling point and the corresponding straight line; the bending direction difficulty coefficient is used for indicating the operation difficulty caused by the bending direction of the operation track curve;
average processing is carried out according to the distance corresponding to each curve sampling point, the bending direction difficulty coefficient of the corresponding curve sampling point and the number of the curve sampling points, so as to obtain an average distance;
and determining the bending degree of the operation track curve according to the execution times N of the sub-operations and the average distance.
12. The method of claim 1, wherein the method further comprises:
If the operation difficulty of the first virtual prop exceeds the difficulty range, selecting a reference virtual prop with the operation difficulty closest to that of the first virtual prop from the plurality of second virtual props;
acquiring the relative operation difficulty between the operation difficulty of the reference virtual prop and the operation difficulty of the first virtual prop;
and if the relative operation difficulty is greater than a relative difficulty threshold, adjusting the attribute parameters of the first virtual prop.
13. A data processing apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring operation track data to be processed, and the operation track data are track data generated by executing control operation on a first virtual prop in a virtual scene; the control operation is used for controlling the landing point set of the transmitted virtual object to be in a preset range in the process of continuously transmitting the virtual object by the first virtual prop; wherein the control operation comprises N sub-operations, N being an integer greater than 1; each of the sub-operations is to counteract a recoil force experienced by the first virtual prop when launching a virtual object; the operation track data includes: n times of sub-operations respectively correspond to the operation angles; the operation angle is an angle for adjusting the first virtual prop;
The processing unit is used for performing difficulty quantization processing on the operation track data under at least one dimension to obtain difficulty quantization information corresponding to each dimension respectively; the difficulty quantization information corresponding to the dimension is used for indicating the quantization operation difficulty of the first virtual prop in the corresponding dimension; wherein the dimensions include: one or more of a track length dimension, a track length variation dimension, and a track bending dimension; under the track length dimension, the operation angle corresponding to each sub-operation is used for determining the operation track length corresponding to each sub-operation, and the operation track length is used for determining first difficulty quantization information corresponding to the track length dimension; determining a track length change value according to an operation angle corresponding to the ith sub-operation and an operation angle corresponding to the ith-1 sub-operation under the track length change dimension, wherein the track length change value refers to a difference value between an operation track length corresponding to the ith-1 sub-operation and an operation track length corresponding to the ith sub-operation, the track length change value is used for determining second difficulty quantization information corresponding to the track change dimension, i is (1, N) and i is an integer, under the track bending dimension, the operation track data is used for determining an operation track curve, the bending degree of the operation track curve and the number of turning sections are used for determining third difficulty quantization information corresponding to the track bending dimension, the turning sections refer to sections corresponding to operation track sub-curves with the bending degree reaching a preset bending degree, and the operation track sub-curves are curve sections obtained by dividing the operation track curve through curvature;
The processing unit is further used for carrying out fusion processing on difficulty quantization information corresponding to each dimension respectively to obtain operation difficulty of the first virtual prop;
the obtaining unit is further used for obtaining operation difficulties of a plurality of second virtual props put in use in the virtual scene; the types of the plurality of second virtual props are the same as the types of the first virtual props;
the processing unit is further used for determining a difficulty range corresponding to the type according to the operation difficulty of the plurality of second virtual props; if the operation difficulty of the first virtual prop is within the difficulty range, keeping the attribute parameters of the first virtual prop unchanged; wherein the attribute parameter comprises recoil.
14. A computer device, comprising:
a processor adapted to execute a computer program;
a computer readable storage medium having stored therein a computer program which, when executed by the processor, performs the data processing method according to any of claims 1-12.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, performs the data processing method according to any of claims 1-12.
16. A computer program product, characterized in that the computer program product comprises a computer program or computer instructions which are executed by a processor to implement the data processing method according to any of claims 1-12.
CN202410065002.2A 2024-01-17 2024-01-17 Data processing method and related equipment Active CN117563230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410065002.2A CN117563230B (en) 2024-01-17 2024-01-17 Data processing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410065002.2A CN117563230B (en) 2024-01-17 2024-01-17 Data processing method and related equipment

Publications (2)

Publication Number Publication Date
CN117563230A CN117563230A (en) 2024-02-20
CN117563230B true CN117563230B (en) 2024-04-05

Family

ID=89892253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410065002.2A Active CN117563230B (en) 2024-01-17 2024-01-17 Data processing method and related equipment

Country Status (1)

Country Link
CN (1) CN117563230B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573789A (en) * 2003-06-19 2005-02-02 阿鲁策株式会社 Gaming machine and computer-readable program product
CN108815851A (en) * 2018-06-05 2018-11-16 腾讯科技(深圳)有限公司 Interface display method, equipment and storage medium when being shot in virtual environment
CN110841292A (en) * 2019-11-08 2020-02-28 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN114130006A (en) * 2021-10-22 2022-03-04 腾讯科技(深圳)有限公司 Control method, device, equipment, storage medium and program product of virtual prop
CN116212381A (en) * 2023-02-17 2023-06-06 网易(杭州)网络有限公司 Shooting operation method and device in game, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11850520B2 (en) * 2020-10-29 2023-12-26 Logitech Europe S.A. Computer simulation skills training techniques

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573789A (en) * 2003-06-19 2005-02-02 阿鲁策株式会社 Gaming machine and computer-readable program product
CN108815851A (en) * 2018-06-05 2018-11-16 腾讯科技(深圳)有限公司 Interface display method, equipment and storage medium when being shot in virtual environment
CN110841292A (en) * 2019-11-08 2020-02-28 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN114130006A (en) * 2021-10-22 2022-03-04 腾讯科技(深圳)有限公司 Control method, device, equipment, storage medium and program product of virtual prop
CN116212381A (en) * 2023-02-17 2023-06-06 网易(杭州)网络有限公司 Shooting operation method and device in game, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN117563230A (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US11325036B2 (en) Interface display method and apparatus, electronic device, and computer-readable storage medium
US11712634B2 (en) Method and apparatus for providing online shooting game
US11224815B2 (en) Method and apparatus for obtaining damage value of attack item in virtual environment, method and apparatus for displaying damage value of attack item in virtual environment, and computer device
US7627632B2 (en) Reducing bandwidth requirements for peer-to-peer gaming based on importance of remote objects to a local player
CN106440948B (en) A kind of gunnery training system and gunnery training method
US20130090173A1 (en) Using and exporting experience gained in a video game
US10226701B2 (en) System and method for identifying spawn locations in a video game
EP2101138A1 (en) Sniper training system
CN109063270B (en) Ground polymerization entity direct aiming shooting damage judging method and storage medium
KR101124287B1 (en) System, method and computer readable recording medium for providing weapons of dual mode on the online first person shooting game
Glavin et al. Adaptive shooting for bots in first person shooter games using reinforcement learning
WO2022262489A1 (en) Shooting display method and apparatus for virtual firearm, and computer device and storage medium
CN117563230B (en) Data processing method and related equipment
CN112121416B (en) Control method, device, terminal and storage medium of virtual prop
KR20230147158A (en) Information determination methods, devices, devices and storage media
CN110782062A (en) Many-to-many packet interception target distribution method and system for air defense system
KR100581008B1 (en) Simulator for estimation of mock firing weapon
KR101117404B1 (en) The Shooting Training System of Moving for Real Direction
CN110046102B (en) Balance detection method, device, equipment and storage medium for virtual weapon
CN114225413A (en) Collision detection method and device, electronic equipment and storage medium
Makarov et al. Adapting first-person shooter video game for playing with virtual reality headsets
Stakem et al. An adaptive approach to exponential smoothing for CVE state prediction
Hariri et al. Optimization-based prediction of aiming and kneeling military tasks performed by a soldier
Tremblay Improving behaviour and decision making for companions in modern digital games
CN117556718B (en) Thermal power distribution method based on neural network and multi-strategy combined gray wolf optimization algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant