A method and device for triggering linkage of a secret chamber mechanism, a terminal and a storage medium

By using a strategy tree to control the behavior of game devices in escape room games, the problem of rapid iteration and upgrading of existing escape room game systems is solved, achieving the effect of rapid adjustment and upgrading.

CN114797111BActive Publication Date: 2025-11-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210436001.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2025-11-25
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

Existing escape room game systems are difficult to iterate, upgrade, and adjust quickly, requiring professional personnel to carry out system iteration and upgrades, which makes it impossible to quickly implement functional adjustments.

Method used

By using a strategy tree to trigger the linkage of mechanisms in the escape room, the strategy tree corresponding to the game level is determined, game information is obtained, and the behavior of game devices is controlled based on logical relationships. The materials and control logic are decoupled to enable rapid adjustment and upgrades.

Benefits of technology

It enables rapid adjustment and upgrading of escape room games, allowing non-professionals to copy themes and upgrade systems, and has the capability for batch hot updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114797111B_ABST
    Figure CN114797111B_ABST
Patent Text Reader

Abstract

The application discloses a linkage triggering method and device of a secret room machine, a terminal and a storage medium. The method comprises the following steps: determining a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used for providing a logical relationship between device behaviors of a game device in a secret room space under a game level pass logic; acquiring game information of a game device of the current game level; determining a first device behavior triggered in response to the game information based on a logical relationship between the game information and the device behaviors in the target strategy tree, and a target game device for executing the first device behavior; and controlling the target game device to execute the first device behavior. The game control logic is implemented through the strategy tree, and rapid adjustment and upgrading of the secret room game can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, in particular to a linkage triggering method and device of a secret room mechanism, a terminal and a storage medium. BACKGROUND

[0002] Currently, secret room games of different themes are very popular among young players, and as the game matures, players have higher requirements for the quality and iteration of the game. Currently, the control logic of the mainstream secret room theme on the market is implemented based on code in the central control system. To adjust the corresponding function, professional personnel need to upgrade the system, which makes it difficult to quickly upgrade the integrated system.

[0003] Therefore, the prior art needs to be improved. SUMMARY

[0004] The embodiments of the present application provide a linkage triggering method and device of a secret room mechanism, a terminal and a storage medium, which implement the trigger control association logic through a strategy tree, and can realize the rapid adjustment and upgrade of the secret room.

[0005] The embodiments of the present application provide a linkage triggering method of a secret room mechanism, comprising:

[0006] determining a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of game devices in a secret room space under the game level pass logic;

[0007] obtaining game information of the game devices of the current game level;

[0008] determining a first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and a target game device executing the first device behavior;

[0009] controlling the target game device to execute the first device behavior.

[0010] In an optional embodiment, the strategy tree comprises a root node, a branch node connected to the root node, and a plurality of leaf nodes under the branch node, one leaf node is configured with behavior control information of one device behavior, and the branch node is configured with a behavior execution sequence of the leaf nodes under the game level pass logic.

[0011] In an optional embodiment, the determination of the first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and the target game device executing the first device behavior, comprises:

[0012] determining a second leaf node to which the game information corresponds, determining an execution result of the second leaf node based on behavior control information of the second leaf node and the game information;

[0013] determining a first leaf node to be executed next according to an execution order of leaf nodes under the branch node and the execution result of the second leaf node;

[0014] determining the first device behavior based on behavior control information of the first leaf node, and executing the target game device to execute the first device behavior.

[0015] In an optional embodiment, the leaf node comprises a configuration node configured to configure corresponding device behavior state information based on behavior control information of the leaf node.

[0016] In an optional embodiment, the branch node is configured with an execution result requirement of a leaf node under game level pass logic, and the method further comprises:

[0017] obtaining an execution result of each leaf node corresponding to the branch node;

[0018] if the execution result meets the corresponding execution result requirement, determining that a game level corresponding to the branch node is passed.

[0019] In an optional embodiment, the method further comprises:

[0020] obtaining control information sent by a control terminal of the target secret room game;

[0021] determining a second device behavior triggered based on the control information, and executing the second game device to execute the second device behavior;

[0022] controlling the second game device to execute the second device behavior.

[0023] In an optional embodiment, the type of the device behavior comprises a material display behavior, and the strategy tree comprises indication information of materials required to be displayed under each material display behavior;

[0024] if the first device behavior is a material display behavior, the controlling the target game device to execute the first device behavior comprises:

[0025] obtaining the materials required to be displayed from a material storage module based on the indication information;

[0026] controlling the target game device to execute the material display behavior.

[0027] In an optional embodiment, the controlling the target game device to perform the material presentation behavior comprises:

[0028] determining a control interface corresponding to the target game device, and controlling the target game device to perform the material presentation behavior through the control interface.

[0029] In an optional embodiment, the controlling the target game device to perform the material presentation behavior through the control interface comprises:

[0030] transmitting the material to be presented to a shared control module corresponding to the target game device through the control interface, and transmitting the material to the target game device through the shared control module, the shared control module being shared by a plurality of game devices having a material presentation function.

[0031] In an optional embodiment, the method further comprises:

[0032] updating the material to be presented stored in the material storage module;

[0033] updating node information in the strategy tree according to the updated indication information of the material.

[0034] In an optional embodiment, the method further comprises:

[0035] determining each secret room in the secret room space, and configuring a corresponding room reset tree for each secret room, the room reset tree being used to close the game device triggered in the corresponding secret room.

[0036] The application also provides a linkage triggering device of a secret room mechanism, comprising:

[0037] a determining unit configured to determine a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of a game device in the secret room space under a game level pass logic;

[0038] an obtaining unit configured to obtain game information of the game device of the current game level;

[0039] an executing unit configured to determine a first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and determine a target game device performing the first device behavior;

[0040] a controlling unit configured to control the target game device to perform the first device behavior.

[0041] The embodiment of the present application further provides a terminal, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the linkage triggering method of the secret room when executing the computer program.

[0042] The embodiment of the present application further provides a storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the steps of the linkage triggering method of the secret room.

[0043] The embodiment of the present application provides a linkage triggering method of a secret room, comprising: determining a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of a game device in a secret room space under a game level pass logic; acquiring game information of the game device of the current game level; determining a first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and a target game device performing the first device behavior; and controlling the target game device to perform the first device behavior.

[0044] The game pass logic in the secret room game is implemented through the strategy tree, the central control system analyzes and runs specific logics in the strategy tree to control corresponding game devices in the secret room, and since the materials and control logics are separated, the secret room game can be quickly adjusted and upgraded. BRIEF DESCRIPTION OF DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0046] Figure 1 is a system schematic diagram of a linkage triggering device of a secret room provided by the embodiment of the present application;

[0047] Figure 2 is a flowchart of a linkage triggering method of a secret room provided by the embodiment of the present application;

[0048] Figure 3 is a schematic diagram of a control flow of an audio and video module provided by the embodiment of the present application;

[0049] Figure 4 is a schematic diagram of a control flow of a video module provided by the embodiment of the present application;

[0050] Figure 5 is a schematic diagram of a control process of a light module provided by an embodiment of the present application;

[0051] Figure 6 is a schematic diagram of a control process of a mechanical device provided by an embodiment of the present application;

[0052] Figure 7 is a structural schematic diagram of a linkage triggering device of a secret room mechanism provided by an embodiment of the present application;

[0053] Figure 8 is a structural schematic diagram of a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0055] The embodiments of the present application provide a linkage triggering method and device of a secret room mechanism, a terminal and a storage medium. Specifically, the embodiments provide a method suitable for a linkage triggering device of a secret room mechanism, and the linkage triggering device of the secret room mechanism can be integrated in a computer device.

[0056] The computer device can be a terminal or the like, for example, a mobile phone, a tablet computer, a notebook computer, a desktop computer, etc. The computer device can also be a server or the like, which can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform, etc., but is not limited thereto.

[0057] Please refer to Figure 1 , Figure 1A system schematic diagram of a linkage triggering device of a secret room machine is provided in the embodiments of the present application. The system can include a central control device 102 and at least one game device 101. The central control device determines a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of the game device in the secret room space under the game level pass logic. Game information of the game device of the current game level is obtained. Based on the logical relationship between the game information and the device behaviors in the target strategy tree, a first device behavior triggered in response to the game information is determined, and a target game device performing the first device behavior is determined. The target game device is controlled to perform the first device behavior.

[0058] The following will be described in detail respectively. It should be noted that the description order of the following embodiments is not limited as the preferred order of the embodiments.

[0059] The embodiments of the present application will be described from the perspective of a linkage triggering device of a secret room machine, which can be integrated in a terminal device, such as a smart phone, a notebook computer, a tablet computer, a personal computer, and the like.

[0060] The embodiments of the present application provide a linkage triggering method of a secret room machine. The method of the embodiments is applied to a terminal, such as a smart phone, a notebook computer, a tablet computer, a personal computer, and the like. Figure 2 As shown in the figure, the specific process of the linkage triggering method of the secret room machine of the embodiments mainly includes steps 201 to 204, which are described in detail as follows.

[0061] 201. Determine a target strategy tree corresponding to a current game level in a target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of the game device in the secret room space under the game level pass logic.

[0062] In the embodiments of the present application, after a game user starts a target secret room game, a target strategy tree corresponding to a game level initially located is determined. Wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of the game device in the secret room space under the game level pass logic.

[0063] A single strategy tree includes a root node, branch nodes connected to the root node, and several leaf nodes under each branch node. Each leaf node contains behavior control information for a specific device action, while each branch node contains the execution order of the leaf node actions under the game level completion logic. Leaf nodes also include configuration nodes, which are used to configure the corresponding device behavior status information based on the leaf node's behavior control information. The behavior control information of a leaf node includes the device action corresponding to that leaf node and the game device executing that action. For example, the device action corresponding to leaf node 1 is to play a video, and the device executing this action is the radio in room 1. The device behavior status information is the status of the corresponding game device, such as whether an audio device is playing or stopped, whether a video device is playing or stopped, and the video name, etc.

[0064] In this embodiment, the branch node is configured with the execution result requirements of the leaf nodes under the game level completion logic. The execution results of each leaf node corresponding to the branch node are obtained. If the execution results meet the corresponding execution result requirements, the game level corresponding to the branch node is determined to be completed. For example, if the type of the branch node is FollowSequence, it means that the execution result requirement is to sequentially traverse the corresponding child nodes. If the execution results of all child nodes are successful, success is returned, which means that the game level corresponding to the branch node is completed.

[0065] 202. Obtain the game information of the game device for the current game level.

[0066] In this embodiment, the central control device acquires game information about the game device in the current game level. For example, if the game user activates a mechanism, such as opening a door, in the secret room where the current game level is located, the central control device receives a signal from a sensor installed in the door.

[0067] 203. Based on the logical relationship between the game information and the device behavior in the target strategy tree, determine the first device behavior triggered by responding to the game information, and the target game device that executes the first device behavior.

[0068] In the embodiments of the present application, after the game information is acquired by the central control device, the device behavior triggered in response to the game information is determined based on the logical relationship between the device behaviors set in the corresponding target strategy tree, and is set as a first device behavior, and the game device performing the first device behavior is determined and is set as a target game device. For example, in a certain game level, if the acquired game information is to open a bedside table, and the logical relationship between the device behaviors in the target strategy tree is that after the bedside table is opened, specified music in the bedside table music device will be played, then it can be determined that the first device behavior in response to the game information of opening the bedside table is to play the specified music, and the target game device performing the first device behavior is the bedside table music device.

[0069] In the embodiments of the present application, the step of "determining the first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and the target game device performing the first device behavior" is specifically: determining a second leaf node to which a second device behavior corresponding to the game information belongs, determining an execution result of the second leaf node based on the behavior control information of the second leaf node and the game information; determining a first leaf node to be executed next according to the behavior execution order between the leaf nodes under the branch node and the execution result of the second leaf node; determining the first device behavior based on the behavior control information of the first leaf node, and the target game device performing the first device behavior. For example, taking the opening of the bedside table as the game information, the second device behavior corresponding to the game information is to open the bedside table, if the bedside table is successfully opened, the execution result of the corresponding second leaf node is determined to be successful based on the behavior control information of the corresponding second leaf node, and then the leaf node to be executed next is determined based on the corresponding behavior execution order, it can be determined that the corresponding first device behavior is to play music, and the device playing the music is the bedside table music device.

[0070] 204、controlling the target game device to perform the first device behavior.

[0071] In the embodiments of the present application, after the central control device determines the first device behavior to be executed and the target game device, the central control device controls the target game device to perform the first device behavior. For example, it is determined that the next device behavior to be executed is to play a video, and the target game device is a screen in room 1, then the central control device controls the screen in room 1 to play the specified video.

[0072] The type of the device behavior can include a material display behavior, and the strategy tree includes indication information of the material to be displayed under each material display behavior. If the first device behavior is a material display behavior, the step of "controlling the target game device to execute the first device behavior" specifically includes: obtaining the material to be displayed from the material storage module based on the indication information; and controlling the target game device to execute the material display behavior. For example, if the material display behavior is to play a video, the video to be played is called from the video storage module in the material storage module based on the indication information in the strategy tree, such as the video name to be played, and the target game device, such as the screen of room 1, is controlled to play the specified video.

[0073] The control interface corresponding to the target game device can be determined, and the target game device is controlled to execute the material display behavior through the control interface. For example, the audio and video device corresponds to an audio and video control interface, and the lighting device corresponds to a lighting control interface.

[0074] The material to be displayed is transmitted to the shared control module corresponding to the target game device through the control interface, and is transmitted to the target game device through the shared control module. The shared control module is shared by a plurality of game devices with a material display function. The shared control module can include an audio server, a video server, and a lighting controller. For example, after the central control system specifies the audio to be played from the audio material library, the audio to be played is transmitted to the audio server through the audio control interface, and the audio server transmits the audio to the specified audio playing device for playing.

[0075] In the embodiments of the application, the material to be displayed stored in the material storage module can be updated, and the node information in the strategy tree is updated based on the indication information of the updated material.

[0076] If the configuration mode is to trigger the behavior through the button, the control information sent by the control end of the target escape room game can be obtained, the second device behavior triggered and the second game device executing the second device behavior are determined based on the control information, and the second game device is controlled to execute the second device behavior. For example, by clicking the button in the control panel, the light in room 1 is turned on.

[0077] Each room in the escape room needs to be configured with a room reset tree, and each room reset tree is configured for each room in the escape room space by determining the rooms in the escape room space. The room reset tree is used to turn off the game device triggered in the corresponding escape room.

[0078] In the embodiments of the present application, each sub-module is decoupled, and materials and control logic are separated. The sub-modules include an audio module, a video module, a lighting module, a mechanism module, a central control system, and a trigger tree logic module. The materials include audio materials, video materials, and lighting materials. The control logic includes an audio control program, a video control program, a lighting control program, and a mechanism control program.

[0079] In the present application, the trigger logic between each specific game device is realized based on a strategy tree (configuration). By decoupling each module, the trigger control correlation logic is abstracted into the strategy tree, which facilitates non-professionals to adjust and upgrade. The local central control system is responsible for analyzing and running the specific logic of the strategy tree. The strategy tree can be uploaded locally, uploaded to the cloud, and edited in the cloud, and has the ability to perform hot updates in batches for the same theme. The present application can facilitate theme replication. When a new theme is replicated, only the mapping table of the corresponding hardware needs to be changed, without the need to adjust and change the system according to the hardware and the steps. The present application can realize the functions of fast and batch hot updates.

[0080] Referring to Figure 3 , Figure 3 A control flow diagram of an audio / video module is provided for the embodiments of the present application. As shown in Figure 3 , audio / video materials can be stored in an audio / video server, and operation interfaces for each material are encapsulated. The operation nodes of the audio / video module are described in a specified configuration format (xml language). The central control system is responsible for analyzing the strategy configuration related to audio / video, and calling the interfaces related to audio / video according to the configuration nodes. The audio / video server can connect multiple audio effect devices, multiple bgm devices, and multiple video devices through multiple audio / video lines.

[0081] Among them, the video device (projector) is not expensive, and long-time startup will affect its service life; the startup / shutdown time of different brands of devices is uncertain; the light of the projector can play a lighting effect, so special processing is required. Referring to Figure 4 , Figure 4 A control flow diagram of a video module is provided for the embodiments of the present application. As shown in Figure 4 , the central control system analyzes the configuration of the video device in the configuration strategy tree, and calls the video device interface corresponding to the projector device. The PJLink protocol commonly used in the industry is adopted; all related API calls are integrated in the form of node configuration.

[0082] Referring to Figure 5 , Figure 5 A control flow diagram of a lighting module is provided for the embodiments of the present application. As shown in Figure 5As shown, the control protocol of the lights adopts ArtNet4 and DMX512 protocols to connect to various manufacturers in the industry; the light materials are stored in the light storage unit and parsed by the central control system. The central control system directly reads the light materials to be displayed from the light storage unit by reading the light configuration in the policy tree. Generally, light materials refer to complex light effects (such as continuous light changes); the policy tree uses a configuration language to encapsulate the light operation interface and can also specify specific materials and target objects. The light controller controls the display of multiple lights.

[0083] Please refer to Figure 6 , Figure 6 which is a schematic diagram of the control process of a mechanism device provided by an embodiment of this application. As Figure 6 shown, the policy tree node information of the IO device is diverse, including the address of the target device, the parameter settings of the target device, and the parameter matching of the target device; the central control system is responsible for parsing the configuration and controlling the terminal device or reading the status data of the specified mechanism from the terminal device through the custom PeachLink protocol.

[0084] In the embodiments of this application, the node types of the policy tree include root nodes, branch nodes, leaf nodes, and configuration nodes.

[0085] Root node (Root node, written on the outermost layer), parameter description is as follows:

[0086]

[0087] In some embodiments, for example, <Root id="zy_keting_2" scope="once" showName="Manual trigger: Living room: Close the exit door">; it means that within the behavior tree of the living room, the trigger mode is to trigger only once, and the button in the configured jump-off list is set to Manual trigger: Living room: Close the exit door.

[0088] Branch node (branch node): Used to aggregate a series of nodes with closely related logic, can control the execution logic of internal nodes, and can also be nested. Parameter description is as follows:

[0089]

[0090]

[0091]

[0092]

[0093] In some embodiments, for example, if branch is written in the behavior tree of the corridor 3, if bindRoomName (the room bound to the button) is not configured, the button will be displayed in the corridor 3 room by default, and needs to be configured as bindRoomName = zy_roushenfang if it needs to be displayed in the flesh room.

[0094] In some embodiments, for example, in the configuration of the entrance door card reader switch, if branchtype = "FollowSelector", it means that as long as one of the two card readers reports a successful signal, the door opening operation can be performed.

[0095] In some embodiments, for example, in the configuration of the game state monitoring of various difficulties, if branchtype = "FollowSelector", it means that all child nodes will be traversed each time, and will not return early due to the success or failure of the child nodes. This way, the success and failure signals of all difficulty games can be monitored. FollowSequence cannot be configured here because FollowSequence will return early when a failed child node is encountered, and will not continue to be judged.

[0096] In some embodiments, for example, in the configuration of games of different difficulties, if branchtype = WeightsProbability, it means that the child nodes can be randomly executed according to the set weight value, and the weight of 0 will not be executed.

[0097] Leaf node: leaf node, which can be used to judge conditions and execute instructions, etc. The parameter description is as follows:

[0098]

[0099]

[0100]

[0101] Among them, for the empty leaf node, generally only used to set delay for empty waiting, usually has two uses:

[0102] (1) Used in repeated behavior trees, set empty waiting time to prevent the behavior tree from being triggered too frequently: for example, set 3 seconds delay, then each time the execution is triggered, it will execute 3 seconds of empty waiting. During the empty waiting period, the behavior tree is in the process of execution, and only after the empty waiting period ends and the current execution is completed, the behavior tree can be repeatedly triggered (only for repeated type).

[0103] (2) For once behavior tree, usually this behavior tree is the pre behavior tree of another behavior tree, used to ensure that the current behavior tree is executed for a certain time before triggering the next behavior tree: for example, the video in behavior tree A must be played to the end before triggering the next behavior tree B, at this time, a certain delay time empty leaf node can be set in behavior tree A, after the empty waiting is over, behavior tree A is in the completed state, and the next behavior tree B can be triggered. For example, the pre behavior tree is configured as playing a black house video, and the current behavior tree is configured as triggering a hanging picture in the hall, and after the execution of the black house video is completed, the hanging picture in the hall is triggered to be displayed.

[0104] Config node (config node): written in leaf node, which can be used to judge pin state, set field value, etc. The parameters are key, val key value pairs. The parameter description is as follows:

[0105]

[0106]

[0107] In this application, the configuration mode of the policy tree (according to the requirements, configure according to different templates) can include the following:

[0108] a) According to the GPIO pin state condition to trigger automatically. (Execute Root node, do not ignore delay)

[0109] The example code is as follows ([] is not necessary):

[0110] 1. <Root id = "" scope = "" [showName = " " ]>

[0111] 2. [<leaf type = "InheritLeaf">

[0112] 3. <config key = "names" val = "" / >

[0113] 4. ]

[0114] 5. <!- Trigger condition -->

[0115] 6. <leaf type = "ConditionLeaf" bindUniqueActorId = "" bindModelId = "" [bindRoomName = "" name = "" id = " " ]>

[0116] 7. <config key = "status" val = "" / >

[0117] 8.

[0118] 9. <!-- Actions to perform -->

[0119] 10. <branch type="FollowSequence">

[0120] 11. <leaf type="ActionLeaf" bindUniqueActorId="" bindModelId="" [bindRoomName="" name="" id="" resetLeafId=""]>

[0121] 12. <config key="command" val="" / >

[0122] 13.

[0123] 14.

[0124] 15. [<!-- Reset -->

[0125] 16. <branch type="FollowSequence">

[0126] 17. <leaf type="ResetTreeLeaf" bindUniqueActorId="" bindModelId="" id="">

[0127] 18. <config key="command" val="" / >

[0128] 19.

[0129] 20. ]

[0130] 21.

[0131] For example, if ConditionLeaf is triggered, type, bindUniqueActorId, bindModelId must be configured, and if it needs to be displayed on the control page, bindRoomName, name, id must be configured. ActionLeaf that needs to be executed after the trigger condition is met must be configured with type, bindUniqueActorId, bindModelId, and if it needs to be displayed on the control page, bindRoomName, name, id, resetLeafId (for resetting by clicking the button) must be configured. ActionLeaf configured with resetLeafId needs to be configured with the corresponding ResetTreeLeaf, which must be configured with type, bindUniqueActorId, bindModelId, and id, and the id here must be consistent with the resetLeafId of the corresponding ActionLeaf.

[0132] b) Manually triggered through the control panel. (Execute Root node, ignore delay)

[0133] Example code as follows ([] is not mandatory):

[0134] 1. <Root id="" scope="" showName="" (or name="")>

[0135] 2. <branch type="FollowSequence">

[0136] 3. <leaf type="ActionLeaf" bindUniqueActorId="" bindModelId="">

[0137] 4. <config key="command" val="" / >

[0138] 5.

[0139] 6.

[0140] 7.

[0141] For example, if there is no ConditonLeaf, directly configure ActionLeaf.

[0142] c) Only configure control buttons on the panel, no trigger condition. (Execute branch or leaf, ignore delay and execute immediately)

[0143] Example code as follows ([] is not mandatory):

[0144] 1. <Root id="" scope="">

[0145] 2. <branch type="FollowSequence">

[0146] 3. <leaf type="ActionLeaf" bindUniqueActorId="" bindModelId="" bindRoomName="" name="" id="" resetLeafId="">

[0147] 4. <config key="command" val="" / >

[0148] 5.

[0149] 6.

[0150] 7. <!- - Reset -->

[0151] 8. <branch type="FollowSequence">

[0152] 9. <leaf type="ResetTreeLeaf" bindUniqueActorId="" bindModelId="" id="">

[0153] 10. <config key="command" val="" / >

[0154] 11.

[0155] 12.

[0156] 13.

[0157] For example, if there is no ConditonLeaf, only ActionLeaf, the configuration button must be configured with bindRoomName, name, id, resetLeafId, and the corresponding reset node must be configured.

[0158] d) Only listen to the state of the GPIO pin, no action is performed.

[0159] The example code is as follows ([] is not mandatory):

[0160] 1. <Root id="" scope="">

[0161] 2. <leaf type="ConditionLeaf"bindUniqueActorId=""bindModelId=""[bindRoomName=""name=""id=""]>

[0162] 3.<config key="status"val="" / >

[0163] 4.

[0164] 5.

[0165] For example, there is only ConditonLeaf, not ActionLeaf.

[0166] e) Points to note during configuration:

[0167] i. When modifying the configuration file, there are three places that may need to be modified: the ActionLeaf at the trigger position, the ResetTreeLeaf at the reset position, and the ResetTreeLeaf in the room reset tree.

[0168] ii. For certain trigger or reset pins, a 0 needs to be sent first, followed by a 1, with a 100-millisecond delay between the two transmissions.

[0169] iii. When you need to turn off the audio in the same room and then immediately play another audio, that is, send pause first and then play, the play needs to be delayed by 100 milliseconds to ensure that pause comes first and play is played later, so as to avoid the problem of play arriving before pause, which would cause the audio to play incorrectly.

[0170] The functional configurations in this application embodiment may include the following:

[0171] 1. Room Reset Tree: Each escape room needs to be configured with a room reset tree named (room_name_room_reset_id) with an ID. The tree must contain only ResetTreeLeaf elements to disable triggered devices. Examples include audio reset, video reset, light reset, and mechanism reset.

[0172] 2. Marking the beginning and end of themes and rooms: Use MarkThemeLeaf to mark the beginning and end of themes; use MarkThemeRoomLeaf to mark the beginning and end of rooms. These two types of nodes do not affect the normal mechanism triggering logic; they are only used for marking.

[0173] The config node is configured as follows:

[0174]

[0175] 3. Cache and restore of light, IO state: (MarkThemeCacheLeaf)

[0176] a) Cache of light, IO state (after the cache is executed, if the cache is executed again before the restore is executed, the cache at this time is invalid, only the result of the first cache is retained, and new state can be cached only after the restore is executed);

[0177] For example, cache and turn off the light, if all the lights are operated, isAll=true. If multiple GPIOs need to be cached, multiple multi-configs nodes are needed, each set of bindUniqueActorld and bindModelld corresponds to a multi-configs tag. If not all lights are cached, but one or more specific lights are cached, isAll=false, and each set of light address, universe, startIndex corresponds to a multi-configs node.

[0178] b) Restore of light, IO state.

[0179] 4. One-key opening of all doors: the behavior tree with id and file name open_all_door under the theme behavior tree directory can be configured to one-key open all doors, and all the internal behavior trees are ActionLeaf.

[0180] 5. Other functions:

[0181] 1) Intermediate state data cache; 2) Intermediate state data check; 3) Intermediate state data timeout check node; 4) Video device node; 5) Non-jumpable loop node; 6) Jumpable loop node.

[0182] All the above technical solutions can be combined in any way to form optional embodiments of the present application, which will not be repeated here.

[0183] In order to better implement the above method, accordingly, the present application embodiment also provides a linkage trigger device of a secret room mechanism, which can be integrated in a computer device, for example, in the form of a terminal.

[0184] Reference Figure 7 , Figure 7 The structure diagram of the linkage trigger device of the secret room mechanism provided by the present application embodiment. The linkage trigger device of the secret room mechanism includes, for example, as follows:

[0185] The determination unit 301 is configured to determine a target strategy tree corresponding to a current game level in a target offline secret room game, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of a game device in a secret room space under a game level pass logic.

[0186] The acquisition unit 302 is configured to acquire game information of the game device in the current game level.

[0187] The execution unit 303 is configured to determine a first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and execute a target game device performing the first device behavior.

[0188] The control unit 304 is configured to control the target game device to execute the first device behavior.

[0189] In an optional embodiment, the strategy tree includes a root node, a branch node connected to the root node, and a plurality of leaf nodes under the branch node, one leaf node is configured with behavior control information of one device behavior, and the branch node is configured with a behavior execution sequence of the leaf nodes under the game level pass logic.

[0190] In an optional embodiment, the execution unit 303 includes:

[0191] Determine a second leaf node to which the second device behavior corresponding to the game information belongs, determine an execution result of the second leaf node based on the behavior control information of the second leaf node and the game information;

[0192] Determine a first leaf node to be executed next according to the behavior execution sequence between the leaf nodes under the branch node and the execution result of the second leaf node;

[0193] Determine the first device behavior based on the behavior control information of the first leaf node, and execute a target game device performing the first device behavior.

[0194] In an optional embodiment, the leaf node includes a configuration node configured to configure corresponding device behavior state information based on the behavior control information of the leaf node.

[0195] In an optional embodiment, the branch node is configured with an execution result requirement of the leaf nodes under the game level pass logic, and the device further includes:

[0196] Acquire execution results of the leaf nodes corresponding to the branch node;

[0197] If the execution result meets the corresponding execution result requirement, it is determined that the branch node corresponds to a game level pass.

[0198] In an optional embodiment, the device further comprises:

[0199] Obtaining control information sent by a control terminal of the target secret chamber game;

[0200] Determining a triggered second device behavior based on the control information, and a second game device performing the second device behavior;

[0201] Controlling the second game device to perform the second device behavior.

[0202] In an optional embodiment, the type of the device behavior includes a material display behavior, and the strategy tree includes indication information of materials required to be displayed under each material display behavior.

[0203] If the first device behavior is a material display behavior, the control unit 304 comprises:

[0204] Obtaining the materials required to be displayed from a material storage module based on the indication information;

[0205] Controlling the target game device to perform the material display behavior.

[0206] In an optional embodiment, the control unit 304 comprises:

[0207] Determining a control interface corresponding to the target game device, and controlling the target game device to perform the material display behavior through the control interface.

[0208] In an optional embodiment, the control unit 304 comprises:

[0209] Transmitting the materials required to be displayed to a shared control module corresponding to the target game device through the control interface, and transmitting the materials to the target game device through the shared control module, wherein the shared control module is shared by a plurality of game devices having a material display function.

[0210] In an optional embodiment, the device further comprises:

[0211] Updating the materials required to be displayed stored in the material storage module;

[0212] Updating the node information in the strategy tree according to the indication information of the updated materials.

[0213] In an optional embodiment, the device further comprises:

[0214] Determine the corresponding individual secret room space of each secret room, and configure the corresponding room reset tree for each secret room. The room reset tree is used to close the triggered game device in the corresponding secret room.

[0215] All the above technical solutions can be combined to form optional embodiments of the present application, which will not be repeated here.

[0216] The device provided by the embodiments of the present application, when the determination unit 301 determines the target strategy tree corresponding to the current game level in the target secret room game offline, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide the logical relationship between the device behaviors of the game device in the secret room space under the game level pass logic; then, when the acquisition unit 302 acquires the game information of the game device of the current game level; then, when the execution unit 303 determines the first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and the target game device executing the first device behavior; finally, the control unit 304 controls the target game device to execute the first device behavior.

[0217] Correspondingly, the embodiments of the present application also provide a terminal, which can be a smartphone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and the like. As shown in Figure 8 Figure 8 The structure schematic diagram of the terminal 400 provided by the embodiments of the present application. The terminal 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media, and a computer program stored in the memory 402 and executable on the processor. Wherein, the processor 401 and the memory 402 are electrically connected. Those skilled in the art can understand that the structure of the terminal 400 shown in the figure does not constitute a limitation on the terminal, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0218] The processor 401 is the control center of the terminal 400, which connects the whole terminal 400 through various interfaces and lines, executes various functions of the terminal 400 and processes data by running or loading the software program and / or module stored in the memory 402, and calling the data stored in the memory 402, so as to monitor the whole terminal 400.

[0219] ​In the embodiments of the present application, the processor 401 in the terminal 400 loads the instructions corresponding to the processes of one or more application programs into the memory 402 and runs the application programs stored in the memory 402 by the processor 401 to realize various functions according to the following steps:

[0220] determine a target strategy tree corresponding to a current game level in a target escape room game, wherein one game level in the escape room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of game devices in an escape room space under a game level pass logic; obtain game information of a game device in the current game level; determine a first device behavior triggered in response to the game information based on a logical relationship between the game information and device behaviors in the target strategy tree, and a target game device that executes the first device behavior; and control the target game device to execute the first device behavior.

[0221] In an optional embodiment, the strategy tree includes a root node, a branch node connected to the root node, and a plurality of leaf nodes under the branch node, one leaf node is configured with behavior control information of one device behavior, and the branch node is configured with a behavior execution order of the leaf nodes under the game level pass logic.

[0222] In an optional embodiment, the determination of the first device behavior triggered in response to the game information based on the logical relationship between the game information and the device behaviors in the target strategy tree, and the target game device that executes the first device behavior, includes:

[0223] determining a second leaf node to which a second device behavior corresponding to the game information belongs, determining an execution result of the second leaf node based on behavior control information of the second leaf node and the game information;

[0224] determining a first leaf node to be executed next according to the behavior execution order between the leaf nodes under the branch node and the execution result of the second leaf node;

[0225] determining the first device behavior based on behavior control information of the first leaf node, and a target game device that executes the first device behavior.

[0226] In an optional embodiment, the leaf node includes a configuration node configured to configure corresponding device behavior state information based on behavior control information of the leaf node.

[0227] In an optional embodiment, the branch node is configured with an execution result requirement of the leaf nodes under the game level pass logic, and the method further includes:

[0228] acquire an execution result of each leaf node corresponding to the branch node;

[0229] if the execution result meets a corresponding execution result requirement, determine that a game level corresponding to the branch node is passed.

[0230] In an optional embodiment, the method further comprises:

[0231] acquire control information sent by a control terminal of the target puzzle game;

[0232] determine a triggered second device behavior based on the control information, and a second game device performing the second device behavior;

[0233] control the second game device to perform the second device behavior.

[0234] In an optional embodiment, the type of the device behavior comprises a material display behavior, and the strategy tree comprises indication information of a material to be displayed under each material display behavior;

[0235] if the first device behavior is a material display behavior, the controlling the target game device to perform the first device behavior comprises:

[0236] acquiring the material to be displayed from a material storage module based on the indication information;

[0237] controlling the target game device to perform the material display behavior.

[0238] In an optional embodiment, the controlling the target game device to perform the material display behavior comprises:

[0239] determining a control interface corresponding to the target game device, and controlling the target game device to perform the material display behavior through the control interface.

[0240] In an optional embodiment, the controlling the target game device to perform the material display behavior through the control interface comprises:

[0241] transmitting the material to be displayed to a shared control module corresponding to the target game device through the control interface, and transmitting the material to the target game device through the shared control module, the shared control module being shared by a plurality of game devices having a material display function.

[0242] In an optional embodiment, the method further comprises:

[0243] updating the material to be displayed stored in the material storage module;

[0244] According to the updated material indication information, the node information in the strategy tree is updated.

[0245] In an optional embodiment, the method further comprises:

[0246] Determine the respective secret room rooms corresponding to the secret room space, and configure a corresponding room reset tree for each secret room room, wherein the room reset tree is used to close the triggered game equipment in the corresponding secret room room.

[0247] The game control logic is implemented through the strategy tree, and the rapid adjustment and upgrade of the secret room game can be realized.

[0248] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described herein.

[0249] Optionally, as shown in Figure 8 The terminal 400 further includes a touch display screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected with the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that the terminal structure shown in Figure 8 The terminal structure shown in the foregoing embodiments does not constitute a limitation on the terminal, and can include more or fewer components than those shown in the figure, or combine certain components, or different component arrangements.

