This application relates to the field of computer technologies, and in particular, to virtual object control.
With the development of the Internet, game applications have an increasingly high share on the market, and a complexity of a game also increases, inevitably introducing various performance problems. To improve experience of a game player, game performance needs to be optimized.
Taking a player versus environment (PVE) game as an example, in the related art, a solution for optimizing PVE game performance usually only provides a few fixed optimization combinations, and during a game, a player needs to manually adjust the optimization combination according to a situation such as game frame freezing or the like, resulting in poor game experience.
Embodiments of this application provide a virtual object control method and a related apparatus. Level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated control is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
According to a first aspect of this application, a virtual object control method is provided, including:
According to another aspect of this application, a computer device is provided, including:
According to another aspect of this application, a non-transitory computer-readable storage medium is provided, the computer-readable storage medium having a computer program stored therein, and the computer program, when executed by a processor of a computer device, causing the computer device to perform the method according to the foregoing aspects.
According to the foregoing technical solutions, it can be learned that the embodiments of this application have the following advantages:
After a performance grade and a current frame rate of a terminal are obtained, the performance grade is updated according to the current frame rate. Since the performance grade can indicate quantities of virtual objects displayable by the terminal for different level attributes, a level attribute of each virtual object may be updated according to an updated performance grade, and a display parameter of the virtual object may be determined according to an updated level attribute of the virtual object, to perform display control on the corresponding virtual object on the terminal based on the display parameter. Level attributes of different virtual objects and display parameters corresponding to different level attributes are updated through different performance grades of the terminal. Since the current frame rate can reflect current display performance of the terminal, the level attribute and the display parameter obtained through updating based on the current frame rate can be more suitable for the display performance. That is, by performing the display control on the virtual object through the display parameter, a better display effect at the current frame rate can be obtained, and the display parameter can be dynamically adapted as the current frame rate changes. Moreover, the level attribute of the virtual object is updated based on the updated performance grade, so that virtual objects originally having the same level attribute may have a level attribute difference after updating, and the difference is finally reflected in the display control, thereby implementing differentiated control on different virtual objects in a target game based on the current frame rate.
Embodiments of this application provide a virtual object control method. Level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated control is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
The terms “first”, “second”, “third”, “fourth”, and the like (if exists) in the specification and the claims of this application and the foregoing accompanying drawings are configured for distinguishing similar objects, and are not necessarily configured for describing a particular sequence or order. Data used in this way is interchangeable in a proper case, so that the embodiments of this application described herein can be implemented in a sequence different from the sequence shown or described herein. In addition, the terms “include”, “corresponding to” and any other variants are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those expressly listed steps or units, but may include other steps or units not expressly listed or inherent to such a process, method, product, or device.
Generally, there are three main ideas for optimizing game performance: 1. Resolve a performance problem caused by a current unreasonable implementation. 2. Trade space for time. For example, memory occupation of a game is reduced, so that game performance is improved. 3. Trade quality for time. For example, fluency of a game is reduced, so that the game performance is improved.
The ideas for improving the game performance provided in this embodiment of this application is mainly oriented to a PVE game containing non-player characters (NPCs). Specifically, the ideas for improving the game performance provided in this embodiment of this application may be distinguished and adjusted for three dimensions including fluency, definition, and fineness of each NPC in a game, to improve the game performance. The fluency, the definition, and the fineness of the NPC are changed by adjusting a display parameter of the NPC.
According to the virtual object control method provided in this embodiment of this application, level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated control based on a current frame rate is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
For case of understanding, referring to
When a target game is running, the server first obtains a performance grade and a current frame rate of the terminal. Then, the server updates the performance grade according to the current frame rate, to obtain an updated performance grade. Next, the server updates a level attribute of each virtual object in the target game according to the updated performance grade, to obtain an updated level attribute of the virtual object. Then, the server determines a display parameter corresponding to the virtual object according to the updated level attribute of the virtual object. Finally, the server controls the corresponding virtual object by using the display parameter corresponding to the virtual object.
The following describes the virtual object control method in this application from the perspective of a server. Referring to
S110: Obtain a performance grade and a current frame rate of a terminal when a target game is running.
The performance grade is configured for indicating quantities of virtual objects displayable by the terminal for different level attributes.
The performance grade of the terminal refers to a performance level when the target game is run on the terminal. Quantities of runnable virtual objects with different level attributes supported by different performance grades are at least partially different.
The performance grade of the terminal has a correspondence with the quantities of runnable virtual objects with different level attributes supported by the performance grade.
Each level attribute is configured for indicating an amount of display resources consumed when the terminal displays a virtual object with the level attribute. When the terminal displays virtual objects with the same level attribute, display resources consumed respectively are similar; and when the terminal displays virtual objects with different level attributes, display resources consumed respectively are greatly different. For example, a higher level attribute indicates a greater amount of display resources consumed by the terminal for displaying, and a lower level attribute indicates a smaller amount of display resources consumed by the terminal for displaying.
S120: Update the performance grade according to the current frame rate, to obtain an updated performance grade.
The frame rate refers to a frequency (rate) at which a bitmap image with a frame as a unit continuously appears on a display of the terminal. Generally, a higher frame rate indicates a smoother screen. It can be learned that, when the target game is running, the current frame rate can intuitively reflect current display performance of the terminal. A higher current frame rate indicates better current display performance of the terminal, and in other words, the display performance is more suitable for displaying more virtual objects or improving display quality of the virtual object. A lower current frame rate indicates worse current display performance of the terminal, and in other words, the display performance is less suitable for displaying more virtual objects or improving the display quality of the virtual object.
The performance grade of the terminal can be adjusted according to the frame rate. For example, when the frame rate is less than a first frame rate preset value, it indicates that the display performance of the terminal is low, and the performance grade of the terminal needs to be decreased, to reduce the quantities of displayable virtual objects with different level attributes; or when the frame rate is higher than a second frame rate preset value, it indicates that the display performance of the terminal is high, and the performance grade of the terminal may be increased, to increase the quantities of displayable virtual objects with different level attributes.
S130: Update a level attribute of each virtual object in the target game according to the updated performance grade, to obtain an updated level attribute of the virtual object.
The level attribute of the virtual object is adjusted according to quantities of displayable virtual objects corresponding to the updated performance grade. Specifically, all virtual objects may be sorted according to importance scores of the virtual objects in the target game, and the level attribute of the virtual object is adjusted according to a sorting result and a quantity of level attributes corresponding to the updated performance grade; or the level attribute of the virtual object is randomly adjusted, to meet a quantity of virtual objects with each level attribute corresponding to the updated performance grade.
In this operation, a quantity of virtual objects that need to be updated may vary in different application scenarios. For example, the virtual objects may be all virtual objects in the target game, or virtual objects that need to be displayed in a display region of the terminal in the target game, where the virtual objects may be a part of all the virtual objects in the target game.
S140: Determine a display parameter corresponding to the virtual object according to the updated level attribute of the virtual object.
The display parameter refers to a control parameter when display control is performed on the virtual object. Specifically, the display parameter may include at least one of a fluency display parameter, a realism display parameter, or a fineness display parameter.
Different level attributes correspond to different display parameters. A higher level attribute corresponds to a greater quantity and more types of display parameters.
S150: Perform display control on the corresponding virtual object on the terminal by using the display parameter corresponding to the virtual object.
Display control may be performed on the virtual object on the terminal according to the display parameter of the virtual object, to implement differentiated control that different virtual objects have different display parameters.
In a specific implementation of the embodiments of this application, the performance grade of the terminal is divided into three performance grades: A, B, and C, and the level attribute of the virtual object is divided into three levels: high, medium, and low. A correspondence between the performance grades of the terminal and the quantities of displayable virtual objects with different level attributes supported by the performance grades is shown in Table 1. The display parameter includes at least one of a fluency display parameter, a realism display parameter, or a fineness display parameter, where the fluency display parameter includes a client model interpolation mode, collision detection and movement prediction, and local simulation of root motion; the realism display parameter includes a physical being-attacked feedback, a death physical animation, and a high overhead animation node; and the fineness display parameter includes a client simulation update frequency and a client animation update frequency. Display parameters corresponding to different level attributes are shown in Table 2.
When the target game is running, a current performance grade of the terminal is the grade A, and a total of 30 virtual objects are displayed on a current screen, where there are five virtual objects with a high-level level attribute, 10 virtual objects with a medium-level level attribute, and 15 virtual objects with a low-level level attribute. A current frame rate is obtained, and the current frame rate is compared with a preset frame rate to obtain that the current frame rate is less than the preset frame rate, so that the performance grade of the terminal is decreased, that is, the performance grade of the terminal is adjusted to the grade B. Corresponding to the grade B, there are three virtual objects with the high-level level attribute, seven virtual objects with the medium-level level attribute, and 20 virtual objects with the low-level level attribute. A manner of updating the level attribute of the virtual object may be performing importance sorting on the 30 virtual objects. According to a sorting result, level attributes of virtual objects ranked 1 to 3 are updated to the high level, level attributes of virtual objects ranked 4 to 10 are updated to the medium level, and level attributes of virtual objects ranked 11 to 20 are updated to the low level. The manner of updating the level attribute of the virtual object may alternatively be randomly keeping level attributes of three virtual objects in the five virtual objects with the high-level level attribute as the high level, and updating level attributes of the remaining two virtual objects to the medium level; randomly keeping level attributes of five virtual objects in the original 10 virtual objects with the medium-level level attribute as the medium level, forming the original five virtual objects with the medium-level level attribute and the two virtual objects decreased from the high level to the medium level into seven medium-level virtual objects, and updating the remaining five virtual objects to low-level virtual objects; and forming the original 15 virtual objects with the low-level level attribute and the five virtual objects decreased from the medium level to the low level into 20 low-level virtual objects. The virtual object is controlled according to the updated level attribute of the virtual object and the display parameters corresponding to different level attributes.
According to the virtual object control method provided in this embodiment of this application, level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated display control is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
In an optional embodiment of the virtual object control method provided in the embodiment corresponding to
S1301: Obtain update window time corresponding to the level attribute of the virtual object.
To prevent shaking of a rank of the virtual object, the update window time is set, where the update window time may be a difference value between last update time and current update time. If the update window time is 1 second, last update time of a virtual object is 06:05:03:07 (6 hours 5 minutes 3 seconds 7 milliseconds), and current update time is 06:05:03:58 (6 hours 5 minutes 3 seconds 58 milliseconds), a difference value between the last update time and the current update time is 21 milliseconds, which is less than the update window time of 1 second, so that the virtual object is within the update window time. If the update window time is 1 second, last update time of a virtual object is 06:05:03:07 (6 hours 5 minutes 3 seconds 7 milliseconds), and current update time is 06:05:04:10 (6 hours 5 minutes 4 seconds 10 milliseconds), a difference value between the last update time and the current update time is 1 second and 3 milliseconds, which is greater than the update window time 1 second, so that the virtual object is not within the update window time.
S1303: Determine a target level attribute of the virtual object according to the updated performance grade.
S1305: Determine the target level attribute as the updated level attribute of the virtual object if a level difference value between the target level attribute and the current level attribute of the virtual object is greater than a preset level span value.
If the current level attribute of the virtual object is the high level, after the performance grade is updated, if the target level attribute of the virtual object is the medium level, the level difference value is 1; or if the target level attribute of the virtual object is the low level, the level difference value is 2. Usually, the preset level span value is 1.
S1307: Determine the target level attribute as the updated level attribute of the virtual object if a level difference value between the target level attribute and the current level attribute of the virtual object is less than or equal to a preset level span value, and the virtual object is not within the update window time of the current level attribute.
S1309: Keep the current level attribute of the virtual object unchanged if a level difference value between the target level attribute and the current level attribute of the virtual object is less than or equal to a preset level span value, and the virtual object is within the update window time of the current level attribute.
In a specific implementation of the embodiments of this application, the level attribute of the virtual object is divided into three levels: high, medium, and low, and the preset level span value is 1. When the target game is running, a current level attribute of a virtual object A is a high level, the update window time is 1 second, and a target level attribute of the virtual object A is a low level. In this case, regardless of whether the virtual object A is within the update window time, the level attribute of the virtual object A is set to the low level during this update. A current level attribute of a virtual object B is a high level, the update window time is 1 second, a target level attribute of the virtual object B is a medium level, and the virtual object B is not within the update window time. In this case, the level attribute of the virtual object B is set to the medium level during this update. A current level attribute of a virtual object C is a high level, the update window time is 1 second, a target level attribute of the virtual object C is a medium level, and the virtual object C is within the update window time. In this case, the current level attribute is kept unchanged during this update, that is, the high level is kept until next update.
According to the virtual object control method provided in this embodiment of this application, by setting update window time, a shaking problem of a virtual object during level updating is resolved, improving quality of a game screen.
In an optional embodiment of the virtual object control method provided in the embodiment corresponding to
S1300: Obtain a configuration attribute, position information, and direction information corresponding to the virtual object.
The configuration attribute is a built-in attribute of the virtual object, including attribute information such as body shape information, type information, and the like. The position information and the direction information are information of the virtual object presented in a current game screen, and change as a game progress.
S1302: Calculate an importance score of the virtual object according to the configuration attribute, the position information, and the direction information.
S1304: Obtain an importance rank of the virtual object according to the importance score of the virtual object.
All virtual objects are sorted in descending order of importance scores of the virtual objects, to obtain the importance rank.
S1306: Determine quantities of virtual objects corresponding to different level attributes according to the updated performance grade.
S1308: Determine the updated level attribute of the virtual object according to the importance rank and the quantities of virtual objects corresponding to different level attributes.
In a specific implementation of the embodiments of this application, when the target game is running, a current performance grade of the terminal is a grade A (there are five virtual objects with the high-level level attribute, 10 virtual objects with the medium-level level attribute, and 15 virtual objects with the low-level level attribute). An updated performance grade is a grade B (there are three virtual objects with the high-level level attribute, seven virtual objects with the medium-level level attribute, and twenty virtual objects with the low-level level attribute). Configuration attributes, position information, and direction information corresponding to the 30 virtual objects are obtained, and importance scores of the 30 virtual objects are calculated. Importance ranks are obtained by performing importance sorting on the 30 virtual objects according to the importance scores of the 30 virtual objects. According to the importance ranks, level attributes of virtual objects ranked 1 to 3 are updated to the high level, level attributes of virtual objects ranked 4 to 10 are updated to the medium level, and level attributes of virtual objects ranked 11 to 20 are updated to the low level.
According to the virtual object control method provided in this embodiment of this application, by calculating an importance of each virtual object and taking the importance as an updating standard of a level attribute of the virtual object, a virtual object with a high importance is set to a high level, to obtain a display parameter corresponding to a better display of the virtual object, thereby improving quality of a game screen; and a virtual object with a low importance is set to a low level, to obtain game performance corresponding to a better display of the virtual object. In this way, differentiated control on different virtual objects in the target game is achieved, and a dynamic adaptation capability of performance optimization is improved.
In an optional embodiment of the virtual object control method provided in the embodiment corresponding to
S11: Obtain a body shape score through calculation according to the body shape information and a body shape weight.
Body shape scoring is performed on each virtual object according to a body shape of the virtual object, to obtain the body shape information, where the body shape information is a value between [0, 1].
S12: Obtain a type score through calculation according to the type information and a type weight.
Type scoring is performed on each virtual object according to a type of the virtual object, to obtain the type information, where the type information is a value between [0, 1].
S13: Obtain a position score through calculation according to the position information and a position weight.
A distance between each virtual object and a center of a display screen is calculated, and the calculated distance is normalized, to obtain the position information, where the position information is a value between [0, 1].
S14: Obtain a direction score through calculation according to the direction information and a direction weight.
A direction angle between each virtual object and a display screen is calculated, and the calculated angle is normalized, to obtain the direction information, where the direction information is a value between [0, 1].
S15: Obtain the importance score according to the body shape score, the type score, the position score, and the direction score.
The importance score, for example, may be obtained by performing weighted calculation on the body shape information, the type information, the position information, and the direction information. The importance score may be calculated by using the following formula:
Si is an importance score of a virtual object i, F is body shape information of the virtual object i, T is type information of the virtual object i, D is position information of the virtual object i, A is direction information of the virtual object i, wF is a body shape weight, wT is a type weight, wD is a position weight, and wA is a direction weight.
According to the virtual object control method provided in this embodiment of this application, by using the body shape information, the type information, the position information, and the direction information of each virtual object as calculation standards of an importance score of the virtual object, differentiated control is implemented on different virtual objects in a target game.
In an optional embodiment of the virtual object control method provided in the embodiment corresponding to
S1201: Decrease the performance grade of the terminal if the current frame rate is less than a preset frame rate value, to obtain the updated performance grade.
S1202: Keep the current performance grade of the terminal unchanged if the frame rate is greater than or equal to a preset frame rate value.
The preset frame rate value is generally 30 frames.
In a specific implementation of the embodiments of this application, when the target game is running, a current performance grade of the terminal is a grade A. If a current frame rate is 20 frames, the performance grade of the terminal is decreased to a grade B; or if a current frame rate is 30 frames or greater than 30 frames, the current performance grade is kept unchanged.
According to the virtual object control method provided in this embodiment of this application, the current frame rate is used as a grade adjustment standard of the performance grade of the terminal, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
In an optional embodiment of the virtual object control method provided in the embodiment corresponding to
S1501: Determine that the display parameter corresponding to the virtual object includes a fluency display parameter, a realism display parameter, and a fineness display parameter if the updated level attribute of the virtual object is a first level.
S1502: Determine that the display parameter corresponding to the virtual object includes a fluency display parameter if the updated level attribute of the virtual object is a second level.
A relationship between the level attribute and the display parameter of the virtual object is shown in Table 3.
According to the virtual object control method provided in this embodiment of this application, by configuring different display parameters for virtual objects with different levels, differentiated control is implemented on different virtual objects in a target game.
For ease of understanding, the following describes a virtual object control method applicable to a game A with reference to
Referring to
S1: Obtain a performance grade and a current frame rate of a terminal.
Further, in a current running situation of the game A, the performance grade of the terminal is the grade A, and the current frame rate is 28 frames.
S2: Update the performance grade of the terminal.
Further, since the current frame rate is less than the preset frame rate value, the performance grade needs to be decreased, that is, the performance grade of the terminal is updated to the grade B.
S3: Perform importance sorting on all virtual objects.
Further, body shape information, type information, position information, and direction information corresponding to all virtual objects on a current display interface are obtained, and weighted calculation is performed on the body shape information, the type information, the position information, and the direction information corresponding to each virtual object, to obtain an importance score of the virtual object. All the virtual objects are sorted in descending order of the importance scores of all the virtual objects, to obtain importance ranks. An importance score of each virtual object in the off-screen virtual object is 0.
S4: Determine a target level attribute of each virtual object.
Further, according to the importance ranks and the updated performance grade (the grade B), target level attributes of virtual objects ranked 1 to 3 in the importance ranks are set to the high level, target level attributes of virtual objects ranked 4 to 10 in the importance ranks are set to the medium level, and target level attributes of virtual objects ranked 11 to 30 in the importance ranks are set to the low level.
S5: Update a level attribute of each virtual object according to the target level attribute of each virtual object and update window time.
Further, according to a current level attribute, the target level attribute, and the update window time of the virtual object, it is determined whether to update the level attribute of the virtual object to the target level attribute:
S6: Obtain a display parameter corresponding to each virtual object according to an updated level attribute of each virtual object and a relationship between level attributes and display parameters corresponding to different level attributes.
Further, if the updated level attribute of the virtual object is the high level, the client model interpolation mode in the fluency display parameter is set to exponential interpolation, the collision detection and the movement prediction are enabled, and the local simulation of root motion is enabled; the physical being-attacked feedback in the realism display parameter is enabled, and the death physical animation and the high overhead animation node are enabled; and the client simulation update frequency in the fineness display parameter is set to a high frequency, and the client simulation update frequency is set to a high frequency.
If the updated level attribute of the virtual object is the medium level, the client model interpolation mode in the fluency display parameter is set to exponential interpolation, the collision detection and the movement prediction are disabled, and the local simulation of root motion is disabled; the physical being-attacked feedback in the realism display parameter is disabled, and the death physical animation and the high overhead animation node are disabled; and the client simulation update frequency in the fineness display parameter is set to a medium frequency, and the client simulation update frequency is set to a medium frequency.
If the updated level attribute of the virtual object is the low level, the client model interpolation mode in the fluency display parameter is set to exponential interpolation, the collision detection and the movement prediction are disabled, and the local simulation of root motion is disabled; the physical being-attacked feedback in the realism display parameter is disabled, and the death physical animation and the high overhead animation node are disabled; and the client simulation update frequency in the fineness display parameter is set to a low frequency, and the client simulation update frequency is set to a low frequency.
If the updated level attribute of the virtual object is the off-screen virtual object, the client model interpolation mode in the fluency display parameter thereof is set to no interpolation, the collision detection and the movement prediction are disabled, and the local simulation of root motion is disabled; the physical being-attacked feedback in the realism display parameter is disabled, and the death physical animation and the high overhead animation node are disabled; and the client simulation update frequency in the fineness display parameter is set to a low frequency, and the client simulation update frequency is set to a low frequency.
S7: Perform differentiated display control on the virtual objects according to the display parameter corresponding to each virtual object.
Referring to
According to the virtual object control method provided in this embodiment of this application, level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated control is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
The following describes in detail a virtual object control apparatus in this application with reference to
According to the virtual object control apparatus provided in this embodiment of this application, level attributes of different virtual objects and display parameters corresponding to different level attributes are determined through different performance grades of a terminal, so that differentiated control is implemented on different virtual objects in a target game, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
In an optional embodiment of the virtual object control apparatus provided in the embodiment corresponding to
According to the virtual object control apparatus provided in this embodiment of this application, by setting update window time, a shaking problem of a virtual object during level updating is resolved, improving quality of a game screen.
In an optional embodiment of the virtual object control apparatus provided in the embodiment corresponding to
According to the virtual object control apparatus provided in this embodiment of this application, by calculating an importance of each virtual object, by taking the importance as an updating standard of a level attribute of the virtual object, a virtual object with a high importance is set to a high level, to obtain a display parameter corresponding to a better display of the virtual object, thereby improving quality of a game screen; and a virtual object with a low importance is set to a low level, to obtain game performance corresponding to a better display of the virtual object. In this way, differentiated control on different virtual objects in the target game is achieved, and a dynamic adaptation capability of performance optimization is improved.
In an optional embodiment of the virtual object control apparatus provided in the embodiment corresponding to
According to the virtual object control apparatus provided in this embodiment of this application, by using the body shape information, the type information, the position information, and the direction information of each virtual object as calculation standards of an importance score of the virtual object, differentiated control is implemented on different virtual objects in a target game.
In an optional embodiment of the virtual object control apparatus provided in the embodiment corresponding to
According to the virtual object control apparatus provided in this embodiment of this application, the current frame rate is used as a grade decreasing standard of the performance grade of the terminal, thereby improving a dynamic adaptation capability of performance optimization, and omitting a process of manual adjustment by a player.
In an optional embodiment of the virtual object control apparatus provided in the embodiment corresponding to
According to the virtual object control apparatus provided in this embodiment of this application, by configuring different display parameters for virtual objects with different levels, differentiated control is implemented on different virtual objects in a target game.
The server 300 may further include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input/output interfaces 358, and/or one or more operating systems 341 such as Windows Server™, Mac OS X™, Unix™, Linux™, and FreeBSD™.
The operations performed by the server in the foregoing embodiments may be based on the server structure shown in
In addition, an embodiment of this application further provides a storage medium, the storage medium being configured to store a computer program, and the computer program being configured for executing the method according to the foregoing embodiments.
An embodiment of this application further provides a computer program product including a computer program, and when run on a computer, the computer program product causes the computer to perform the method according to the foregoing embodiments.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for detailed working processes of the system, the apparatus, and the units described above, reference may be made to corresponding processes in the foregoing method embodiments, and details are not described herein again.
In the embodiments provided in this application, the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and there may be other division manners during actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. A part of or all of the units may be selected according to actual requirements to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a non-transitory computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the related art, or all or some of the technical solutions may be implemented in a form of a computer software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or some of the operations of the methods described in the embodiments of this application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
The foregoing embodiments are merely configured for describing the technical solutions of this application, but not for limiting this application. Although this application is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art is to understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, and these modifications or replacements do not cause the essence of corresponding technical solutions to depart from the spirit and scope of the technical solutions in the embodiments of this application.
Number | Date | Country | Kind |
---|---|---|---|
202210674356.8 | Jun 2022 | CN | national |
This application is a continuation application of PCT Patent Application No. PCT/CN2023/087465, entitled “VIRTUAL OBJECT CONTROL METHOD AND APPARATUS, DEVICE, MEDIUM, AND PROGRAM PRODUCT” filed on Apr. 11, 2023, which claims priority to Chinese Patent Application No. 202210674356.8, entitled “VIRTUAL OBJECT CONTROL METHOD AND APPARATUS” filed with the China National Intellectual Property Administration on Jun. 15, 2022, both of which are incorporated herein by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/087465 | Apr 2023 | WO |
Child | 18747299 | US |