Object state analysis method and related device

By determining whether the position to be analyzed is located in the target state analysis area in the game program, the problem of low efficiency in object state analysis in the prior art is solved, and a more efficient analysis process and lower equipment performance occupancy is achieved.

CN119857266APending Publication Date: 2025-04-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311375847.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, when analyzing object state in game programs, it relies on object loading and interaction in game scenarios, resulting in high device performance requirements and low analysis efficiency.

Method used

By determining the position parameters of the game area to be analyzed in the target game program, it is determined whether the position to be analyzed is located in the target state analysis area, thereby quickly analyzing the status of the game object.

Benefits of technology

This reduces the occupation of equipment performance, improves the efficiency of object state analysis, and simplifies the analysis process while ensuring the accuracy of analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119857266A_ABST
    Figure CN119857266A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an object state analysis method and a related device, and the method comprises the steps: judging whether a to-be-analyzed position in a to-be-analyzed game region is located in a target state analysis region or not according to the corresponding position parameters between the to-be-analyzed position in the to-be-analyzed game region and the target state analysis region before a game program is actually operated; if so, determining that the object state corresponding to the to-be-analyzed position is a first object state which can be acquired by the game object through entering the target state analysis area, and determining the game state corresponding to each position in the to-be-analyzed game area in this way. In the actual running process of the game program, the object state corresponding to the object position can be endowed to the game object only by obtaining the object position of the game object, the position relation between the object position and the state analysis area does not need to be analyzed in real time, the analysis accuracy is guaranteed, and meanwhile the game program operation efficiency is improved. The occupation of object state analysis on processing performance is reduced, and the state analysis efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to an object state analysis method and related devices. Background Art

[0002] With the development of computer technology, game programs have become one of the main ways for people to entertain themselves. In game programs, game objects can usually have various object states, such as attackable state, non-attackable state, interactive state, non-interactive state, indoor state, outdoor state, etc.

[0003] In related technologies, the analysis of object status needs to be realized through the interaction between the game object and the objects loaded in the game scene. The game background determines the game state of the game object by analyzing the interaction between the game object and the loaded objects. For example, when the game object interacts with a game prop with indoor attributes loaded in a game scene, it can be determined that the game object is in the indoor state.

[0004] The object state analysis method in the related art relies on both the loading of game objects and the interaction of game objects in the game scene. Therefore, on the one hand, it has high requirements on the performance of the device running the game program, and on the other hand, it cannot realize the rapid analysis of the game object state, resulting in poor running effect of the game program. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides an object state analysis method, which can efficiently complete the analysis of the object state of a game object through a smaller amount of information and a simpler information processing method.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect, an embodiment of the present application discloses a method for analyzing an object state, the method comprising:

[0008] Determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter being used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponding to a first object state in the target game program, the first object state being an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area;

[0009] Determining whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed;

[0010] Based on the position to be analyzed being located in the target state analysis area, determining that the object state corresponding to the position to be analyzed is the first object state;

[0011] Based on the object to be analyzed being located at the position to be analyzed, it is determined that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

[0012] In a second aspect, an embodiment of the present application discloses an object state analysis device, the device comprising a first determination unit, a second determination unit, a third determination unit and a fourth determination unit:

[0013] The first determination unit is used to determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter is used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponds to a first object state in the target game program, the first object state is an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area;

[0014] The second determination unit is used to determine whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed;

[0015] The third determining unit is configured to determine that the object state corresponding to the position to be analyzed is the first object state based on that the position to be analyzed is located in the target state analysis area;

[0016] The fourth determining unit is configured to determine, based on the fact that the object to be analyzed is located at the position to be analyzed, that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

[0017] In a possible implementation manner, the first determining unit is specifically configured to:

[0018] Determine a state analysis object in the game area to be analyzed, wherein the area occupied by the state analysis object in the game area to be analyzed corresponds to the state of the first object;

[0019] Determine the circumscribed area corresponding to the state analysis object in the game area to be analyzed, wherein the circumscribed area has a regular area shape;

[0020] The circumscribed area is determined as the target state analysis area, and a second area position parameter corresponding to the circumscribed area is determined as the first area position parameter, where the second area position parameter is used to identify the position of the circumscribed area.

[0021] In a possible implementation manner, the first determining unit is specifically configured to:

[0022] Determine a plurality of pending circumscribed areas corresponding to the state analysis object in the game area to be analyzed, wherein the plurality of pending circumscribed areas have regular area shapes, and different pending circumscribed areas correspond to different area shapes;

[0023] The smallest undetermined circumscribed area among the multiple undetermined circumscribed areas is determined as the circumscribed area corresponding to the state analysis object.

[0024] In a possible implementation, the game area to be analyzed includes a plurality of state analysis areas, and the device further includes a dividing unit, a fifth determining unit, and a sixth determining unit:

[0025] The division unit is used to divide the game area to be analyzed into multiple sub-game areas;

[0026] The fifth determining unit is used to use the multiple sub-game areas as target sub-game areas respectively, and determine the area to be analyzed in the multiple state analysis areas that overlaps with the target sub-game area according to the third area position parameter corresponding to the target sub-game area and the area position parameters corresponding to the multiple state analysis areas respectively, wherein the third area position parameter is used to identify the position corresponding to the target sub-game area;

[0027] The sixth determining unit is used to determine the sub-game area where the position to be analyzed is located according to the position parameter to be analyzed and the area position parameters corresponding to the plurality of sub-game areas respectively;

[0028] The first determining unit is specifically configured to:

[0029] Based on the sub-game area where the position to be analyzed is located being the target sub-game area, the areas to be analyzed are respectively used as the target state analysis areas to determine the first area position parameters.

[0030] In a possible implementation, the target game program is not in a running state before determining that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed based on the object to be analyzed in the target game program being located at the position to be analyzed.

[0031] In a possible implementation, the position to be analyzed is a coordinate point position, the position parameters to be analyzed are coordinate parameters of the coordinate point position in the spatial coordinate system of the game area to be analyzed, the target state analysis area corresponds to a rectangular area shape, the first area position parameters include vertex coordinate parameters of the target state analysis area in the spatial coordinate system, and the second determination unit is specifically used to:

[0032] Based on the fact that the coordinate values ​​corresponding to the coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are all in the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system, it is determined that the position to be analyzed is located in the target state analysis area, and the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are used to constitute the target state analysis area.

[0033] In a possible implementation manner, the position to be analyzed is a coordinate point position, the position parameter to be analyzed is a coordinate parameter of the coordinate point position, and the second determining unit is specifically configured to:

[0034] Based on the position parameter to be analyzed and the preset area size parameter, determining a target area corresponding to the position to be analyzed, the target area corresponds to the preset area size parameter, and the position of the target area in the game area to be analyzed is determined based on the position parameter to be analyzed;

[0035] Based on the fact that the target area and the target state analysis area have an overlapping area, it is determined that the position to be analyzed is located in the target state analysis area.

[0036] In a possible implementation manner, the fourth determining unit is specifically configured to:

[0037] Based on the reference point position corresponding to the object to be analyzed being the coordinate point position, the state of the object to be analyzed corresponding to the first object is determined, and the reference point position is used to determine the position of the area occupied by the object to be analyzed in the game area to be analyzed.

[0038] In a possible implementation, the preset area size parameter is determined based on the size of the game object in the target game program.

[0039] In a possible implementation manner, the apparatus further includes a seventh determining unit:

[0040] The seventh determination unit is used to determine, based on the fact that the position to be analyzed is not located in the target state analysis area, that the object state corresponding to the position to be analyzed is a second object state, the first object state is an indoor state, and the second object state is an outdoor state, the indoor state is used to identify that the object is in an indoor scene in the target game program, and the outdoor state is used to identify that the object is in an outdoor scene in the target game program.

