CN110286910A - File transplantation method, device, equipment and storage medium - Google Patents

File transplantation method, device, equipment and storage medium Download PDF

Info

Publication number
CN110286910A
CN110286910A CN201910584262.XA CN201910584262A CN110286910A CN 110286910 A CN110286910 A CN 110286910A CN 201910584262 A CN201910584262 A CN 201910584262A CN 110286910 A CN110286910 A CN 110286910A
Authority
CN
China
Prior art keywords
metadata
file
description file
component
code
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
Application number
CN201910584262.XA
Other languages
Chinese (zh)
Other versions
CN110286910B (en
Inventor
袁鹏
邓学宁
王家乐
朱胜栋
曹洪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910584262.XA priority Critical patent/CN110286910B/en
Publication of CN110286910A publication Critical patent/CN110286910A/en
Application granted granted Critical
Publication of CN110286910B publication Critical patent/CN110286910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Abstract

The embodiment of the present invention proposes a kind of file transplantation method, device, equipment and storage medium.Wherein, this method comprises: establishing the mapping relations of the metadata of file to be transplanted and the metadata of description file structure;According to the mapping relations, it converts the file to be transplanted to the description file for meeting the description file structure.Can directly walk around existing file the description file for turning to and meeting description file structure, and the embodiment of the present invention is conducive to be multiplexed existing file, and that reduces description file writes the time, accelerate the speed of service development.This, which describes file, can be directly changed into craft services code, be conducive to quickly generate service, reduce the programming difficulty of service development.

Description

File transplantation method, device, equipment and storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of file transplantation method, device, equipment and storage to be situated between Matter.
Background technique
In the applicable development process of the plots class skill such as game, need to write game plan, select development language and Programming tool builds exploitation environment and bottom frame, determines fine arts style and production standard, builds exploitation visitor used Family end/server etc..Then, developer accordingly writes code according to the game plan write.
The identical technical ability of plot may be also required to write code respectively in different application development platforms, time-consuming long, exploitation Period is long.
Summary of the invention
The embodiment of the present invention provides a kind of file transplantation method, device, equipment and storage medium, to solve in the prior art One or more technical problems.
In a first aspect, the embodiment of the invention provides a kind of file transplantation methods, comprising:
Establish the mapping relations of the metadata of file to be transplanted and the metadata of description file structure;
According to the mapping relations, it converts the file to be transplanted to the description text for meeting the description file structure Part.
In one embodiment, the metadata of the metadata for establishing file to be transplanted and description file structure is reflected Penetrate relationship, comprising:
In response to being chosen wait transplant in file from described to the selection operation wait transplant the first metadata in file First metadata;
In response to it is described description file structure the second metadata it is operation associated, by first metadata with it is described Second metadata association, to obtain the mapping relations of first metadata Yu second metadata.
In one embodiment, first metadata and second metadata meet at least the one of following situations Kind:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
In one embodiment, the description file structure includes chapters and sections component, node component, card assemblies, displaying One of component, template component, prompt component, speech component, condition correlated condition component, user's correlated condition component are more Kind.
In one embodiment, this method further include:
Storage location after resource in the description file of technical ability is reorganized, after being reorganized;
According to the description file, the intention registration of the technical ability is carried out, registering result is obtained;
According to the description file, the storage location after the reorganization and the registering result, by the description File is converted into craft services code.
In one embodiment, this method further include:
The craft services code is saved in specified service arrangement end;Or
The craft services code and the description file are saved in specified service arrangement end;
Wherein, the service arrangement end includes at least one of object storage system, content distributing network.
Second aspect, the embodiment of the invention provides a kind of file transplantation devices, comprising:
Module is established, for establishing the mapping relations of the metadata of file to be transplanted and the metadata of description file structure;
Conversion module, for converting the file to be transplanted to and meeting the description file according to the mapping relations The description file of structure.
In one embodiment, the module of establishing includes:
Submodule is selected, in response to the selection operation wait transplant the first metadata in file, from described The first metadata is chosen in file wait transplant;
It is associated with submodule, it, will be described in response to the operation associated of the second metadata to the description file structure First metadata and second metadata association are closed with obtaining the mapping of first metadata and second metadata System.
In one embodiment, first metadata and second metadata meet at least the one of following situations Kind:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
In one embodiment, the description file structure includes chapters and sections component, node component, card assemblies, displaying One of component, template component, prompt component, speech component, condition correlated condition component, user's correlated condition component are more Kind.
In one embodiment, the device further include:
Recombination module, the storage after being reorganized for the resource in the description file by technical ability, after being reorganized Position;
Registration module, for carrying out the intention registration of the technical ability, obtaining registering result according to the description file;
Conversion module, for according to the storage location and registration knot after the description file, the reorganization The description file is converted into craft services code by fruit.
In one embodiment, the device further include:
Service arrangement module, for the craft services code to be saved in specified service arrangement end;Or it will be described Craft services code and the description file are saved in specified service arrangement end;
Wherein, the service arrangement end includes at least one of object storage system, content distributing network.
The third aspect, the embodiment of the invention provides a kind of file implanted device, the function of the equipment can be by hard Part is realized, corresponding software realization can also be executed by hardware.The hardware or software include one or more and above-mentioned function It can corresponding module.
It include processor and memory in the structure of the equipment in a possible design, the memory is used for Storage supports the equipment to execute the program of above-mentioned file transplantation method, the processor is configured to for executing the storage The program stored in device.The equipment can also include communication interface, for being communicated with other equipment or communication network.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, set for storage file transplanting Standby computer software instructions used comprising for executing program involved in above-mentioned file transplantation method.
A technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that can be direct by existing file It walks around the description file for turning to and meeting description file structure, is conducive to be multiplexed existing file, reduces description file and write the time, Accelerate the speed of service development.This, which describes file, can be directly changed into craft services code, be conducive to quickly generate service, drop The low programming difficulty of service development.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further Aspect, embodiment and feature, which will be, to be readily apparent that.
Detailed description of the invention
In the accompanying drawings, unless specified otherwise herein, otherwise indicate the same or similar through the identical appended drawing reference of multiple attached drawings Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings depict only according to the present invention Disclosed some embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 shows the flow chart of file transplantation method according to an embodiment of the present invention.
Fig. 2 shows the flow charts of file transplantation method according to an embodiment of the present invention.
Fig. 3 shows the flow chart of description document code according to an embodiment of the present invention.
Fig. 4 shows the structural block diagram of file transplantation device according to an embodiment of the present invention.
Fig. 5 shows the structural block diagram of file transplantation device according to an embodiment of the present invention.
Fig. 6 shows the exemplary structure chart of service creation system according to an embodiment of the present invention.
Fig. 7 shows the exemplary flow chart of service creation method according to an embodiment of the present invention.
The schematic diagram at the stencil-chosen interface of Fig. 8 a visual editor.
The schematic diagram at the Code Edit interface of Fig. 8 b and Fig. 8 c visual editor.
Fig. 9 shows the structural block diagram of file implanted device according to an embodiment of the present invention.
Specific embodiment
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that Like that, without departing from the spirit or scope of the present invention, described embodiment can be modified by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Fig. 1 shows the flow chart of file transplantation method according to an embodiment of the present invention.As shown in Figure 1, this method can wrap It includes:
Step S11, the mapping relations of the metadata of file to be transplanted and the metadata of description file structure are established.
Step S12, it according to the mapping relations, converts the file to be transplanted to and meets the description file structure File is described.
In one embodiment, the description file structure includes chapters and sections component, node component, card assemblies, displaying One of component, template component, prompt component, speech component, condition correlated condition component, user's correlated condition component are more Kind.
For example, the attribute of chapters and sections component may include: game name, type of play, the node for including, background image, chapters and sections Mark etc..For another example, the attribute of node component may include node identification, nodename, node type, the corresponding scene of the node Deng.The attribute of component exhibiting may include template, (DuerOS Presentation Language, DuerOS show language to DPL Speech) description etc. attributes.The particular content of these attributes can be set in the interface of visual editor.Wherein, DuerOS is A kind of dialog mode artificial intelligence operating system.
In one embodiment, the type of the node component may include welcoming node, end node, exiting section Point, interaction node and jump one of node or a variety of automatically.
DAG (Directed Acyclic Graph, digraph) can be similar to by describing file structure, and digraph can be from Root node is divided into binary tree or other trees, is carried out down according to condition along different branches.Each node can correspond to one A scene.Each scene may include multiple links or step.For example, welcoming node that can correspond to root node.Exiting node can To in requisition for the case where exiting.Interaction node can correspond to the various scenes for needing interaction.Automatically jumping node can correspond to Transitional scene.
The particular content that file to be transplanted includes may not meet description file structure.For example, file to be transplanted can wrap Include the existing script for some technical ability.By the metadata of existing script and description file structure metadata mapping association after, The particular content of existing script can be converted to the format for meeting description file structure according to incidence relation.Technical ability may include Application of the Internet service on artificial intelligence interactive device.By taking dialog mode artificial intelligence equipment as an example: if user and equipment Say " today, how is weather ";Equipment answer " today is cloudy, temperature xxx ... ";The weather service on equipment backstage can manage Solve user this is inquired and provides corresponding answer, then weather service is a technical ability.Plot class technical ability is for example: game, The description file of story etc. can describe file for plot.
The embodiment of the present invention is conducive to be multiplexed existing file, and that reduces description file writes the time, accelerates service development Speed.This, which describes file, can be directly changed into craft services code, be conducive to quickly generate service, reduce service development Program difficulty.
In one embodiment, the attribute information of technical ability includes the type, essential information and technical ability entrance of the technical ability At least one of be intended to;Wherein, the essential information of the technical ability includes title, icon, the ownership information, publicity of the technical ability At least one of talk about art, show image, charge information.Wherein, ownership information may include author, producer etc..Technical ability entrance Intention may include starting the intention of the technical ability.For example, " opening game A ", " entering game A " etc..
In open platform such as DBP (DuerOS BOT Platform, the degree of the dialog mode artificial intelligence system at exploitation end Secret BOT platform), the attribute information of technical ability is generated when creating technical ability.Wherein, DuerOS is a kind of dialog mode artificial intelligence operation system System, DBP is the open platform of duerOS.BOT can be chat robots conversational system.
The service logic of technical ability may include various plots required for realizing the technical ability.For example, how to enter game, into Enter the sequence of the scene showed after game, how to enter later scene etc..May include in scene director information, background, music, Dialogue etc..
The corresponding description file of technical ability can be generated according to the attribute information of technical ability and service logic.For example, can use Visual editor editor simultaneously generates JSON (JavaScript Object Notation, JavaScript object representation) lattice The description file of the structural datas such as formula or XML (eXtensible Markup Language, extensible markup language) format.
In one embodiment, as shown in Fig. 2, step S11 includes:
Step S21, the selection operation that the first metadata in file is transplanted in response to treating, from described wait transplant in file Choose the first metadata.
Step S22, in response to description file structure the second metadata it is operation associated, will first metadata and Second metadata association, to obtain the mapping relations of first metadata Yu second metadata.
It may include uploading file option in visual editor.It can choose and uploaded wait move by upload file option Plant for example existing game scripts of file.It uploads after transplanting file, it can be in response to treating first yuan of number in transplanting file According to the selection operation of such as " title of technical ability ", " title of technical ability " is chosen from wait transplant in file.It is then possible in response to right Describe file structure the second metadata " title of technical ability " it is operation associated, by from wait transplant chosen in file " technical ability Title " is associated with " title of technical ability " of description file structure.It is similar, it can will be from wait transplant " plot " chosen in file It is associated with " node " of description file structure.Can will from wait transplant " voice output " chosen in file and description file structure " speech " association.
In one embodiment, first metadata and second metadata meet at least the one of following situations Kind:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
Can generally have the same or similar description with associated first metadata and the second metadata.One text to be transplanted Metadata in part can be identical as the metadata in description file structure with some, some in description file structure Metadata it is similar, it is larger that some describes the metadata gap in file structure.The same or similar metadata can be certainly Dynamic association, the biggish metadata of gap can be with manual association.
For example, wait transplant including the metadata such as " title of technical ability ", " icon ", " author ", " background " in file, with description " title of technical ability ", " icon ", " author ", " background " in file structure is identical.
For another example, wait transplant in file include the metadata such as " chapter ", " voice ", with description file structure in " chapters and sections ", " say Words " are similar.
In one embodiment, description file can be converted into craft services code, utilizes craft services code Dispose corresponding craft services.As shown in figure 3, in this method, it is a kind of to may include: by the process for describing document code
Step S31, the storage location after reorganizing the resource in the description file of technical ability, after being reorganized.
For example, storage end will be saved in, and obtain resource in the storage end after the reorganization of the resource in file will be described Storage location.Storage end may include multitype database.The image described in file is saved in image data base, video is protected It is stored to video database, audio is saved in audio database.For another example, web page address and/or web page contents in file will be described It is saved in web database.
Each database in example can be located at the same equipment, can also be located at distinct device.Some is described into file In resource reorganize after, record the storage location for describing the various resources in file.And in the craft services generation of generation It include the storage location of the resource needed in code.If necessary to call certain resources, being somebody's turn to do in craft services code can be passed through The storage location of resource calls the resource.
Step S32, according to the description file, the intention registration of the technical ability is carried out, registering result is obtained.
The various intentions that the technical ability includes can be extracted from description file, such as technical ability entrance is intended to, the corresponding field of node These intentions are registered to exploitation end by scape intention etc..It can belong to which technical ability takes according to the determining intention is intended at exploitation end Business and the craft services are stored in which server etc..And, it is intended that in may include multiple words, can will be in intention Word is registered in the dictionary at exploitation end after splitting.Further, it is also possible to will be intended to carry out it is extensive, by it is same be intended to it is similar if art into Row association.
It step S33, will according to the description file, the storage location after the reorganization and the registering result The description file is converted into craft services code.
For example, the attribute information and service logic of the technical ability for including according to description file, the storage after resource reorganization Position, and it is intended to registering result, the description file is converted into craft services code.Some programming languages can be preset Say the Code Template of such as PHP (Hypertext Preprocessor, HyperText Preprocessor).During code, utilize Description file is converted to the code of certain programming language format by the code generator of the programming language.
In addition, this method can also include: step S41, utilize craft services code deployment correspondence after code Craft services.For example, various ways deployment services can be used:
The craft services code is saved in specified service arrangement end by mode one.
The craft services code and the description file are saved in specified service arrangement end by mode two.
Service arrangement end may include object storage system such as BOS (Baidu Object Storage, object storage) System, can also be including CDN (Content Delivery Network, content distributing network) etc..
In a kind of application scenarios, after equipment end picks up the pending voice of user, voice can be sent by the voice Identification module.Speech recognition module can carry out ASR (Automatic Speech Recognition, automatic speech to voice Identification) processing obtains text, and carries out NLU (Natural Language Understanding, natural-sounding reason to text Solution) processing, obtain pending intention.Speech recognition module can be set in independent server, also can be set and is developing In end, service creation end, service arrangement end etc..After identifying pending intention in pending voice, searches the intention and returned The craft services of category send the intention at the service arrangement end for deploying the craft services.Service arrangement end executes the intention Corresponding craft services code.In executing coding process, corresponding resource can be returned to equipment end.For example, speaker picks up " I will play game A " that user issues after sending service creation end for the voice, is determined after carrying out speech recognition wait hold Row, which is intended that, opens game A.Send the pending intention to the server for deploying game A.In the server, according to this The pending code for being intended to find game A.The code of game A is executed, to the main interface of speaker Resume Mission A, main interface can With image, text, audio, the video etc. for including.Then, according to user to the operation of game A (such as voice, gesture or mouse Operation), identify the current intention of user, execute the corresponding code of current intention, return step by step in game A with work as It is preceding to be intended to corresponding resource.
Fig. 4 shows the structural block diagram of file transplantation device according to an embodiment of the present invention.As shown in figure 4, this document is transplanted Device may include:
Module 51 is established, the mapping for establishing the metadata of file to be transplanted and the metadata of description file structure is closed System;
Conversion module 52 meets the description text for converting the file to be transplanted to according to the mapping relations The description file of part structure.
In one embodiment, the module 51 of establishing includes:
Submodule 511 is selected, in response to the selection operation wait transplant the first metadata in file, from institute It states and chooses the first metadata in file wait transplant;
Be associated with submodule 512, in response to it is described description file structure the second metadata it is operation associated, by institute The first metadata and second metadata association are stated, is closed with obtaining the mapping of first metadata and second metadata System.
In one embodiment, first metadata and second metadata meet at least the one of following situations Kind:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
In one embodiment, the device further include:
Recombination module 53, after being reorganized for the resource in the description file by technical ability, depositing after being reorganized Storage space is set;
Registration module 54, for carrying out the intention registration of the technical ability, obtaining registering result according to the description file;
Conversion module 55, for according to the storage location and the registration after the description file, the reorganization As a result, the description file is converted into craft services code.
In one embodiment, the description file structure includes chapters and sections component, node component, card assemblies, displaying One of component, template component, prompt component, speech component, condition correlated condition component, user's correlated condition component are more Kind.
In one embodiment, the device further include:
Service arrangement module 56, for the craft services code to be saved in specified service arrangement end;Or by institute It states craft services code and the description file is saved in specified service arrangement end;
Wherein, the service arrangement end includes at least one of object storage system, content distributing network.
The function of each module in service creation device of the embodiment of the present invention may refer in above-mentioned service creation method Corresponding description, details are not described herein.
Using example one
By taking development of games as an example, service creation system can be dialog mode AI (Artificial Intelligence, people Work intelligence) system development of games integrated system.The development of games integrated system of dialog mode AI system can be one towards The adventure game of role playing/story Integrated Development Environment/platform, realize voice games of skill/story without programming development, User may not need the related development operation that programming carries out voice technical ability.
Developer can select template or customized service logic, using the form of visual edit by the system It generates plot and describes file.System can describe file according to plot and transplant corresponding craft services code and complete to dispose.It opens Originator can carry out online simulation and prototype test, to verify specific application.By visual edit plot, service updates skill Art will be updated the service on line, and the individual character of TTS (Text To Speech, from Text To Speech) is combined to that service can be promoted Appeal makes using richer individual character.In addition, existing game scripts can also be turned for the game for having scripting description Change transplanting to meet the file that the plot of this programme describes file structure, and then generate code and complete to dispose, realizes dialog mode Voice service.
As shown in fig. 6, the framework of the system is as follows:
View (view) layer realizes the function of visual editor, exports the result is that plot describes file.View layer can File is described only to edit plot, storing scenario does not describe file.For example, plot is described file storage to BOS.View layer can To receive the attribute information of the technical ability from exploitation end.It can use visual editor in view layer and realize that front end user is set The contents such as text, the figure of service logic of meter, quality of editors.
(service) layer is serviced, distribution and return that view layer is requested to controller layer are provided, by visual editor Output result is sent to controller (controller) layer, plays the role of transfer.The plot of generation can be retouched by service layer It states file and is saved in accumulation layer.
Controller (controller) layer describes file transplanting code, and deployment services according to plot.Controller layer can be with Including service creation end.
Accumulation layer such as DAO (data access object, data access object) layer, can be used as platform database, Plot for storing technical ability describes file.
External service may include such as BOS, TTS generate service, audio database, image library.Wherein, BOS is stored CDN (Content Delivery Network, content distributing network) can be pushed directly to.Audio database, image library can Audio, image after file is reformed etc. are described with storing scenario.TTS generates service and can describe to need to convert in file to plot It is converted for the text of voice.
In addition, the system can also be interacted by open platform with equipment end.For example, by being integrated in development platform for example BOT engine is interacted with equipment end in DBP.
Wherein, controller layer mainly realizes following functions:
1) code is generated.It reads plot and describes file, obtain plot and describe structure, content and configuration of file etc..It is controlling Device layer processed generates PHP or the code of other programming languages.
2) resource conversion.Plot is described to be put into specified position, DAO (data after the resource in file reorganizes Access object, data access object) layer, CDN etc..During code, plot is described in file by controller layer Resource such as image, audio etc. split and arrange again.For example, dumping to new storage equipment to the image in resource, will provide The text as voice output in source is converted into text by TTS (Text To Speech, from Text To Speech) mode, into Row SSML (Speech Synthesis Markup Language, Speech Synthesis Markup Language) splicing etc..It then, will be again whole The resource of reason is stored into specified position, such as different DAO layers, external service.This may include in the code of generation By the storage location of the resource of rearrangement.
During code, it can also carry out being intended to the registration with dictionary.For example, describing to extract skill in file from plot The entrance of energy is intended to and the corresponding intention of each scene.These intentions are registered to the opening of dialog mode artificial intelligence system Platform such as DBP.Each intention may include one or more words, these words are saved in the dictionary system of open platform. In this way, if receiving user speech, can identify that user speech is intended in open platform, and determine what intention was belonged to Technical ability.Further, it is also possible to which the related words art for the different expression for indicating same intention is saved in dictionary system.In deployment services Afterwards, if open platform receives user speech, affiliated technical ability can be found according to the intention in voice, and the intention is sent out Give the server process for deploying the technical ability.
3) the execution code of generation is saved in given server by service arrangement, controller layer, can also will describe file Given server is saved in together with code.When executing the code of service, it can be read from the corresponding description file of the code Resource can also read resource from the storage location of database indicated by the code.
As shown in fig. 7, the detailed process of service development is as follows:
S101, the open platform creation technical ability in dialog mode artificial intelligence system.
The new skillset of S102, distribution
S103, technical ability essential information is saved
S104, technical ability intent information is saved.
Wherein, the open platform of dialog mode artificial intelligence system such as DBP (DuerOS Bot Platform), can make With the function of visual editor.DuerOS is a kind of dialog mode artificial intelligence operating system, and DBP is that the opening of DuerOS is flat Platform.BOT can be chat robots conversational system.
Wherein, technical ability may include the Internet application based on Web service (Web Services), such as game services, Story service etc., technical ability is referred to as application service.
Skillset may include a variety of, such as: game, story etc..
Technical ability essential information may include: name such as " game A ", icon, author, if charge, producer, publicity words art, Ownership information, displaying image etc..
Technical ability intent information may include that technical ability entrance is intended to.Technical ability entrance intention can express how to enter the technical ability. For example, " opening game A ", " I will play game A ".
This service and its can be distinguished by being intended to these attribute informations according to skillset, technical ability essential information and technical ability entrance He services.
S105, file is described in game factory creation plot.Plot describes file and is also referred to as script (script).Example Such as: skillset, technical ability essential information and the technical ability entrance that game factory receives technical ability from open platform are intended to attribute information Afterwards, the plot with certain structure can be generated and describe file.Plot describes attribute information and industry in file including the technical ability Business logic.The service logic of technical ability may include each scene of the technical ability.For example, the service logic of game skill includes the trip Play technical ability needs the content shown in each scene.For another example, the service logic of story technical ability includes each field of the story technical ability The story content of scape.
S106, generation plot describe file and can be saved in designated position such as BOS system.
If S107, the plot updated describe file, updated file is uploaded into object storage system such as BOS system System, generates and saves plot and describe file corresponding storage address such as URL (Uniform Resource in BOS Locator, uniform resource locator).
Plot can be described to file by being converted into craft services code using code generator when S108, code.It can To be converted into the code of a variety of different programming languages, such as the code of PHP or other programming languages.During code, to play Feelings describe the resource in file and are reorganized, and are stored in designated position.
During code, it can be expressed with update intent.Update intent expression can be understood as extensive process.Such as: There is an intention to cry " entering ", " entering ", " walking to enter " can be generalized for, some intention is updated to a variety of common expression, thus The same intention is indicated by a variety of expression.
It is constant that generated plot describes file, the update intent table when describing document codeization and deployment services to plot It reaches.In this way, an intention can correspond to multiple expression when to service on line.For example, technical ability entrance is anticipated when visual edit Figure, which only includes, enters, and " can entering " in code, this is intended to a variety of different expression " entering ", " entering " etc..
Then it carries out service arrangement: code being stored in given server, code can be issued online after the approval.On After the completion of line, plot can also be described to file and be also pushed to the server for deploying code.
Using example two
Plot describes file similar to digraph (DAG, Directed Acyclic Graph).Digraph divides from root node At binary tree or other trees, carried out down according to condition along different branches step by step.Industry is represented with series of sign The process of each scene for logic of being engaged in.Each scene may include multiple links or step.Each node can be by different sides Formula description.For example, root node may include that technical ability entrance is intended to.The next stage node of root node may include after entering technical ability Later scene.
For example, the scene to " guessing number " game carries out plot description, each scene is embodied in plot and describes in file.It is false If first scene that " guessing number " game includes is that first party goes out number, second scenario is that second party guesses number, can will be every A scene needs the picture, music, the text that show to be embodied in plot by forms such as nodes and describe in file.
The specific service logic of game describes to realize in file in plot, and plot describes to further include the outer of the game in file The attribute information in portion: access information, title, author's property right, producer, publicity words art, ownership information, displaying image etc..
The plot describes file can be using the description of the formats such as XML or JSON.Wherein, this document may include that plain text is retouched It states, the exposition of description file is generated by visual edit.It can one-touch generation code using description file.
Plot, which describes file structure, may include chapters and sections (session), node (node), card (card), shows (show), template (template), prompt (hint), speech (speech), condition correlated condition (condition), Yong Huxiang The components such as off status (state).Wherein, card, show, template, which belong to, shows form, and show can be indicated and DPL (DuerOS Presentation Language, DuerOS show language) related to show form and other extension shapes Formula.Hint indicates to guide prompt, speech expression voice.State indicates current state related to user in plot, such as body Power.Condition is related to environmental change, condition, calculating etc..For example, having wind, cargo deficiency etc..
The corresponding attribute of every kind of component, such as the description of JSON format can be preset.For example, the attribute of chapters and sections component can To include: game name, type of play, the node for including, background image, chapters and sections mark, welcome node etc..For another example, node component Attribute may include node identification, nodename, node type, the corresponding scene of the node etc..The attribute of component exhibiting can To include the attributes such as template, DPL description.The particular content of these attributes can be set in the interface of visual editor.
It is described in file structure in plot, node is important component.Node type may include: to welcome node, terminate Node exits node, interaction node (the node classes of various dialogues) and jumps node automatically.Wherein, welcome node that can correspond to Root node such as technical ability entrance.It exits node and can correspond to and played a part and need the case where exiting.Interaction node can correspond to The scene of various dialogues.Automatically transitional scene can be corresponded to by jumping node.Such as after clicking " I will go to Chang'an ", screen rolling It is dynamic, and show and introduce content " Chang'an be ... " about Chang'an.For another example, it after game clearance, automatic jumps to and " welcomes You " etc. scenes, then jump to next interaction node.Next scene correspondence can be automatic jumped to by jumping node automatically Node, user do not have to interaction.
Plot describes to may include multiple chapters and sections in file, and each chapters and sections may include multiple nodes, and each node can be with A corresponding scene.The property content of node can be set according to the needs of scene.For example, increasing a node, setting should Indicate that someone says what, either with or without the property content of interaction, another scene (corresponding node) entered etc. in node. After all scenes (corresponding node) and execution sequence that game includes all edit, clicks and generate, the trip can be generated The plot of play describes file, then parses description file transplanting code.
It is described in file in plot, shows that class scene can be described using DPL.For example, scene of game includes: that user says " into hotel ", after coming in, bartender is said " you want what is eaten ", and user says " I wants to eat beef ".Background service, bartender say " beef AA money ", and show DPL description realize beef image " a disk beef ", bartender says " you will eat this disk beef? ", return again to System.Wherein, it describes to need dialogue to be shown, beef image etc. in file, it can be using DPL description.
The information of equipment can also be set in visual editor, can be adapted to different displayings in order to service and set It is standby.For example, craft services have in addition to returning when the voice of the user of equipment end reaches craft services by dialog mode AI system Except the voice broadcast of effect, can also according to the screen type of equipment end generate for DPL describe, return to dialog mode AI system System.DPL description is converted into specific information by the open platform of dialog mode AI system, is shown on the screen of equipment end.Wherein, Screen type may include: to have screen, no screen, screen size etc..Include: according to the example that screen type generates DPL description Assuming that needing to show an image and an audio in equipment end.The figure and the DPL of audio description are stored on root node, it is right Audio is only returned in the speaker of no screen, for there is the speaker of screen that can return to audio and image.
In a kind of example, it is assumed that game name is " game xx ", and the service logic of game includes multiple scenes.
Scene one: after entering game, showing " Custom House Welcome to Custom House game xx, please explain clearly game of beginning ", after being again introduced into game, Show " game simulation is come in welcome again, please be said and be continued game ".The content showed can be using card, show, speech etc. Multiple assembly shows form.Welcome node can be used in the scene.
Scene two: after entering some restaurant in gaming, show " you have come restaurant, and could you tell me will eat what ", again Into after the restaurant, show " you have come restaurant again, and could you tell me will eat what ".The content showed can using card, show, The multiple assemblies such as speech show form.Interaction node can be used in the scene.
Scene three: when needing to exit game, showing " you will exit game at determination ", confirms backed off after random game through user. The content showed can show form using multiple assemblies such as card, show, speech.The scene, which can be used, exits node.
According to the above scene, the corresponding node of each scene is determined respectively, the content of each attribute in node is set, and generates packet Include the description file of the logical description pseudocode of such as JSON format.It describes in file to may include game name, node, game Each scene etc..
The service creation system of the embodiment of the present invention is suitable for the interaction scenarios of the intelligent sound equipment with screen, can Good virtual interactive interface experience is obtained on calculating the display equipment being limited with storage resource.The waiter of the embodiment of the present invention The interaction scenarios of the equipment without screen are also applied at system.
Plot in the embodiment of the present invention, which describes file, can use visual editor generation.
As shown in Fig. 8 a, Fig. 8 b and Fig. 8 c, the interface of visual editor is segmented into as stencil-chosen interface and code Editing interface.
Illustratively, as shown in Figure 8 a, user can perform the following operation at stencil-chosen interface:
1) from the beginning creation it is new show form.For example, in response to the choosing to new creation option " creating from the beginning " Operation is selected, the page that creation newly shows form is jumped to.
2) upload code file or resource file etc..For example, in response to the selection to file option " upload code " is uploaded Operation, jumps to the page of upload code file or resource file.
3) select system default shows form or template.For example, loading institute in response to the selection operation to some template The template of selection.
At stencil-chosen interface, user can choose the layout templates liked to create technical ability, can be with upload code file Or technical ability is created from the beginning.Layout templates include it is a variety of, such as simple picture, long text, short text, picture and text mixing.
As shown in Figure 8 b, it can be performed the following operation at Code Edit interface:
1) field that will can show directly is presented by webpage representation block diagram.
For example, left side shows clearly frame structure and hierarchical relationship;The word that right side directly prompts user that can modify Section, can be edited in text box.
2) code skeleton for influencing the overall situation, such as file, style, resource, the modification of user are shown after selecting global property The overall situation will be modified shows state.
3) different equipment is selected.For example, the equipment that user clicks top selects control, different moulds will be presented in lower section Quasi- device effect (screen type of each equipment may be different).
4) code is exported.The upper right corner is that code exports control, and user can click the code of the control export.
As shown in Figure 8 c, to be switched to the schematic diagram after Code Edit.After being switched to Code Edit, bottom can be all The operating range of Code Edit.Code can be modified in the operating range.
Include: using the advantage of visual editor
1. complicated front-end edit interface is showed by the block diagram of procedure, hierarchical structure is clear, and can click straight Editor is met, it is easy to operate.
2. can choose different equipment, so as to simulate the effect that shows of distinct device, and editor can be with every time Show the simulative display effect of distinct device in real time.
3. supporting exhibit framework figure and Code Selection to present, significant increase development efficiency.
4. support code exports, built-in template abundant.
5. the module of core logic part is split, direct code editor after selection.
Using example three
Plot can be described into file and be automatically converted to PHP code.Such as each group in file structure is described according to plot Part, logical relation of each component etc., generate corresponding PHP code.In code generation process, resource conversion can be carried out.Example Such as: if providing image in description file, image can be stored in CDN.It, will be literary if plot describes to provide text in file Originally it is converted into sound.Further, it is also possible to be intended to and dictionary registration.It describes to extract in file from plot and be intended to, complete to be intended to Registration, and dictionary registration is carried out using the common words art similar with intention.
Then, the craft services code of generation is deployed to specified server.Such as craft services are deployed to dialogue The memory space that the open platform of formula artificial intelligence system such as DBP is generated.It, can be by words art text when executing craft services This resource returns to open platform, is finally returned to equipment end (such as intelligent sound box) by open platform.Craft services are deployed to Which can be determined using certain algorithm on server.Such as according to how many server, load state, space shape on cloud Condition, newly application server, the one or more servers of multiplexing etc., to determine how deployment services.After deployment services, to service It is audited, it after the approval can be online.
In addition, editor's intention or dictionary can be clicked in visual editor.Voice will become event similar to mouse point Hit generated event, i.e. the intention registered of craft services.The open platform of dialog mode artificial intelligence system is by the language of user Sound identifies intention after ASR and NLU.The intention identified is dealt on the server where generated code.Server After receiving intention, the corresponding code of the intention is executed.
For example, user says that " opening game A " voice, speaker send open platform for the voice and be converted to meaning against speaker Figure.Open platform can find " game A " craft services that the intention is belonged to according to the information for being intended to registration, thus should Intention is dealt into the server for deploying " game A " craft services.After server receives the intention, the corresponding technical ability of the intention is executed Service code.Implementing result is returned into open platform.If there is DPL is described, open platform can carry out vision exhibition by DPL Show.Open platform sends this Service Source such as sound, image etc. to intelligent sound box or other equipment end.
This example is illustrated for file is converted to PHP code by describing plot, the realization class of other programming languages Seemingly.It may include multiple PHP formatted files in PHP code.Such as the file of " .php " ending.It include specific in these files PHP code content.
For example, may include controller file such as entrance in the bibliographic structure of PHP code, event handling class, being intended to thing Part handles root class, is intended to processing class, node parsing class, BOT class.The bibliographic structure of PHP can also include configuration file, CI (Continuous Integration, continuous integrating) file, story (story) file, lib library file etc..
It is intended to the PHP formatted file that processing class may include a variety of intentions.For example, startintent.class.php table Show and starts to be intended to, it is corresponding to welcome node.Restartintent.class.php expression restarts to be intended to. Answerintent.class.php, which indicates to answer, to be intended to, and corresponding user answers.Repeatintent.class.php indicates weight It is multiple to be intended to.Repeatintent.class.php indicates to repeat to be intended to.Sessionendedrequest.class.php indicates knot Shu Yitu, corresponding end node.
Node parsing class may include the PHP formatted file of a variety of nodes.For example, fundamental node (basenode.class.php), end node (endnode.class.php), exit node (quitnode.class.php), node resolver (nodeparser.class.php), normal node (normalnode.class.php), trouble node (questionnode.class.php), state node (conditionnode.class.php), random node (randomnode.class.php), child node (childnode.class.php), node (welcomenode.class.php), start node are welcome (startnode.class.php) etc..
Plot describes some scene in file and needs audio, and plot describes directly include that text (passes through TTS in file Service is converted to voice), URL or audio file can also be provided.URL is usually the addressable web page address by verifying. Such as: it after asking " having had a meal does not have " if necessary to description user, sings, describes to include the song for needing to play in file in plot Bent audio file or URL etc..
Using code generator, it can use plot and describe file and automatically generate corresponding executable code, and be deployed to On the open platform such as DBP of dialog mode AI system, the intention and dictionary for the craft services being during which related to are registered, resource conversion etc. It may refer to the associated description of above-described embodiment.
Using example four
It, can be in such a way that metadata mapping and file upload for having the script of script such as plot class game It is converted into and meets the plot of the embodiment of the present invention and describe the content of file structure, and then generating can be in intelligent sound equipment Etc. the service that executes in equipment ends.
Transplanting the process converted may include:
1, metadata maps.Existing script can be known as file to be transplanted.By the metadata and plot in existing script The metadata described in file structure carries out mapping association.
Wherein, have script metadata may include described with the plot in the embodiment of the present invention it is each in file structure The similar data of component.For example, the metadata of existing script may include the attributes such as title, author, manufacturer, the icon of game letter Breath.The title of the game of existing script, author, manufacturer, icon are described with plot to the title of technical ability in file structure respectively, made Person, manufacturer, icons association.
The metadata of existing script also may include concrete scene.Such as: by first in the metadata of existing script Scene describes the root node in file structure with plot and is associated with, and the second scenario in the metadata of existing script is retouched with plot State the child node association of the root node in file structure.
It is described in file structure for example, the content wait transplant the scene in file, plot, link etc. can correspond to plot The attribute information of chapters and sections or node.For another example, the enquirement wait transplant in file can be corresponded to wait transplant the speech in file (speech) attribute information.
2, existing script is uploaded to the open platform such as DBP at exploitation end.It is right in DBP according to above-mentioned mapping relations The script is parsed, and is generated to meet plot and describe content, the i.e. plot of file structure and is described file.And then it is described using plot File automatic code generating and deployment services.
The plot of scene and this programme in existing script is described chapters and sections component, node component of file structure etc. to establish Mapping relations.Then existing script is generated to the file for meeting plot and describing file structure, plot describes file structure and is similar to DAG (digraph).In such manner, it is possible to sufficiently be multiplexed existing script, quickly generates and describe file in plot, fast implement in intelligent language The service of the equipment ends such as sound interactive device.
Fig. 9 shows the structural block diagram of file implanted device according to an embodiment of the present invention.As shown in figure 9, the equipment includes: Memory 910 and processor 920 are stored with the computer program that can be run on processor 920 in memory 910.The place Reason device 920 realizes the file transplantation method in above-described embodiment when executing the computer program.The memory 910 and processing The quantity of device 920 can be one or more.
The equipment further include:
Communication interface 930 carries out data interaction for being communicated with external device.
Memory 910 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
If memory 910, processor 920 and the independent realization of communication interface 930, memory 910,920 and of processor Communication interface 930 can be connected with each other by bus and complete mutual communication.The bus can be Industry Standard Architecture Structure (ISA, Industry Standard Architecture) bus, external equipment interconnection (PCI, Peripheral Component Interconnect) bus or extended industry-standard architecture (EISA, Extended Industry Standard Architecture) bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For Convenient for indicating, only indicated with a thick line in Fig. 9, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 910, processor 920 and communication interface 930 are integrated in one piece of core On piece, then memory 910, processor 920 and communication interface 930 can complete mutual communication by internal interface.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, the program quilt Processor realizes any method in above-described embodiment when executing.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise Clear specific restriction.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Jie Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In readable storage medium storing program for executing.The storage medium can be read-only memory, disk or CD etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, These should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor of the claim It protects subject to range.