[0250] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by user acting on the graphical user interface. The touch display screen 403 can include a display panel and a touch panel. The display panel can be used to display information input by the user or provided to the user and various graphical user interfaces of the terminal, which can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations (such as operations of the user using a finger, a stylus or any suitable object or accessory on or near the touch panel) of the user thereon or therearound, and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts of a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects signals generated by the touch operation, and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 401, and can also receive commands from the processor 401 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation thereon or therearound, it transmits to the processor 401 to determine the type of the touch event, and then the processor 401 provides corresponding visual output on the display panel according to the type of the touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can realize the input and output functions as two independent components. That is, the touch display screen 403 can also realize the input function as part of the input unit 406.

[0251] The radio frequency circuit 404 can be used to transceive radio frequency signals to establish wireless communication with network devices or other terminals, and transceive signals between network devices or other terminals.

[0252] The audio circuit 405 can be used to provide an audio interface between the user and the terminal through the speaker and the microphone. The audio circuit 405 can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal output. On the other hand, the microphone collects sound signals and converts them into electrical signals, which are received by the audio circuit 405 and converted into audio data. After the audio data is output by the processor 401 and processed, it is transmitted to another terminal through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 can also include an earphone jack to provide communication between an external earphone and the terminal.

[0253] The input unit 406 can be configured to receive inputted digital, character information or user feature information (e.g. fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0254] The power supply 407 is configured to supply power to various components of the terminal 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so as to realize functions such as management of charging, discharging and power consumption management through the power management system. The power supply 407 can also include one or more direct current or alternating current power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc.

[0255] Although Figure 8 The terminal 400 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc. which are not shown in the figure, and will not be described herein.

[0256] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0257] As can be seen from the above, the terminal provided in the embodiment can determine a target strategy tree corresponding to a current game level in a target escape room game, wherein one game level in the escape room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of a game device in an escape room space under a game level pass logic; game information of the game device in the current game level is acquired; based on the logical relationship between the game information and the device behaviors in the target strategy tree, a first device behavior triggered in response to the game information is determined, and a target game device performing the first device behavior is determined; and the target game device is controlled to perform the first device behavior. The scheme realizes rapid adjustment and upgrading of the escape room through the strategy tree of the trigger control association logic.

[0258] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0259] To this end, the embodiments of the present application provide a computer readable storage medium, which stores a plurality of computer programs capable of being loaded by a processor to execute the steps in any one of the linkage triggering methods of the escape room mechanism provided by the embodiments of the present application. For example, the computer program can execute the following steps:

[0260] determining a target strategy tree corresponding to a current game level in a target offline secret room game, wherein one game level in the secret room game corresponds to one strategy tree, and the strategy tree is used to provide a logical relationship between device behaviors of game devices in a secret room space under a game level pass logic; obtaining game information of a game device in the current game level; determining a first device behavior triggered in response to the game information based on a logical relationship between the game information and device behaviors in the target strategy tree, and a target game device performing the first device behavior; and controlling the target game device to perform the first device behavior.

[0261] In an optional embodiment, the strategy tree includes a root node, a branch node connected to the root node, and a plurality of leaf nodes under the branch node, one leaf node being configured with behavior control information of one device behavior, and the branch node being configured with a behavior execution sequence of the leaf nodes under the game level pass logic.

[0262] In an optional embodiment, the determining of the first device behavior triggered in response to the game information based on the logical relationship between the game information and device behaviors in the target strategy tree, and the target game device performing the first device behavior, includes:

[0263] determining a second leaf node to which a second device behavior corresponding to the game information belongs, determining an execution result of the second leaf node based on behavior control information of the second leaf node and the game information;

[0264] determining a first leaf node to be executed next according to the behavior execution sequence between the leaf nodes under the branch node and the execution result of the second leaf node;

[0265] determining the first device behavior based on behavior control information of the first leaf node, and determining a target game device performing the first device behavior.

[0266] In an optional embodiment, the leaf node includes a configuration node configured to configure corresponding device behavior state information based on behavior control information of the leaf node.

[0267] In an optional embodiment, the branch node is configured with an execution result requirement of the leaf nodes under the game level pass logic, and the method further includes:

[0268] obtaining execution results of the leaf nodes corresponding to the branch node;

[0269] if the execution results meet the corresponding execution result requirements, determining that a game level corresponding to the branch node is passed.

[0270] In an optional embodiment, the method further comprises:

[0271] obtaining control information sent by a control terminal of the target secret chamber game;

[0272] determining a triggered second device behavior based on the control information, and a second game device performing the second device behavior;

[0273] controlling the second game device to perform the second device behavior.

[0274] In an optional embodiment, the type of the device behavior comprises a material display behavior, and the strategy tree comprises indication information of materials required to be displayed under each material display behavior.

[0275] If the first device behavior is a material display behavior, the controlling the target game device to perform the first device behavior comprises:

[0276] obtaining the materials required to be displayed from a material storage module based on the indication information;

[0277] controlling the target game device to perform the material display behavior.

[0278] In an optional embodiment, the controlling the target game device to perform the material display behavior comprises:

[0279] determining a control interface corresponding to the target game device, and controlling the target game device to perform the material display behavior through the control interface.

[0280] In an optional embodiment, the controlling the target game device to perform the material display behavior through the control interface comprises:

[0281] transmitting the materials required to be displayed to a shared control module corresponding to the target game device through the control interface, and transmitting the materials to the target game device through the shared control module, the shared control module being shared by a plurality of game devices having a material display function.

[0282] In an optional embodiment, the method further comprises:

[0283] updating the materials required to be displayed stored in the material storage module;

[0284] updating node information in the strategy tree according to the indication information of the updated materials.

[0285] In an optional embodiment, the method further comprises:

[0286] Determine each secret room corresponding to the secret room space, configure a corresponding room reset tree for each secret room, and the room reset tree is used to close the triggered game device in the corresponding secret room.

[0287] The game control logic is implemented through the strategy tree, and the rapid adjustment and upgrade of the secret room game can be realized.

[0288] The specific implementation of each operation can be referred to the foregoing embodiments, and will not be described here.

[0289] The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and the like.

[0290] The secret room linkage triggering method, device, terminal and storage medium provided by the embodiments of the present application are described in detail, and the principle and implementation mode of the present application are described by applying specific examples; the above embodiment is only used to help understand the method and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed, and the above description should not be understood as the limitation of the present application.

Claims

1. A method for triggering a linkage of a secret chamber device, characterized in that The method comprises: determining a target strategy tree corresponding to a current game level in a target offline secret room game, wherein one game level in the secret room game corresponds to one strategy tree, the strategy tree is used to provide a logical relationship between device behaviors of a game device in a secret room space under game level pass logic, the strategy tree comprises a root node, a branch node connected with the root node, and a plurality of leaf nodes under the branch node, one leaf node is configured with behavior control information of one device behavior, and the branch node is configured with an execution order of the leaf nodes under the game level pass logic; obtaining game information of a game device of the current game level; based on the logical relationship between the game information and the device behaviors in the target strategy tree, determining a first device behavior triggered in response to the game information, and a target game device executing the first device behavior; controlling the target game device to execute the first device behavior; wherein, based on the logical relationship between the game information and the device behaviors in the target strategy tree, determining a first device behavior triggered in response to the game information, and a target game device executing the first device behavior, comprises: determining a second leaf node to which a second device behavior corresponding to the game information belongs, determining an execution result of the second leaf node based on the behavior control information of the second leaf node and the game information; determining a first leaf node to be executed next according to the execution order of the leaf nodes under the branch node and the execution result of the second leaf node; determining the first device behavior based on the behavior control information of the first leaf node, and a target game device executing the first device behavior; the branch node is configured with execution result requirements of the leaf nodes under the game level pass logic, the execution results of each leaf node corresponding to the branch node are obtained, and if the execution results meet the corresponding execution result requirements, it is determined that the game level corresponding to the branch node is passed.

2. The method of claim 1, wherein the trigger is a trigger of a secret chamber mechanism. The leaf node comprises a configuration node, and the configuration node is used to configure corresponding device behavior state information based on the behavior control information of the leaf node.

3. The method of claim 1, wherein the trigger is a trigger of a secret chamber mechanism. The branch node is configured with execution result requirements of the leaf nodes under the game level pass logic, and the method further comprises: obtaining the execution results of each leaf node corresponding to the branch node; if the execution results meet the corresponding execution result requirements, it is determined that the game level corresponding to the branch node is passed.

4. The method of claim 1, wherein the trigger is a trigger of a secret chamber mechanism. The method further comprises: obtaining control information sent by a control terminal of the target secret room game; based on the control information, determining a second device behavior triggered and a second game device executing the second device behavior; controlling the second game device to execute the second device behavior.

5. The method of claim 1, wherein the trigger is a trigger of a secret chamber mechanism. The type of the device behavior comprises a material display behavior, and the strategy tree comprises indication information of materials required to be displayed under each material display behavior; if the first device behavior is a material display behavior, the controlling the target game device to execute the first device behavior comprises: based on the indication information, obtaining the materials required to be displayed from a material storage module; controlling the target game device to perform the material presentation behavior.

6. The method of claim 5, wherein the trigger is a trigger of a secret chamber mechanism. The controlling the target game device to perform the material presentation behavior comprises: determining a control interface corresponding to the target game device, and controlling the target game device to perform the material presentation behavior through the control interface.

7. The method of claim 6, wherein the trigger is a trigger of a secret chamber mechanism. The controlling the target game device to perform the material presentation behavior through the control interface comprises: transmitting the material to be presented to a shared control module corresponding to the target game device through the control interface, and transmitting the material to the target game device through the shared control module, the shared control module being shared by a plurality of game devices having a material presentation function.

8. The method of claim 5, wherein the trigger is a trigger of a secret chamber mechanism. The method further comprises: updating the material to be presented stored in the material storage module; updating node information in the strategy tree according to the updated indication information of the material.

9. The method of claim 1, wherein the trigger is a trigger of a secret chamber mechanism. The method further comprises: determining each chamber room corresponding to the chamber space, and configuring a corresponding room reset tree for each chamber room, the room reset tree being used to close the game device triggered in the corresponding chamber room.

10. A linkage trigger device for a lock, the device comprising: comprises: a determining unit configured to determine a target strategy tree corresponding to a current game level in a target offline chamber game, wherein one game level in the chamber game corresponds to one strategy tree, the strategy tree being used to provide a logical relationship between device behaviors of a game device in the chamber space under a game level pass logic, the strategy tree comprising a root node, a branch node connected to the root node, and a plurality of leaf nodes under the branch node, one leaf node being configured with behavior control information of one device behavior, and the branch node being configured with an execution order of the leaf nodes under the game level pass logic; an obtaining unit configured to obtain game information of the game device of the current game level; an executing unit configured to determine a first device behavior triggered in response to the game information based on a logical relationship between the game information and the device behaviors in the target strategy tree, and determine a target game device executing the first device behavior; a controlling unit configured to control the target game device to execute the first device behavior; The executing unit is further configured to determine a second leaf node to which a second device behavior corresponding to the game information belongs, determine an execution result of the second leaf node based on behavior control information of the second leaf node and the game information, determine a first leaf node to be executed next based on an execution result requirement of the leaf nodes under the branch node and the execution result of the second leaf node, determine the first device behavior based on behavior control information of the first leaf node, and determine a target game device executing the first device behavior; the branch node is configured with the execution result requirement of the leaf nodes under the game level pass logic, the execution result of each leaf node corresponding to the branch node is obtained, and the game level corresponding to the branch node is determined to be passed if the execution result meets the corresponding execution result requirement.

11. A terminal, characterized by comprising: A computer program product comprising a memory, a processor and a computer program stored on the memory and loadable on the processor, wherein the processor implements the steps of the method for triggering a sequence of events in a secret chamber according to any one of claims 1 to 9 when the computer program is executed.

12. A computer-readable storage medium, characterized in that, A computer program product comprising a memory, a processor and a computer program stored on the memory and loadable on the processor, wherein the processor implements the steps of the method for triggering a sequence of events in a secret chamber according to any one of claims 1 to 9 when the computer program is executed.

Citation Information

Patent Citations

  • Secret room control method and device, computer equipment and storage medium

    CN113786601A