[0041] In a third aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:

[0042] The memory is used to store a computer program and transmit the computer program to the processor;

[0043] The processor is used to execute the object state analysis method according to any one of the first aspects according to the instructions in the computer program;

[0044] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the object state analysis method described in any one of the first aspects;

[0045] In a fifth aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the object state analysis method described in any one of the first aspects.

[0046] It can be seen from the above technical scheme that for the object state obtained by entering a specific area in the target game program, the present application does not directly perform state analysis on the game object, but can first analyze the object state corresponding to each position in the game area to be analyzed. For example, the present application can first determine the first area position parameter identifying the position of the target state analysis area and the position parameter to be analyzed identifying the position to be analyzed. The target state analysis area corresponds to the first object state, that is, the object to be analyzed can obtain the first object state by entering the target state analysis area. Through the above position parameters, it can be analyzed whether the position to be analyzed is located in the target state analysis area. If it is located in the target state analysis area, it is determined that the position to be analyzed corresponds to the first object state. When the target game program is running, for the game state of the object to be analyzed, there is no need to analyze the intersection of the object to be analyzed and the target state analysis area in real time. It is only necessary to determine whether the object to be analyzed is currently located in the position to be analyzed. If it is located, the object state corresponding to the position to be analyzed can be directly determined as the object state corresponding to the object to be analyzed. It can be seen from this that the present application only needs relatively simple position parameters to achieve accurate analysis of the object state. At the same time, the analysis process required during the running of the game program is relatively simple. There is no need to make real-time judgments on the intersection of the game object and the state analysis area during the running process. The performance requirements for the device running the game program are relatively low. This reduces the occupancy of the device performance while ensuring the accuracy of the object state analysis, thereby improving the efficiency of the object state analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A schematic diagram of an object state analysis method in a practical application scenario provided by an embodiment of the present application;

[0049] Figure 2 A schematic diagram of an object state analysis method provided in an embodiment of the present application;

[0050] Figure 3 A flowchart of an object state analysis method provided in an embodiment of the present application;

[0051] Figure 4 A schematic diagram of an object state analysis method provided in an embodiment of the present application;

[0052] Figure 5A schematic diagram of an object state analysis method provided in an embodiment of the present application;

[0053] Figure 6 A flowchart of an object state analysis method in a practical application scenario provided by an embodiment of the present application;

[0054] Figure 7 A structural block diagram of an object state analysis device provided in an embodiment of the present application;

[0055] Figure 8 A structural diagram of a terminal provided in an embodiment of the present application;

[0056] Fig. 9 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0058] Object state refers to the state that a game object in a game program can have. For example, for the object interaction dimension in a game program, it may include an "attackable state" that enables a game object to attack other game objects, and an "inattackable state" that prevents a game object from attacking other game objects. Object performance dimensions in a game program may include "indoor state", "outdoor state", etc. These states can affect the performance of the game object. For example, a game object in an "indoor state" will not be rendered with a snow effect, but a game object in an "outdoor state" will be rendered with a snow effect.

[0059] Among them, the state of some objects can be obtained by the game object entering a specific area. For example, there can be indoor areas and outdoor areas in the game scene. The indoor area can be, for example, the interior of a house in the game scene, and the outdoor area can be, for example, the outdoor square area in the game scene. When the game object enters the indoor area, the game object will obtain the indoor state, and when it leaves the indoor area and enters the outdoor area, it will obtain the outdoor state.

[0060] In the related art, for this type of object state, it is necessary to obtain the object position of the game object in real time during the running of the game program, and to determine in real time the positional relationship between the object position and the position of a specific area. If it is determined that the object position is in a specific area, the game object will be given the object state corresponding to the specific area.

[0061] Since the relevant technology requires real-time position analysis of the position of the game object and the position of a specific area during the running of the game program, a large amount of real-time processing resources are required when analyzing the state of the game object, and it is difficult to achieve rapid analysis of the object state, which will affect the performance of the game object in the game program, and further affect the gaming experience of the player who controls the game object.

[0062] In order to solve the above technical problems, the present application provides an object state analysis method. Before the actual operation of the game program, it can be determined whether the position to be analyzed is located in the target state analysis area according to the position parameters corresponding to the position to be analyzed in the game area to be analyzed and the target state analysis area. If it is located, the object state corresponding to the position to be analyzed is determined to be the first object state that the game object can obtain by entering the target state analysis area. In this way, the game state corresponding to each position in the game area to be analyzed can be determined. During the actual operation of the game program, it is only necessary to obtain the object position of the game object, and the object state corresponding to the object position can be assigned to the game object. There is no need to analyze the positional relationship between the object position and the state analysis area in real time. While ensuring the accuracy of the analysis, it reduces the processing performance occupied by the object state analysis and improves the state analysis efficiency.

[0063] It is understandable that the method can be applied to a computer device, which is a computer device capable of performing object state analysis, such as a terminal device or a server. The method can be executed independently by a terminal device or a server, or can be applied to a network scenario in which a terminal device and a server communicate, and is executed by the cooperation of the terminal device and the server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The server can be understood as an application server or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server, etc.

[0064] In order to facilitate understanding of the technical solution provided by the present application, an object state analysis method provided by the present application will be introduced below in combination with an actual application scenario.

[0065] See also Figure 1 , Figure 1 A schematic diagram of an object state analysis method in an actual application scenario provided for the present application. In this actual application scenario, the processing device may be a server 101 with an object state analysis function, the first object state may be an attackable state capable of attacking other game objects in the game scenario, and the target game program may be any game program that supports mutual attacks between game objects.

[0066] like Figure 1As shown, the server 101 can first determine the first area position parameter corresponding to the game area to be analyzed included in the target game program, and the first area position parameter is used to identify the target state analysis area in the game area to be analyzed. The object state corresponding to the target state analysis area is an attackable state, that is, the game object entering the target state analysis area can obtain the attackable state, and the attackable state refers to the state of being able to attack other game objects in the target game program.

[0067] The server 101 can determine whether the position to be analyzed is located in the target state analysis area based on the position parameter to be analyzed and the first area position parameter used to identify the position to be analyzed, that is, determine whether the game object located at the position to be analyzed has entered the target state analysis area. If it is determined that the position to be analyzed is located in the target state analysis area, the object state corresponding to the position to be analyzed can be determined based on the judgment result. For example, if it is determined that the position to be analyzed is located in the target state analysis area, that is, the game object located at the position to be analyzed has a high probability of entering the target state analysis area, so the server 101 can determine the object state corresponding to the position to be analyzed as an attackable state. If it is not located in the target state analysis area, the server 101 can make the object at the position to be analyzed other object states.

[0068] During the actual game operation, when it is necessary to determine the object state corresponding to the object to be analyzed, the server 101 can obtain the position parameters corresponding to the object to be analyzed to determine the object position of the object to be analyzed in the target game program. The server 101 can determine whether the object to be analyzed is located at the position to be analyzed. If it is located at the position to be analyzed, the server 101 can directly determine the object state corresponding to the position to be analyzed as the object state corresponding to the object to be analyzed, thereby quickly determining the object state corresponding to the object to be analyzed without having to perform a position relationship analysis between the object position of the object to be analyzed and the regional position of the state analysis area in real time. For example, if the position to be analyzed corresponds to an attackable state, it can be seen from the above analysis that if the object to be analyzed is located at the position to be analyzed, such as Figure 2 As shown, the object to be analyzed has a high probability of entering the target state analysis area, so the object to be analyzed can correspond to the attackable state, so that the object to be analyzed can attack other game objects in the target game program. If the object state corresponding to the position of the object to be analyzed is not an attackable state, the object to be analyzed cannot attack other game objects.