Claims (14)

1. a kind of file transplantation method characterized by comprising
Establish the mapping relations of the metadata of file to be transplanted and the metadata of description file structure;
According to the mapping relations, it converts the file to be transplanted to the description file for meeting the description file structure.
2. the method according to claim 1, wherein the metadata for establishing file to be transplanted and description file The mapping relations of the metadata of structure, comprising:
In response to choosing first in file wait transplant from described to the selection operation wait transplant the first metadata in file Metadata;
In response to the operation associated of the second metadata to the description file structure, by first metadata and described second Metadata association, to obtain the mapping relations of first metadata Yu second metadata.
3. according to the method described in claim 2, it is characterized in that, first metadata and second metadata meet with At least one of lower situation:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
4. the method according to claim 1, wherein the description file structure includes chapters and sections component, node group Part, card assemblies, component exhibiting, template component, prompt component, speech component, condition correlated condition component, user's correlated condition One of component is a variety of.
5. the method according to claim 1, wherein further include:
Storage location after resource in the description file of technical ability is reorganized, after being reorganized;
According to the description file, the intention registration of the technical ability is carried out, registering result is obtained;
According to the description file, the storage location after the reorganization and the registering result, by the description file It is converted into craft services code.
6. according to the method described in claim 5, it is characterized by further comprising:
The craft services code is saved in specified service arrangement end;Or
The craft services code and the description file are saved in specified service arrangement end;
Wherein, the service arrangement end includes at least one of object storage system, content distributing network.
7. a kind of file transplantation device characterized by comprising
Module is established, for establishing the mapping relations of the metadata of file to be transplanted and the metadata of description file structure;
Conversion module, for converting the file to be transplanted to and meeting the description file structure according to the mapping relations Description file.
8. device according to claim 7, which is characterized in that the module of establishing includes:
Submodule is selected, in response to the selection operation wait transplant the first metadata in file, from described wait move It plants in file and chooses the first metadata;
Be associated with submodule, in response to it is described description file structure the second metadata it is operation associated, by described first Metadata and second metadata association, to obtain the mapping relations of first metadata Yu second metadata.
9. device according to claim 8, which is characterized in that first metadata and second metadata meet with At least one of lower situation:
First metadata is identical as the title of second metadata;
The similarity of the title of first metadata and second metadata is greater than given threshold;
First metadata is identical as the content of second metadata;
The similarity of the content of first metadata and second metadata is greater than given threshold.
10. device according to claim 7, which is characterized in that the description file structure includes chapters and sections component, node group Part, card assemblies, component exhibiting, template component, prompt component, speech component, condition correlated condition component, user's correlated condition One of component is a variety of.
11. device according to claim 7, which is characterized in that further include:
Recombination module, the storage location after being reorganized for the resource in the description file by technical ability, after being reorganized;
Registration module, for carrying out the intention registration of the technical ability, obtaining registering result according to the description file;
Conversion module, for according to the description file, the storage location after the reorganization and the registering result, The description file is converted into craft services code.
12. device according to claim 11, which is characterized in that further include:
Service arrangement module, for the craft services code to be saved in specified service arrangement end;Or by the technical ability Service code and the description file are saved in specified service arrangement end;
Wherein, the service arrangement end includes at least one of object storage system, content distributing network.
13. a kind of file implanted device characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize such as method described in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor Such as method described in any one of claims 1 to 6 is realized when row.
CN201910584262.XA 2019-06-28 2019-06-28 File migration method, device, equipment and storage medium Active CN110286910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910584262.XA CN110286910B (en) 2019-06-28 2019-06-28 File migration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910584262.XA CN110286910B (en) 2019-06-28 2019-06-28 File migration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110286910A true CN110286910A (en) 2019-09-27
CN110286910B CN110286910B (en) 2023-08-01

