Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

State control method and device

一种状态控制、状态节点的技术,应用在计算机领域,能够解决操作效率低等问题,达到提高操作效率、解决个体执行操作效率低的效果

Active Publication Date: 2016-06-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a state control method and device to at least solve the technical problem of low efficiency of individual execution operations in related technologies using finite state machine control applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • State control method and device
  • State control method and device
  • State control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] According to an embodiment of the present invention, a method embodiment of a state control method is provided.

[0026] Optionally, in this embodiment, the above state control method can be applied to figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The data processing method in the embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the execution of the data processing method of the embodiment of the present invention by the terminal 104 may also be executed by a clien...

Embodiment 2

[0074] According to an embodiment of the present invention, a state control device for implementing the above state control method is also provided. Figure 8 is a schematic diagram of a state control device according to an embodiment of the present invention, such as Figure 8 As shown, the device may include:

[0075] The detection module 22 is used for the server to detect an operation execution event, wherein the operation execution event is used to request an operation on the first object in the first application; the judgment module 24 is used for the server to judge the status of the first object in the hybrid state machine Is the next node of the current node the first state node or the first behavior tree node, wherein the nodes in the hybrid state machine include state nodes and behavior tree nodes, and there is a state jump relationship between the nodes in the hybrid state machine; the first The operation module 26 is used to determine that the next node of the cu...

Embodiment 3

[0094] According to an embodiment of the present invention, a server or terminal for implementing the above state control method is also provided.

[0095] Figure 12 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 12 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205 (such as the sending device in the above-mentioned embodiment), such as Figure 12 As shown, the terminal may also include an input and output device 207 .

[0096] Among them, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the state control method and device in the embodiment of the present invention, and the processor 201 executes various functions by running the software programs and modules stored in the memory 203. A functional application and data processing, that is, to realize t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a state control method and device. The method comprises the steps that a server detects an operation execution event, and the operation execution event is used for requesting for operating a first object in first application; the server judges whether the next node of a current node of the first object in a mixing state machine is a first state node or a first behavior tree node, nodes in the mixing state machine comprise state nodes and behavior tree nodes, and a state skip relationship exists between the nodes in the mixing state machine; if it is judged that the next node of the current node is the first state node, the server executes operation in a first state corresponding to the first state node on the first object; if it is judged that the next node of the current state is the first behavior tree node, the server executes operation in a first behavior tree corresponding to the first behavior tree node on the first object. The method solves the technical problem that when a finite state machine is used in the prior art for controlling, operation executing efficiency of individuals is low.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a state control method and device. Background technique [0002] At present, the methods for controlling individual execution operations in applications usually include finite state machines and behavior trees. However, both finite state machines and behavior trees have their own defects in the process of executing operations. Specifically: for finite state machines, when there are many states, The finite state machine needs to deal with a large number of state transition relations, which not only increases the workload of the designer, but also makes it difficult to maintain the finite state machine, resulting in low efficiency of individual execution operations in the application. For the behavior tree, the behavior tree is not intuitive in terms of state jumps; the behavior tree is suitable for executing a series of behaviors according to the plan, and cannot effectively handl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/26
CPCH04L41/0233H04L43/00G06F9/4498H04L67/63
Inventor 江雷单浩波周锦源
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products