[0069] It can be seen from this that the present application can, in the early stage, first determine the object states corresponding to each position in the game area to be analyzed according to the set state analysis area position, so that during the actual operation of the game program, the object state corresponding to the position of the game object can be directly determined as the object state corresponding to the game object, without the need to analyze the positional relationship between the game object and the state analysis area in real time. Therefore, while ensuring the accuracy of the object state analysis, the amount of information required for real-time object state analysis is reduced, thereby improving the efficiency of the object state analysis.

[0070] Next, the object state analysis method provided by the present application will be introduced in conjunction with the accompanying drawings.

[0071] See also Figure 3 , Figure 3 This is a flow chart of an object state analysis method provided by the present application. In this embodiment, the processing device may be any processing device having an object state analysis function. The method includes:

[0072] S301: Determine a first area position parameter corresponding to a game area to be analyzed in a target game program.

[0073] The target game program may be any game program having a game object with a changeable object state. The target game program may include multiple game objects, each of which may have multiple object states. Some object states are obtained by the game object entering a specific area, such as an indoor state, an outdoor state, an attackable state, an inattackable state, etc.

[0074] In order to be able to realize the rapid analysis of the object state during the operation of the target game program, in the present application, before the actual operation of the game program, the object state corresponding to each position can be analyzed based on the positional relationship between the regional position of the specific area and the various positions in the game scene. For example, the processing device can first obtain the first regional position parameter corresponding to the game area to be analyzed, and the game area to be analyzed can be any area in the target game program. The first regional position parameter is used to identify the position of the target state analysis area in the game area to be analyzed. The target state analysis area can be any state analysis area in the target game program, and the state analysis area is used to analyze the object state of the game object. Among them, the target state analysis area corresponds to the first object state in the target game program, that is, the first object state is the object state obtained by the object to be analyzed in the target game program by entering the target state analysis area, for example, it can be Figure 1 The status analysis area shown in .

[0075] It should be emphasized that the concept of region involved in this application, in addition to being clearly defined, can be a two-dimensional region or a three-dimensional region. The two-dimensional region can be a plane region, and the three-dimensional region can be a space region. The position to be analyzed can be a position in a two-dimensional scene or a position in a three-dimensional scene. Depending on the type of region and the type of position, the corresponding position parameter form may also be different. For example, the position parameter corresponding to the two-dimensional position can be a coordinate parameter in a plane coordinate system, and the position parameter corresponding to the three-dimensional position can be a coordinate parameter in a space coordinate system.

[0076] S302: Determine whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed.

[0077] The position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed, and the position to be analyzed can be any position in the game area to be analyzed. Since the object state targeted by the present application is obtained by entering the state analysis area, the processing device can first determine whether the game object located at the position to be analyzed will enter the state analysis area based on the positional relationship between the position to be analyzed and the state analysis area.

[0078] First, the processing device can determine whether the position to be analyzed is located in the target state analysis area based on the first area position parameter and the position parameter to be analyzed. It should be emphasized that the position to be analyzed in the present application is located in the target state analysis area, which means that the position to be analyzed satisfies the game object located at the position to be analyzed and enters the target state analysis area. For example, the position to be analyzed can be a position in the target state analysis area, and the game object located at the position to be analyzed must have entered the target state analysis area. It can be understood that the concept of the game object entering the area in the present application can refer to that part or all of the components of the game object are located in the area, that is, the intersection of the game object and the regional position can also be identified as the game object entering the area. Therefore, if the position to be analyzed is judged to be close to the target state analysis area by the position parameter, then because the game object usually has a certain size range, the game object located at the position to be analyzed will intersect with the target state analysis area, that is, it will also enter the target state analysis area.

[0079] In summary, based on different needs, the present application may also have different methods for determining whether the position to be analyzed is located in the target state analysis area based on the position parameters. For example, if the position to be analyzed is a position in the target state analysis area, or the position to be analyzed is a position close to the target state analysis area, the game objects located at the position to be analyzed have a high probability of entering the target state analysis area, so it can be determined that the position to be analyzed is located in the target state analysis area.

[0080] S303: Based on the position to be analyzed being located in the target state analysis area, determining that the object state corresponding to the position to be analyzed is a first object state.

[0081] If the position to be analyzed is located in the target state analysis area, it means that when the game object is located at the position to be analyzed, it has a high probability of entering the target state analysis area. Therefore, the processing device can determine that the object state corresponding to the position to be analyzed is the first object state, that is, the game object located at the position to be analyzed will be analyzed as having the first object state.

[0082] It can be seen from the above processing procedure that the present application only needs to obtain the position parameters to complete the object state judgment of each position to be analyzed, and the positions of various areas in the game program can usually be determined after the game program is developed. Therefore, the object state analysis process of the position to be analyzed in the present application can be completed without the actual running of the game program, which is equivalent to a preprocessing process before the actual running of the game program. During the actual game running process, it is only necessary to rely on the object state corresponding to each determined position to complete the object state analysis of the game object, without the need to perform the analysis process between positions.

[0083] S304: Based on the object to be analyzed being located at the position to be analyzed, determining that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

[0084] In the actual operation of the game program, in order to display various game objects in the game scene, each game object usually has a corresponding position parameter, that is, the position corresponding to the game object is usually directly obtainable information, which is fast and easy to obtain. For the object to be analyzed, after the processing device determines the position of the object to be analyzed, since the object state corresponding to the position is the object state that the game object at the position can obtain with a high probability, the object state corresponding to the object to be analyzed can be directly determined as the object state corresponding to the position. The object to be analyzed can be any game object in the game program that can undergo an object state change.

[0085] For example, if the object to be analyzed is located at the position to be analyzed, the processing device can directly determine that the object to be analyzed corresponds to the first object state, without performing position relationship analysis between the position of the object to be analyzed and the target state analysis area.

[0086] It can be seen from the above technical scheme that for the object state obtained by entering a specific area in the target game program, the present application does not directly perform state analysis on the game object, but can first analyze the object state corresponding to each position in the game area to be analyzed. When the target game program is running, for the game state of the object to be analyzed, there is no need to analyze the intersection of the object to be analyzed and the target state analysis area in real time. It is only necessary to determine whether the object to be analyzed is currently located at the position to be analyzed. If it is located, the object state corresponding to the position to be analyzed can be directly determined as the object state corresponding to the object to be analyzed. It can be seen that the present application only needs to use relatively simple position parameters to achieve accurate analysis of the object state. At the same time, the analysis process required during the operation of the game program is relatively simple. There is no need to make real-time judgment on the intersection of the game object and the state analysis area during the operation process. The performance requirements for the device running the game program are relatively low, thereby reducing the occupation of device performance while ensuring the accuracy of the object state analysis and improving the efficiency of the object state analysis.

[0087] At the same time, since the present application only needs relatively simple position parameters to analyze the object state corresponding to each position, the processing device can pre-complete the object state analysis for all game areas of the target game program, so that in the actual operation of the target game program, no matter where the game object is, the object state corresponding to the game object can be determined. In the related art, on the one hand, it is necessary to analyze the positional relationship between the position of the object to be analyzed and the state analysis area in real time, and on the other hand, the state analysis area in the related art needs to be determined by loading the state analysis object used for object state analysis. Due to the limited performance of the device running the target game program, when there are a large number of state analysis objects in the target game program, the device is usually unable to load all the state analysis objects in the target game program, so that the processing device cannot make real-time judgments on the object states of the game objects at various positions in the target game program. If the state analysis object corresponding to a certain object state is not successfully loaded, the object state corresponding to the state analysis object does not have the corresponding state analysis area, so it is impossible to perform effective object state analysis on the object state. It can be seen that the object state analysis method of the present application can perform more comprehensive and efficient object state analysis on game programs with more state analysis areas, which helps the smooth operation of such complex game programs.