Family

ID=68020861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910584262.XA Active CN110286910B (en) 2019-06-28 2019-06-28 File migration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110286910B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111803951A (en) * 2019-11-07 2020-10-23 厦门雅基软件有限公司 Game editing method and device, electronic equipment and computer readable medium
CN115437620A (en) * 2022-11-09 2022-12-06 广东省科技基础条件平台中心 Natural language programming method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038547A (en) * 2007-02-06 2007-09-19 王军 Method for applying instantaneous style module aided programming in computer programming
CN101957749A (en) * 2009-07-20 2011-01-26 华为技术有限公司 Widget generating method and device
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system
JP2013080355A (en) * 2011-10-03 2013-05-02 Mitsubishi Electric Corp Software reuse support device, software reuse support method and program
WO2013098830A1 (en) * 2011-12-30 2013-07-04 Yogesh Chunical Rathod A system and method for dynamic, portable, customize, contextual, unified and integrated network(s).
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN106843840A (en) * 2016-12-23 2017-06-13 中国科学院软件研究所 A kind of version evolving annotation multiplexing method of source code based on similarity analysis
CN107977236A (en) * 2017-12-21 2018-05-01 上海智臻智能网络科技股份有限公司 Generation method, terminal device, storage medium and the question answering system of question answering system
CN108459875A (en) * 2018-03-27 2018-08-28 网易(杭州)网络有限公司 Generate the method, apparatus and terminal of game flow
CN108469952A (en) * 2018-03-16 2018-08-31 祖龙(天津)科技有限公司 A kind of code generating method and kit of management game configuration

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038547A (en) * 2007-02-06 2007-09-19 王军 Method for applying instantaneous style module aided programming in computer programming
CN101957749A (en) * 2009-07-20 2011-01-26 华为技术有限公司 Widget generating method and device
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system
JP2013080355A (en) * 2011-10-03 2013-05-02 Mitsubishi Electric Corp Software reuse support device, software reuse support method and program
WO2013098830A1 (en) * 2011-12-30 2013-07-04 Yogesh Chunical Rathod A system and method for dynamic, portable, customize, contextual, unified and integrated network(s).
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN106843840A (en) * 2016-12-23 2017-06-13 中国科学院软件研究所 A kind of version evolving annotation multiplexing method of source code based on similarity analysis
CN107977236A (en) * 2017-12-21 2018-05-01 上海智臻智能网络科技股份有限公司 Generation method, terminal device, storage medium and the question answering system of question answering system
CN108469952A (en) * 2018-03-16 2018-08-31 祖龙(天津)科技有限公司 A kind of code generating method and kit of management game configuration
CN108459875A (en) * 2018-03-27 2018-08-28 网易(杭州)网络有限公司 Generate the method, apparatus and terminal of game flow

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
MINGYAN LIU等: "Congestion games with resource reuse and applications in spectrum sharing", GAMENETS\'09: PROCEEDINGS OF THE FIRST ICST INTERNATIONAL CONFERENCE ON GAME THEORY FOR NETWORKS, pages 171 *
ROBERT KLEINERT MD等: "Design, Realization, and First Validation of an Immersive Web-Based Virtual Patient Simulator for Training Clinical Decisions in Surgery", JOURNAL OF SURGICAL EDUCATION, vol. 72, no. 6, pages 1131 - 1138, XP029317702, DOI: 10.1016/j.jsurg.2015.05.009 *
徐峰: "手机游戏开发中的复用、跨平台和引擎技术研究", 中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑, no. 3, pages 138 - 125 *
李旭: "多平台移动游戏移植方案设计与实现", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 2, pages 138 - 140 *
葛雯雯: "一款新型卡牌游戏关键模块的设计与实现", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 5, pages 138 - 1116 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111803951A (en) * 2019-11-07 2020-10-23 厦门雅基软件有限公司 Game editing method and device, electronic equipment and computer readable medium
CN115437620A (en) * 2022-11-09 2022-12-06 广东省科技基础条件平台中心 Natural language programming method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110286910B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN110308902A (en) Document generating method, device, equipment and storage medium
CN110297633A (en) Code conversion method, device, equipment and storage medium
US9330657B2 (en) Text-to-speech for digital literature
CN108962217A (en) Phoneme synthesizing method and relevant device
Miranda Handbook of artificial intelligence for music
US20130246063A1 (en) System and Methods for Providing Animated Video Content with a Spoken Language Segment
US20140122083A1 (en) Chatbot system and method with contextual input and output messages
CN108989705B (en) Video production method and device of virtual image and terminal
US20150032766A1 (en) System and methods for the presentation of media in a virtual environment
CN101639943A (en) Method and apparatus for producing animation
CN106293761B (en) Method and apparatus for generating game editors and plug-ins
EP3824461A1 (en) Method and system for creating object-based audio content
Prior On Vocal Assemblages: From Edison to Miku
JP6866336B2 (en) How and equipment to build artificial intelligence applications
CN110286910A (en) File transplantation method, device, equipment and storage medium
CN106294612A (en) A kind of information processing method and equipment
WO2020154818A1 (en) System and method for updating objects in a simulated environment
Bussolini Television intertextuality after Buffy: Intertextuality of casting and constitutive intertextuality
Gómez-Albarrán et al. Authoring and playing interactive fiction with conventional web technologies
JP2019091416A5 (en)
Murray et al. XR content authoring challenges: The creator-developer divide
US20090112604A1 (en) Automatically Generating Interactive Learning Applications
CN110286893A (en) Service creation method, apparatus, equipment, system and storage medium
JP2006308815A (en) Electronic learning system and electronic system
Bashova et al. Visual novel

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
TA01 Transfer of patent application right

Effective date of registration: 20210508

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant