Data display method, device, equipment and medium
By creating platform virtual rooms and game virtual rooms in the business management platform, and using the target state machine for data synchronization, the problem of low efficiency in manually entering game results and advancing game progress in the existing technology is solved, and efficient game information is achieved Synchronized and automated advancement.
Patent Information
- Application Number
- CN202111399015.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-11-19
AI Technical Summary
The existing electronic game playing system requires manual entry of game results and advancement of game progress, resulting in low efficiency and high manpower consumption.
By creating a platform virtual room and a game virtual room in the business management platform, and using the target state machine for game state flow and data synchronization, automatic data synchronization processing between the platform virtual room and the game virtual room is realized.
It improves the efficiency of synchronized processing of game information, reduces the tedious operations of manual entry, and improves the ability to automatically advance game progress.
Smart Images

Figure CN114011061B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a data display method, device, equipment and medium. Background Art
[0002] Current electronic games can create a game system within the game, which can support users to form teams and match teams for battles, that is, the game system is used to meet the game battle needs between users of the game. When users need to participate in game activities (i.e., events), they can play games in the game systems of each game, and after the game, use a specific method (e.g., screenshots, etc.) to record the game results, and manually upload the game results to the event executor, who manually enters the user's game results. The user's game progress also needs to be manually advanced, which consumes a lot of manpower, resulting in slow progress and low efficiency. Summary of the invention
[0003] The embodiments of the present application provide a data display method, apparatus, device and medium, which can improve the synchronization processing efficiency of object game information.
[0004] On the one hand, an embodiment of the present application provides a data display method, including:
[0005] A platform virtual room including a target object is created in the business management platform, and a target state machine is created for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in the target game application;
[0006] Create a game virtual room in the target game application through the target state machine, and add the target object to the game virtual room;
[0007] According to the game progress data of the target object in the game virtual room, the state of the target state machine is updated to obtain the target state machine after the state update;
[0008] According to the updated target state machine and the game progress data of the game virtual room, the platform virtual room is synchronized to obtain the object game information of the target object in the game virtual room.
[0009] On the one hand, an embodiment of the present application provides a data display device, including:
[0010] A state machine creation module is used to create a platform virtual room containing a target object in the business management platform, and to create a target state machine for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in the target game application;
[0011] A game room creation module is used to create a game virtual room in a target game application through a target state machine and add a target object to the game virtual room;
[0012] A state machine update module, used to update the state of a target state machine according to the game progress data of a target object in a game virtual room, and obtain a target state machine after the state is updated;
[0013] The data synchronization processing module is used to perform data synchronization processing on the platform virtual room according to the target state machine after the state is updated and the game progress data of the game virtual room, and obtain the object game information of the target object in the game virtual room.
[0014] The target objects include M camps, where M is a positive integer; the device also includes:
[0015] A camp formation module is used to respond to the camp formation operation in the business management platform and form the registered objects in the business management platform into M camps; the M camps are all associated with the target game application;
[0016] The game application module is used to respond to the game application operation in the business management platform and determine the M camps in the business management platform as the game camps in the target game application.
[0017] Among them, the camp formation operation includes formation sub-operations;
[0018] The camp building module includes:
[0019] An object acquisition unit, used to respond to the build sub-operation in the business management platform, and acquire one or more registered objects determined by the build sub-operation in the business management platform;
[0020] The formation success unit is used to form one or more registered objects into an i-th camp when the status of one or more registered objects in the management platform are all logged in; the i-th camp belongs to M camps, and i is a positive integer less than or equal to M;
[0021] The establishment failure unit is used to generate an establishment failure prompt message in the business management platform when the status of one or more registered objects in the business management platform is not logged in.
[0022] Among them, the state machine creation module includes:
[0023] A state acquisition unit, used to acquire K platform states in the business management platform, and to acquire L game states matching the target game application; K and L are both positive integers;
[0024] A state division unit, used for dividing the K platform states and the L game states according to the state paths between the K platform states and the L game states, to obtain a state division result;
[0025] The hierarchical state machine creation unit is used to create a target state machine with a hierarchical structure in the business management platform according to the state division result; the states of different hierarchies in the target state machine are used to process different game logics in the target game application.
[0026] Among them, the game progress data includes room destruction information;
[0027] The state machine update module includes:
[0028] A destruction information acquisition unit, used for acquiring room destruction information corresponding to the game virtual room containing the target object when the game virtual room is destroyed;
[0029] The first state transfer unit is used to update the state of the target state machine according to the room destruction information, and determine that the state of the target state machine after the state update is a virtual room creation state; the virtual room creation state is used to indicate the re-creation of a new game virtual room in the target game application.
[0030] The device further comprises:
[0031] A duration acquisition module is used to obtain the duration information of the state of the target state machine after the state update being in the virtual room creation state;
[0032] The duration determination module is used to update the state of the target state machine after the state is updated from the virtual room creation state to the game preparation state when the duration information reaches the duration threshold.
[0033] Among them, the game progress data includes game start information;
[0034] The state machine update module includes:
[0035] A start information acquisition unit, used for acquiring game start information corresponding to a target object in the game virtual room when a game start state of the game virtual room is triggered;
[0036] The second state flow unit is used to update the state of the target state machine according to the game start information, and determine that the state of the target state machine after the state update is the game started state; the game started state is used to obtain the object game information of the target object in the game virtual room during the game process.
[0037] Among them, the game progress data includes game end information;
[0038] The state machine update module includes:
[0039] An end information acquisition unit, used for acquiring game end information corresponding to a target object in the game virtual room when a game end state of the game virtual room is triggered;
[0040] The third state flow unit is used to update the state of the target state machine according to the game end information, and determine that the state of the target state machine after the state update is the result reading state; the result reading state is used to obtain the object game information of the target object in the game virtual room at the end of the game.
[0041] The device further comprises:
[0042] An information identification module is used to obtain a target recognition model that matches the object game information in the business management platform, input the object game information into the target recognition model, and output the authenticity identification result corresponding to the object game information through the target recognition model;
[0043] A result display module is used to determine the object game information as a valid result of the target object when the authenticity identification result is a true result, and display the valid result in the business management platform;
[0044] The above-mentioned result display module is also used to generate invalid result prompt information for the target object according to the object game information when the authenticity identification result is a non-real result, and display the invalid result prompt information in the business management platform.
[0045] Among them, the number of target recognition models is N, and N is a positive integer;
[0046] The information identification module includes:
[0047] A model selection unit is used to obtain a recognition model set in the business management platform, and determine N target recognition models that match the object game information from the recognition model set according to the weight information and model type corresponding to each recognition model in the recognition model set;
[0048] The result determination unit is used to input the object game information into N target recognition models respectively, output N recognition results corresponding to the object game information through the N target recognition models, and determine the authenticity identification result corresponding to the object game information according to the N recognition results.
[0049] The device further comprises:
[0050] A sample acquisition module is used to acquire sample game data in a sample game room in a game application, annotate the sample game data, and obtain label information corresponding to the sample game data;
[0051] A prediction result output module is used to input the sample game data into the initial recognition model, and output the prediction identification result corresponding to the sample game data through the initial recognition model;
[0052] The model training module is used to modify the network parameters of the initial recognition model according to the label information and the predicted identification results, generate the target recognition model, and publish the target recognition model in the business management platform.
[0053] The model training module includes:
[0054] A loss function determination unit, used to obtain a predicted distance between the label information and the predicted identification result, and determine a loss function corresponding to the initial recognition model according to the predicted distance;
[0055] The parameter correction unit is used to correct the network parameters of the initial recognition model by optimizing the loss function, and determine the initial recognition model including the corrected network parameters as the target recognition model.
[0056] On one hand, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory is connected to the processor, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method provided in the above aspect of the embodiment of the present application.
[0057] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded and executed by a processor, so that a computer device with a processor executes the method provided in the above aspect of the embodiment of the present application.
[0058] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method provided in the above aspect.
[0059] The embodiment of the present application can create a platform virtual room containing a target object in the business management platform, and create a target state machine for the platform virtual room, wherein the target state machine is used to execute the flow between the game states of the target object in the target game application; through the target state machine, a game virtual room containing a target object can be created in the target game application, and the state of the target state machine can be updated according to the game progress data in the game virtual room, and then according to the updated target state machine and the game progress data, the platform virtual room is synchronized to obtain the object game information in the game virtual room. It can be seen that the target game application can be connected to the business management platform, and when the target object opens the game business in the business management platform, that is, the platform virtual room is created, the target object can be added to the same game virtual room of the target game application by creating a target state machine corresponding to the platform virtual room, and the data synchronization (also understood as state synchronization) between the platform virtual room and the game virtual room can be realized through the target state machine, and the synchronization process can avoid the cumbersome operation of manually entering information and improve the synchronization processing efficiency of game information. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] 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.
[0061] Figure 1 It is a structural diagram of a network architecture provided by an embodiment of the present application;
[0062] Figure 2 It is a synchronous processing scene diagram of game information provided by an embodiment of the present application;
[0063] Figure 3 This is a flow chart of a data display method provided in an embodiment of the present application;
[0064] Figure 4 is a structural diagram of a target state machine provided in an embodiment of the present application;
[0065] Figure 5 It is a schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application;
[0066] Figure 6 It is a schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application;
[0067] Figure 7It is a schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application;
[0068] Figure 8 This is a flow chart of a data display method provided in an embodiment of the present application;
[0069] Fig. 9 It is a schematic diagram of the number of states of a hierarchical state machine provided in an embodiment of the present application;
[0070] Fig.10 This is a schematic diagram of selecting a target recognition model provided in an embodiment of the present application;
[0071] Fig.11 is a schematic diagram of a gradient descent provided in an embodiment of the present application;
[0072] Fig.12 It is a training diagram of a recognition model provided in an embodiment of the present application;
[0073] Fig.13 It is a timing diagram of synchronization object game information in a business management platform provided by an embodiment of the present application;
[0074] Fig.14 It is a schematic diagram of the management process of an identification model in a business management platform provided in an embodiment of the present application;
[0075] Fig.15 This is a schematic diagram of the structure of a data display device provided in an embodiment of the present application;
[0076] Fig.16 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0078] This application involves the following concepts:
[0079] State machine: State machine is the abbreviation of finite state automaton, which is a mathematical computational model that represents a finite number of states and behaviors such as transitions and actions between these states.
[0080] Game system: The game system can meet the game battle needs between users. The game system can support functions such as user team formation, schedule building, battle, game information synchronization, etc., providing a one-stop service player battle solution.
[0081] Multi-game competition platform: Multi-game competition platform is a competition system that can support a large number of participants. It supports functions such as competition registration, competition team formation, competition grouping, competition match creation, game competition match creation, game competition match result extraction, and schedule progress advancement. It can provide a competition system with the ability to automatically advance the schedule throughout the entire process.
[0082] See also Figure 1 , Figure 1 Schematic diagram of a network architecture provided by an embodiment of the present application. Figure 1 As shown, the network architecture may include a server cluster, a business management platform 10a, and a user terminal cluster; the business management platform 10a may be a multi-game event platform, or a game system, which is not limited in this application; the server cluster may include one or more servers, and the user terminal cluster may include one or more user terminals, and the number of servers and user terminals is not limited here. Figure 1As shown, the user terminal cluster may specifically include user terminal 10b, user terminal 10c, and user terminal 10d, etc. Each user terminal in the user terminal cluster may refer to an electronic device used by a user participating in a game match, such as user terminal 10b is an electronic device used by user 1, user terminal 10c is an electronic device used by user 2, and user terminal 10d is an electronic device used by user 3, etc. The server cluster may specifically include server 10e, server 10f, and server 10g, etc. Each server in the server cluster may be a background server of a game application connected to the service management platform 10a, and different servers may represent background servers corresponding to different game applications, that is, one or more game applications may be connected to the service management platform 10a; for example, server 10e may be a background server corresponding to game application A, server 10f may be a background server corresponding to game application B, and server 10g may be a background server corresponding to game application C. The service management platform 10a may support the game match services of game applications such as game application A, game application B, and game application C. In the business management platform 10a, users can sign up for the tournament and match services of various game applications. One or more users in the business management platform 10a can form a camp. Each camp can include one or more users. The number of users included in each camp is related to the tournament rules of the game application to which the tournament and match service that the camp has signed up for belongs. For example, user 1 and user 2 can form camp 1 in the business management platform 10a, and user 3 can form camp 2 in the business management platform 10a. Camp 1 and camp 2 can be camps in the tournament and match service of the same game application, or they can be camps in the tournament and match service of different game applications. This application does not limit the number of users in a camp.
[0083] Among them, the server 10e, the server 10f and the server 10g can be independent physical servers, or server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The user terminal 10b, the user terminal 10c and the user terminal 10d can include: smart phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MID), wearable devices (such as smart watches, smart bracelets, etc.), smart voice game devices, smart home appliances (such as smart TVs, etc.) and vehicle terminals and other electronic devices.
[0084] In an embodiment of the present application, one or more game applications can be connected to the business management platform. When a user wants to participate in game events of these game applications, he can perform event registration, event team formation, event grouping, event match creation (i.e., platform virtual room creation), game event match creation (i.e., game virtual room creation), game event match result extraction, event progress advancement and other services in the business management platform. By creating a state machine for each event match (i.e., platform virtual room) in the business management platform, the data of the game virtual room can be automatically connected to the platform virtual room of the business management platform through the state machine, so that the event match in the business management platform can be fully automated. That is, the state machine can be used to achieve data synchronization between the platform virtual room and the game virtual room, reducing the tedious operation of manual data entry and improving the efficiency of synchronous processing of game information. The business management platform can support game events of one or more game applications, and can improve the versatility of the business management platform.
[0085] See also Figure 2 , Figure 2 1 is a scene diagram of synchronization processing of game information provided by an embodiment of the present application. Taking shooting games as an example, the embodiment of the present application describes in detail the synchronization processing process of game information in the business management platform. Figure 2 The business management platform shown can be a multi-game competition platform, and game application A can be a shooting game. Users who want to participate in the game competition of game application A can register for the competition in the business management platform and complete the camp formation operation in the business management platform. Each camp can include one or more users. For example, the game competition of game application A can include participating teams such as camp 1, camp 2, camp 3, camp 4, camp 5 and camp 6; in other words, according to the game competition rules of game application A, users who register for the game competition of game application A participate in the competition as individuals or teams. The number of users included in the above camps can be the same or different. This application does not limit the number of users included in the camps.
[0086] In the business management platform, all participating teams of the game event of game application A can be matched, and the successfully matched participating teams become opponents. This application does not limit the number of opponents. Figure 2As shown, the number of mutually opposing camps is 2 for description. For example, if camp 1 matches camp 2 successfully, it means that camp 1 and camp 2 are mutually opposing camps; camp 4 matches camp 5 successfully, it means that camp 4 and camp 5 are mutually opposing camps; camp 3 matches camp 6 successfully, it means that camp 3 and camp 6 are mutually opposing camps. For two mutually opposing camps, corresponding platform virtual rooms can be created in the business management platform. For example, platform virtual room 1 can be created in the business management platform for mutually opposing camps 3 and camp 6. The platform virtual room 1 can include all users in camp 3 and camp 6, such as user 1, user 2, user 3, user 4, user 5 in camp 3, and user 6, user 7, user 8, user 9, user 10 in camp 6. Furthermore, a target state machine can be created for platform virtual room 1 in the business management platform, and the target state machine can be used to execute the flow between game states in game application A. One platform virtual room can correspond to one target state machine; through the target state machine, game virtual room 1 can be created in game application A, and all users in platform virtual room 1 can be added to game virtual room 1, that is, through the target state machine in the business management platform, users belonging to the same platform virtual room (e.g., platform virtual room 1) in the business management platform can be added to the same game virtual room (e.g., game virtual room 1) in game application A. Optionally, all users who join game virtual room 1 can select game virtual characters that suit their needs and the skills corresponding to the game virtual characters.
[0087] When the user in the game virtual room 1 triggers the game start information of the game virtual room 1, the state flow of the target state machine can be driven to the "in-game" state. At this time, the game progress data in the game virtual room 1 can be obtained in real time through the target state machine, and based on the game progress data and the target state machine, the platform virtual room 1 is synchronized with the data; for example, the video screen in the game virtual room 1 is a real-time confrontation screen between the user 1 in the camp 3 and the user 6 in the camp 6 (such as the above-mentioned game progress data), and the user information corresponding to each user in the camp 3 and the camp 6 can also be displayed in real time in the game virtual room 1, as shown in the area 11a in the game virtual room 1. The user information here can refer to the number of shots, the number of shots, the skill status and other parameter information of the corresponding user in the game virtual room 1. Through the game progress data of the camp 3 and the camp 6 in the game virtual room 1 and the target state machine, the business management platform can synchronize the data of the platform virtual room 1, that is, the content displayed in the platform virtual room 1 can include the video screen in the game virtual room 1, and the user information corresponding to each user in the camp 3 and the camp 6. In other words, when the state flow of the target state machine is transferred to "in game", the data synchronization processing between the platform virtual room 1 and the game virtual room 1 can be realized through the target state machine.
[0088] When the match between camp 3 and camp 6 in the game virtual room 1 ends, the state flow of the target state machine can be driven to the "match result reading" state. Based on the target state machine in the "match result reading" state, the business management platform can obtain the match results between camp 3 and camp 6 in the game virtual room 1, and can display the match results between camp 3 and camp 6 in the platform virtual room 1. For example, when camp 3 in the game virtual room 1 defeats camp 6, the match result between camp 3 and camp 6 displayed in the platform virtual room 1 is 1:0. Optionally, camp 3 and camp 6 can continue to start new game matches in the game virtual room 1 until the match between camp 3 and camp 6 is completed. The target state machine can realize data synchronization processing between the game virtual room 1 in the game application A and the platform virtual room 1 in the business management platform, which can improve the efficiency of synchronization processing of game match information.
[0089] See also Figure 3 , Figure 3 1 is a flow chart of a data display method provided in an embodiment of the present application. It can be understood that the data display method can be executed by a computer device, and the computer device can be a user terminal or a server running a business management platform. Figure 3 As shown, the data display method may include the following steps S101 to S104:
[0090] Step S101, creating a platform virtual room containing a target object in a business management platform, and creating a target state machine for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in the target game application.
[0091] Specifically, when a target user wants to participate in a game event, he or she can submit personal registration information in the business management platform to register for the event. The computer device can obtain the personal registration information submitted by the target user. When the personal registration information meets the registration conditions, it is determined that the target user has successfully registered. All users who have successfully registered can be recorded in the business management platform. The target user who has successfully registered can participate in the game event in the business management platform as an individual or in a team, under the premise of complying with the game event rules.
[0092] Optionally, when the target user participates in a game event in the form of a camp, the target user can invite other users who have successfully registered for the game event to form a camp (also known as forming a team) in the business management platform, or the target user can apply to join a camp that is not yet full. The captain of each camp (the captain is a user in the camp) can register for the event as a representative of the entire camp, that is, the captain can represent the entire camp, submit the camp registration information in the business management platform, and participate in the event in the form of a camp.
[0093] For all the camps that have registered for the game events in the business management platform, the computer equipment can group all the registered camps, and the camps that are divided into the same group can play as opponents in the game. A camp can match one camp as an opponent, or it can match multiple camps as opponents. The number of opponent camps of a camp can be determined according to the actual rules of the game event. This application does not limit the number of opponent camps. In the business management platform, the camps can be grouped according to the preset allocation rules, or all camps can be randomly grouped. This application does not limit the allocation rules of the camps.
[0094] Among them, when the first camp and the second camp in the business management platform are assigned as opponents, the computer device can create a platform virtual room for the first camp and the second camp in the business management platform. At this time, the first camp and the second camp can be called target objects, that is, a platform virtual room can be created for the target object in the business management platform. The platform virtual room can mean that the business management platform can be a logical server. All users in the same platform virtual room need to log in to the same logical server. Only users in the same platform virtual room can participate in the same game. The computer device can find an idle logical server in the business management platform, and can create a platform virtual room based on the idle logical server found; if the platform virtual room is successfully created, the target object (for example, the target object can include the first camp and the second camp) can be added to the platform virtual room, and the user status of the target object can be modified. At this time, the target object can be notified of the message of successfully joining the platform virtual room in the business management platform; if the platform virtual room fails to be created, an error message is prompted in the business management platform, and the error message can be used to instruct the computer device to recreate a new platform virtual room.
[0095] Furthermore, the computer device can initialize the platform virtual room according to the basic information of the target object (for example, the basic camp information of the first camp and the second camp, which can include the number of users included in the two camps, the game applications corresponding to the events participated in, specific game projects, etc.), and create a target state machine that can support the flow of game states for the platform virtual room in the business management platform. At this time, the state of the target state machine can flow to the "waiting for user preparation" state. Among them, the target state machine can be used to execute the flow between the game states of the target object in the target game application, and the target game application can be used to run the game in which the target object participates; the business management platform can access one or more game applications and manage the event match business of these game applications. The above-mentioned target game application can be any one of the multiple game applications accessed to the business management platform. The above-mentioned one or more game applications can access the business management platform in a unified manner on the platform, and the game match business of the game applications accessed to the business management platform can all be managed by the business management platform, thereby improving the versatility of the business management platform. In other words, the business management platform can support game events in different game applications. For example, Game A, Game B and Game C can access the business management platform in a unified manner. The business management platform can support the event functions of Game A, Game B and Game C, such as providing Game A with event registration, event team formation, event grouping, event match creation, game event match creation, game event match result extraction, and schedule progress advancement functions.
[0096] Optionally, when a user who has successfully registered participates in a game event as an individual, after the game event begins, the embodiment of the present application may refer to each user participating in the game event as a target object, and the computer device may create a platform virtual room for each user in the business management platform, and create a target state machine for each platform virtual room in the business management platform. In other words, the target object in the platform virtual room of the business management platform may be a single user, or multiple users who are opponents of each other, or a single camp (a camp may include one or more users), or multiple camps that are opponents of each other, etc. For example: the target object may include M camps, and M may be a positive integer, such as M may take the value of 1, 2, ... For the convenience of description, the following description is taken as an example in which the target object includes a first camp and a second camp that are opponents of each other (i.e., one camp may correspond to one opponent camp).
[0097] Step S102: creating a game virtual room in the target game application through the target state machine, and adding the target object to the game virtual room.
[0098] Specifically, after the target object (the first camp and the second camp) joins the platform virtual room, it means that the first camp and the second camp are about to start the game. At this time, all users of the first camp and the second camp need to make pre-game preparations, such as checking whether the equipment they are using can work normally and whether the network is connected normally, or the business management platform can show pre-game preparation prompts to each participating user. When the user completes a series of preparation operations according to the pre-game preparation prompts in the business management platform, the computer device can receive the user's preparation operations and update the user's current competition status (for example, record that the user has completed the preparation operations, etc.). When the computer device detects that the users in the first camp and the second camp have completed the preparation operations, it can drive the target state machine to flow to the "create game room" state. The game room here can also be called a game virtual room.
[0099] Furthermore, users in the first camp and the second camp can perform a trigger operation on the event match function in the business management platform. At this time, the computer device can respond to the user's trigger operation in the business management platform, and the target state machine in the business management platform can create a game virtual room in the target game application through a public protocol, and add all users included in the first camp and the second camp to the game virtual room. At this time, the state of the target state machine can flow to the "enter the game virtual room" state. In other words, through the target state machine created in the business management platform, users in the same platform virtual room in the business management platform can be added to the same game virtual room in the target game application.
[0100] Optionally, the first camp and the second camp in the embodiment of the present application may be composed of users participating in the event game, and after joining the game virtual room, the users in the first camp and the second camp may select the game virtual characters in the target game application as the characters participating in the event game in the business management platform. Different users may select different game virtual characters as participating characters, or may select the same game virtual characters as participating characters, and the present application does not limit this. The game virtual characters selected by the users in the first camp in the target game application, and the game skills possessed by the game virtual characters, etc. may constitute the first game camp; the game virtual characters selected by the users in the second camp in the target game application, and the game skills possessed by the game virtual characters, etc. may constitute the second game camp; therefore, the event game between the first camp and the second camp in the target game application can essentially be understood as a game between the first game camp and the second game camp.
[0101] Step S103, updating the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state update.
[0102] Specifically, after the target state machine flows to the "entering the game virtual room" state, the computer device can receive the game state changes for the game virtual room in the target game application through the target state machine, such as the game progress data of the target objects (first camp and second camp) in the game virtual room, which can drive the state flow in the target state, that is, update the state of the target state machine to obtain the target state machine after the state update. Among them, the game progress data can refer to the data used to describe the game process of the first camp and the second camp in the game virtual room. The game progress data includes but is not limited to: the game scene of the game virtual room, the number of offline people, the number of online people, game parameters, etc. in the first camp, and the number of offline people, the number of online people, game parameters, etc. in the second camp.
[0103] Among them, in order to ensure that the game between the first camp and the second camp in the platform virtual room of the business management platform can proceed normally, it is necessary to synchronize data between the platform virtual room in the business management platform and the game virtual room in the target game application, so that the game process between the platform virtual room and the game virtual room is consistent. The target state machine in the embodiment of the present application can be used to realize data synchronization between the platform virtual room and the game virtual room, and the game event in the business management platform can be automatically promoted by transferring the game state in the target game application. For example, when the first camp and the second camp start the game in the game virtual room, the state of the target state machine can be updated according to the start information of the game virtual room; when the first camp and the second camp generate data such as the transformation of the game scene during the game, the state of the target state machine can be updated according to the transformed game scene in the game virtual room; when the first camp and the second camp end the current game in the game virtual room, the state of the target state machine can be updated according to the game end information of the game virtual room; and so on.
[0104] It should be noted that the business management platform can be used to manage the event match business of one or more game applications, so multiple event matches can be carried out simultaneously in the business management platform, and these event matches can belong to the same game application or to different game applications, and this application does not limit this. Each event match in the business management platform is carried out in an independent platform virtual room. Each platform virtual room can create a state machine, and through the corresponding state machine, create a game virtual room in the corresponding game application, that is, one platform virtual room corresponds to one state machine and one game virtual room, and the state machine is used to realize data synchronization between the platform virtual room and the corresponding game virtual room.
[0105] Step S104, according to the updated target state machine and the game progress data of the game virtual room, the platform virtual room is synchronized to obtain the object game information of the target object in the game virtual room.
[0106] Specifically, each state flow of the target state machine will drive the data change of the platform virtual room in the business management platform to obtain the schedule of the target object (the first camp and the second camp). For example, after the state of the target state machine is updated, the computer device can synchronize the data of the platform virtual room according to the updated target state machine and the game progress data of the game virtual room to obtain the object game information of the first camp and the second camp in the game virtual room; wherein the object game information can refer to the game data of the first camp and the second camp in the game virtual room, such as the real-time information of users in the two camps, the real-time game information between the two camps, etc.
[0107] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a target state machine provided in an embodiment of the present application. Figure 4 As shown, after a platform virtual room including a first camp and a second camp is created in the business management platform, a target state machine can be created for the platform virtual room in the business management platform. The computer device can initialize the target state machine (for example, initialize the configuration) through the basic camp information corresponding to the first camp and the second camp; when the target state machine completes the initialization processing, the target state machine can flow to the "wait to start" state. The target state machine in the "wait to start" state can check the information flow in the business processing. After the information flow is checked, the state of the target state machine can flow from the "wait to start" state to the "game preparation" state. In the target state machine, the next transferable state of the "game preparation" state is the "create game virtual room" state. When the target state machine is in the "create game virtual room" state, if the computer device successfully creates a game virtual room in the target game application through the target state machine, the target state machine can flow from the "create game virtual room" state to the "enter game virtual room" state; if the computer device fails to create a game virtual room in the target game application through the target state machine, the target state machine can flow from the "create game virtual room" state to the "game preparation" state.
[0108] When the target state machine is in the "enter the game virtual room" state, if the first camp and the second camp successfully join the game virtual room, the state of the target state machine can flow from the "enter the game virtual room" state to the "start game" state; if the first camp and the second camp fail to successfully join the game virtual room (for example, the game virtual room is cancelled due to a malfunction, or the game virtual room is cancelled due to the presence of users in the first camp and the second camp, etc.), the target state machine can flow from the "enter the game virtual room" state to the "create game virtual room" state. When the target state machine is in the "start game" state, it means that the first camp and the second camp have started the game in the game virtual room. When the game ends, the state of the target state machine can be driven to flow to the "read game results" state. After the business management platform obtains the game results (i.e., game results) of the first camp and the second camp in the game virtual room through the target state machine, it can display the game results. Optionally, the first camp and the second camp can continue the next round of game play in the game virtual room. For example, the first camp and the second camp can determine the final game result between the two camps through a best-of-three or best-of-five match. At this time, the target state machine can flow back to the "entering the game virtual room" state to start a new round of state flow.
[0109] In an embodiment of the present application, after the first camp and the second camp are assigned as opponent camps in the business management platform and a platform virtual room is created for the two camps, the first camp and the second camp in the platform virtual room can be sent to the same game match by creating a target state machine, such as a computer device can generate a match mapping relationship in the target game application based on the platform virtual room in the business management platform, and the first camp and the second camp in the business management platform can enter the game virtual room of the target game application through the business management platform through the match mapping relationship. Among them, the above-mentioned match mapping relationship can refer to the mapping relationship between the platform virtual room in the business management platform and the game virtual room in the target game application. After the game virtual room is created in the target game application, the match mapping relationship can be executed, and the mapping is performed according to the status of users in the first camp and the second camp in the target game application and the status in the business management platform.
[0110] The target state machine can be used to synchronize information in the target game application, and the target state machine can be transferred according to the game progress data of the first camp and the second camp in the target game application, so as to complete the state advancement of the game schedule between the first camp and the second camp in the business management platform. Optionally, the game match results of the first camp and the second camp in the target game application (i.e., the camp match results of the game virtual room) are very important to the business management platform. The game match results of the first camp and the second camp in the game virtual room are obtained through the target state machine (also referred to as the camp match results, or object game information). The business management platform can calculate and judge the next state transfer of users in the first camp and the second camp in the business management platform based on the game match results, and can make personalized adjustments to the competition rules of the target game application. Data synchronization between the business management platform and the target game application can be achieved through the target state machine, and the data synchronization process of the entire event does not require manual access, which can improve the synchronization efficiency of game information.
[0111] Optionally, the data synchronization process between the business management platform and the target game application can be understood as the data synchronization process between the platform virtual room in the business management platform and the game virtual room in the target game application. Figure 5 and Figure 7 The data synchronization process between the platform virtual room and the game virtual room is described in detail, which can also be understood as a further description of the above steps S103 and S104.
[0112] See also Figure 5 , Figure 5 Schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application. Figure 5 The user terminal 30a shown can be a computer device running a business management platform 30b. At this time, a platform virtual room 1 has been created for the first camp and the second camp in the business management platform 30b (the target objects here include the first camp and the second camp). The platform virtual room 1 contains all users of the first camp and the second camp, such as user 1, user 2, user 3, user 4 in the first camp, and user 5, user 6, user 7, user 8 in the second camp, that is, a platform game is created for the first camp and the second camp in the business management platform 30b; after the platform virtual room 1 is created, a target state machine 30c is also created for the platform virtual room 1 in the business management platform 30b.
[0113] After the user terminal 30a successfully creates the game virtual room 1 in the target game application through the target state machine 30c, the first camp and the second camp in the platform virtual room 1 can be added to the game virtual room 1. At this time, the state flow of the target state machine changes to the "enter the game virtual room" state, such as Figure 5 The server 30d shown may be the background server corresponding to the target game application. The game virtual room 1 is successfully created in the target game application, which can be understood as being successfully created in the server 30d. The business management platform 30b can determine that the game virtual room corresponding to the platform virtual room 1 (i.e., the game virtual room 1 mentioned above) has been successfully created according to the "enter the game virtual room" state in the target state machine 30b, and that the users in the first camp and the second camp have joined the game virtual room. The platform virtual room 1 can be synchronized with data, such as adding a "start game" function 30e in the platform virtual room 1, which can also be understood as the first camp and the second camp in the platform virtual room 1 are in the "start game" state at this time.
[0114] Optionally, when the game virtual room 1 in the target game application is destroyed, the room destruction information corresponding to the game virtual room 1 containing the first camp and the second camp can be obtained, that is, at this time, the game progress data of the first camp and the second camp in the game virtual room 1 is the room destruction information; according to the room destruction information, the state of the target state machine can be updated, and the state of the target state machine after the state update is determined to be the virtual room creation state (also referred to as the "create game virtual room" state, that is, the state of the target state machine 30c is transferred from the "enter game virtual room" state to the "create game virtual room" state), and the virtual room creation state is used to indicate that a new game virtual room is recreated in the target game application. According to the current state "create game virtual room" of the target state machine 30c, the user terminal 30a can synchronize the data of the platform virtual room 1, such as updating the "start game" function 30e in the platform virtual room 1 to the "create game virtual room" function 30f.
[0115] It can be understood that after users of the first camp and the second camp join the game virtual room 1, the state changes of the first camp and the second camp in the game virtual room 1 can flow through the state of the target state machine 30c, and the data of the platform virtual room 1 can be updated based on the state of the target state machine 30c, so that the data of the platform virtual room 1 and the game virtual room 1 are always synchronized.
[0116] Optionally, the game events in the business management platform need to ensure the advancement of the event progress. In order to allow the state of the target state machine in the business management platform to flow normally and not be blocked, the computer device (such as the above-mentioned user terminal 30a) can set a duration threshold for each state of the target state machine. When the time flows to the duration threshold, the business management platform can make a judgment based on the current data of the platform virtual room 1 to promote the normal operation of the game event. Optionally, the computer device can select a key state from the target state machine, set a duration threshold for each key state, and there is no need to set a duration threshold for each state in the target state machine, which can reduce the creation efficiency of the target state machine. Among them, if a state in the target state machine is blocked (for example, network delay, data interruption, etc.), the target state machine cannot operate normally no matter which path is used, then the state can be determined as a key state, and these key states can be called baseline states in the target state machine. Different key states can set the same duration threshold, or different duration thresholds can be set. The application does not limit the value of the duration threshold. For example, when the updated target state machine is in the virtual room creation state, the computer device can obtain the duration information of the state of the target state machine after the state update in the virtual room creation state. When the duration information reaches the duration threshold, the state of the target state machine after the state update can be updated from the virtual room creation state to the game preparation state.
[0117] See also Figure 6 , Figure 6 Schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application. Figure 6 The user terminal 40a shown is connected to Figure 5 Like the user terminal 30a shown, the server 40d is Figure 5 The user terminal 30d is the same as shown and will not be described in detail here.
[0118] When the user terminal 40a successfully creates the game virtual room 2 in the target game application through the target state machine 40c, the first camp and the second camp in the platform virtual room 2 can be added to the game virtual room 2, and the state of the target state machine flows to the "enter the game virtual room" state. The business management platform 40b can determine that the game virtual room corresponding to the platform virtual room 2 (i.e., the above-mentioned game virtual room 2) has been successfully created according to the "enter the game virtual room" state in the target state machine 40b, and the users in the first camp and the second camp have joined the game virtual room, and the platform virtual room 2 can be synchronized with data, such as adding a "start game" function 40e in the platform virtual room 2, which can also be understood as the first camp and the second camp in the platform virtual room 2 are in the "start game" state at this time.
[0119] Optionally, when the game start state of the game virtual room 2 in the target game application is triggered, the user terminal 40a can obtain the game start information between the first camp and the second camp in the game virtual room 2, that is, at this time, the game progress data of the first camp and the second camp in the game virtual room 2 is the game start information; the state of the target state machine is updated according to the game start information, and the state of the target state machine after the state update is determined to be the game started state (also referred to as the "start game" state, that is, the state of the target state machine 40c is transferred from the "enter the game virtual room" state to the "start game" state), and the game started state is used to instruct the business management platform 40b to obtain the object game information of the first camp and the second camp in the game virtual room during the game process. The user terminal 40a can synchronize the data of the platform virtual room 2 according to the current state "start game" of the target state machine 40c, such as displaying the object game information between the first camp and the second camp in the platform virtual room 2, and the object game information displayed in the platform virtual room 2 can be synchronized with the object game information in the game virtual room 2.
[0120] See also Figure 7 , Figure 7 Schematic diagram of data synchronization processing between a platform virtual room and a game virtual room provided by an embodiment of the present application. Figure 7 The states in the platform virtual room 3 and the game virtual room 3 are shown as follows: Figure 6 As shown, the user terminal 50a and Figure 5 Like the user terminal 30a shown, the server 50d is Figure 5When the state of the target state machine 50c is in the "start game" state, the business management platform 50b can realize data synchronization between the platform virtual room 3 and the game virtual room 3 through the target state machine 50c, such as displaying the object game information of the first camp and the second camp in the game virtual room 3 in real time in the platform virtual room 3 during the game match. When the game end state of the game virtual room 3 in the target game application is triggered, the user terminal 50a can obtain the game end information between the first camp and the second camp in the game virtual room, that is, at this time, the game progress data of the first camp and the second camp in the game virtual room 3 is the game end information; then the state of the target state machine can be updated according to the game end information, and the state of the target state machine after the state update is determined to be the result reading state (also called the "read game result" state, that is, the state of the target state machine 50c changes from the "start game" state to the "read game result" state), and the result reading state is used to instruct the business management platform 50b to obtain the object game information of the first camp and the second camp in the game virtual room 3 at the end of the game, and the object game information at this time can also be called the camp game result, or the game result. According to the current state "read game result" of the target state machine 50c, the user terminal 50a can synchronize the data of the platform virtual room 3, such as displaying the camp game result of the first camp and the second camp in the game virtual room 3 in the platform virtual room 3, and the camp game result between the first camp and the second camp is 1:0, that is, in this game, the first camp wins.
[0121] In an embodiment of the present application, one or more game applications can be connected to the business platform data. When the first camp and the second camp are matched as game camps, that is, a platform virtual room is created, the objects in the first camp and the second camp can be added to the same game virtual room of the target game application by creating a target state machine corresponding to the platform virtual room. The data synchronization between the platform virtual room and the game virtual room can be achieved through the target state machine. The synchronization processing process can avoid the tedious operation of manually entering information and improve the synchronization processing efficiency of object game information.
[0122] See also Figure 8 , Figure 8 1 is a flow chart of a data display method provided in an embodiment of the present application. It can be understood that the data display method can be executed by a computer device, and the computer device can be a user terminal or a server running a business management platform. Figure 8 As shown, the data display method may include the following steps S201-S210:
[0123] Step S201, responding to the camp formation operation in the business management platform, the registered objects in the business management platform are formed into M camps; the M camps are all associated with the target game application, and M is a positive integer.
[0124] Specifically, when the target user successfully registers in the business management platform, the target user can invite other users who have successfully registered for the game event in the business management platform to form a camp (also referred to as forming a team), or the target user can apply to join a camp that is not yet full. The users who have successfully registered in the business management platform can be called registered objects, such as the target user who successfully registers can be called a registered object. One or more registered objects in the business management platform can be organized into a camp, such as a certain registered object can perform a trigger operation on the camp formation function in the business management platform. In the embodiment of the present application, the trigger operation for the camp formation function in the business management platform can be collectively referred to as a camp formation operation. The computer device can respond to the camp formation operation in the business management platform and organize the registered objects in the business management platform into M camps, where M can be a positive integer; each camp can include one or more registered objects, and the number of registered objects in the camps that register for the same game event can be the same or different. It should be understood that the business management platform can be used to manage the game business of one or more game applications, that is, different game applications can be connected to the business management platform, and users can participate in event registration, event organization, event games, etc. of multiple game applications in the business management platform; the number of registered objects in the camps that register for different game events can be the same or different, and the number of registered objects included in the camp can be determined according to the actual game event rules, and this application does not limit this.
[0125] The following takes any one of the M camps (for example, the i-th camp, i is a positive integer less than or equal to M) as an example to describe the formation process of the camp in detail. The camp formation operation for a single camp in the business management platform can be called a formation sub-operation. For example, when M camps are formed in the business management platform, at least M formation sub-operations are generated in the business management platform, that is, the number of formation sub-operations generated in the business management platform is greater than or equal to M (invalid formation sub-operations may be generated in the business management platform, such as users in the same camp repeatedly performing formation sub-operations, etc.), and all formation sub-operations generated in the business management platform can be collectively referred to as camp formation operations. In other words, the above-mentioned camp formation operation may include a formation sub-operation, and the computer device may respond to the formation sub-operation in the business management platform, and obtain one or more registered objects determined by the formation sub-operation in the business management platform; when the status of one or more registered objects in the management platform are all logged in, the one or more registered objects are formed into the i-th camp; when there is a registered object in the one or more registered objects that is not logged in in the business management platform, a formation failure prompt message is generated in the business management platform, that is, the camp formation failed this time, and it is necessary to re-execute the trigger operation of the camp formation function.
[0126] It should be noted that each camp in the business management platform can be formed according to the above operations. For example, the number of camps formed by the business management platform is D, where D is a positive integer greater than or equal to M; the D camps in the business management platform can all be teams participating in the target game application (the target game application is any one of the one or more game applications connected to the business management platform), or M camps among the D camps can be teams participating in the target game application, and the remaining (DM) camps can be teams participating in the remaining game applications (game applications other than the target game application in the one or more game applications connected to the business management platform).
[0127] Step S202, responding to the game application operation in the business management platform, and determining the M camps in the business management platform as the game camps in the target game application.
[0128] Specifically, after the registered objects in the business management platform are organized into M camps, each camp can select a captain, and the captain represents the entire camp to participate in game competitions in the form of a camp. For example, a trigger operation (which can be called a game application operation) is performed on the game event match creation function in the business management platform, and the computer device can respond to the game application operation in the business management platform. According to the competition rules in the business management platform, the M camps in the business management platform can be determined as the match camps in the target game application, that is, the M camps are rival camps, and one camp can correspond to (M-1) camps. At this time, the M camps can be called target objects.
[0129] Among them, when D camps participating in the target game application are formed in the business management platform, the computer device can match the D camps for the game after responding to the game application operation in the business management platform, that is, match opponents for each camp, and group the D camps into M camps. The M camps in each group can be called target objects. For the convenience of description, the following description is made when M is 2, that is, the target object includes the first camp and the second camp, and the first camp and the second camp are matched as game camps in the game events of the business management platform. Among them, the first camp and the second camp are both camps that sign up for the event of the target game application, that is, the most basic prerequisite for the first camp and the second camp to be matched as game camps is that the game events in which the two camps participate are the same; of course, in actual application scenarios, other matching conditions can also be added, such as participating areas, etc., and this application does not limit this.
[0130] Step S203, creating a platform virtual room including the target object in the business management platform, obtaining K platform states in the business management platform, and obtaining L game states matching the target game application; K and L are both positive integers.
[0131] Specifically, when the first camp and the second camp in the business management platform are assigned as game camps, the first camp and the second camp at this time are called target objects, and the computer device can create a platform virtual room for the first camp and the second camp in the business management platform, that is, create a competition game for the first camp and the second camp in the business management platform.
[0132] Furthermore, due to the large number of game applications connected to the business management platform, the game logic of each game application varies greatly. If the game state and the state of the event match (which can be called the platform state) in each game application are subdivided, the number of state paths to be managed by the business management platform will be very large. In an embodiment of the present application, the computer device can obtain L platform states for the above-mentioned platform virtual room in the business management platform, and at the same time, it can also obtain L game states matching the target game application, where K and L are both positive integers, such as K can be 1, 2, ..., L can also be 1, 2, ..., K and L can be the same or different, and the specific values can be determined according to the actual situation.
[0133] Step S204, dividing the K platform states and the L game states according to the state paths between the K platform states and the L game states to obtain a state division result.
[0134] Specifically, the computer device can divide K platform states and K game states to obtain a state division result; wherein, the basis for dividing the K platform states and the K game states can be the state path between the K platform states and the K game states, and the state division is performed based on the state logic between each game state and each platform state to obtain a state division result.
[0135] Step S205, based on the state division result, create a target state machine with a hierarchical structure in the business management platform; the target state machine is used to execute the flow between the game states of the target object in the target game application, and the states of different levels in the target state machine are used to process different game logics in the target game application.
[0136] Specifically, the computer device can build a target state machine with a hierarchical structure for the platform virtual room in the business management platform according to the state division result, that is, a layered state machine. The state contraction can be completed through the target state machine with a hierarchical structure, and then the corresponding sub-states can be processed separately through the state machine of each layer; wherein, the target state machine can support the flow between game states in the target game application, and the states of different layers in the target state machine can be used to process different game logics in the target game application. After the target state machine is layered, the number of states in the platform virtual room is greatly reduced, see Fig. 9 , Fig. 9 Schematic diagram of the number of states of a hierarchical state machine provided in an embodiment of the present application. Fig. 9As shown, before stratification, assuming that the total number of states is 100, after stratification, the number of stratified states of the target state machine corresponding to the platform virtual room can be a value less than 10. For example, the target state machine corresponding to the platform virtual room in the business management platform may include the following states: waiting to start, started waiting for user preparation, ready waiting for user to create a game room, created game room waiting for user to enter the room, game game has started, result has been obtained, game result details are being obtained; the above states can be called baseline states in the business management platform, and the target state machine can flow between the above baseline states.
[0137] The game logic in the target game application can be developed on the above baseline state, and the corresponding game business logic can be implemented in different hierarchical states. In order to drive the state flow of the target state machine, a game event processing module can be introduced in the business management platform, which can be used to be responsible for event access in the target game application. For example, by implementing the following states in the target game application, the normal flow of the entire target state machine can be driven. These states may include: personnel changes in the game virtual room, destruction of the game virtual room, start of the game match, and end of the game match. The data of the target game application can be recorded in real time, but some data will not affect the state flow of the target state machine. The business management platform can maintain the latest state of the game match in real time; at the same time, real-time detection can be performed in the hierarchical state, and different game events and business logic can be processed in different states. The hierarchical states require the corresponding state layer to process the corresponding events and complete the distribution of the events, and then the corresponding business state layer can determine the state flow of the next layer.
[0138] It should be noted that the baseline state corresponding to the above-mentioned target state machine and the game state in the target game application access business management platform are all examples. The specific state type and number of states can be adjusted according to actual needs, and this application does not limit this.
[0139] Step S206: Create a game virtual room in the target game application through the target state machine, and add the target object to the game virtual room.
[0140] Step S207, updating the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state update.
[0141] Step S208, performing data synchronization processing on the platform virtual room according to the target state machine after the state update and the game progress data of the game virtual room, and obtaining the object game information of the target object in the game virtual room.
[0142] The present application embodiment is described by taking the target objects including the first camp and the second camp as an example. The specific implementation process of step S206 to step S208 can be found in Figure 3 Steps S102 to S104 in the corresponding embodiment, and Figures 5 to 7 The description of the corresponding embodiments will not be repeated here.
[0143] Step S209, obtaining a target recognition model that matches the object game information in the business management platform, inputting the object game information into the target recognition model, and outputting the authenticity identification result corresponding to the object game information through the target recognition model.
[0144] Specifically, in order to prevent users from looking for someone to play for them in a game match, or playing for them through illegal devices, after the computer device obtains the target game information of the target object (the first camp and the second camp) (the target game information at this time can be the camp game information), it can use the target recognition model to perform anti-proxy detection. For example, a target recognition model that matches the target game information can be obtained in the business management platform, and the target game information is input into the target recognition model, and the target recognition model outputs the authenticity identification result corresponding to the target game information. Among them, the target recognition model can be a neural network model or a convolutional neural network model. This application does not limit the structure and type of the target recognition model. The target recognition model is trained by extracting sample game data from the target state machine.
[0145] Optionally, the business management platform may include one or more recognition models. For the above-mentioned object game information, the computer device may select one or more target recognition models from the business management platform to perform anti-substitute detection on the object game information. In other words, the number of target recognition models may be N, where N is a positive integer. The computer device may obtain a recognition model set in the business management platform, and determine N target recognition models that match the object game information from the recognition model set according to the weight information and model type corresponding to each recognition model in the recognition model set; input the object game information into the N target recognition models respectively, and output N recognition results corresponding to the object game information through the N target recognition models, and determine the authenticity identification result corresponding to the object game information according to the N recognition results. The authenticity identification result may be a proxy detection result corresponding to each user in the first camp and the second camp, that is, the target recognition model may be used to determine whether each user in the first camp and the second camp is a proxy. As long as there is a user who is a proxy, the authenticity identification result corresponding to the above-mentioned object game information can be determined as a non-real result. If there is no proxy in the two camps, the authenticity identification result corresponding to the above-mentioned object game information can be determined as a real result.
[0146] Optionally, the above process of determining the authenticity identification result of the object game information based on N recognition results may include: the computer device may determine the proportion of the number of true results determined by the target recognition model among the N recognition results, and when the proportion is greater than a proportion threshold (the proportion threshold can be set according to actual needs, such as the proportion threshold can be set to 60%, etc.), it can be determined that the authenticity identification result corresponding to the object game information is a true result; when the proportion is less than or equal to the proportion threshold, it can be determined that the authenticity identification result corresponding to the object game information is a false result, that is, there may be proxy playing behavior in the first camp and the second camp. For example, N target recognition models include target recognition model A, target recognition model B, and target recognition model C. The recognition result obtained by target recognition model A after performing anti-substitute detection on the object game information is a true result, that is, target recognition model A determines the object game information as a true result; the recognition result obtained by target recognition model B after performing anti-substitute detection on the object game information is a false result, that is, target recognition model A determines the object game information as a substitute result; the recognition result obtained by target recognition model C after performing anti-substitute detection on the object game information is a true result, that is, target recognition model C determines the object game information as a true result. The number of true results contained in the N recognition results (N is 3 at this time) is 2, the number of false results is 1, and the ratio between the number of true results and the N recognition results is 2 / 3. Assuming that the ratio threshold is set to 60%, the authenticity identification result corresponding to the object game information can be determined as a true result.
[0147] Optionally, the above process of determining the authenticity identification result of the object game information based on N recognition results can also introduce manual intervention means. When the N recognition results are all true results, the authenticity identification result of the object game information can be directly determined to be a true result; when there is a false result among the N recognition results, the object game information is submitted to the manual review process in the business management platform, and manual intervention is performed to determine the authenticity identification result corresponding to the object game information. Selecting N target recognition models from the recognition model set as anti-substitute detection models can improve the detection accuracy of the object game information while ensuring the detection efficiency of the object game information.
[0148] See also Fig.10 , Fig.10 Schematic diagram of a target recognition model selection provided by an embodiment of the present application. Fig.10As shown, in the recognition model set of the business management platform, multiple recognition models such as model 1 to model 5 may be included. Each recognition model may have a different network structure. Each model corresponds to a unique model identifier, model name, and model weight (i.e., the weight information mentioned above). The number of times each recognition model is used to detect object game information will be recorded, as well as the number of times the detection results are credible, the number of times they are suspicious, and the creation time of the recognition model. Fig.10 As shown, in the process of anti-substitute detection of the target game information, the computer device selected Model 1 and Model 5 as the target recognition models in the business management platform based on the game type corresponding to the target game application and the model weights corresponding to each recognition model. At this time, the model status of Model 1 and Model 5 is "in effect", and the model status of the remaining models is "offline". Model 1 and Model 5 in the "in effect" state can perform anti-substitute detection on the target game information, while the model in the "offline" state cannot perform anti-substitute detection on the target game information.
[0149] Optionally, each recognition model in the recognition model set in the business management platform may have corresponding operation controls, such as a "modify weight" control, a "offline" control, a "copy" control, a "go online" control, etc. When a model (for example, model 1 and model 5) is in the "effective" state, the operation controls corresponding to the model may include a "modify weight" control, a "offline" control, and a "copy" control; when a model (for example, model 2, model 3, and model 4) is in the "offline" state, the operation controls corresponding to the model may include a "modify weight" control, a "go online" control, and a "copy" control; when a user performs a trigger operation on the "modify weight" control of model 1 and modifies the model weight of model 1 to 40, the computer device may respond to the trigger operation and update the model weight corresponding to model 1 to 40; when a user performs a trigger operation on the "go online" control of model 3, the computer device may respond to the trigger operation and update the model state corresponding to model 1 to the "effective" state; the "copy" control can be used to copy relevant information of the current recognition model.
[0150] Step S210, when the authenticity identification result is a true result, the object game information is determined as a valid result between the first camp and the second camp, and the valid result is displayed in the business management platform; when the authenticity identification result is an untrue result, invalid result prompt information for the first camp and the second camp is generated according to the object game information, and the invalid result prompt information is displayed in the business management platform.
[0151] Specifically, after obtaining the authenticity identification result corresponding to the object game information, when the authenticity identification result is a true result, it indicates that there are no users in the first camp and the second camp who are playing on behalf of others, that is, the game results are obtained by their own real strength. The object game information can be determined as a valid result between the first camp and the second camp, and the valid result is displayed in the business management platform; when the authenticity identification result is an untrue result, it indicates that there are users in the first camp and the second camp who are playing on behalf of others, and the object game information is invalidated. Invalid result prompt information for the first camp and the second camp is generated according to the object game information, and the invalid result prompt information is displayed in the business management platform.
[0152] It should be noted that the recognition models in the above recognition model set all need to be trained before use. The recognition models in the recognition model set can be centrally trained using the same sample data. The following takes the training process of any recognition model in the recognition model set as an example for explanation. The computer device can obtain sample game data (also referred to as sample game data) in a sample game room in a game application, annotate the sample game data, and obtain label information corresponding to the sample game data, such as marking the sample game data as positive and negative samples, where the positive sample is the user's real sample game data and the negative sample is the sample game data generated by proxy; the sample game data can then be input into the initial recognition model, and the predicted identification result corresponding to the sample game data can be output by the initial recognition model. According to the label information and the predicted identification result, the network parameters of the initial recognition model are corrected to generate a target recognition model, and the target recognition model is published in the business management platform.
[0153] Wherein, after obtaining the predicted identification result corresponding to the sample game data, the computer device can obtain the predicted distance between the label information and the predicted identification result, and the loss function corresponding to the initial recognition model can be determined according to the predicted distance. By optimizing the loss function, the network parameters of the initial recognition model are corrected, and the initial recognition model containing the corrected network parameters is determined as the target recognition model. Wherein, the label information can be considered as the expected detection result corresponding to the sample game data, and the predicted identification result is the actual detection result detected by the initial recognition model. The above-mentioned predicted distance can be considered as the difference between the actual detection result and the expected detection result. The predicted distance can be Euclidean distance, Manhattan distance, Chebyshev distance, Minkowski distance, Mahalanobis distance, etc., and the present application does not limit the calculation method of the predicted distance. Optionally, the loss function of the initial recognition model can also be other forms, such as square loss function, exponential loss function, etc., and the present application does not limit the loss function of the initial recognition model.
[0154] In one or more embodiments, the Euclidean distance is used as an example for illustration. The training process of the target recognition model can be performed in TensorFlow (an end-to-end open source machine learning platform). Of course, it can also be trained in other machine learning platforms, and this application does not limit this. The Euclidean distance between the label information and the predicted identification result can be used as the loss function of the initial recognition model. Based on the loss function determined by the Euclidean distance, the calculation method for back propagation of the initial recognition model can be shown in the following formula (1):
[0155]
[0156] in, It can be expressed as the loss function of the jth recognition model. The sample game data can be expressed as (X, Y), where X is the sample game data itself and Y is the label information corresponding to the sample game data. It can be expressed as the predicted identification result output by the nth network layer of the i-th recognition model.
[0157] See also Fig.11 , Fig.11is a schematic diagram of a gradient descent provided by an embodiment of the present application. In order to better fit the sample game data, a fast settling process can be performed when executing the gradient descent, and a stochastic gradient descent can be performed. When executing the stochastic gradient descent, the first position can be randomly set at any position, such as Fig.11 The initial point shown is iterated each time in the direction of the greatest descent, so that the minimum value is found the fastest. The process of stochastic gradient descent can be understood as the process of finding the minimum value.
[0158] In one or more embodiments, the initial recognition model may include an input layer, an output layer, and multiple hidden layers (e.g., 3). The initial recognition model may also introduce an activation function (e.g., a sigmoid function) so that the initial recognition model can support proxy classification in a nonlinear state. The sigmoid function may be as shown in the following formula (2):
[0159]
[0160] After being processed by the activation function, the trained target recognition model can handle nonlinear problems very accurately. When encountering nonlinear problems, the trained target recognition model still has strong anti-substitute detection capabilities.
[0161] Optionally, the sample game data used to train the initial recognition model may include opponent's game data, teammate's game data, teammate's historical data, opponent's historical data, etc., which enhances the coverage of model input data and increases the difficulty of cheating by users during game play. After training the target recognition model, the subsequent computer device can input the object game information into the target recognition model after obtaining it from the game virtual room of the target game application. Through the forward calculation of the target recognition model, the detection result of the object game information can be obtained, or it can be considered as the proxy detection result corresponding to each user in the game, which can improve the accuracy of anti-proxy detection.
[0162] See also Fig.12 , Fig.12 is a training diagram of a recognition model provided in an embodiment of the present application. Fig.12As shown, the training process of the recognition model may include calculation, calibration, training, self-checking and configuration processes. Among them, in the business management platform, the game data (also referred to as game data) generated by each game match can be used as sample game data, and the sample game data is marked as positive and negative samples, and the sample game data marked as positive and negative samples (i.e., with label information) is added to the sample library. The sample game data in the sample library is used to train the initial recognition model, that is, the sample game data is input into the initial recognition model (also referred to as the candidate model), and the sample game data is forward calculated (calculated) in the initial recognition model to obtain the predicted identification result of the sample game data; the network parameters of the initial recognition model are trained by predicting the distance between the identification result and the label information. After the training is completed, the trained initial recognition model can also be self-checked, such as error value verification, accuracy verification, test sample verification, etc. The trained initial recognition model can be improved through model self-checking to obtain the final trained recognition model, and the recognition model is added to the model library (such as the above-mentioned recognition model set), and the recognition model can be published in the business management platform.
[0163] The recognition models in the model library can all be used to perform anti-substitute detection, and each recognition model added to the model library can undertake a part of the anti-substitute detection tasks in the business management platform. After the business management platform pulls the target game information from the game virtual room, it can match the user's profile in the game virtual room, find the target recognition model that matches the target game information from the model library, and distribute the model traffic for the target recognition model, that is, configure the detection task for the target recognition model; the target recognition model can report the authenticity identification result (also called the authentication result) of the target game information to the business management platform, and the business management platform can add the reported authenticity identification result to the sample library. Optionally, for the acquired sample game data, business data calibration, manual data calibration and other operations can also be performed on it, and the calibrated data can be added to the sample library, so that the sample library can be continuously updated, and the updated sample library is more conducive to training a better recognition model. Among them, when the authenticity identification result after performing business data calibration, manual data calibration and other operations is inconsistent with the authenticity identification result output by the target recognition model, the authenticity identification result output by the aforementioned target recognition model can be updated, and after the updated authenticity identification result is added to the sample library, an updated sample library can be obtained; the above-mentioned user portrait matching operations, business data calibration, manual data calibration, reporting of authenticity identification results and other operations can all be performed by the background, and the background here can also be called a privileged background, which can refer to a background with permissions such as user portrait matching, business data calibration, manual data calibration, reporting of authenticity identification results, etc.
[0164] See also Fig.13 , Fig.13 1 is a timing diagram of synchronization object game information in a business management platform provided by an embodiment of the present application. Fig.13 As shown, taking the business management platform as a multi-game event platform as an example, the business processing flow in the business management platform is described. The multi-game event platform can provide an event system with the ability to automatically advance the schedule throughout the entire process. The business processing flow in the business management platform can be realized through the game between the event system, the game system, the hierarchical state machine, the game side background, and the anti-substitute system; wherein the event system and the game system can be systems with different functions, or they can be merged into the same system; the hierarchical state machine can be a component in the game system or the event system, that is, a hierarchical state machine can be constructed in the event system or the event system; the anti-substitute system can be a system independent of the game system or the event system, or it can be a component in the game system or the event system; this application does not limit the architectural composition between the event system, the game system, the hierarchical state machine, and the anti-substitute system. The game side background can be the background server corresponding to the game application, and the event system or the game system in this application is independent of the game application. The business processing flow in the business management platform may include the following steps S301-step S321:
[0165] S301, register for competitions, form teams (camps), and register captains for competitions. A single user can log in to the competition registration activity in the competition system, fill in the competition information in the competition system to complete personal registration; users can also form teams in the competition system. When the number of participating members in the team reaches the number of members required by the game competition, it means that the user has completed the formation of the team, that is, a team can be composed of one or more users; when the number of participating members in a team is less than the number of members required by the game competition, the team cannot be successfully formed. In the successfully formed team, a participating member can be selected as the captain, and the captain can register for the game competition on behalf of the entire team, that is, in the game competition, users participate in the game competition as a team.
[0166] It is understandable that the game events in the event system may include events for different games, so different teams can choose to register for a certain game event based on their own circumstances, that is, different teams can register for the same game event in the event system, or they can register for different game events in the event system. This application does not limit this.
[0167] S302, the execution side confirms the presence. After the captain completes the team registration in the event system, the event system can choose to start the game event and complete the confirmation of all the names participating in the game event, such as detecting whether the members of the team participating in the game event registration are already on site. Here, "on site" can be understood as the user's account information in the event system is logged in. If a team has members who are not on site, it can be determined that the team cannot participate in the subsequent game events and is deemed to have automatically given up; if all members of the team are on site, it is confirmed that the team can participate in the game event normally.
[0168] S303, the execution side performs grouping. The system completes the matching of opponents for each team. The execution side here may refer to a computer device running the business management platform. For teams that have successfully registered for the game event, the computer device may group them according to the event rules in the event system and complete the matching of opponents for each team, that is, assigning a game camp to each team.
[0169] S304, creating a game. The computer device confirms that the opposing teams start a game, and the event system can create a game for the two teams (such as the first camp and the second camp, i.e., the target objects) in the game system, i.e., create a platform virtual room.
[0170] S305, game information initialization, state machine construction: The game system can perform information initialization processing on the platform virtual room and construct a target state machine that supports game state flow.
[0171] S306, the state machine flows to "waiting for user preparation". After the target state machine is created, the state of the target state machine automatically flows to the "waiting for user preparation" state.
[0172] S307, the user performs preparation. The game system receives the user's preparation operation, and when the users of both teams have completed their preparation, the target state machine is driven to flow to the "create game virtual room" state.
[0173] S308, the captain creates a room. Triggered by a user click, the target state machine can create a game virtual room in the target game application through a public protocol. After the room is successfully created, the target state machine is driven to flow to the "enter game virtual room" state.
[0174] S309, personnel changes in the game room. When the target state machine is in the "entering the game virtual room" state, the target state machine can receive a callback of the state change of the game virtual room in the target game application, and perform real-time synchronization of user information in the platform virtual room.
[0175] S310, start. When the game virtual room in the target game application triggers the game start state (ie, game start information), the target state machine can be driven to flow to the "in-game" state.
[0176] S311, game room destruction. If the game virtual room does not trigger the game start information, but triggers the room destruction signal, the target state machine at this time can flow to the "create game virtual room" state.
[0177] S312, continue to read the results. When the target state machine is in the "in-game" state, the game system continues to read the game results in the game virtual room.
[0178] S313, battle record reading, driving the state machine state flow. After the game virtual room in the target game application triggers the "game end" signal (i.e., game end information), the state of the target state machine can flow to the "battle record reading" state (also called the "game result reading" state).
[0179] S314, the game record is read successfully. When the game system reads the game result in the game virtual room, it records the user result, drives the target state machine to flow to the game end state, and flows the result.
[0180] S315, driving the status of the competition system. The competition system advances the process of the competition system according to the game results in the virtual room of the game, completes the flow of the competition status, and achieves the maximum degree of automated operation.
[0181] S316, record detailed game data. After obtaining the game data of the camps corresponding to the two teams, the game system can record the detailed game data of the user, including the equipment used, role, kills, assists and other data, as well as the data of teammates and opponents.
[0182] S317, constructing data samples. The game system can store the recorded data into a sample library.
[0183] S318, construct an anti-substitute neural network (also called a recognition model), use the data in the sample library as the input of the anti-substitute neural network, and use the label of whether it is a substitute as the output of the anti-substitute neural network for training.
[0184] S319, the model is automatically launched. After the anti-substitute neural network is trained, that is, the recognition model is trained, the recognition model can be automatically launched online in the event system. It should be noted that steps S317 to S319 are the training process for the anti-substitute neural network. Before using the neural network for anti-substitute detection, it can be pre-trained. The trained neural network can be used for anti-substitute detection after it is launched.
[0185] S320, obtaining the game result and extracting the game data. When the user subsequently participates in the game, the camp game information in the game (ie, the above-mentioned object game information) can be obtained.
[0186] S321, result determination. The camp game information is input into the trained neural network for operation, and it is determined whether the users in the two teams are substitute players, and the substitute player determination is performed to obtain the authenticity identification result of the camp game information.
[0187] See also Fig.14 , Fig.14 This is a schematic diagram of the management process of the recognition model in a business management platform provided by an embodiment of the present application. In order to ensure that the business management platform can switch between different recognition models safely and stably, the business management platform can have verification, management, publishing, data collection, routing functions, etc., to achieve effective management and safe switching of each recognition model. Fig.14 As shown, the management process of the network model can be implemented through steps S401 to S408.
[0188] S401, sample collection. The computer device may collect sample game data, mark the sample game data as positive and negative samples, and add the marked sample game data to a sample library.
[0189] S402, model training. The initial recognition model is trained using the sample game data and label information collected by the sample library. The specific implementation process of the training can be found in Figure 8 The S210 in the figure will not be described in detail here.
[0190] S403, model self-check. The model self-check may include error value check, accuracy check, and test sample check. If the model self-check passes, the subsequent step S404 is continued; if the model self-check fails, the recognition model is discarded. Model self-check can improve the anti-substitution detection capability of the recognition model.
[0191] S404, model publishing. The recognition model after model self-checking can be automatically published on the business management platform, such as automatically going online on the business management platform.
[0192] S405, model routing. Model routing is the main module that ensures the stable operation of the business management platform and can dynamically adjust the online anti-substitute detection capabilities; model routing can refer to the selection of recognition models, such as finding a target recognition model that matches the object game information from a set of recognition models. The determination process of the target recognition model is determined by model routing.
[0193] S406, providing computing services. After the target recognition model is determined through model routing, the authenticity identification result of the object game information is output through the computing service provided by the target recognition model. Then, it can be determined whether manual intervention is required based on the authenticity identification result output by the target recognition model. If manual intervention is required, continue to step S407; if manual intervention is not required, continue to step S408.
[0194] S407, giving a manual authentication result. When manual intervention is required, a final manual authentication result is given through manual review, which can also be called a manual identification result. The manual authentication result can be used to correct the sample game data in the sample library.
[0195] S408: Give the authentication result. When no human intervention is required, the final authentication result is given by the authenticity identification result output by the target recognition model.
[0196] Among them, different recognition models can have different anti-substitute detection capabilities. These recognition models can be uniformly managed in the business management platform. By continuously adjusting the model weights corresponding to the recognition models, the business management platform can achieve the ability to dynamically adjust the recognition characteristics of the online recognition model. At the same time, when a new recognition model is released in the business management platform, the business management platform can be rolled back at certain necessary moments, allowing the online business management platform to be seamlessly upgraded with security guarantees, which can improve the upgrade efficiency of the business management platform and improve the versatility of the business management platform.
[0197] Optionally, the recognition model set in the present application may belong to a business management platform, and all recognition models in the recognition model set may be managed by the business management platform; or, the recognition model may be stored in a model management system outside the business management platform, that is, the business management platform may have the authority to use the recognition model, but does not have the authority to manage the recognition model. Instead, the recognition models in the recognition model set are managed by the model management system.
[0198] It should be noted that the computer device in the embodiment of the present application may display a prompt interface or pop-up window when acquiring the user's personal registration information, camp match information (i.e., target game information), game progress information and other data. The prompt interface or pop-up window is used to prompt the user that personal registration information, camp match information, or game progress information and other data are currently being collected. Only after the user issues a confirmation operation on the prompt interface or pop-up window, the relevant steps for data acquisition are started, otherwise the process ends.
[0199] In an embodiment of the present application, one or more game applications can be connected to the business platform data. When the first camp and the second camp are matched as game camps, that is, a platform virtual room is created, the objects in the first camp and the second camp can be added to the same game virtual room of the target game application by creating a target state machine corresponding to the platform virtual room, and data synchronization between the platform virtual room and the game virtual room can be achieved through the target state machine. The synchronization processing process can avoid the tedious operation of manually entering information and improve the synchronization processing efficiency of the object game information; through one or more target recognition models, the object game information is detected to prevent proxy playing, which can improve the detection accuracy of the object game information and ensure the fairness of game events in the business management platform; the business management platform can support event games of multiple game applications, improve the versatility of the business management system, and reduce the manpower and cost in event execution.
[0200] See also Fig.15 , Fig.15 This is a schematic diagram of the structure of a data display device provided in an embodiment of the present application. Fig.15 As shown, the data display device 1 may include: a state machine creation module 11, a game room creation module 12, a state machine update module 13, and a data synchronization processing module 14;
[0201] The state machine creation module 11 is used to create a platform virtual room containing a target object in the business management platform, and to create a target state machine for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in the target game application;
[0202] A game room creation module 12, used to create a game virtual room in a target game application through a target state machine, and add a target object to the game virtual room;
[0203] The state machine updating module 13 is used to update the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state is updated;
[0204] The data synchronization processing module 14 is used to perform data synchronization processing on the platform virtual room according to the target state machine after the state update and the game progress data of the game virtual room, and obtain the object game information of the target object in the game virtual room.
[0205] The specific functional implementation of the state machine creation module 11, the game room creation module 12, the state machine update module 13, and the data synchronization processing module 14 can be found in Figure 3 Steps S101 to S104 in the corresponding embodiment will not be described in detail here.
[0206] In one or more embodiments, the target object includes M camps, where M is a positive integer. The data display device 1 may further include: a camp formation module 15, a game application module 16;
[0207] A camp formation module 15 is used to respond to the camp formation operation in the business management platform and form the registered objects in the business management platform into M camps; the M camps are all associated with the target game application;
[0208] The game application module 16 is used to respond to the game application operation in the business management platform and determine the M camps in the business management platform as the game camps in the target game application.
[0209] Optionally, the camp formation operation includes a formation sub-operation;
[0210] The camp formation module 15 includes: an object acquisition unit 151, a formation success unit 152, and a formation failure unit 153;
[0211] The object acquisition unit 151 is used to respond to the build sub-operation in the business management platform and acquire one or more registered objects determined by the build sub-operation in the business management platform;
[0212] The formation success unit 152 is used to form one or more registered objects into an i-th camp when the status of one or more registered objects in the management platform are all logged in; the i-th camp belongs to M camps, and i is a positive integer less than or equal to M;
[0213] The establishment failure unit 153 is used to generate an establishment failure prompt message in the business management platform when the status of one or more registered objects in the business management platform is not logged in.
[0214] The specific functional implementation of the camp formation module 15, the game application module 16, the object acquisition unit 151, the formation success unit 152, and the formation failure unit 153 can be found in Figure 8 Steps S201 and S202 in the corresponding embodiment will not be described in detail here.
[0215] In one or more embodiments, the state machine creation module 11 includes: a state acquisition unit 111, a state division unit 112, and a hierarchical state machine creation unit 113;
[0216] The state acquisition unit 111 is used to acquire K platform states in the business management platform and acquire L game states matching the target game application; K and L are both positive integers;
[0217] A state division unit 112, used to divide the K platform states and the L game states according to the state paths between the K platform states and the L game states to obtain a state division result;
[0218] The hierarchical state machine creation unit 113 is used to create a target state machine with a hierarchical structure in the business management platform according to the state division result; the states of different hierarchies in the target state machine are used to process different game logics in the target game application.
[0219] The specific functional implementation of the state acquisition unit 111, the state division unit 112, and the hierarchical state machine creation unit 113 can be found in Figure 8 Steps S203 to S205 in the corresponding embodiment will not be described in detail here.
[0220] In one or more embodiments, the game progress data includes room destruction information;
[0221] The state machine update module 13 includes: a destruction information acquisition unit 131, a first state transfer unit 132;
[0222] A destruction information acquisition unit 131 is used to acquire room destruction information corresponding to the game virtual room containing the target object when the game virtual room is destroyed;
[0223] The first state transfer unit 132 is used to update the state of the target state machine according to the room destruction information, and determine that the state of the target state machine after the state update is a virtual room creation state; the virtual room creation state is used to indicate the re-creation of a new game virtual room in the target game application.
[0224] The data display device 1 may further include: a duration acquisition module 17, a duration determination module 18;
[0225] The duration acquisition module 17 is used to obtain the duration information of the state of the target state machine after the state update being in the virtual room creation state;
[0226] The duration determination module 18 is used to update the state of the target state machine after the state is updated from the virtual room creation state to the game preparation state when the duration information reaches the duration threshold.
[0227] In one or more embodiments, the game progress data includes game start information;
[0228] The state machine update module 13 includes: a start information acquisition unit 133, a second state transfer unit 134;
[0229] A start information acquisition unit 133, used to acquire game start information corresponding to a target object in the game virtual room when a game start state of the game virtual room is triggered;
[0230] The second state transfer unit 134 is used to update the state of the target state machine according to the game start information, and determine that the state of the target state machine after the state update is the game started state; the game started state is used to obtain the object game information of the target object in the game virtual room during the game process.
[0231] In one or more embodiments, the game progress data includes game ending information;
[0232] The state machine update module includes: an end information acquisition unit 135, a third state flow unit 136;
[0233] The end information acquisition unit 135 is used to acquire the game end information corresponding to the target object in the game virtual room when the game end state of the game virtual room is triggered;
[0234] The third state transfer unit 136 is used to update the state of the target state machine according to the game end information, and determine that the state of the target state machine after the state update is the result reading state; the result reading state is used to obtain the object game information of the target object in the game virtual room at the end of the game.
[0235] The specific functional implementation of the destruction information acquisition unit 131, the first state transfer unit 132, the start information acquisition unit 133, the second state transfer unit 134, the end information acquisition unit 135, the third state transfer unit 136, the duration acquisition module 17, and the duration determination module 18 can be found in Figures 5 to 7 The description in the corresponding embodiment will not be repeated here.
[0236] In one or more embodiments, the data display device 1 may further include: an information identification module 19, a result display module 20;
[0237] The information identification module 19 is used to obtain a target recognition model matching the object game information in the business management platform, input the object game information into the target recognition model, and output the authenticity identification result corresponding to the object game information through the target recognition model;
[0238] The result display module 20 is used to determine the object game information as a valid result of the target object when the authenticity identification result is a true result, and display the valid result in the business management platform;
[0239] The above-mentioned result display module 20 is also used to generate invalid result prompt information for the target object according to the object game information when the authenticity identification result is an untrue result, and display the invalid result prompt information in the business management platform.
[0240] Optionally, the number of target recognition models is N, where N is a positive integer;
[0241] The information identification module 19 includes: a model selection unit 191, a result determination unit 192;
[0242] The model selection unit 191 is used to obtain a recognition model set in the business management platform, and determine N target recognition models that match the object game information from the recognition model set according to the weight information and model type corresponding to each recognition model in the recognition model set;
[0243] The result determination unit 192 is used to input the object game information into N target recognition models respectively, output N recognition results corresponding to the object game information through the N target recognition models, and determine the authenticity identification result corresponding to the object game information according to the N recognition results.
[0244] In one or more embodiments, the data display device 1 may further include: a sample acquisition module 21, a prediction result output module 22, and a model training module 23;
[0245] The sample acquisition module 21 is used to acquire sample game data in a sample game room in a game application, mark the sample game data, and obtain label information corresponding to the sample game data;
[0246] The prediction result output module 22 is used to input the sample game data into the initial recognition model and output the prediction identification result corresponding to the sample game data through the initial recognition model;
[0247] The model training module 23 is used to modify the network parameters of the initial recognition model according to the label information and the predicted identification results, generate a target recognition model, and publish the target recognition model in the business management platform.
[0248] Optionally, the model training module 23 includes: a loss function determination unit 231, a parameter correction unit 132;
[0249] A loss function determination unit 231 is used to obtain a predicted distance between the label information and the predicted identification result, and determine a loss function corresponding to the initial recognition model according to the predicted distance;
[0250] The parameter correction unit 132 is used to correct the network parameters of the initial recognition model by optimizing the loss function, and determine the initial recognition model including the corrected network parameters as the target recognition model.
[0251] Among them, the specific functional implementation of the information identification module 19, the result display module 20, the sample acquisition module 21, the prediction result output module 22, the model training module 23, and the model selection unit 191, the result determination unit 192, the loss function determination unit 231, and the parameter correction unit 132 can be found in Figure 8 Steps S209 and S210 in the corresponding embodiment will not be described in detail here.
[0252] In an embodiment of the present application, one or more game applications can be connected to the business platform data. When the first camp and the second camp are matched as game camps, that is, a platform virtual room is created, the objects in the first camp and the second camp can be added to the same game virtual room of the target game application by creating a target state machine corresponding to the platform virtual room, and data synchronization between the platform virtual room and the game virtual room can be achieved through the target state machine. The synchronization processing process can avoid the tedious operation of manually entering information and improve the synchronization processing efficiency of the object game information; through one or more target recognition models, the object game information is detected to prevent proxy playing, which can improve the detection accuracy of the object game information and ensure the fairness of game events in the business management platform; the business management platform can support event games of multiple game applications, improve the versatility of the business management system, and reduce the manpower and cost in event execution.
[0253] For further information, see Fig.16 , Fig.16 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.16 As shown, the computer device 1000 can be a user terminal or a server, which will not be limited here. For ease of understanding, this application takes the computer device as a user terminal as an example. The computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As Fig.16As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0254] The network interface 1004 in the computer device 1000 can also provide a network communication function, and the optional user interface 1003 can also include a display screen (Display) and a keyboard (Keyboard). Fig.16 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0255] A platform virtual room including a target object is created in the business management platform, and a target state machine is created for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in the target game application;
[0256] Create a game virtual room in the target game application through the target state machine, and add the target object to the game virtual room;
[0257] According to the game progress data of the target object in the game virtual room, the state of the target state machine is updated to obtain the target state machine after the state update;
[0258] According to the updated target state machine and the game progress data of the game virtual room, the platform virtual room is synchronized to obtain the object game information of the target object in the game virtual room.
[0259] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 3 , Figure 8 The description of the data display method in any corresponding embodiment can also be performed as described above. Fig.15 The description of the data display device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0260] In addition, it should be pointed out that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the data display device 1 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 3 , Figure 8The description of the data display method in any corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, program instructions can be deployed on a computing device for execution, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network. Multiple computing devices distributed at multiple locations and interconnected by a communication network can constitute a blockchain system.
[0261] In addition, it should be noted that: the embodiment of the present application also provides a computer program product or a computer program, which may include computer instructions, and the computer instructions may be stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor may execute the computer instructions, so that the computer device executes the above Figure 3 , Figure 8 The description of the data display method in any corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer program product or computer program embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0262] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0263] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0264] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0265] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0266] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data display method, characterized in that: include: Creating a platform virtual room containing a target object in a business management platform, and creating a target state machine for the platform virtual room; the target state machine is used to execute the flow between game states of the target object in a target game application; Creating a game virtual room in the target game application by using the target state machine, and adding the target object to the game virtual room; According to the game progress data of the target object in the game virtual room, the state of the target state machine is updated to obtain the target state machine after the state update; the game progress data refers to data used to describe the match progress of the target object in the game virtual room; According to the target state machine after the state update and the game progress data of the game virtual room, the platform virtual room is synchronized to obtain the object game information of the target object in the game virtual room; the object game information refers to the game data of the target object during the game game process in the game virtual room.
2. The method according to claim 1, characterized in that The target objects include M camps, where M is a positive integer; The method further comprises: In response to a camp formation operation in the business management platform, the registered objects in the business management platform are formed into M camps; the M camps are all associated with the target game application; In response to a game application operation in the business management platform, the M camps in the business management platform are determined as game camps in the target game application.
3. The method according to claim 2, characterized in that The camp formation operation includes formation sub-operation; The responding to the camp formation operation in the business management platform to form M camps of registered objects in the business management platform includes: In response to the build sub-operation in the business management platform, obtaining one or more registered objects determined by the build sub-operation in the business management platform; When the status of the one or more registered objects in the management platform are all logged in, the one or more registered objects are organized into an i-th camp; the i-th camp belongs to the M camps, i is a positive integer less than or equal to M; When there is a registered object among the one or more registered objects whose status in the business management platform is not logged in, a formation failure prompt message is generated in the business management platform.
4. The method according to claim 1, characterized in that The step of creating a target state machine for the platform virtual room includes: Obtain K platform states in the business management platform, and obtain L game states matching the target game application; K and L are both positive integers; According to the state paths between the K platform states and the L game states, the K platform states and the L game states are divided to obtain a state division result; According to the state division result, a target state machine with a hierarchical structure is created in the business management platform; states of different hierarchies in the target state machine are used to process different game logics in the target game application.
5. The method according to claim 1, characterized in that The game progress data includes room destruction information; The step of updating the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state update includes: When the game virtual room is destroyed, obtaining room destruction information corresponding to the game virtual room containing the target object; The target state machine is updated according to the room destruction information, and the state of the target state machine after the state update is determined to be a virtual room creation state; the virtual room creation state is used to indicate the creation of a new game virtual room in the target game application.
6. The method according to claim 5, characterized in that Also includes: Acquire the duration information of the state of the target state machine after the state update being in the virtual room creation state; When the duration information reaches a duration threshold, the state of the target state machine after the state update is updated from the virtual room creation state to the game preparation state.
7. The method according to claim 1, characterized in that The game progress data includes game start information; The step of updating the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state update includes: When the game start state of the game virtual room is triggered, obtaining game start information corresponding to the target object in the game virtual room; The target state machine is updated according to the game start information, and the state of the target state machine after the state update is determined to be a game started state; the game started state is used to obtain object game information of the target object in the game virtual room during the game process.
8. The method according to claim 1, characterized in that: The game progress data includes game end information; The step of updating the state of the target state machine according to the game progress data of the target object in the game virtual room to obtain the target state machine after the state update includes: When the game end state of the game virtual room is triggered, obtaining game end information corresponding to the target object in the game virtual room; The target state machine is updated according to the game end information, and the state of the target state machine after the state update is determined to be a result reading state; the result reading state is used to obtain the object game information of the target object in the game virtual room at the end of the game.
9. The method according to claim 1, characterized in that: Also includes: Obtaining a target recognition model matching the object game information in the business management platform, inputting the object game information into the target recognition model, and outputting the authenticity identification result corresponding to the object game information through the target recognition model; When the authenticity identification result is a true result, the object game information is determined as a valid result of the target object, and the valid result is displayed in the business management platform; When the authenticity identification result is an untrue result, invalid result prompt information is generated for the target object according to the object game information, and the invalid result prompt information is displayed in the business management platform.
10. The method according to claim 9, characterized in that The number of the target recognition models is N, where N is a positive integer; The step of obtaining a target recognition model matching the object game information in the business management platform, inputting the object game information into the target recognition model, and outputting the authenticity identification result corresponding to the object game information through the target recognition model includes: Obtaining a recognition model set in the business management platform, and determining N target recognition models that match the object game information from the recognition model set according to weight information and model type corresponding to each recognition model in the recognition model set; The object game information is respectively input into the N target recognition models, and N recognition results corresponding to the object game information are output through the N target recognition models. The authenticity identification result corresponding to the object game information is determined according to the N recognition results.
11. The method according to claim 9, characterized in that Also includes: Acquire sample game data in a sample game room in the game application, label the sample game data, and obtain label information corresponding to the sample game data; Inputting the sample game data into an initial recognition model, and outputting a prediction identification result corresponding to the sample game data through the initial recognition model; According to the tag information and the predicted identification result, the network parameters of the initial recognition model are modified to generate the target recognition model, and the target recognition model is published in the business management platform.
12. The method according to claim 11, characterized in that The method of modifying the network parameters of the initial recognition model according to the label information and the predicted identification result to generate the target recognition model includes: Obtaining a predicted distance between the label information and the predicted identification result, and determining a loss function corresponding to the initial recognition model according to the predicted distance; The network parameters of the initial recognition model are corrected by optimizing the loss function, and the initial recognition model including the corrected network parameters is determined as the target recognition model.
13. A data display device, characterized in that: Also includes: A state machine creation module, used to create a platform virtual room containing a target object in the business management platform, and to create a target state machine for the platform virtual room; The target state machine is used to execute the flow of the target object between game states in the target game application; A game room creation module, used to create a game virtual room in the target game application through the target state machine, and add the target object to the game virtual room; A state machine update module, used to update the state of the target state machine according to the game progress data of the target object in the game virtual room, so as to obtain the target state machine after the state update; the game progress data refers to data used to describe the match progress of the target object in the game virtual room; A data synchronization processing module is used to perform data synchronization processing on the platform virtual room according to the target state machine after the state update and the game progress data of the game virtual room, and obtain the object game information of the target object in the game virtual room; the object game information refers to the game data of the target object during the game game process in the game virtual room.
14. A computer device, characterized in that: including memory and processor; The memory is connected to the processor, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The method comprises computer instructions, which implement the method according to any one of claims 1 to 12 when executed by a processor.