[0088] It is understandable that the state analysis area in the game program may be of various types. In one possible implementation, the state analysis area may be the area occupied by the specific object in the game area to be analyzed. When the specific object corresponds to an irregular object shape, the area occupied by the specific object usually also has an irregular area shape, and the area position parameters corresponding to the area are usually more complex. Therefore, it is more difficult to analyze whether the position to be analyzed is located in the area based on the position parameters.

[0089] Based on this, in this implementation, in order to further improve the efficiency of object state analysis, the processing device can optimize the regional shape of the state analysis area to improve the analysis speed of the position relationship. When executing step S301, the processing device can execute steps S3011-S3013 (not shown in the figure), and steps S3011-S3013 are a possible implementation of step S301, including:

[0090] S3011: Determine the state analysis object in the game area to be analyzed.

[0091] The state analysis object is an object used to analyze the object state of the game object, and the area occupied by the state analysis object in the game area to be analyzed corresponds to the first object state, that is, the game object entering the area occupied by the state analysis object can obtain the first object state. The area occupied by the state analysis object can have an irregular area shape.

[0092] S3012: Determine the external area corresponding to the state analysis object in the game area to be analyzed.

[0093] The circumscribed area refers to an area that can accommodate the area occupied by the state analysis object, and the circumscribed area has a regular area shape. In this application, the regular area shape refers to a shape that can be accurately described, such as a sphere, a square, a spherical shape, a rectangular parallelepiped shape, etc., and the irregular area shape refers to a shape that cannot be accurately described, such as various irregular polygonal shapes.

[0094] S3013: Determine the circumscribed area as the target state analysis area, and determine the second area position parameter corresponding to the circumscribed area as the first area position parameter.

[0095] The second area position parameter is used to identify the position of the circumscribed area, that is, when determining the positional relationship between the position to be analyzed and the area occupied by the state analysis object, the processing device can directly determine the positional relationship between the position to be analyzed and the circumscribed area, and determine the positional relationship as the positional relationship between the position to be analyzed and the area occupied by the state analysis object. For example, if it is determined that the position to be analyzed is located in the circumscribed area according to the first area position parameter and the position parameter to be analyzed, it can be determined that the position to be analyzed is located in the area occupied by the state analysis object, and therefore can correspond to the first object state.

[0096] Since the target state analysis area has a regular area shape, the difficulty of position relationship analysis is relatively low, and the processing device can efficiently determine whether the position to be analyzed is located in the target state analysis area, thereby improving the overall analysis efficiency of the object state analysis. For example, the area position parameters corresponding to the irregular polygonal area are usually more complex. For example, the polygonal area needs to be cut into multiple parts to determine the area position parameters respectively. Therefore, a large amount of calculation is required to determine the position relationship between the position parameters to be analyzed and the area position parameters. For a spherical area, only the center position and radius parameters are needed to determine the position of the spherical area, so the amount of calculation is small.

[0097] It can be understood that the method of performing position relationship analysis by replacing irregular area shapes with regular area shapes can be applied not only to the state analysis area, but also to the position to be analyzed. For example, when the position to be analyzed is the position of an area, if this area has an irregular area shape, the position relationship analysis can also be performed by replacing the area corresponding to the position to be analyzed with an area with a regular area shape that can accommodate the area. This will not be elaborated here.

[0098] When performing position relationship analysis in the above manner, since the position parameters of the external area are actually applied during the analysis, the similarity between the external area and the area occupied by the state analysis object determines the accuracy of the position relationship analysis performed in this manner. In theory, the greater the similarity between the external area and the area occupied by the state analysis object, the closer the position relationship between the position to be analyzed and the external area is to the position relationship between the position to be analyzed and the area occupied by the state analysis object, and the higher the accuracy of the position relationship analysis method.

[0099] Based on this, in a possible implementation, in order to improve the accuracy of the object state analysis, the processing device can perform position relationship analysis based on an external area with a high similarity to the area occupied by the state analysis object. When executing step S3012, the processing device can execute steps S30121-S30122 (not shown in the figure), and steps S30121-S30122 are a possible implementation of step S3012, including:

[0100] S30121: Determine multiple pending external areas corresponding to the state analysis object in the game area to be analyzed.

[0101] Among them, the multiple pending circumscribed regions all have regular region shapes, and different pending circumscribed regions correspond to different region shapes, so the similarities between different pending circumscribed regions and the region occupied by the state analysis object may also be different.

[0102] S30122: Determine the smallest circumscribed area among the multiple circumscribed areas to be determined as the circumscribed area corresponding to the state analysis object.

[0103] The processing device can determine the size of each pending circumscribed area. The smaller the size of the pending circumscribed area, the smaller the remaining area after the pending circumscribed area accommodates the area occupied by the state analysis object, that is, the closer the pending circumscribed area and the area occupied by the state analysis object are, the higher the similarity. Therefore, in order to improve the accuracy of positional relationship analysis, the processing device can determine the smallest pending circumscribed area among multiple pending circumscribed areas as the circumscribed area corresponding to the state analysis object, and perform positional relationship analysis with the position to be analyzed, thereby improving the accuracy of positional relationship analysis, and further improving the accuracy of object state analysis while ensuring the efficiency of object state analysis.

[0104] The above content introduces how to perform efficient positional relationship analysis between the position to be analyzed and a single state analysis area. It is understandable that a game program usually has multiple object states that can be obtained by entering the state analysis area, and the specific areas required to obtain different object states may be different; and for the same object state, there may be multiple state analysis areas in the game program. Therefore, when determining the object state corresponding to the position to be analyzed, the processing device may need to perform positional relationship analysis between the position to be analyzed and multiple state analysis areas.

[0105] In a possible implementation, in order to further improve the efficiency of object state analysis, the processing device can reduce the number of state analysis areas required for positional relationship analysis for each position to be analyzed while ensuring the accuracy of positional relationship analysis. It is understandable that in a game scene, for a certain position to be analyzed, if the distance between a certain state analysis area and the position to be analyzed is far, the probability of the game object at the position to be analyzed entering the state analysis area is low, that is, the probability of obtaining the object state corresponding to the state analysis area is low. Therefore, when performing positional relationship analysis, the processing device does not need to analyze the positional relationship between the position to be analyzed and the state analysis area.

[0106] Based on this, in this implementation, the processing device can first screen out the state analysis area that is close to the position to be analyzed, that is, the state analysis area where the game object located at the position to be analyzed has a higher probability of entering. When performing position relationship analysis, only the position to be analyzed and this part of the state analysis area are analyzed to improve the state analysis efficiency. Among them, the game area to be analyzed may include multiple state analysis areas. The processing device can first divide the game area to be analyzed into multiple sub-game areas, and the multiple sub-game areas are used to constitute the game area to be analyzed. For example, when the game area to be analyzed is a three-dimensional area, the processing device can segment the game area to be analyzed by using an octree method, and divide the three-dimensional area into 8 sub-game areas of equal size, such as Figure 4 shown.

[0107] The processing device may use multiple sub-game areas as target sub-game areas respectively, and determine the area to be analyzed in the multiple state analysis areas that overlaps with the target sub-game area according to the third area position parameter corresponding to the target sub-game area and the area position parameters corresponding to the multiple state analysis areas respectively, wherein the third area position parameter is used to identify the position corresponding to the target sub-game area. If the state analysis area overlaps with the target sub-game area, it means that the distance between the state analysis area and the position included in the target sub-game area is relatively close, so the probability of the game object located at the position included in the target sub-game area entering the state analysis area is relatively high; on the contrary, if the state analysis area does not overlap with the target sub-game area, it means that the distance between the state analysis area and the position included in the target sub-game area is relatively far, so the probability of the game object located at the position included in the target sub-game area entering the state analysis area is relatively low.

