CN113797545A - Game script processing method and device, computer equipment and storage medium - Google Patents
Game script processing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113797545A CN113797545A CN202110980792.3A CN202110980792A CN113797545A CN 113797545 A CN113797545 A CN 113797545A CN 202110980792 A CN202110980792 A CN 202110980792A CN 113797545 A CN113797545 A CN 113797545A
- Authority
- CN
- China
- Prior art keywords
- game script
- abstract syntax
- syntax tree
- rendering
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013515 script Methods 0.000 title claims abstract description 440
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000009877 rendering Methods 0.000 claims abstract description 259
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 17
- 241000234282 Allium Species 0.000 claims description 9
- 235000002732 Allium cepa var. cepa Nutrition 0.000 claims description 9
- 230000008569 process Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/37—Compiler construction; Parser generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The application relates to a game script processing method and device, computer equipment and a storage medium. The method comprises the following steps: obtaining game script content to be processed, wherein the game script content to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language; analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed; and reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering. By adopting the method, the game script statements in the game script content can be simplified through the domain specific language, the simplified game script statements do not need to spend too much time for analysis in the execution process, and the execution efficiency of the game script is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a game script processing method and apparatus, a computer device, and a storage medium.
Background
With the development of game development technology, game scripts are a specific descriptive language, and are executable files written according to a certain format and used for controlling game applications. However, as the game scenario is increased in complexity, the code amount of the game script is increased, the code structure in the current game script is complicated, the data nesting is deep, and when the game engine needs to read the game script to render the game screen, it takes a long time to analyze the game script, resulting in low execution efficiency of the game script.
Disclosure of Invention
Therefore, it is necessary to provide a game script processing method, device, computer equipment, and storage medium for solving the above technical problems, where game script statements in a game script are described by a domain-specific language, and the game script statements are simplified by the domain-specific language, so that not only many corner problems can be avoided, but also the simplified game script statements do not need to spend too much time for parsing in the execution process, thereby improving the execution efficiency of the game script.
A game script processing method, the method comprising:
obtaining game script content to be processed, wherein the game script content to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed;
and reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
In one embodiment, obtaining the game script content to be processed comprises: and acquiring the game script content edited by the editor, uploading the game script content to a content distribution network, sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
In one embodiment, parsing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed includes: calling a target operating system file, wherein the target operating system file is compiled according to preset grammar rules of a target operating system, a plurality of screened game script sentences to be executed are obtained from the game script sentences to be executed according to the target operating system file, the screened game script sentences to be executed are converted into corresponding mark sequences, matched callback functions are called, and the mark sequences are converted through the callback functions to obtain an abstract grammar tree set.
In one embodiment, reading, by a rendering engine, each abstract syntax tree in an abstract syntax tree set one by one, and calling a rendering component matched with the read abstract syntax tree for rendering, includes: and reading the current abstract syntax tree through a rendering engine, wherein the current abstract syntax tree is any one of the abstract syntax tree sets, when a target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
In one embodiment, the method further comprises the following steps: and when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met or not according to the description information of the current abstract syntax tree, wherein the game script logic statement comprises a game script judgment statement and a game script circulating statement, if so, acquiring the current game script statement corresponding to the current abstract syntax tree, and judging whether the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree or not to determine whether a current rendering component matched with the current game script statement needs to be called for rendering or not by judging whether the current game script statement is a game script instruction statement or not.
In one embodiment, determining whether the current game script statement is a game script instruction statement to determine whether a matching current rendering component needs to be called for rendering includes: and when the current game script statement is a game script instruction statement, determining a matched current rendering component according to script statement description information of the current game script statement, and rendering the current game script statement through the current rendering component.
In one embodiment, reading, by a rendering engine, each abstract syntax tree in an abstract syntax tree set one by one, and calling a rendering component matched with the read abstract syntax tree for rendering, includes: reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, determining a target rendering component matched with the read abstract syntax tree from rendering components registered in the onion model, judging whether the rendering is needed or not through the target rendering component, and rendering the read abstract syntax tree through the target rendering component if the rendering is needed.
A game script processing apparatus, the apparatus comprising:
the game processing device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring game script contents to be processed, the game script contents to be processed comprise a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
the analysis module is used for analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed;
and the rendering module is used for reading the abstract syntax trees in the abstract syntax tree set one by one through the rendering engine and calling the rendering component matched with the read abstract syntax tree for rendering.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
obtaining game script content to be processed, wherein the game script content to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed;
and reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
obtaining game script content to be processed, wherein the game script content to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed;
and reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
The game script processing method, the game script processing device, the computer equipment and the storage medium obtain the game script content to be processed, wherein the game script content to be processed comprises a plurality of game script statements to be executed, the game script statements to be executed are described by using a domain-specific language, the game script content to be processed is analyzed to obtain an abstract syntax tree set corresponding to the game script content to be processed, the abstract syntax tree set comprises a plurality of abstract syntax trees, the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of the corresponding game script statements to be executed, the abstract syntax trees in the abstract syntax tree set are read one by one through a rendering engine, and a rendering component matched with the read abstract syntax trees is called for rendering. Therefore, the game script sentences in the game script can be described through the domain specific language, the domain specific language is used for simplifying the game script sentences, not only can a lot of corner problems be avoided, but also the simplified game script sentences do not need to spend too much time for analysis in the execution process, and therefore the execution efficiency of the game script is improved.
Drawings
FIG. 1 is a diagram of an application environment of a game script processing method in one embodiment;
FIG. 2 is a flow diagram illustrating a method for processing game scripts according to one embodiment;
FIG. 3 is a flowchart illustrating steps for obtaining content of a game script to be processed in one embodiment;
FIG. 4 is a flowchart illustrating the steps of parsing the content of a game script to be processed in one embodiment;
FIG. 5 is a flow diagram illustrating the read steps of the rendering engine in one embodiment;
FIG. 5A is a diagram illustrating the structure of game script content in one embodiment;
FIG. 6 is a flow diagram illustrating the read steps of the rendering engine in one embodiment;
FIG. 7 is a flowchart of the rendering engine read step in one embodiment;
FIG. 8 is a block diagram showing the construction of a game script processing apparatus according to one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The game script processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Specifically, the server 104 obtains the game script content to be processed, where the game script content to be processed includes a plurality of game script statements to be executed, the game script statements to be executed are described using a domain-specific language, and parses the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, where the abstract syntax tree set includes a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script statements to be executed, and each abstract syntax tree in the abstract syntax tree set is read one by a rendering engine, a rendering component matched with the read abstract syntax tree is called to render, and a rendered game picture is sent to the terminal 102 for display.
In one embodiment, as shown in fig. 2, a game script processing method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
The game script content is used for controlling a game application program, the game script content is composed of at least one game script statement, the game script content to be processed is the game script content waiting for processing, the game script content to be processed comprises a plurality of game script statements to be executed, the game script statements to be executed are described by using a Domain specific Language, and the Domain specific Language is a self-defined Language and can also be called DSL (Domain specific Language). The game script sentence to be executed can be formulated according to the actual service condition, the actual product condition or the actual application scene by using the domain specific language. For example, a game script statement to be executed described in a domain-specific language may be: a player name ═ xxx, "file ═ xxx," soundname ═ xxx, "file ═ xxx," and the like.
And 204, analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed.
After the game script content to be processed is obtained, the game script content to be processed can be analyzed, and the concrete analysis of the game script content to be processed can be that each game script statement to be executed is subjected to abstract syntax structure analysis, and then conversion is carried out according to the abstract syntax structure after analysis to obtain each abstract syntax tree and an abstract syntax tree set consisting of the abstract syntax trees. The abstract syntax tree is a tree representation form of an abstract syntax structure of a corresponding game script statement to be executed. The abstract syntax tree may also be referred to as AST (abstract syntax tree), that is, the abstract syntax tree is associated with a game script statement to be executed.
The abstract syntax structure analysis of the game script statements to be executed, and the conversion according to the abstract syntax structure after analysis to obtain the abstract syntax tree concrete may be that each game script statement to be executed in the game script content to be processed is analyzed into token (tag sequence), and then the token is converted into the corresponding AST.
And step 206, reading the abstract syntax trees in the abstract syntax tree set one by one through the rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
The rendering engine is an engine for rendering, a plurality of rendering components can be registered in the rendering engine in advance, and different rendering contents are rendered through different rendering components. Specifically, after the abstract syntax tree set is obtained, the rendering engine may read each abstract syntax tree in the abstract syntax tree set one by one, and since the abstract syntax tree includes various description information including a rendering component name, rendering content, and the like, the matching rendering component may be called through the read abstract syntax tree, and the read abstract syntax tree is rendered through the rendering component.
For example, the read abstract syntax tree is related to a background rendering component, and the rendering content is related to the rendering background, so that the background rendering component is called to perform background content rendering on the read abstract syntax tree through the background rendering component.
The game script processing method comprises the steps of obtaining game script contents to be processed, wherein the game script contents to be processed comprise a plurality of game script sentences to be executed, the game script sentences to be executed are described by using a field-specific language, the game script contents to be processed are analyzed, an abstract syntax tree set corresponding to the game script contents to be processed is obtained, the abstract syntax tree set comprises a plurality of abstract syntax trees, the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of the corresponding game script sentences to be executed, the abstract syntax trees in the abstract syntax tree set are read one by one through a rendering engine, and a rendering component matched with the read abstract syntax trees is called for rendering. Therefore, the game script sentences in the game script can be described through the domain specific language, the domain specific language is used for simplifying the game script sentences, not only can a lot of corner problems be avoided, but also the simplified game script sentences do not need to spend too much time for analysis in the execution process, and therefore the execution efficiency of the game script is improved.
In one embodiment, as shown in fig. 3, obtaining the game script content to be processed includes:
and step 302, obtaining the game script content edited by the editor, and uploading the game script content to a content distribution network.
And step 304, sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
The editor is a tool for editing game script content, and can edit the game script content through the editor, specifically, the game script content can be specifically formulated according to actual service conditions, actual product conditions or actual application scenes to obtain the game script content, and the game script content edited by the editor is uploaded to a content distribution network cdn (content Delivery network). The content distribution network cdn is an intelligent virtual network constructed on the basis of the existing network, and enables users to obtain required content nearby by means of functional modules of load balancing, content distribution, scheduling and the like of a central platform by means of edge servers deployed in various places, so that network congestion is reduced, and the access response speed and hit rate of the users are improved. Among the key technologies of cdn are content storage and distribution technologies.
Therefore, an acquisition request is sent, the acquisition request is used for requesting to acquire the game script content to be processed, the acquisition request can carry the address of the acquirer, and the game script content to be processed is pulled from the content distribution network according to the address of the acquirer.
In an embodiment, as shown in fig. 4, parsing the content of the game script to be processed to obtain an abstract syntax tree set corresponding to the content of the game script to be processed includes:
And step 404, obtaining a plurality of screened game script sentences to be executed from the game script sentences to be executed according to the target operating system file.
And 406, converting the screened game script sentences to be executed into corresponding marking sequences, calling matched callback functions, and converting each marking sequence through the callback functions to obtain an abstract syntax tree set.
The target operating system is an ohm system, which is a library for helping a developer to define their own DSL in a domain-specific language, and after designing their own DSL, the omh system writes their own ohm file according to preset syntax rules. The ohm file is the target operating system file.
Specifically, a target operating system file, that is, an ohm file, is called, each game script statement to be executed in the game script content to be processed is screened according to the target operating system file, and the game script statement to be executed which meets the rule is converted to obtain a corresponding marking sequence. And then, calling a callback function matched with the tag sequence, and converting each tag sequence through the callback function to obtain a corresponding abstract syntax tree to form an abstract syntax tree set.
For example, when analyzing the content of the game script to be processed, an ohm file is called, a token is analyzed for the game script sentence to be executed which meets the rule, then a corresponding DSL callback function is called, and the token is converted into AST in the callback function.
In one embodiment, as shown in fig. 5, reading, by a rendering engine, each abstract syntax tree in the abstract syntax tree set one by one, and invoking a rendering component matching the read abstract syntax tree for rendering includes:
And step 504, when the target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
The rendering engine reads the abstract syntax trees in the abstract syntax tree set one by one, and can determine one abstract syntax tree from the abstract syntax tree set as the current abstract syntax tree. Since the abstract syntax tree is a tree representation of the abstract syntax structure of the corresponding game script statement to be executed, the game script statement to be executed is described using the domain-specific language DSL. The DSL may include, but is not limited to, a game script instruction statement and a game script logic statement, specifically, as shown in fig. 5A, fig. 5A illustrates a schematic structure diagram of game script content in an embodiment, the game script content in fig. 5A may include a plurality of game script statements, where a game script statement may be a game script instruction statement or a game script logic statement, a DSL of a game script instruction statement, for example, a layer name ═ xxx "file ═ xxx", a sound name ═ xxx "file ═ xxx", and a DSL of a game script logic statement, for example:
#if XXX//do something
#else//do something
#end。
specifically, when the current abstract syntax tree is analyzed, whether the matched current rendering component needs to be called or not can be judged according to the script statement type of the target game script statement corresponding to the current abstract syntax tree, wherein the target game script statement can be one or more, and if the target game script statement corresponding to the current abstract syntax tree is the game script instruction statement, the matched current rendering component is determined according to the abstract syntax tree description information of the current abstract syntax tree. Wherein, the abstract syntax tree description information of the current abstract syntax tree comprises the current rendering component identification, the current rendering content and the like. Therefore, after the current rendering component is determined, the current rendering content is rendered for the current abstract syntax tree through the current rendering component.
In one embodiment, as shown in fig. 6, reading, by a rendering engine, each abstract syntax tree in the abstract syntax tree set one by one, and invoking a rendering component matching the read abstract syntax tree for rendering, further includes:
step 602, when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met according to the description information of the current abstract syntax tree, wherein the game script logic statement comprises a game script judgment statement and a game script circulation statement.
And step 604, if yes, acquiring a current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree.
Specifically, when the current abstract syntax tree is parsed, if a target game script statement corresponding to the current abstract syntax tree is a game script logical statement, the game script logical statement includes, but is not limited to, a game script judgment statement and a game script loop statement, where the game script judgment statement is a game script statement used for performing judgment, the game script loop statement is a game script statement used for performing loop operation, and it is detected whether the target game script statement is a game script judgment statement, and when the target game script statement is a game script judgment statement, whether the description information of the current abstract syntax tree satisfies a preset judgment condition is determined according to whether the description information of the current abstract syntax tree.
And if the condition is met, acquiring a current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree. Further, whether the current game script statement is the game script instruction statement is judged to determine whether the current rendering component matched with the current game script statement needs to be called for rendering, because the matched current rendering component needs to be called for rendering only when the current game script statement is the game script instruction statement.
If the type of the current abstract syntax tree is a logic script, whether the current abstract syntax tree is a judgment branch or a circulation branch in the logic script needs to be judged, and if the current abstract syntax tree is the judgment branch, whether the preset condition is met or not is judged according to the description information of the current abstract syntax tree. And if the abstract syntax tree is a loop branch, performing loop processing according to the description information of the current abstract syntax tree. The preset conditions can be determined according to actual business requirements, actual product requirements or actual application scenarios.
In one embodiment, determining whether the current game script statement is a game script instruction statement to determine whether a matching current rendering component needs to be invoked for rendering includes: and when the current game script statement is a game script instruction statement, determining a matched current rendering component according to script statement description information of the current game script statement, and rendering the current game script statement through the current rendering component.
Specifically, whether the current game script statement is the game script instruction statement is judged to determine whether the matched current rendering component needs to be called for rendering, specifically, when the current game script statement is determined to be the game script instruction statement, the matched current rendering component can be determined according to the description information of the current game script statement, and the current game script statement is rendered through the current rendering component.
For example, the rendering engine reads the AST one by one, calls the corresponding rendering component to render when encountering the AST of the instruction script, performs logic processing according to information provided by the AST when encountering the AST of the logic script, determines whether a condition is satisfied first if it is the AST of the determination statement, if the condition is satisfied, may be a game script logic statement or a game script instruction statement according to the game script statement in the AST, calls the corresponding rendering component to render if it is the game script instruction statement, and the like, otherwise, reads the next AST if it is not satisfied.
For example, the target game script statement corresponding to the current abstract syntax tree is:
#if x>10//do player name=“xxx”file=“xxx”
#end。
when the target game script statement is detected to be a game script judgment statement, the description information of the current abstract syntax tree is judged to meet a preset condition x >10, the current game script statement corresponding to the current abstract syntax tree is obtained to be a player name which is "xxx" file which is "xxx", and the current game script statement is a game script instruction statement, and a matched video rendering component is called to render.
In another embodiment, if the description information of the current abstract syntax tree is determined not to satisfy the preset condition, a next abstract syntax tree is obtained and determined as the current abstract syntax tree for determination.
In one embodiment, as shown in fig. 7, reading, by a rendering engine, each abstract syntax tree in the abstract syntax tree set one by one, and invoking a rendering component matching the read abstract syntax tree for rendering includes:
And step 706, if the rendering is needed, rendering the read abstract syntax tree through the target rendering component.
The onion model is a plug-in mechanism which decouples the rendering components so that the rendering components are loosely coupled. Specifically, the rendering engine reads the abstract syntax trees in the abstract syntax tree set one by one, and determines a target rendering component from the rendering components registered in the onion model according to the abstract syntax tree currently being read. Specifically, the abstract syntax tree is determined according to the description information of the abstract syntax tree being read. And further, judging the rendering context through the target rendering component to determine whether the target rendering component needs to render, wherein some target rendering components do not need to render or other factors cause that the rendering does not need to be performed, so that the target rendering component is required to judge the rendering context to determine whether the target rendering component needs to render, and if the target rendering component needs to render, the target rendering component is used to render the read abstract syntax tree.
In one embodiment, the client may be internally provided with a universal rendering engine of a corresponding version, and the client may first download the corresponding table of the game script content and the game resource, obtain the corresponding current game resource according to the corresponding table when reading the current game script content corresponding to the universal rendering engine, and perform rendering of the current game resource through the universal rendering engine internally provided in the client to generate the current game. All game resources can be uploaded to the cdn network in advance during game release, corresponding current game resources can be acquired from the corresponding cdn network when current game script content is read, and cdn addresses where the current game resources are located are recorded in the corresponding table.
The game script content is separated from game resources and from the rendering engine, so that the purity of a code kernel can be ensured, the maintenance and management are facilitated, and the version iteration is facilitated; when the project is released, only the script file needs to be released, and the corresponding resources are downloaded from cdn in an accelerated manner, so that the project releasing and running speed is greatly increased.
In a specific embodiment, a game script processing method is provided, which specifically includes the following steps:
1. and acquiring the content of the game script to be processed, wherein the content of the game script to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using the domain specific language.
1-1, obtaining game script contents edited by an editor, and uploading the game script contents to a content distribution network.
And 1-2, sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
2. And analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed.
And 2-1, calling a target operating system file, wherein the target operating system file is compiled according to a preset grammar rule of the target operating system.
And 2-2, obtaining a plurality of screened game script sentences to be executed from the game script sentences to be executed according to the target operating system file.
And 2-3, converting the screened game script sentences to be executed into corresponding mark sequences, calling matched callback functions, and converting each mark sequence through the callback functions to obtain an abstract syntax tree set.
3. And reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
3-1-1, reading a current abstract syntax tree through the rendering engine, wherein the current abstract syntax tree is any one in the abstract syntax tree set.
And 3-1-2, when the target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
And 3-1-3, when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met according to the description information of the current abstract syntax tree.
And 3-1-4, if so, acquiring a current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree.
And 3-1-5, judging whether the current game script statement is a game script instruction statement or not to determine whether a current rendering component matched with the current game script statement needs to be called for rendering or not.
When the current game script statement is a game script instruction statement, the matched current rendering component is determined according to the script statement description information of the current game script statement, and the current game script statement is rendered through the current rendering component.
3-2-1, reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and determining a target rendering component matched with the read abstract syntax tree from the rendering components registered in the onion model.
3-2-2, judging the rendering context through the target rendering component to determine whether the target rendering component needs to render.
3-2-3, if the rendering is needed, rendering the read abstract syntax tree through a target rendering component.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a game script processing apparatus 800 including: an obtaining module 802, a parsing module 804, and a rendering module 806, wherein:
the obtaining module 802 is configured to obtain to-be-processed game script content, where the to-be-processed game script content includes a plurality of to-be-executed game script statements, and the to-be-executed game script statements are described using a domain-specific language.
The parsing module 804 is configured to parse the content of the game script to be processed to obtain an abstract syntax tree set corresponding to the content of the game script to be processed, where the abstract syntax tree set includes a plurality of abstract syntax trees, and the abstract syntax trees are tree-like expression forms of abstract syntax structures of corresponding statements of the game script to be executed.
And a rendering module 806, configured to read, by the rendering engine, each abstract syntax tree in the abstract syntax tree set one by one, and call a rendering component matching the read abstract syntax tree for rendering.
In one embodiment, the obtaining module 802 obtains the game script content edited by the editor, uploads the game script content to a content distribution network, sends an obtaining request, and pulls the game script content to be processed from the content distribution network according to the obtaining request.
In one embodiment, the parsing module 804 calls a target operating system file, where the target operating system file is compiled according to a preset syntax rule of a target operating system, obtains a plurality of screened to-be-executed game script statements from each to-be-executed game script statement according to the target operating system file, converts the plurality of screened to-be-executed game script statements into corresponding tag sequences, calls a matched callback function, and converts each tag sequence through the callback function to obtain an abstract syntax tree set.
In one embodiment, the rendering module 806 reads, by the rendering engine, a current abstract syntax tree, where the current abstract syntax tree is any one of the abstract syntax tree sets, and determines, according to the abstract syntax tree description information of the current abstract syntax tree, a current rendering component matching the current abstract syntax tree when a target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, and renders the current abstract syntax tree through the current rendering component.
In one embodiment, when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, the rendering module 806 judges whether a preset judgment condition is met according to description information of the current abstract syntax tree, if so, obtains a current game script statement corresponding to the current abstract syntax tree, where the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree, and judges whether the current game script statement is a game script instruction statement to determine whether to invoke a current rendering component matched with the current game script statement for rendering.
In one embodiment, when the current game script statement is a game script instruction statement, the rendering module 806 determines a matching current rendering component according to script statement description information of the current game script statement, and renders the current game script statement through the current rendering component.
In one embodiment, the rendering module 806 reads the abstract syntax trees in the abstract syntax tree set one by one through the rendering engine, determines a target rendering component matched with the read abstract syntax tree from the rendering components registered in the onion model, determines whether the rendering is required through the target rendering component, and renders the read abstract syntax tree through the target rendering component if the rendering is required.
For the specific definition of the game script processing device, reference may be made to the above definition of the game script processing method, which is not described herein again. The respective modules in the game script processing apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store game script content. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a game script processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: the method comprises the steps of obtaining game script contents to be processed, wherein the game script contents to be processed comprise a plurality of game script sentences to be executed, the game script sentences to be executed are described by using a domain specific language, the game script contents to be processed are analyzed, an abstract syntax tree set corresponding to the game script contents to be processed is obtained, the abstract syntax tree set comprises a plurality of abstract syntax trees, the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of the corresponding game script sentences to be executed, the abstract syntax trees in the abstract syntax tree set are read one by one through a rendering engine, and a rendering component matched with the read abstract syntax trees is called for rendering.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring the game script content edited by the editor, uploading the game script content to a content distribution network, sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calling a target operating system file, wherein the target operating system file is compiled according to preset grammar rules of a target operating system, a plurality of screened game script sentences to be executed are obtained from the game script sentences to be executed according to the target operating system file, the screened game script sentences to be executed are converted into corresponding mark sequences, matched callback functions are called, and the mark sequences are converted through the callback functions to obtain an abstract grammar tree set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the current abstract syntax tree through a rendering engine, wherein the current abstract syntax tree is any one of the abstract syntax tree sets, when a target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met or not according to the description information of the current abstract syntax tree, if so, acquiring the current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree, and judging whether the current game script statement is a game script instruction statement or not to determine whether a current rendering component matched with the current game script statement needs to be called for rendering or not.
In one embodiment, the processor, when executing the computer program, further performs the steps of: judging whether the current game script statement is a game script instruction statement to determine whether the matched current rendering component needs to be called for rendering or not, wherein the judging step comprises the following steps: and when the current game script statement is a game script instruction statement, determining a matched current rendering component according to script statement description information of the current game script statement, and rendering the current game script statement through the current rendering component.
In one embodiment, the processor, when executing the computer program, further performs the steps of: reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, determining a target rendering component matched with the read abstract syntax tree from rendering components registered in the onion model, judging whether the rendering is needed or not through the target rendering component, and rendering the read abstract syntax tree through the target rendering component if the rendering is needed.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: the method comprises the steps of obtaining game script contents to be processed, wherein the game script contents to be processed comprise a plurality of game script sentences to be executed, the game script sentences to be executed are described by using a domain specific language, the game script contents to be processed are analyzed, an abstract syntax tree set corresponding to the game script contents to be processed is obtained, the abstract syntax tree set comprises a plurality of abstract syntax trees, the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of the corresponding game script sentences to be executed, the abstract syntax trees in the abstract syntax tree set are read one by one through a rendering engine, and a rendering component matched with the read abstract syntax trees is called for rendering.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring the game script content edited by the editor, uploading the game script content to a content distribution network, sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calling a target operating system file, wherein the target operating system file is compiled according to preset grammar rules of a target operating system, a plurality of screened game script sentences to be executed are obtained from the game script sentences to be executed according to the target operating system file, the screened game script sentences to be executed are converted into corresponding mark sequences, matched callback functions are called, and the mark sequences are converted through the callback functions to obtain an abstract grammar tree set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the current abstract syntax tree through a rendering engine, wherein the current abstract syntax tree is any one of the abstract syntax tree sets, when a target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met or not according to the description information of the current abstract syntax tree, if so, acquiring the current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree, and judging whether the current game script statement is a game script instruction statement or not to determine whether a current rendering component matched with the current game script statement needs to be called for rendering or not.
In one embodiment, the processor, when executing the computer program, further performs the steps of: judging whether the current game script statement is a game script instruction statement to determine whether the matched current rendering component needs to be called for rendering or not, wherein the judging step comprises the following steps: and when the current game script statement is a game script instruction statement, determining a matched current rendering component according to script statement description information of the current game script statement, and rendering the current game script statement through the current rendering component.
In one embodiment, the processor, when executing the computer program, further performs the steps of: reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, determining a target rendering component matched with the read abstract syntax tree from rendering components registered in the onion model, judging whether the rendering is needed or not through the target rendering component, and rendering the read abstract syntax tree through the target rendering component if the rendering is needed.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A game script processing method, the method comprising:
obtaining game script content to be processed, wherein the game script content to be processed comprises a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, wherein the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script sentences to be executed;
and reading each abstract syntax tree in the abstract syntax tree set one by one through a rendering engine, and calling a rendering component matched with the read abstract syntax tree for rendering.
2. The method of claim 1, wherein the obtaining the game script content to be processed comprises:
obtaining game script contents edited by an editor, and uploading the game script contents to a content distribution network;
and sending an acquisition request, and pulling the game script content to be processed from the content distribution network according to the acquisition request.
3. The method according to claim 1, wherein the parsing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed comprises:
calling a target operating system file, wherein the target operating system file is obtained by writing according to a preset grammar rule of a target operating system;
obtaining a plurality of screened game script sentences to be executed from the game script sentences to be executed according to the target operating system file;
and converting the screened game script sentences to be executed into corresponding marking sequences, calling matched callback functions, and converting each marking sequence through the callback functions to obtain an abstract syntax tree set.
4. The method of claim 1, wherein reading each abstract syntax tree in the set of abstract syntax trees one by a rendering engine, and invoking a rendering component matching the read abstract syntax tree for rendering comprises:
reading, by a rendering engine, a current abstract syntax tree, the current abstract syntax tree being any one of the set of abstract syntax trees;
and when the target game script statement corresponding to the current abstract syntax tree is a game script instruction statement, determining a current rendering component matched with the current abstract syntax tree according to the abstract syntax tree description information of the current abstract syntax tree, and rendering the current abstract syntax tree through the current rendering component.
5. The method of claim 4, further comprising:
when the target game script statement corresponding to the current abstract syntax tree is a game script logic statement and the target game script statement is a game script judgment statement, judging whether a preset judgment condition is met or not according to the description information of the current abstract syntax tree, wherein the game script logic statement comprises a game script judgment statement and a game script circulating statement;
if yes, obtaining a current game script statement corresponding to the current abstract syntax tree, wherein the current game script statement is any one of a plurality of target game script statements corresponding to the current abstract syntax tree;
and judging whether the current game script statement is a game script instruction statement or not to determine whether a current rendering component matched with the current game script statement needs to be called for rendering or not.
6. The method of claim 5, wherein determining whether the current game script statement is a game script instruction statement to determine whether a matching current rendering component needs to be invoked for rendering comprises:
and when the current game script statement is a game script instruction statement, determining a matched current rendering component according to script statement description information of the current game script statement, and rendering the current game script statement through the current rendering component.
7. The method of claim 1, wherein reading each abstract syntax tree in the set of abstract syntax trees one by a rendering engine, and invoking a rendering component matching the read abstract syntax tree for rendering comprises:
reading the abstract syntax trees in the abstract syntax tree set one by one through a rendering engine, and determining a target rendering component matched with the read abstract syntax tree from rendering components registered in an onion model;
judging whether the target rendering component needs to render or not by the target rendering component;
and if the rendering is needed, rendering the read abstract syntax tree through the target rendering component.
8. A game script processing apparatus, comprising:
the game processing device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring game script contents to be processed, the game script contents to be processed comprise a plurality of game script sentences to be executed, and the game script sentences to be executed are described by using a domain specific language;
the analysis module is used for analyzing the game script content to be processed to obtain an abstract syntax tree set corresponding to the game script content to be processed, the abstract syntax tree set comprises a plurality of abstract syntax trees, and the abstract syntax trees are tree-shaped expression forms of abstract syntax structures of corresponding game script statements to be executed;
and the rendering module is used for reading each abstract syntax tree in the abstract syntax tree set one by one through a rendering engine and calling a rendering component matched with the read abstract syntax tree for rendering.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980792.3A CN113797545B (en) | 2021-08-25 | 2021-08-25 | Game script processing method, game script processing device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980792.3A CN113797545B (en) | 2021-08-25 | 2021-08-25 | Game script processing method, game script processing device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113797545A true CN113797545A (en) | 2021-12-17 |
CN113797545B CN113797545B (en) | 2024-10-01 |
Family
ID=78894034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110980792.3A Active CN113797545B (en) | 2021-08-25 | 2021-08-25 | Game script processing method, game script processing device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113797545B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799806A (en) * | 2012-06-14 | 2012-11-28 | 中国人民解放军信息工程大学 | Tree structure-based cryptographic algorithm logical expression identification method |
CN110245002A (en) * | 2019-05-23 | 2019-09-17 | 阿里巴巴集团控股有限公司 | System interaction method, apparatus, equipment and storage medium |
CN110826314A (en) * | 2019-11-07 | 2020-02-21 | 中金智汇科技有限责任公司 | Rule analysis method and device, electronic equipment and storage medium |
CN111450528A (en) * | 2020-03-31 | 2020-07-28 | 网易(杭州)网络有限公司 | Cloud game rendering service system, method and device |
CN111522816A (en) * | 2020-04-16 | 2020-08-11 | 云和恩墨(北京)信息技术有限公司 | Data processing method, device, terminal and medium based on database engine |
CN112035099A (en) * | 2020-09-01 | 2020-12-04 | 北京天融信网络安全技术有限公司 | Vectorization representation method and device for nodes in abstract syntax tree |
CN112114807A (en) * | 2020-09-28 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
CN112380502A (en) * | 2020-11-13 | 2021-02-19 | 苏州三六零智能安全科技有限公司 | Web application processing method and device, server and terminal equipment |
CN113041617A (en) * | 2021-03-18 | 2021-06-29 | 深圳市腾讯网域计算机网络有限公司 | Game picture rendering method, device, equipment and storage medium |
-
2021
- 2021-08-25 CN CN202110980792.3A patent/CN113797545B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799806A (en) * | 2012-06-14 | 2012-11-28 | 中国人民解放军信息工程大学 | Tree structure-based cryptographic algorithm logical expression identification method |
CN110245002A (en) * | 2019-05-23 | 2019-09-17 | 阿里巴巴集团控股有限公司 | System interaction method, apparatus, equipment and storage medium |
CN110826314A (en) * | 2019-11-07 | 2020-02-21 | 中金智汇科技有限责任公司 | Rule analysis method and device, electronic equipment and storage medium |
CN111450528A (en) * | 2020-03-31 | 2020-07-28 | 网易(杭州)网络有限公司 | Cloud game rendering service system, method and device |
CN111522816A (en) * | 2020-04-16 | 2020-08-11 | 云和恩墨(北京)信息技术有限公司 | Data processing method, device, terminal and medium based on database engine |
CN112035099A (en) * | 2020-09-01 | 2020-12-04 | 北京天融信网络安全技术有限公司 | Vectorization representation method and device for nodes in abstract syntax tree |
CN112114807A (en) * | 2020-09-28 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
CN112380502A (en) * | 2020-11-13 | 2021-02-19 | 苏州三六零智能安全科技有限公司 | Web application processing method and device, server and terminal equipment |
CN113041617A (en) * | 2021-03-18 | 2021-06-29 | 深圳市腾讯网域计算机网络有限公司 | Game picture rendering method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113797545B (en) | 2024-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3011442B1 (en) | Method and apparatus for customized software development kit (sdk) generation | |
US20100281463A1 (en) | XML based scripting framework, and methods of providing automated interactions with remote systems | |
CN109032662B (en) | Code file generation method and device, computer equipment and storage medium | |
CN111045655A (en) | Page rendering method and device, rendering server and storage medium | |
WO2018058811A1 (en) | Virtual reality scene loading method and device | |
US11699073B2 (en) | Network off-line model processing method, artificial intelligence processing device and related products | |
CN109597618B (en) | Program development method, program development device, computer device, and storage medium | |
CN107526623B (en) | Data processing method and device | |
CN111242317A (en) | Method and device for managing application, computer equipment and storage medium | |
CN112559344A (en) | Remote mock testing method and system | |
CN112486459A (en) | Activity page generation method and device, computer equipment and readable storage medium | |
CN110442424A (en) | A kind of method and apparatus for realizing virtual machine management platform dynamic configuration rule | |
EP3441883B1 (en) | Function serialization for inter-thread messaging | |
CN112764802A (en) | Business logic customization method and device, electronic equipment and storage medium | |
CN110955434B (en) | Software development kit processing method and device, computer equipment and storage medium | |
CN112398809A (en) | Protocol rule conversion method, device, computer equipment and storage medium | |
CN112667204B (en) | Data processing method and device for micro-service application and computer equipment | |
CN113342447A (en) | Page generation method, device, equipment and storage medium based on Flutter | |
CN113050987A (en) | Interface document generation method and device, storage medium and electronic equipment | |
CN113797545B (en) | Game script processing method, game script processing device, computer equipment and storage medium | |
CN113590564B (en) | Data storage method, device, electronic equipment and storage medium | |
CN117971350A (en) | Applet operating method, device and computer readable storage medium | |
CN113730917A (en) | Game script generation method and device, computer equipment and storage medium | |
CN107092601B (en) | Resource file construction method, resource file application method and device | |
CN114327742A (en) | Cloud platform and program code processing method based on cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |