Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code conversion method and device, equipment and storage medium

A code conversion and storage location technology, applied in the field of devices, equipment and storage media, and code conversion methods, can solve problems such as complex development processes, and achieve the effects of reducing programming difficulty, improving efficiency, and quickly generating services

Active Publication Date: 2019-10-01
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD +1
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Game planning may include many plots, so the development process is complex, programming requires strong professionalism, teamwork is often required, centralized allocation of personnel, and development cycle arrangements are required.

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
  • Code conversion method and device, equipment and storage medium
  • Code conversion method and device, equipment and storage medium
  • Code conversion method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

application example 1

[0126] Taking game development as an example, the code conversion system may be an integrated system for game development of a conversational AI (Artificial Intelligence, artificial intelligence) system. The game development integration system of the conversational AI system can be a role-playing adventure game / story integrated development environment / platform, which realizes the non-programming development of voice skill games / story, and users can carry out related development operations of voice skills without programming .

[0127] Through this system, developers can select templates or customize business logic to generate plot description files in the form of visual editing. The system can generate the corresponding skill service code according to the plot description file and complete the deployment. Developers can conduct online simulation and real machine testing to verify specific applications. Through visual editing of the plot, the service update technology will up...

application example 2

[0159] The plot description file is similar to a directed graph (DAG, Directed Acyclic Graph). The directed graph is divided into a binary tree or other tree structures from the root node, step by step along different branches according to conditions. Use a series of symbols to represent the flow of each scenario of business logic. Each scenario may include multiple links or steps. Each node can be described in different ways. For example, a root node may include a skill entry intent. The next-level nodes of the root node may include the next scene after entering the skill.

[0160] For example, to describe the plot of the scene of the "guess the number" game, each scene is reflected in the plot description file. Assuming that the "guess the number" game includes the first scene where the first party draws the number, and the second scene is the second party guessing the number, the pictures, music, and text that need to be displayed in each scene can be reflected in the p...

application example 3

[0196] The plot description file can be automatically converted into PHP code. For example, corresponding PHP codes are generated according to each component in the plot description file structure, the logical relationship of each component, and the like. During code generation, resource transformations can be performed. For example: if an image is given in the description file, the image can be stored in CDN. If text is given in the scenario description file, convert the text to sound. In addition, intent and dictionary registration is possible. Extract the intention from the plot description file, complete the intention registration, and use the common words similar to the intention to register the dictionary.

[0197] Then, deploy the generated skill service code to the specified server. For example, deploy the skill service to a storage space generated by the open platform of the conversational artificial intelligence system, such as DBP. When executing the skill serv...

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 embodiment of the invention provides a code conversion method and device, equipment and a storage medium. The method comprises the following steps: reorganizing resources in a skill description file to obtain a reorganized storage position; according to the description file, carrying out intention registration of the skill to obtain a registration result; and converting the description file into a skill service code according to the description file, the reorganized storage position and the registration result. According to the embodiment of the invention, the resources in the skill description file can be recombined, and the intentions included in the description file are registered, so that the unified management of the resources is facilitated, and the storage space required by service deployment is reduced. In addition, the description file can be directly converted into a skill service code, rapid service generation is facilitated, and the programming difficulty of service development is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code conversion method, device, equipment and storage medium. Background technique [0002] In the development process of game and other plot skill applications, it is necessary to write the game plan, select the development language and programming tools, build the development environment and underlying framework, determine the art style and production standards, and build the client / server for development, etc. Developers then write code corresponding to the written game plan. [0003] Game planning may include many plots, so the development process is complex, and programming requires strong professionalism. It often requires teamwork, centralized allocation of personnel, and arrangement of development cycles. Contents of the invention [0004] Embodiments of the present invention provide a code conversion method, device, device, and storage medium to solve one ...

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): G06F8/34G06F16/33G06F16/332G06F16/958G10L15/22G10L15/26A63F13/60
CPCG06F8/34G06F16/972G06F16/3329G06F16/3344G10L15/26G10L15/22A63F13/60G10L2015/223Y02D10/00
Inventor 朱胜栋王家乐宋愷晟唐欢曹洪伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products