[0108] Based on this, when performing position relationship analysis, the processing device can only analyze the state analysis area that is closer to the position to be analyzed. The processing device can first determine the sub-game area where the position to be analyzed is located based on the position parameter to be analyzed and the area position parameters corresponding to the multiple sub-game areas. The area to be analyzed corresponding to the sub-game area is the state analysis area that is closer to the position to be analyzed.

[0109] When executing step S301, the processing device may execute step S3014 (not shown in the figure). Step S3014 is a possible implementation of step S301, including:

[0110] S3014: Based on the sub-game area where the position to be analyzed is located as the target sub-game area, the areas to be analyzed are respectively used as target state analysis areas to determine the first area position parameters.

[0111] Since the area to be analyzed is a state analysis area that is relatively close to the position to be analyzed, the game object located at the position to be analyzed is more likely to enter the area to be analyzed, so that the processing device can analyze the positional relationship between the position to be analyzed and the area to be analyzed. The distance between the state analysis areas other than the area to be analyzed in the game area to be analyzed and the position to be analyzed is relatively large, so the game object located at the position to be analyzed is less likely to enter these state analysis areas, so it is highly likely that the object state of the game object located at the position to be analyzed will not be affected, and there is no need to perform positional relationship analysis. It can be seen from this that this method can reduce the number of state analysis areas required for positional relationship analysis while ensuring the accuracy of object state analysis, thereby reducing the amount of calculation required for object state analysis and improving the efficiency of object state analysis.

[0112] Specifically, in a possible implementation, since the analysis of the object state corresponding to the position to be analyzed only needs to obtain the position parameters corresponding to the position to be analyzed and the state analysis area, and does not need to obtain the information generated by the operation of the target game program, the actions performed by the processing device do not require the target game program to be in the running state before the object to be analyzed in the target game program is located at the position to be analyzed and the object state corresponding to the object to be analyzed is determined to be the object state corresponding to the position to be analyzed, so the target game program may not be in the running state. That is, before the target game program actually runs, the processing device can pre-analyze the object state corresponding to each position in the game area to be analyzed, so that during the actual operation of the game, it is only necessary to obtain the current position of the game object to complete the object state analysis of the game object, so that during the actual operation of the game, there is no need to occupy too much processing resources of the target game program, which ensures the stability and smoothness of the operation of the target game program on the one hand, and reduces the amount of calculation required for the object state analysis during the actual operation of the game on the other hand, and improves the efficiency of the object state analysis, so as to bring players a smoother game experience.

[0113] It is understandable that when the area shapes corresponding to the target state analysis area are different, since the identification method of the position of the target state analysis area through the first area position parameter may be different, the analysis method when performing position relationship analysis may also be different.

[0114] In a possible implementation, taking the case where the target state analysis area has a rectangular area shape in a three-dimensional scene as an example, the position to be analyzed is a coordinate point position, the position parameter to be analyzed is a coordinate parameter of the coordinate point position in the spatial coordinate system of the game area to be analyzed, the target state analysis area corresponds to a rectangular area shape, and the first area position parameter includes the vertex coordinate parameters of the target state analysis area in the spatial coordinate system. The target state analysis area can be identified in the spatial coordinate system by each vertex corresponding to the rectangular area shape. When executing step S302, the processing device can execute step S3021 (not shown in the figure), and step S3021 is a possible implementation of step S302, including:

[0115] S3021: Based on the fact that the coordinate values ​​corresponding to the coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are all in the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system, it is determined that the position to be analyzed is located in the target state analysis area.

[0116] Among them, the coordinate value intervals divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are used to form the target state analysis area, such as Figure 5 As shown, in the spatial coordinate system, points whose three-dimensional parameters are simultaneously in these coordinate value intervals are all in the target state analysis area. Therefore, when a certain coordinate point is located in the target state analysis area, the coordinate parameters corresponding to the x-axis, y-axis, and z-axis of the coordinate point must be located in these coordinate value intervals, and the game object located at the coordinate point has a high probability of entering the target state analysis area. By processing the device in this way, an accurate analysis of the positional relationship between the position to be analyzed and the target state analysis area can be achieved.

[0117] When the target state analysis area has other area shapes, the processing device may analyze the position relationship in a different way. For example, when the target state analysis area is in the shape of a sphere, the processing device may analyze the distance between the coordinate point position identified by the position parameter to be analyzed and the center point position of the target state analysis area. If the distance is less than the radius corresponding to the target state analysis area, the position to be analyzed is located in the target state analysis area.

[0118] As mentioned above, in the present application, the position to be analyzed being located in the target state analysis area means that the game object can enter the target state analysis area when it is located at the position to be analyzed. In the game program, the game object usually occupies a certain area. Therefore, when the position to be analyzed is a coordinate point position, there may be a situation where the position to be analyzed is not a coordinate point position in the target state analysis area, but because the position to be analyzed is close to the target state analysis area, the area occupied by the game object located at the position to be analyzed may intersect with the target state analysis area, that is, the game object located at the position to be analyzed will also enter the target state analysis area.

[0119] Based on this, in order to further improve the accuracy of object state analysis, the processing device can further enrich the analysis method of position relationship analysis. In a possible implementation, the position to be analyzed can be a coordinate point position, and the position parameter to be analyzed is a coordinate parameter of the coordinate point position. When executing step S302, the processing device can execute steps S3022-S3023 (not shown in the figure), and steps S3022-S3023 are a possible implementation of step S302, including:

[0120] S3022: Determine a target area corresponding to the position to be analyzed based on the position parameters to be analyzed and the preset area size parameters.

[0121] Among them, the target area corresponds to a preset area size parameter, which is used to identify the area size corresponding to the target area. The position of the target area in the game area to be analyzed is determined based on the position parameter to be analyzed, that is, the target area can be regarded as the area occupied in the game area to be analyzed when the game object corresponding to the preset area size parameter is located at the position to be analyzed.

[0122] S3023: Based on the fact that the target area and the target state analysis area have an overlapping area, determine that the position to be analyzed is located in the target state analysis area.

[0123] If the target area and the target state analysis area have an overlapping area, it means that the area occupied by the game object located at the position to be analyzed has a high probability of overlapping with the target state analysis area, that is, the game object located at the position to be analyzed has a high probability of entering the target state analysis area, and the game object has a high probability of obtaining the first object state when it is at the position to be analyzed. Therefore, the processing device can determine that the position to be analyzed is located in the target state analysis area, and thereby assign the first object state to the area to be analyzed.

[0124] For example, when determining the object state corresponding to a certain coordinate point position in the game area to be analyzed, the area centered on the coordinate point position and expanded 1 cm outward can be determined as the target area, and the object state corresponding to the state analysis area that overlaps with the target area can be determined as the object state corresponding to the coordinate point position.

[0125] Regarding the above-mentioned method for analyzing the state of an object based on the position of a coordinate point, the following will introduce how to determine whether the game object is located at the position to be analyzed. In an actual application scenario, when executing step S304, the processing device may execute step S3041 (not shown in the figure), which is a possible implementation of step S304, including:

[0126] S3041: Based on the reference point position corresponding to the object to be analyzed as the coordinate point position, determine a first object state corresponding to the object to be analyzed.

[0127] Among them, the reference point position is used to determine the position of the area occupied by the object to be analyzed in the game area to be analyzed, that is, the area occupied by the object to be analyzed is generated based on the reference point position, and the display position of the object to be analyzed in the game scene is determined by the reference point position, and the reference point position is the coordinate point position.

[0128] Therefore, when the reference point position is the coordinate point position, the area occupied by the object to be analyzed in the game area to be analyzed is closer to the target area corresponding to the position to be analyzed when the position relationship analysis is performed on the position to be analyzed, so that the overlap between the occupied area and the target state analysis area is closer to the overlap between the target area and the target state analysis area, and thus the probability that the object state corresponding to the position to be analyzed is the object state corresponding to the object to be analyzed is higher, so the processing device can determine the object state corresponding to the position to be analyzed as the object state corresponding to the object to be analyzed.

[0129] It can be seen from the above content that when the reference point position of the object to be analyzed is the position to be analyzed, the similarity between the area occupied by the object to be analyzed in the game area to be analyzed and the target area corresponding to the position to be analyzed can affect the accuracy of the object state analysis of the object to be analyzed, that is, the higher the similarity between the occupied area and the target area at this time, the closer the overlap between the target area and the target state analysis area is to the overlap between the occupied area and the target state analysis area, and thus the greater the probability that the object state corresponding to the position to be analyzed is the actual object state when the object to be analyzed is at this position.

[0130] Based on this, in one possible implementation method, the preset area size parameters used to determine the target area corresponding to the position to be analyzed can be determined based on the size of the game object in the target game program, so that the target area can be more closely fitted to the area occupied by the object to be analyzed in the game area to be analyzed, thereby improving the accuracy of determining the object state of the object to be analyzed based on the object state corresponding to the position to be analyzed.

[0131] As mentioned above, the present application can analyze various object states, and the following will be introduced using indoor state and outdoor state as examples.

[0132] In a possible implementation, the target game program may include two object states, an indoor state and an outdoor state. The indoor state is used to identify that the object is in an indoor scene in the target game program, and the outdoor state is used to identify that the object is in an outdoor scene in the target game program. It can be seen that the positional relationship between the game object and the indoor scene and the outdoor scene is a key factor in determining the object state corresponding to the game object.

[0133] Based on this, in this implementation, the target state analysis area can correspond to the indoor scene in the game area to be analyzed, and the area outside the target state analysis area can correspond to the outdoor scene in the game area to be analyzed. Therefore, when the game object enters the target state analysis area, the indoor state can be obtained, and when the game object does not enter the target state analysis area, the outdoor state can be obtained.

[0134] Therefore, when analyzing the position relationship between the position to be analyzed and the target state analysis area, based on the fact that the position to be analyzed is not located in the target state analysis area, it means that the game object located at the position to be analyzed has a high probability of not entering the target state analysis area. At this time, the processing device can determine that the object state corresponding to the position to be analyzed is the second object state, wherein the first object state is the indoor state and the second object state is the outdoor state. During the operation of the target game program, the processing device can determine the object state corresponding to the position of the object to be analyzed as the object state corresponding to the object to be analyzed, so that the object to be analyzed can be accurately analyzed as being in an indoor state or an outdoor state. In the target game program, the indoor state and the outdoor state can affect the game object in many aspects. For example, when the game scene of the target game program is in a snowing state, if the game object corresponds to the indoor state, the snow effect will not be rendered for the game object to reflect the real effect that the game object can avoid snow in the indoor scene; if the game object corresponds to the outdoor state, the snow effect can be rendered for the game object to reflect the real effect of the game object being covered by snow in the outdoor scene. Alternatively, the lighting effects corresponding to the game objects in the game scene will also be affected by the state of the object. When the object state is in the indoor state and in the outdoor state, the corresponding lighting effects during display will be different. For example, when it is in the indoor state, the lighting effects during display will only be determined by the lighting effects corresponding to the indoor scene. When it is in the outdoor state, it will be determined by the lighting effects corresponding to the scenes other than the indoor scene in the game scene. For example, when the game scene is at night, the game object will be illuminated when it is in the indoor state, but not when it is in the outdoor state. In addition, the indoor and outdoor states can also determine certain attribute parameters of the game object. For example, when the game scene simulates a scene with a lower temperature, the temperature parameter corresponding to the game object in the indoor state is higher than that of the game object in the outdoor state. In addition to the above application methods, the indoor and outdoor states can also have many other influencing effects, which will not be elaborated here.

[0135] In order to facilitate understanding of the technical solution provided by the present application, the object state analysis method provided by the present application will be introduced below in combination with an actual application scenario.

[0136] See also Figure 6 , Figure 6 A flowchart of an object state analysis method in an actual application scenario provided by an embodiment of the present application. In the actual application scenario, the state analysis area includes an indoor scene area, and game objects that enter the indoor scene area have an indoor state, and game objects that do not enter the indoor scene area have an outdoor state. The method includes:

[0137] S601: Obtaining area position parameters corresponding to all indoor scene areas in the target game program.

[0138] The area position parameter is used to identify the location of the indoor scene area. The indoor scene area can be the area occupied by the state analysis object itself, or it can be the external area of ​​the area occupied by the state analysis object. For example, in this application, the state analysis object can be a trigger. The trigger is usually used to detect whether the game object in the scene intersects with the area occupied by the trigger. When the intersection occurs, it will trigger certain game events or game behaviors. Figure 6 In this application, obtaining the regional location parameters may include the following steps:

[0139] S6011: Load game levels of all trigger types.

[0140] A trigger-type game level refers to a level with a trigger in the game level, and the game level is an integral part of the game process.

[0141] S6012: Traverse all triggers, determine the trigger corresponding to the indoor state, and calculate the coordinate interval of the bounding box corresponding to each trigger.

[0142] The trigger corresponding to the indoor state means that when the game object intersects with the area occupied by the trigger, that is, enters the area occupied by the trigger, the indoor state will be obtained, so the trigger can be used as a state analysis object corresponding to the indoor state. The processing device can determine the bounding box corresponding to each trigger according to the area shape of the area occupied by each trigger. The bounding box refers to the circumscribed area of ​​the area occupied by the trigger with a regular shape. In the embodiment of the present application, the area occupied by the bounding box can be determined as the indoor scene area corresponding to the indoor state, and the coordinate interval of the bounding box is calculated. The coordinate interval refers to the interval in the three-dimensional space coordinates where the coordinate position corresponding to the bounding box is located, so it can be used to describe the area occupied by the bounding box. The coordinate interval can be recorded by recording the maximum coordinate [WholeMax] and the minimum coordinate [WholeMin] of the bounding box in the three-dimensional coordinate system.

[0143] The indoor scene area can be used to identify which locations are indoors to switch the lighting parameters in the game, or to identify other special areas to trigger specific gameplay.

[0144] S6013: Save trigger information and coordinate interval information.

[0145] S602: Divide the entire game area of ​​the target game program into multiple sub-game areas.

[0146] The processing device can divide the overall game area by using an octree. First, the data structure of the octree elements can be defined, and then a custom octree semantics can be built to define the behavior of the octree, that is, how the octree divides the area.

[0147] The processing device can construct an octree based on the location information of the entire game area. Specifically, the processing device can initialize the octree with the overall area range [WholeMin], [WholeMax] that can include all triggers corresponding to the indoor state, and then traverse each bounding box array [InDoorVolumeInfos]. The bounding box array is the position parameter corresponding to the bounding box, which is used to identify the position of the bounding box in the overall area range. The processing device can convert the bounding box FBox of each trigger into an octree element [FTDDoorVolume], thereby adding the octree element to the octree, so that after the area division, the bounding boxes corresponding to each sub-game area can be known. The octree in this application is only created once, and there is no need to process dynamic addition and deletion operations.

[0148] S603: Determine the indoor scene area corresponding to each sub-game area.

[0149] The indoor scene area corresponding to each sub-game area is the area occupied by the bounding box that overlaps with the sub-game area. The above process can be performed when the game program is offline, without interfering with the actual running process of the game program.

[0150] S604: Determine the target indoor scene area corresponding to the sub-game area where the position to be analyzed is located.

[0151] In an embodiment of the present application, the position to be analyzed may be a coordinate point position, and the processing device may determine the sub-game area in which the position to be analyzed is located, and determine the target indoor scene area corresponding to the sub-game area, based on the positional relationship between the position to be analyzed and each sub-game area. The target indoor scene area is an indoor scene area that a game object located at the position to be analyzed has a higher probability of entering, and thus may be used to perform positional relationship analysis with the position to be analyzed.

[0152] S605: Determine whether the position to be analyzed is located in the target indoor scene area.

[0153] The processing device can use the coordinate point position of the position to be analyzed as the center and expand 1 cm to obtain an area for position relationship analysis to simulate the area occupied by the game object at the position to be analyzed. In the above-mentioned target indoor scene area, as long as the expanded area has an overlapping area with a target indoor scene area, it can be determined that the position to be analyzed is located in the target indoor scene area. If the expanded area and the target indoor scene area do not have an overlapping area, it is determined that the position to be analyzed is not located in the target indoor scene area.

[0154] S606: Determine the indoor state corresponding to the position to be analyzed.

[0155] If it is determined through step S605 that the position to be analyzed is located in the target indoor scene area, then the probability that the game object located at the position to be analyzed enters the area occupied by the indoor state trigger is high, so it can be determined that the position to be analyzed corresponds to the indoor state.

[0156] S607: Determine whether the position to be analyzed corresponds to an outdoor state.

[0157] If it is determined through step S605 that the position to be analyzed is not located in the target indoor scene area, the probability that the game object located at the position to be analyzed enters the area occupied by the indoor state trigger is low, so it can be determined that the position to be analyzed corresponds to the outdoor state.

[0158] S608: Obtain the object position corresponding to the object to be analyzed.

[0159] The object position is the reference point position corresponding to the object to be analyzed in the game area.

[0160] S609: Determine the object state corresponding to the object position as the object state corresponding to the object to be analyzed.

[0161] S610: Rendering the object to be analyzed based on the object state.

[0162] According to the object state corresponding to the object to be analyzed, the object to be analyzed can be rendered in a targeted manner. The object state can affect the rendering effect of the object to be analyzed. For example, when the object state is indoor, the snow effect will not be rendered on the object to be analyzed.

[0163] It can be seen from the above method flow that this application can bring the following technical improvement effects in practical application:

[0164] On the one hand, the present application can complete the object state analysis of each location by collecting various location information in the game area that is not generated without the need for the game to run before the game program is actually run, thereby reducing interference with the game program running.

[0165] Secondly, during the actual running of the game program, the processing device only needs to obtain the location of the game object to complete the analysis of the object state of the game object. Therefore, the processing performance requirements are low and the analysis speed is fast, which can bring game players a smoother gaming experience.

[0166] On the third aspect, the present application uses the bounding box area corresponding to the area occupied by the trigger to perform positional relationship analysis. Since the bounding box has a regular area shape and the area corresponding to the bounding box can fit the area occupied by the trigger more closely, the analysis difficulty is low and the analysis efficiency is high when performing positional relationship analysis. While ensuring the accuracy of the analysis, the efficiency of the object state analysis is further improved.

[0167] Fourthly, the present application can use an extended area instead of the coordinate point position to perform position relationship analysis on the position to be analyzed of the coordinate point position type. The extended area is more in line with the area occupied by the game object when it is located at the coordinate point position. Therefore, the position relationship analysis result obtained in this way is more accurate, thereby improving the accuracy of the object state analysis.

[0168] Based on the object state analysis method provided in the above embodiment, the present application also provides an object state analysis device, see Figure 7 , Figure 7 This is a structural block diagram of an object state analysis device provided in an embodiment of the present application, the device includes a first determination unit 701, a second determination unit 702, a third determination unit 703 and a fourth determination unit 704:

[0169] The first determination unit 701 is used to determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter being used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponding to a first object state in the target game program, the first object state being an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area;

[0170] The second determining unit 702 is used to determine whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed;

[0171] The third determining unit 703 is configured to determine that the object state corresponding to the position to be analyzed is the first object state based on that the position to be analyzed is located in the target state analysis area;

[0172] The fourth determining unit 704 is configured to determine, based on the fact that the object to be analyzed is located at the position to be analyzed, that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

[0173] In a possible implementation manner, the first determining unit 701 is specifically configured to:

[0174] Determine a state analysis object in the game area to be analyzed, wherein the area occupied by the state analysis object in the game area to be analyzed corresponds to the state of the first object;

[0175] Determine the circumscribed area corresponding to the state analysis object in the game area to be analyzed, wherein the circumscribed area has a regular area shape;

[0176] The circumscribed area is determined as the target state analysis area, and a second area position parameter corresponding to the circumscribed area is determined as the first area position parameter, where the second area position parameter is used to identify the position of the circumscribed area.

[0177] In a possible implementation manner, the first determining unit 701 is specifically configured to:

[0178] Determine a plurality of pending circumscribed areas corresponding to the state analysis object in the game area to be analyzed, wherein the plurality of pending circumscribed areas have regular area shapes, and different pending circumscribed areas correspond to different area shapes;

[0179] The smallest undetermined circumscribed area among the multiple undetermined circumscribed areas is determined as the circumscribed area corresponding to the state analysis object.

[0180] In a possible implementation, the game area to be analyzed includes a plurality of state analysis areas, and the device further includes a dividing unit, a fifth determining unit, and a sixth determining unit:

[0181] The division unit is used to divide the game area to be analyzed into multiple sub-game areas;

[0182] The fifth determining unit is used to use the multiple sub-game areas as target sub-game areas respectively, and determine the area to be analyzed in the multiple state analysis areas that overlaps with the target sub-game area according to the third area position parameter corresponding to the target sub-game area and the area position parameters corresponding to the multiple state analysis areas respectively, wherein the third area position parameter is used to identify the position corresponding to the target sub-game area;

[0183] The sixth determining unit is used to determine the sub-game area where the position to be analyzed is located according to the position parameter to be analyzed and the area position parameters corresponding to the plurality of sub-game areas respectively;

[0184] The first determining unit 701 is specifically configured to:

[0185] Based on the sub-game area where the position to be analyzed is located being the target sub-game area, the areas to be analyzed are respectively used as the target state analysis areas to determine the first area position parameters.

[0186] In a possible implementation, the target game program is not in a running state before determining that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed based on the object to be analyzed in the target game program being located at the position to be analyzed.

[0187] In a possible implementation, the position to be analyzed is a coordinate point position, the position parameters to be analyzed are coordinate parameters of the coordinate point position in the spatial coordinate system of the game area to be analyzed, the target state analysis area corresponds to a rectangular area shape, the first area position parameters include vertex coordinate parameters of the target state analysis area in the spatial coordinate system, and the second determination unit 702 is specifically used to:

[0188] Based on the fact that the coordinate values ​​corresponding to the coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are all in the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system, it is determined that the position to be analyzed is located in the target state analysis area, and the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are used to constitute the target state analysis area.

[0189] In a possible implementation, the position to be analyzed is a coordinate point position, the position parameter to be analyzed is a coordinate parameter of the coordinate point position, and the second determining unit 702 is specifically configured to:

[0190] Based on the position parameter to be analyzed and the preset area size parameter, determining a target area corresponding to the position to be analyzed, the target area corresponds to the preset area size parameter, and the position of the target area in the game area to be analyzed is determined based on the position parameter to be analyzed;

[0191] Based on the fact that the target area and the target state analysis area have an overlapping area, it is determined that the position to be analyzed is located in the target state analysis area.

[0192] In a possible implementation manner, the fourth determining unit 704 is specifically configured to:

[0193] Based on the reference point position corresponding to the object to be analyzed being the coordinate point position, the state of the object to be analyzed corresponding to the first object is determined, and the reference point position is used to determine the position of the area occupied by the object to be analyzed in the game area to be analyzed.

[0194] In a possible implementation, the preset area size parameter is determined based on the size of the game object in the target game program.

[0195] In a possible implementation manner, the apparatus further includes a seventh determining unit:

[0196] The seventh determination unit is used to determine, based on the fact that the position to be analyzed is not located in the target state analysis area, that the object state corresponding to the position to be analyzed is a second object state, the first object state is an indoor state, and the second object state is an outdoor state, the indoor state is used to identify that the object is in an indoor scene in the target game program, and the outdoor state is used to identify that the object is in an outdoor scene in the target game program.

[0197] The present application also provides a computer device, see Figure 8 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:

[0198] Figure 8 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Figure 8 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Figure 8 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0199] Combine the following Figure 8 A detailed introduction to the various components of the mobile phone:

[0200] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0201] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0202] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

[0203] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.

[0204] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0205] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.

[0206] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Figure 8 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0207] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.

[0208] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0209] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0210] In this embodiment, the processor 780 included in the terminal device also has the following functions:

[0211] Determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter being used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponding to a first object state in the target game program, the first object state being an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area;

[0212] Determining whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed;

[0213] Based on the position to be analyzed being located in the target state analysis area, determining that the object state corresponding to the position to be analyzed is the first object state;

[0214] Based on the object to be analyzed being located at the position to be analyzed, it is determined that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

[0215] The present application also provides a server. Fig. 9 As shown, Fig. 9 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.

[0216] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.

[0217] The steps performed by the server in the above embodiment can be based on Fig. 9 The server structure shown.

[0218] The embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the object state analysis methods described in the aforementioned embodiments.

[0219] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the object state analysis method described in any one of the above embodiments.

[0220] It is understandable that in the specific implementation of the present application, related data such as user information (such as the location information of the game object controlled by the user in the game) is involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0221] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0222] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0223] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for analyzing object state, characterized in that: The method comprises: Determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter being used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponding to a first object state in the target game program, the first object state being an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area; Determining whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed; Based on the position to be analyzed being located in the target state analysis area, determining that the object state corresponding to the position to be analyzed is the first object state; Based on the object to be analyzed being located at the position to be analyzed, it is determined that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

2. The method according to claim 1, characterized in that The step of determining a first area position parameter corresponding to the game area to be analyzed in the target game program includes: Determine a state analysis object in the game area to be analyzed, wherein the area occupied by the state analysis object in the game area to be analyzed corresponds to the state of the first object; Determine the circumscribed area corresponding to the state analysis object in the game area to be analyzed, wherein the circumscribed area has a regular area shape; The circumscribed area is determined as the target state analysis area, and a second area position parameter corresponding to the circumscribed area is determined as the first area position parameter, where the second area position parameter is used to identify the position of the circumscribed area.

3. The method according to claim 2, characterized in that The determining of the external area corresponding to the state analysis object in the game area to be analyzed includes: Determine a plurality of pending circumscribed areas corresponding to the state analysis object in the game area to be analyzed, wherein the plurality of pending circumscribed areas have regular area shapes, and different pending circumscribed areas correspond to different area shapes; The smallest undetermined circumscribed area among the multiple undetermined circumscribed areas is determined as the circumscribed area corresponding to the state analysis object.

4. The method according to claim 1, characterized in that The game area to be analyzed includes a plurality of state analysis areas, and the method further includes: Dividing the game area to be analyzed into multiple sub-game areas; The plurality of sub-game areas are respectively used as target sub-game areas, and according to the third area position parameter corresponding to the target sub-game area and the area position parameters corresponding to the plurality of state analysis areas, a region to be analyzed having an overlapping area with the target sub-game area is determined in the plurality of state analysis areas, wherein the third area position parameter is used to identify the position corresponding to the target sub-game area; Determine the sub-game area where the position to be analyzed is located according to the position parameter to be analyzed and the area position parameters respectively corresponding to the plurality of sub-game areas; The step of determining a first area position parameter corresponding to the game area to be analyzed in the target game program includes: Based on the sub-game area where the position to be analyzed is located being the target sub-game area, the areas to be analyzed are respectively used as the target state analysis areas to determine the first area position parameters.

5. The method according to claim 1, characterized in that Before determining that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed based on the object to be analyzed in the target game program being located at the position to be analyzed, the target game program is not in a running state.

6. The method according to claim 1, characterized in that The position to be analyzed is a coordinate point position, the position parameter to be analyzed is a coordinate parameter of the coordinate point position in the spatial coordinate system of the game area to be analyzed, the target state analysis area corresponds to a rectangular area shape, the first area position parameter includes vertex coordinate parameters of the target state analysis area in the spatial coordinate system, and determining whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed includes: Based on the fact that the coordinate values ​​corresponding to the coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are all in the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system, it is determined that the position to be analyzed is located in the target state analysis area, and the coordinate value intervals respectively divided by the vertex coordinate parameters in the x-axis, y-axis and z-axis of the spatial coordinate system are used to constitute the target state analysis area.

7. The method according to claim 1, characterized in that The position to be analyzed is a coordinate point position, the position parameter to be analyzed is a coordinate parameter of the coordinate point position, and determining whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed includes: Based on the position parameter to be analyzed and the preset area size parameter, determining a target area corresponding to the position to be analyzed, the target area corresponds to the preset area size parameter, and the position of the target area in the game area to be analyzed is determined based on the position parameter to be analyzed; Based on the fact that the target area and the target state analysis area have an overlapping area, it is determined that the position to be analyzed is located in the target state analysis area.

8. The method according to claim 7, characterized in that The determining that the object to be analyzed corresponds to the first object state based on that the object to be analyzed in the target game program is located at the position to be analyzed includes: Based on the reference point position corresponding to the object to be analyzed being the coordinate point position, the state of the object to be analyzed corresponding to the first object is determined, and the reference point position is used to determine the position of the area occupied by the object to be analyzed in the game area to be analyzed.

9. The method according to claim 7, characterized in that: The preset area size parameter is determined based on the size of the game object in the target game program.

10. The method according to claim 1, characterized in that The method further comprises: Based on the fact that the position to be analyzed is not located in the target state analysis area, it is determined that the object state corresponding to the position to be analyzed is a second object state, the first object state is an indoor state, and the second object state is an outdoor state, the indoor state is used to identify that the object is in an indoor scene in the target game program, and the outdoor state is used to identify that the object is in an outdoor scene in the target game program.

11. An object state analysis device, characterized in that: The device comprises a first determining unit, a second determining unit, a third determining unit and a fourth determining unit: The first determination unit is used to determine a first area position parameter corresponding to a game area to be analyzed in a target game program, the first area position parameter is used to identify a position of a target state analysis area in the game area to be analyzed, the target state analysis area corresponds to a first object state in the target game program, the first object state is an object state obtained by the object to be analyzed in the target game program by entering the target state analysis area; The second determination unit is used to determine whether the position to be analyzed is located in the target state analysis area according to the first area position parameter and the position parameter to be analyzed, wherein the position parameter to be analyzed is used to identify the position to be analyzed in the game area to be analyzed; The third determining unit is configured to determine that the object state corresponding to the position to be analyzed is the first object state based on that the position to be analyzed is located in the target state analysis area; The fourth determining unit is configured to determine, based on the fact that the object to be analyzed is located at the position to be analyzed, that the object state corresponding to the object to be analyzed is the object state corresponding to the position to be analyzed.

12. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the object state analysis method according to any one of claims 1 to 10 according to the instructions in the computer program.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the object state analysis method according to any one of claims 1 to 10.

14. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the object state analysis method according to any one of claims 1 to 10.