WO2023016391A1 - 多媒体数据的生成方法、装置、可读介质及电子设备 - Google Patents

多媒体数据的生成方法、装置、可读介质及电子设备 Download PDF

Info

Publication number
WO2023016391A1
WO2023016391A1 PCT/CN2022/110808 CN2022110808W WO2023016391A1 WO 2023016391 A1 WO2023016391 A1 WO 2023016391A1 CN 2022110808 W CN2022110808 W CN 2022110808W WO 2023016391 A1 WO2023016391 A1 WO 2023016391A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
code
preset
plot
dialogue
Prior art date
Application number
PCT/CN2022/110808
Other languages
English (en)
French (fr)
Inventor
董艺菲
焦俊丽
杨盼
Original Assignee
北京有竹居网络技术有限公司
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 北京有竹居网络技术有限公司 filed Critical 北京有竹居网络技术有限公司
Publication of WO2023016391A1 publication Critical patent/WO2023016391A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates to the field of multimedia development, in particular to a method, device, readable medium and electronic equipment for generating multimedia data.
  • the disclosure provides a method, device, readable medium and electronic equipment for generating multimedia data.
  • the present disclosure provides a method for generating multimedia data, the method comprising:
  • plot text corresponding to the multimedia data to be generated, the plot text including at least one dialogue text and at least one target logic data;
  • the plot text is converted into a script code through a preset script template to generate the multimedia data.
  • the present disclosure provides a device for generating multimedia data, the device comprising:
  • An acquisition module configured to acquire a plot text corresponding to the multimedia data to be generated, where the plot text includes at least one dialogue text and at least one target logic data;
  • the conversion module is configured to convert the plot text into script code through a preset script template according to the preset sequence of the dialogue text and the target logic data, so as to generate the multimedia data.
  • the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the method described in the first aspect above are realized.
  • an electronic device including:
  • a processing device configured to execute the computer program in the storage device to implement the steps of the method described in the first aspect above.
  • the plot text can include dialogue text and target logic data
  • different multimedia scenes can be automatically generated according to different dialogue texts and target logic data. Therefore, for plot games, it is possible to avoid failures caused by a single built-in game scene.
  • the problem of generating gorgeous and rich game scenes and since the plot text can be automatically converted into the script code of the multimedia data through the preset script template, the automation degree of generating the multimedia data can be effectively improved, and the generation of the multimedia data can be reduced.
  • the difficulty of the script code of the multimedia data can effectively improve the development efficiency of the multimedia data.
  • FIG. 1 is a flow chart of a method for generating multimedia data shown in an exemplary embodiment of the present disclosure
  • Fig. 2a is a schematic diagram showing a game design window according to an exemplary embodiment of the present disclosure
  • Fig. 2b is a schematic diagram showing another game design window according to an exemplary embodiment of the present disclosure
  • Fig. 3 is a block diagram of a device for generating multimedia data shown in another exemplary embodiment of the present disclosure
  • Fig. 4 is a block diagram of a device for generating multimedia data according to the embodiment shown in Fig. 3;
  • Fig. 5 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • the present disclosure can be applied to the creation of multimedia data such as games, videos, short films, advertisements, and e-books based on text content, music, images, and other materials.
  • multimedia data such as games, videos, short films, advertisements, and e-books based on text content, music, images, and other materials.
  • the development efficiency is low, the development is difficult, and the creation threshold is high, which is not conducive to improving multimedia data.
  • the present disclosure provides a method, device, readable medium and electronic equipment for generating multimedia data.
  • the method for generating multimedia data obtains the scenario text corresponding to the multimedia data to be generated, and the scenario text includes at least A dialogue text, and at least one target logic data; according to the preset order of the dialogue text and the target logic data, the plot text is converted into a script code of the multimedia data through a preset script template to generate the multimedia data,
  • the plot text can include dialogue text and target logic data
  • different multimedia scenes can be automatically generated according to different dialogue texts and target logic data, so plot games with different scenarios can be generated, ensuring that game production is not affected by insufficient game scenarios.
  • the automation degree of generating the multimedia data can be effectively improved, and the difficulty of generating the script code of the multimedia data can be reduced.
  • the threshold for multimedia data creation can be lowered, and the development efficiency of multimedia data can be improved.
  • Fig. 1 is a flowchart of a method for generating multimedia data shown in an exemplary embodiment of the present disclosure; referring to Fig. 1, the method may include the following steps:
  • Step 101 acquire the plot text corresponding to the multimedia data to be generated.
  • the multimedia data may be a plot game, or video, advertisement, e-book, etc.
  • the plot text includes at least one dialogue text and at least one target logic data.
  • the plot text may also include code text.
  • the dialogue text can be a plot dialogue (not code) in Chinese or English (or other languages), and the target logic data can be to trigger the display of a picture, play a piece of music, and display a button to jump after clicking Go to another multimedia scene to perform numerical judgment and other matters.
  • the dialogue text input by the user can be obtained through the preset dialogue text interface; the target logic data input by the user can be obtained through the preset logic writing interface; and the code text input by the user can be obtained through the preset code input interface.
  • the preset dialogue text interface can be the first preset input window in the preset multimedia design interface, or the first preset input box in the preset design window
  • the preset logic writing interface can be It is the second preset input window in the preset multimedia design interface, or it can be the second preset input box in the preset design window, or it can be the option button in the preset design window, and the option button can be used with the preset
  • the logic writing interface is related to each other. By clicking the option button to call the logic writing interface, the user can complete the input of the target logic data through the logic writing interface.
  • the preset code input interface can be the third preset input window in the preset multimedia design interface, or the third preset input box in the preset design window, or a designated key in the preset design window,
  • the designated button may be associated with a preset code writing interface, and the code writing interface is invoked by clicking the designated button, and the user can complete code writing through the logic writing interface.
  • the preset dialogue text interface may be the dialogue input box 201 in FIG. 2a, wherein different The plot characters can be provided with different character option buttons, and the dialogue input box of the plot characters associated with the character option buttons can be invoked by clicking the character option buttons;
  • the sub-button by clicking the additional item button, displays the sub-button, displays a variety of preset game logic input options by clicking the sub-button, and inputs the target logic data bound to the option by selecting the option;
  • the preset code The input interface and the preset dialogue text interface can be the same interface, and the preset code input interface can also be another sub-key different from the preset logic writing interface under the additional item button 202, which can be input by clicking the preset code
  • the subkey corresponding to the interface displays a code input box through which the code text can be input.
  • the process of automatically generating the script code of the game to be generated can effectively reduce the difficulty of game generation and lower the threshold of game creation , the technical effect of improving the game generation efficiency.
  • Step 102 according to the preset order of the dialogue text and the target logic data, convert the plot text into script code through a preset script template to generate the multimedia data.
  • the preset sequence may be the sequence in which the dialogue text and the target logic data are input.
  • the preset script template can be the "avg-script" code at the beginning of section and the end of blockend".
  • the real-time method of converting the plot text into the script code of the multimedia data through the preset script template may be: obtaining the plot category to which the dialogue text belongs; according to the The plot category obtains the parameter value corresponding to the preset attribute parameter from the dialogue text; the parameter value is substituted into the preset dialogue code script template to generate the script code corresponding to the dialogue text.
  • each plot category can include multiple types, and each plot category corresponds to preset attribute parameters.
  • each dialogue text includes two attribute parameters: character name and dialogue content
  • each dialogue text can contain four attribute parameters: audio name, volume, audio track, and whether to loop.
  • the real-time method of converting the plot text into the script code of the multimedia data through the preset script template described in this step may be: obtaining the logic type corresponding to the target logic data; Obtain the target logic code template according to the logic type, and obtain the logic parameters required in the target logic code template from the target logic data; substitute the logic parameters into the target logic code template to generate the script code corresponding to the target logic data .
  • the logic type can be picture insertion type, music playback type, scene option type, data judgment type, display role, etc.
  • each logic code template includes its own logic parameters.
  • the logic code template may include the name identifier of the inserted image, and parameters such as the size, transparency, and insertion times of the corresponding image;
  • the logic code template can include the song name identification of the inserted music, the playback volume, the number of cycles and other parameters;
  • the logic type is a scene option class
  • the logic code template can include the number of scenes to be displayed, the number of scenes Name, scene display time and other parameters;
  • the logic type is data judgment class
  • the logic code template can include the data identifier to be judged, data type, number of judgments, etc.
  • the logic type is display role
  • the logic code template may include the name of the displayed role, the characteristics of the displayed role, the displayed position, and so
  • the target logic code template may be:
  • the logical parameter can be changed according to different target logical data.
  • Aevent represents a logical item
  • the showCharacter represents a logical type of display character class
  • the 57360c4e-04b6-4c39 is a specific identifier of a display character class
  • the middle represents the display position of a character in the middle of the interface.
  • the target logic code template can be:
  • Aevent represents a logical item
  • the sptpic-2 represents a logical type of image insertion
  • the 'lively girl' is the name of the inserted image
  • the script code is generated through the logic code template, the name of the inserted picture in the logic code template can be changed to obtain the corresponding script code.
  • the target logic code template may be:
  • the logic parameter can be changed according to different target logic data. Change. It should be noted that the target logic code templates corresponding to other logic types are similar to the above-mentioned examples, all of which start with section and end with blockend "avg-script" code, which will not be repeated in this disclosure.
  • plot text can be converted into the script code of the multimedia data through the preset script template, and the automatic conversion from "plot text” to "code script” can be realized, thereby effectively ensuring the improvement of multimedia data creation efficiency, and through rich
  • the input of dialogue text, target logic data and code text can freely realize the effect of richer screen performance.
  • the plot text can include dialogue text and target logic data
  • different multimedia scenes can be automatically generated according to different dialogue texts and target logic data, so plot games with different scenarios can be generated to ensure that game production is not affected by the game.
  • the scene is not rich enough, and can automatically convert the plot text into the script code of the multimedia data through the preset script template, so it can effectively improve the automation of generating the multimedia data and reduce the difficulty of generating the script code of the multimedia data , so as to reduce the threshold of multimedia data creation and improve the development efficiency of multimedia data.
  • the scenario text may also include code text.
  • the scenario text is converted into the After the script code of the multimedia data, the method may further include:
  • Step 103 Display the plot text in the preset dialogue design display window according to the input sequence of the dialogue text, the target logic data and the code text.
  • the character identification corresponding to the dialogue text can be obtained, and the role identification and the dialogue text can be obtained according to the preset
  • the dialog display format is displayed in the dialog design display window; for the target logical data in the plot text, the target logical data can be displayed in the dialog design display window according to the preset logical display format; for the target logical data in the plot text Code text, the first code text conforming to the preset code format in the code text can be converted into target text, and the target text can be displayed in the dialog design display window, and the code that does not conform to the preset code in the code text can be obtained format of the second code text; if the second code text is determined to be a valid code, obtain preset code execution prompt information, and display the preset code execution prompt information in the dialog design display window.
  • the code text in the plot text it is possible to obtain the code text first, and then determine the part of the code text that conforms to the preset code format (that is, the first code text), and the code text that is not in the code text.
  • the part that conforms to the preset code format (that is, the second code text), converts the first code text conforming to the preset code format in the code text into the target text, and determines the second code that does not conform to the preset code format in the code text Whether the text is a valid code, in the case of determining that the second code text is a valid code, obtain the preset code execution prompt information, and display the preset code execution prompt information in the dialogue design display window, after confirming In the case that the second code text is an invalid code, a preset error message is output.
  • the code execution prompt information is used to prompt that the code text input by the user has been executed at the current position.
  • the template extracts the parameter value in the first code text, and generates the target text according to the parameter value.
  • This process can be regarded as the reverse process of converting the plot text into the script code, realizing the transformation from "code script” to "plot text”.
  • Automatic conversion wherein the preset code format can be "avg-script" code at the beginning of section and the end of blockend".
  • the text that is in that first code is:
  • the grammar checker for example, Ohm syntax tree checker
  • the code writing rules are relatively rich. Not limited.
  • the character identification (me) and the dialogue text can be displayed in the preset dialogue display format (the role identification is in The previous line, the dialogue text is in the next line) is displayed in the dialogue design display window 203; the target text corresponding to the target logic data "text option class: option 1 is yes, option 2 is yes, option 3 is returned to the beginning. ” is displayed in the dialog design display window 203.
  • FIG. 2b is a schematic diagram showing another game design window according to an exemplary embodiment of the present disclosure.
  • the preset code execution prompt information is obtained,
  • the code execution prompt information can be "executed 1 code here", “executed other codes”, etc., which are used to prompt that the current position (between two dialogues) has executed the code text entered by the user, and the code will be The execution prompt information is displayed in the dialog design display window.
  • the above technical solution can further expand more multimedia scenarios by inputting code text, and can effectively improve the scalability of the multimedia data generation method, thereby helping to freely realize richer picture performance and ensure beautiful and rich multimedia Scenes can be generated, which is conducive to improving the creation experience of multimedia data creation users.
  • the method may further include:
  • Step 104 parsing the script code to run the multimedia data corresponding to the plot text.
  • the script code corresponding to the target logic data can be converted into target format data recognizable by the screen rendering engine, and displayed by the screen rendering engine
  • the multimedia scene corresponding to the target format data is used to run the multimedia data corresponding to the plot text.
  • a preview button can be set in the game design window shown in FIG. 2a, and after the script code corresponding to the scenario text is generated, the generated scenario game can be run and displayed by clicking the preview button.
  • the above technical solutions can use the picture rendering engine to render the picture to be displayed, and can preview the picture display effect of multimedia data, so that the picture effect of the generated multimedia data can be intuitively displayed, which is helpful for multimedia data creators to understand multimedia data design results in a timely manner , so as to effectively improve the production experience of multimedia data creation users.
  • Fig. 3 is a block diagram of a device for generating multimedia data shown in another exemplary embodiment of the present disclosure; referring to Fig. 3 , the device may include:
  • An acquisition module 301 configured to acquire a plot text corresponding to the multimedia data to be generated, where the plot text includes at least one dialogue text and at least one target logic data;
  • the conversion module 302 is configured to convert the plot text into script codes through a preset script template according to the preset sequence of the dialogue text and the target logic data, so as to generate the multimedia data.
  • the plot text can include dialogue text and target logic data
  • the production is not affected by the lack of rich game scenes, and can automatically convert the plot text into the script code of the multimedia data through the preset script template, so it can effectively improve the automation of generating the multimedia data and reduce the cost of generating the multimedia data
  • the difficulty of script code can reduce the threshold of multimedia data creation and improve the development efficiency of multimedia data.
  • the conversion module 302 is configured to:
  • the conversion module 302 is configured to:
  • the logic parameter is substituted into the target logic code template to generate the script code corresponding to the target logic data.
  • the plot text also includes code text
  • the acquiring module 301 is configured to:
  • Fig. 4 is a block diagram of a device for generating multimedia data according to the embodiment shown in Fig. 3; referring to Fig. 4, the device may also include:
  • the display module 303 is configured to display the plot text in a preset dialog design display window according to the input sequence of the dialog text, the target logic data and the code text.
  • the display module 303 is used for:
  • the display module 303 is also used for:
  • the preset code execution prompt information is obtained, and the preset code execution prompt information is displayed in the dialogue design display window.
  • the above technical solution can further expand more multimedia scenarios by inputting code text, and can effectively improve the scalability of the multimedia data generation method, thereby helping to freely realize richer picture performance and ensure beautiful and rich multimedia Scenes can be generated, which is conducive to improving the creation experience of multimedia data creation users.
  • the device also includes:
  • the running module 304 is configured to analyze the script code to run the multimedia data corresponding to the plot text.
  • the running module 304 is configured to:
  • the script code corresponding to the target logic data is converted into target format data recognizable by the screen rendering engine, and the screen rendering engine displays the data corresponding to the target format multimedia scene to run the multimedia data corresponding to the plot text.
  • the above technical solutions can use the picture rendering engine to render the picture to be displayed, and can preview the picture display effect of the multimedia data, so that the picture effect of the generated multimedia data can be intuitively displayed, which is helpful for game creators to understand the game design results in a timely manner, thereby It can effectively improve the production experience of multimedia data creation users.
  • FIG. 5 it shows a schematic structural diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 5 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • an electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may be randomly accessed according to a program stored in a read-only memory (ROM) 602 or loaded from a storage device 608. Various appropriate actions and processes are executed by programs in the memory (RAM) 603 . In the RAM 603, various programs and data necessary for the operation of the electronic device 600 are also stored.
  • the processing device 601, ROM 602, and RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604 .
  • the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 607 such as a computer; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609.
  • the communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 5 shows electronic device 600 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602.
  • the processing device 601 When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client can communicate with any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium (for example, communication networks) interconnect.
  • HTTP HyperText Transfer Protocol
  • communication networks include local area networks ("LANs”), wide area networks ("WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires a plot text corresponding to the multimedia data to be generated, and the plot text includes at least one dialogue Text, and at least one target logic data; according to the preset sequence of the dialogue text and the target logic data, the plot text is converted into script code through a preset script template to generate the multimedia data.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as "C" or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider to connected via the Internet.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation on the module itself under certain circumstances, for example, the obtaining module can also be described as "a module for obtaining the plot text corresponding to the multimedia data to be generated".
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • Example 1 provides a method for generating multimedia data, the method including:
  • the plot text includes at least one dialogue text and at least one target logic data
  • the plot text is converted into a script code through a preset script template to generate the multimedia data.
  • Example 2 provides the method of Example 1, which converts the plot text into script code through a preset script template, including:
  • Example 3 provides the method of Example 1, which converts the plot text into script code through a preset script template, including:
  • the logic parameter is substituted into the target logic code template to generate the script code corresponding to the target logic data.
  • Example 4 provides the method of Example 1, the plot text also includes code text, and the acquisition of the plot text corresponding to the multimedia data to be generated includes:
  • Example 5 provides the method of Example 4, the method further comprising:
  • the plot text is displayed in the preset dialogue design display window.
  • Example 6 provides the method of Example 5, where the plot text is displayed in a preset dialogue design display window, including:
  • Example 7 provides the method of Example 6, the method further comprising:
  • the preset code execution prompt information is obtained, and the preset code execution prompt information is displayed in the dialogue design display window.
  • Example 8 provides the method described in any one of Examples 1-7, after converting the plot text into script code through a preset script template, the method further includes:
  • the script code is parsed to run the multimedia data corresponding to the plot text.
  • Example 9 provides the method of Example 8, parsing the script code to run the multimedia data corresponding to the plot text, including:
  • the script code corresponding to the target logic data is converted into target format data recognizable by the screen rendering engine, and the screen rendering engine displays the data corresponding to the target format multimedia scene to run the multimedia data corresponding to the plot text.
  • Example 10 provides an apparatus for generating multimedia data, the apparatus comprising:
  • An acquisition module configured to acquire a plot text corresponding to the multimedia data to be generated, where the plot text includes at least one dialogue text and at least one target logic data;
  • the conversion module is used to convert the plot text into script code through a preset script template according to the preset sequence of the dialogue text and the target logic data, so as to generate the multimedia data.
  • Example 11 provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of any one of the methods in the above Examples 1-9 are implemented. .
  • Example 1 provides an electronic device, including:
  • a processing device configured to execute the computer program in the storage device to implement the steps of any one of the methods in Examples 1-9 above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本公开涉及一种多媒体数据的生成方法、装置、可读介质及电子设备,该多媒体数据的生成方法通过获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据,能够根据不同的对白文本和目标逻辑数据自动生成不同的多媒体场景,并且能够有效提升生成该多媒体数据的自动化程度,降低生成多媒体数据的脚本代码的难度,从而也能够降低多媒体数据创作门槛,提升多媒体数据的开发效率。

Description

多媒体数据的生成方法、装置、可读介质及电子设备
相关申请的交叉引用
本申请基于申请号为202110910298.X、申请日为2021年08月09日,名称为“多媒体数据的生成方法、装置、可读介质及电子设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及多媒体开发领域,具体地,涉及一种多媒体数据的生成方法、装置、可读介质及电子设备。
背景技术
在游戏、广告、视频以及电子书等多媒体数据的创作开发过程中,联合文字内容、音乐、图像等素材进行创作的场景越来越多,这里以游戏为例进行说明,基于“多角色对话”或“叙事动画”的互动叙事类游戏层出不穷,这种互动叙事类游戏通常是通过角色形象、背景图片、画面动画效果、对白文字、音乐音效等组合而成的游戏场景带给人沉浸的剧情体验。目前的互动叙事类游戏的生成方法,主要包括两种,一种是使用代码或配置文件,在游戏引擎中进行创作的方式,另一种是使用专用于互动叙事游戏的编辑软件进行创作。
然而,在使用专用于互动叙事游戏的编辑软件进行创作时,通常因为编辑软件内预设的制作场景单一,而导致无法制作出更为丰富绚丽的画面效果的问题;且在使用代码或者配置文件,通过游戏引擎进行游戏创作时,需要专业的代码编写者,创作门槛较高,并且人工编码效率较低,复杂的代码编写需要花费的人工成本较多。也就是说,相关技术中生成多媒体数据的方法中,要么存在制作场景有限,无法制作更为丰富绚丽的画面效果,要么存在开发效率较低,开发难度较大,创作门槛高,不利于提升多媒体数据生产效率的问题。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开提供了一种多媒体数据的生成方法、装置、可读介质及电子设备。
第一方面,本公开提供一种多媒体数据的生成方法,所述方法包括:
获取待生成的多媒体数据对应的剧情文本,所述剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
按照所述对白文本和所述目标逻辑数据的预设先后顺序,通过预设脚本模板将所述剧情文本转换成脚本代码,以生成所述多媒体数据。
第二方面,本公开了提供一种多媒体数据的生成装置,所述装置包括:
获取模块,用于获取待生成的多媒体数据对应的剧情文本,所述剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
转换模块,用于按照所述对白文本和所述目标逻辑数据的预设先后顺序,通过预设脚本模板将所述剧情文本转换成脚本代码,以生成所述多媒体数据。
第三方面,本公开提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现以上第一方面所述方法的步骤。
第四方面,本公开提供了一种电子设备,包括:
存储装置,其上存储有计算机程序;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现以上第一方面所述方法的步骤。
上述技术方案,由于该剧情文本中可以包括对白文本和目标逻辑数据,能够根据不同的对白文本和目标逻辑数据自动生成不同的多媒体场景,因此针对剧情游戏,能够避免因内置游戏场景单一而造成无法生成绚丽丰富的游戏场景的问题,并且由于能够自动地通过预设脚本模板将所述剧情文本转换成所述多媒体数据的脚本代码,因此能够有效提升生成所述多媒体数据的自动化程度,降低生成该多媒体数据的脚本代码的难度,从而能够有效提升多媒体数据的开发效率。
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。在附图中:
图1是本公开一示例性实施例示出的一种多媒体数据的生成方法的流程图;
图2a是本公开一示例性的实施例示出一种游戏设计窗口的示意图;
图2b是本公开一示例性的实施例示出另一种游戏设计窗口的示意图;
图3是本公开另一示例性实施例示出的一种多媒体数据的生成装置的框图;
图4是根据图3所示实施例示出的一种多媒体数据的生成装置的框图;
图5是本公开一示例性实施例示出的一种电子设备的框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在详细介绍本公开的具体实施方式之前,首先对本公开的应用场景进行以下说明,本公开可以应用于根据文字内容和音乐、图像等素材创作游戏、视频、短片、广告以及电子书等多媒体数据的过程,目前相关技术中生成多媒体数据的方法中,要么存在制作场景有限,无法制作更为丰富绚丽的画面效果,要么存在开发效率较低,开发难度较大,创作门槛高,不利于提升多媒体数据生产效率的问题。
为了解决以上技术问题,本公开提供了一种多媒体数据的生成方法、装置、可读介质及电子设备,该多媒体数据的生成方法通过获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码,以生成该多媒体数据,这样,由于该剧情文本中可以包括对白文本和目标逻辑数据,能够根据不同的对白文本和目标逻辑数据自动生成不同的多媒体场景,因此能 够生成不同场景的剧情游戏,保证游戏制作不受游戏场景不够丰富的影响,并且由于能够自动地通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码,因此能够有效提升生成该多媒体数据的自动化程度,降低生成该多媒体数据的脚本代码的难度,从而也能够降低多媒体数据创作门槛,提升多媒体数据的开发效率。
下面结合具体实施例对本公开的实施方式进行以下说明。
图1是本公开一示例性实施例示出的一种多媒体数据的生成方法的流程图;参见图1,该方法可以包括以下步骤:
步骤101,获取待生成的多媒体数据对应的剧情文本。
其中,该多媒体数据可以是剧情游戏,也可以是视频、广告、电子书等,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据。可选地,该剧情文本还可以包括代码文本。
示例地,该对白文本可以是中文或者英文(也可以是其他语言类型)的一段剧情对白(非代码),该目标逻辑数据可以是触发显示一张图片,播放一段音乐,显示一个按钮点击后跳转到另一个多媒体场景,进行数值判断等事项。
本步骤中,可以通过预设对白文本接口获取用户输入的该对白文本;通过预设逻辑编写接口获取用户输入的目标逻辑数据;通过预设代码输入接口获取用户输入的代码文本。
需要说明的是,该预设对白文本接口可以是预设多媒体设计界面中的第一预设输入窗口,也可以是预设设计窗口中的第一预设输入框,该预设逻辑编写接口可以是预设多媒体设计界面中的第二预设输入窗口,也可以是预设设计窗口中的第二预设输入框,还可以是预设设计窗口中的选项按键,该选项按键可以与预设的逻辑编写界面相互关联,通过点击该选项按键调用该逻辑编写界面,用户可以通过该逻辑编写界面完成该目标逻辑数据的输入。该预设代码输入接口可以是预设多媒体设计界面中的第三预设输入窗口,也可以是预设设计窗口中的第三预设输入框,还可以是预设设计窗口中的指定按键,该指定按键可以与预设的代码编写界面相互关联,通过点击该指定按键调用该代码编写界面,用户可以通过该逻辑编写界面完成代码编写。
示例地,如图2a所示,图2a是本公开一示例性的实施例示出一种游戏设计窗口的示意图,该预设对白文本接口可以是图2a中的对白输入框201,其中,不同的剧情人物可以设置有不同的人物选项按键,通过点击该人物选项按键调用与该人物选项按键关联的剧情人物的对白输入框;该预设逻辑编写接口可以是该图2a中附加事项按键202下的子按键,通过点击该附加事项按键,展示该子按键,通过点击该子按键展示预设的多种 游戏逻辑输入选项,通过选择该选项输入与该选项绑定的目标逻辑数据;该预设代码输入接口与该预设对白文本接口可以是同一个接口,该预设代码输入接口也可以是附加事项按键202下不同于该预设逻辑编写接口的另一子按键,通过点击该预设代码输入接口对应的子按键,展示代码输入框,通过该代码输入框输入代码文本。例如,在该对白输入框201内输入对白文本“你这么说就太凡尔赛了,我语文还不如你,好羡慕你啊!”用户点击发送按钮之后,可以获取到将该对白文本。
这样,通过将游戏创作中复杂的代码编写过程简化为通过预设游戏输入界面输入简单的剧情文本,从而自动生成待生成游戏的脚本代码的过程,达到了有效降低游戏生成难度,降低游戏创作门槛,提升游戏生成效率的技术效果。
步骤102,按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据。
其中,该预设先后顺序可以是输入该对白文本与该目标逻辑数据时的先后顺序。该预设脚本模板可以是section开头,blockend结尾的“avg-script”代码”。
本步骤中,针对该剧情文本中的对白文本,所述的通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码的实时方式可以是:获取该对白文本所属的剧情类别;根据该剧情类别从该对白文本中获取预设属性参数对应的参数值;将该参数值代入预设对白代码脚本模板,以生成该对白文本对应的脚本代码。
需要说明的是,该剧情类别可以包括多种,每种剧情类别对应有预设的属性参数,例如,剧情类别为多角色剧情时,每句对白文本包括角色名称,以及对白内容两个属性参数,在剧情类别为音乐剧的情况下,每句对白文本可以包含音频名,音量,音轨,是否循环四个属性参数。
示例地,在该剧情类别为多角色剧情时,该预设对白代码脚本模板可以是:[show text=‘对白内容’character=‘C1’pos=‘middle’],其中,该“=”之前的数据为预设属性参数的名称,该“=”之后的数据为预设属性参数对应的参数值,该参数值可以因对白文本不同而改变。
另外,针对剧情文本中的目标逻辑数据,本步骤中所述的通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码的实时方式可以是:获取该目标逻辑数据对应的逻辑类型;根据该逻辑类型获取目标逻辑代码模板,并从该目标逻辑数据中获取该目标逻辑代码模板中需要的逻辑参数;将该逻辑参数代入该目标逻辑代码模板,以生成该目标逻辑数据对应的脚本代码。
其中,该逻辑类型可以是图片插入类,音乐播放类,场景选项类,数据判断类,显 示角色等,每种逻辑类型存在对应的逻辑代码模板,每种逻辑代码模板中包括各自的逻辑参数,例如,在该逻辑类型为该图片插入类的情况下,该逻辑代码模板中可以包括插入图片的名称标识,以及对应图片的大小,透明度,插入次数等参数;在该逻辑类型为音乐播放类的情况下,该逻辑代码模板中可以包括插入音乐的歌曲名称标识,播放音量,循环次数等参数;在该逻辑类型为场景选项类的情况下,该逻辑代码模板中可以包括待显示场景数量,场景名称,场景显示时间等参数;在该逻辑类型为数据判断类的情况下,该逻辑代码模板中可以包括待判断的数据标识,数据种类,判断次数等,在该逻辑类型为显示角色的情况下,该逻辑代码模板中可以包括显示的角色名称,显示角色的特征,显示位置等。
示例地,在该逻辑类型为该场景选项类的情况下,该目标逻辑代码模板可以是:
[section name=‘AEvent’type=‘showCharacter’]
[showCharacter character=‘57360c4e-04b6-4c39’pos=‘middle’]
[blockend]
其中,以上目标逻辑代码模板中“=”之前的数据为逻辑参数属性,“=”之后的数据为逻辑参数属性对应的逻辑参数,该逻辑参数可以根据不同的目标逻辑数据而改变,以上示例中Aevent表征逻辑事项,该showCharacter表征逻辑类型为显示角色类,该57360c4e-04b6-4c39为显示角色类的具体标识,该middle表征角色的显示位置为界面的中间位置。在根据该目标逻辑代码模板生成脚本代码时,可以对该逻辑参数进行更改,以得到当前所需的脚本代码。
另外,在该逻辑类型为该图片插入类的情况下,该目标逻辑代码模板可以是:
Figure PCTCN2022110808-appb-000001
以上示例中Aevent表征逻辑事项,该sptpic-2表征逻辑类型为图片插入类,该‘活泼少女’为插入图片的名称,该x=668 y=100 aph1a=0 zoomx=1.3 zoomy=1.3,layer=1 aphla=1 time=1均为逻辑代码模板中预先设置的具体参数,可以不因插入图片的不同而改变,即作为该逻辑代码模板内预先设置好的数据。在通过该逻辑代码模板生成脚本代码时,可以对该逻辑代码模板中的插入图片的名称进行更改,以得到相应的脚本代码。
在该该逻辑类型为该文本选项类的情况下,该目标逻辑代码模板可以是:
Figure PCTCN2022110808-appb-000002
Figure PCTCN2022110808-appb-000003
以上目标逻辑代码模板中,以上目标逻辑代码模板中“=”之前的数据为逻辑参数属性,“=”之后的数据为逻辑参数属性对应的逻辑参数,该逻辑参数可以根据不同的目标逻辑数据而改变。需要说明的是,其他逻辑类型对应的目标逻辑代码模板与上述举例类似,均为以section开头,blockend结尾的“avg-script”代码,本公开在此不再赘述。
这样,能够通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码,实现了“剧情文本”至“代码脚本”的自动转换,从而能够有效保证多媒体数据创作效率的提升,并且通过丰富的对白文本,目标逻辑数据以及代码文本的输入能够达到自由地实现更为丰富的画面表现的效果。
以上技术方案,由于该剧情文本中可以包括对白文本和目标逻辑数据,能够根据不同的对白文本和目标逻辑数据自动生成不同的多媒体场景,因此能够生成不同场景的剧情游戏,保证游戏制作不受游戏场景不够丰富的影响,并且能够自动地通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码,因此能够有效提升生成该多媒体数据的自动化程度,降低生成该多媒体数据的脚本代码的难度,从而能够降低多媒体数据创作门槛,提升多媒体数据的开发效率。
可选地,该剧情文本还可以包括代码文本,在该图1中步骤102所述的按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码之后,该方法还可以包括:
步骤103,按照该对白文本,该目标逻辑数据以及该代码文本的输入先后顺序,将该剧情文本展示在预设的对白设计展示窗口内。
其中,在将该剧情文本展示在预设的对白设计展示窗口内时,针对该剧情文本中的对白文本,可以获取该对白文本对应的角色标识,将该角色标识和该对白文本按照预设的对白展示格式展示在该对白设计展示窗口内;针对该剧情文本中的目标逻辑数据,可以将该目标逻辑数据按照预设的逻辑展示格式展示在该对白设计展示窗口内;针对该剧情文本中的代码文本,可以将该代码文本中符合预设代码格式的第一代码文本转换为目标文本,并将该目标文本展示在该对白设计展示窗口内,并可以获取该代码文本中不符合预设代码格式的第二代码文本;在确定该第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,并将该预设的代码执行提示信息展示在该对白设计展示窗口内。
需要说明的是,针对该剧情文本中的代码文本,可以是先获取该代码文本,然后确定对该代码文本中符合预设代码格式的部分(即第一代码文本),和该代码文本中不符合预设代码格式的部分(即第二代码文本),将该代码文本中符合预设代码格式的第一代码文本转换为目标文本,确定该代码文本中不符合预设代码格式的第二代码文本是否为有效代码,在确定该第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,并将该预设的代码执行提示信息展示在该对白设计展示窗口内,在确定该第二代码文本为非有效代码的情况下,输出预设报错提示信息。其中,该代码执行提示信息用于提示当前位置执行了用户输入的代码文本,在将该代码文本中符合预设代码格式的第一代码文本转换为目标文本时,可以按照该预设代码格式的模板抽取该第一代码文本中的参数值,根据该参数值生成该目标文本,该过程可以看作为将剧情文本转换为脚本代码的反向过程,实现了“代码脚本”至“剧情文本”的自动转换,其中,该预设代码格式可以是section开头,blockend结尾的“avg-script”代码”。
例如,即在该第一代码文本为:
Figure PCTCN2022110808-appb-000004
[blockend]的情况下,生成以下目标文本:
文本选项类:选项1是吗 选项2是的 选项3返回开头。
另外,在确定该第二代码文本是否为有效代码时,可以通过现有技术中的语法校验器(例如,Ohm语法树校验器),确定该第二代码文本是否符合代码编写规则,在确定该第二代码文本符合代码编写规则的情况下,确定该第二代码文本为有效代码,在确定该第二代码文本不符合代码编写规则的情况下,确定该第二代码文本为非有效代码,需要指出的是,该语法校验器以及该代码编写规则可以参考现有技术中的语法校验器,现有技术中的语法校验器较多,代码编写规则比较丰富,本公开对此不作限定。
示例地,如图2a和2b所示,在该对白输入框201内输入对白文本“你这么说就太凡尔赛了,我语文还不如你,好羡慕你啊!”用户点击发送按钮之后,可以获取到将该对白文本,并能够将该对白文本展示在该对白设计展示窗口203内。可以按照用户输入对白文本,目标逻辑数据,以及代码文本的先后顺序,将该角色标识(我)和该对白文本(“下一句用来看效果”)按照预设的对白展示格式(角色标识在上一行,对白文本在紧跟的下一行)展示在该对白设计展示窗口203内;可以将该目标逻辑数据对应的目标 文本“文本选项类:选项1是吗选项2是的选项3返回开头。”展示在该对白设计展示窗口203内。如图2b所示,图2b是本公开一示例性的实施例示出另一种游戏设计窗口的示意图,在确定该第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,例如该代码执行提示信息可以是“此处执行了1条代码”,“执行了其他代码”等用于提示当前位置(某两个对白之间)执行了用户输入的代码文本,并将该代码执行提示信息展示在该对白设计展示窗口内。
以上技术方案,能够通过输入代码文本的方式,进一步拓展了更多的多媒体场景,能够有效提升多媒体数据的生成方法的扩展性,从而有利于自由地实现更丰富的画面表现,保证绚丽丰富的多媒体场景能够被生成,有利于提升多媒体数据创作用户的创作体验。
进一步地,在图1步骤102所述的通过预设脚本模板将该剧情文本转换成脚本代码之后,该方法还可以包括:
步骤104,解析该脚本代码,以运行该剧情文本对应的该多媒体数据。
本步骤中,可以在该目标逻辑数据对应的逻辑类型为图片插入类的情况下,将该目标逻辑数据对应的脚本代码转换为画面渲染引擎可识别的目标格式数据,并通过该画面渲染引擎展示该目标格式数据对应的多媒体场景,以运行该剧情文本对应的多媒体数据。
示例地,可以在该图2a所述的游戏设计窗口中设置预览按钮,在生成了该剧情文本对应的脚本代码之后,通过点击该预览按钮以运行并显示该生成的剧本游戏。
以上技术方案,能够利用画面渲染引擎对待展示的图片进行渲染,能够预览多媒体数据的画面展示效果,从而能够直观的展示生成的多媒体数据的画面效果,有利于多媒体数据创作者及时了解多媒体数据设计成果,从而能够有效提升多媒体数据创作用户的制作体验。
图3是本公开另一示例性实施例示出的一种多媒体数据的生成装置的框图;参见图3,该可以装置包括:
获取模块301,用于获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
转换模块302,用于按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据。
以上技术方案,由于该剧情文本中可以包括对白文本和目标逻辑数据,能够根据不同的对白文本和目标逻辑数据自动生成不同的多媒体场景,因此针对剧情游戏,能够生成不同场景的剧情游戏,保证游戏制作不受游戏场景不够丰富的影响,并且能够自动地 通过预设脚本模板将该剧情文本转换成该多媒体数据的脚本代码,因此能够有效提升生成该多媒体数据的自动化程度,降低生成该多媒体数据的脚本代码的难度,从而能够降低多媒体数据创作门槛,提升多媒体数据的开发效率。
可选地,该转换模块302,用于:
获取该对白文本所属的剧情类别;
根据该剧情类别从该对白文本中获取预设属性参数对应的参数值;
将该参数值代入预设对白代码脚本模板,以生成该对白文本对应的脚本代码。
可选地,该转换模块302,用于:
获取该目标逻辑数据对应的逻辑类型;
根据该逻辑类型获取目标逻辑代码模板,并从该目标逻辑数据中获取该目标逻辑代码模板中需要的逻辑参数;
将该逻辑参数代入该目标逻辑代码模板,以生成该目标逻辑数据对应的脚本代码。
可选地,该剧情文本还包括代码文本,该获取模块301,用于:
通过预设对白文本接口获取用户输入的该对白文本;
通过预设逻辑编写接口获取用户输入的目标逻辑数据;
通过预设代码输入接口获取用户输入的代码文本。
图4是根据图3所示实施例示出的一种多媒体数据的生成装置的框图;参见图4,该装置还可以包括:
展示模块303,用于按照该对白文本,该目标逻辑数据以及该代码文本的输入先后顺序,将该剧情文本展示在预设的对白设计展示窗口内。
可选地,该展示模块303,用于:
获取该对白文本对应的角色标识;
将该角色标识和该对白文本按照预设的对白展示格式展示在该对白设计展示窗口内;
将该目标逻辑数据按照预设的逻辑展示格式展示在该对白设计展示窗口内;
将该代码文本中符合预设代码格式的第一代码文本转换为目标文本,并将该目标文本展示在该对白设计展示窗口内。
可选地,该展示模块303,还用于:
获取该代码文本中不符合预设代码格式的第二代码文本;
在确定该第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,并将该预设的代码执行提示信息展示在该对白设计展示窗口内。
以上技术方案,能够通过输入代码文本的方式,进一步拓展了更多的多媒体场景,能够有效提升多媒体数据的生成方法的扩展性,从而有利于自由地实现更丰富的画面表现,保证绚丽丰富的多媒体场景能够被生成,有利于提升多媒体数据创作用户的创作体验。
可选地,该装置还包括:
运行模块304,用于解析该脚本代码,以运行该剧情文本对应的该多媒体数据。
可选地,该运行模块304,用于:
在该目标逻辑数据对应的逻辑类型为图片插入类的情况下,将该目标逻辑数据对应的脚本代码转换为画面渲染引擎可识别的目标格式数据,并通过该画面渲染引擎展示该目标格式数据对应的多媒体场景,以运行该剧情文本对应的多媒体数据。
以上技术方案,能够利用画面渲染引擎对待展示的图片进行渲染,能够预览多媒体数据的画面展示效果,从而能够直观的展示生成的多媒体数据的画面效果,有利于游戏创作者及时了解游戏设计成果,从而能够有效提升多媒体数据创作用户的制作体验。
下面参考图5,其示出了适于用来实现本公开实施例的电子设备600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图5所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软 件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;按照该对白文本和该目标逻辑数 据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言一诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,获取模块还可以被描述为“获取待生成的多媒体数据对应的剧情文本的模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气 连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1提供了一种多媒体数据的生成方法,该方法包括:
获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据。
根据本公开的一个或多个实施例,示例2提供了示例1的方法,该通过预设脚本模板将该剧情文本转换成脚本代码,包括:
获取该对白文本所属的剧情类别;
根据该剧情类别从该对白文本中获取预设属性参数对应的参数值;
将该参数值代入预设对白代码脚本模板,以生成该对白文本对应的脚本代码。
根据本公开的一个或多个实施例,示例3提供了示例1的方法,该通过预设脚本模板将该剧情文本转换成脚本代码,包括:
获取该目标逻辑数据对应的逻辑类型;
根据该逻辑类型获取目标逻辑代码模板,并从该目标逻辑数据中获取该目标逻辑代码模板中需要的逻辑参数;
将该逻辑参数代入该目标逻辑代码模板,以生成该目标逻辑数据对应的脚本代码。
根据本公开的一个或多个实施例,示例4提供了示例1的方法,该剧情文本还包括代码文本,该获取待生成的多媒体数据对应的剧情文本,包括:
通过预设对白文本接口获取用户输入的该对白文本;
通过预设逻辑编写接口获取用户输入的目标逻辑数据;
通过预设代码输入接口获取用户输入的代码文本。
根据本公开的一个或多个实施例,示例5提供了示例4的方法,该方法还包括:
按照该对白文本,该目标逻辑数据以及该代码文本的输入先后顺序,将该剧情文本展示在预设的对白设计展示窗口内。
根据本公开的一个或多个实施例,示例6提供了示例5的方法,该将该剧情文本展示在预设的对白设计展示窗口内,包括:
获取该对白文本对应的角色标识;
将该角色标识和该对白文本按照预设的对白展示格式展示在该对白设计展示窗口内;
将该目标逻辑数据按照预设的逻辑展示格式展示在该对白设计展示窗口内;
将该代码文本中符合预设代码格式的第一代码文本转换为目标文本,并将该目标文本展示在该对白设计展示窗口内。
根据本公开的一个或多个实施例,示例7提供了示例6的方法,该方法还包括:
获取该代码文本中不符合预设代码格式的第二代码文本;
在确定该第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,并将该预设的代码执行提示信息展示在该对白设计展示窗口内。
根据本公开的一个或多个实施例,示例8提供了示例1-7任一项所述的方法,在该通过预设脚本模板将该剧情文本转换成脚本代码之后,该方法还包括:
解析该脚本代码,以运行该剧情文本对应的该多媒体数据。
根据本公开的一个或多个实施例,示例9提供了示例8的方法,该解析该脚本代码,以运行该剧情文本对应的该多媒体数据,包括:
在该目标逻辑数据对应的逻辑类型为图片插入类的情况下,将该目标逻辑数据对应的脚本代码转换为画面渲染引擎可识别的目标格式数据,并通过该画面渲染引擎展示该目标格式数据对应的多媒体场景,以运行该剧情文本对应的多媒体数据。
根据本公开的一个或多个实施例,示例10提供了一种多媒体数据的生成装置,该装置包括:
获取模块,用于获取待生成的多媒体数据对应的剧情文本,该剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
转换模块,用于按照该对白文本和该目标逻辑数据的预设先后顺序,通过预设脚本模板将该剧情文本转换成脚本代码,以生成该多媒体数据。
根据本公开的一个或多个实施例,示例11提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现以上示例1-9中任一项该方法的步骤。
根据本公开的一个或多个实施例,示例1提供了一种电子设备,包括:
存储装置,其上存储有计算机程序;
处理装置,用于执行该存储装置中的该计算机程序,以实现以上示例1-9中任一项该方法的步骤。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术 方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。

Claims (12)

  1. 一种多媒体数据的生成方法,,所述方法包括:
    获取待生成的多媒体数据对应的剧情文本,所述剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
    按照所述对白文本和所述目标逻辑数据的预设先后顺序,通过预设脚本模板将所述剧情文本转换成脚本代码,以生成所述多媒体数据。
  2. 根据权利要求1所述的方法,其中,所述通过预设脚本模板将所述剧情文本转换成脚本代码,包括:
    获取所述对白文本所属的剧情类别;
    根据所述剧情类别从所述对白文本中获取预设属性参数对应的参数值;
    将所述参数值代入预设对白代码脚本模板,以生成所述对白文本对应的脚本代码。
  3. 根据权利要求1所述的方法,其中,所述通过预设脚本模板将所述剧情文本转换成脚本代码,包括:
    获取所述目标逻辑数据对应的逻辑类型;
    根据所述逻辑类型获取目标逻辑代码模板,并从所述目标逻辑数据中获取所述目标逻辑代码模板中需要的逻辑参数;
    将所述逻辑参数代入所述目标逻辑代码模板,以生成所述目标逻辑数据对应的脚本代码。
  4. 根据权利要求1所述的方法,其中,所述剧情文本还包括代码文本,所述获取待生成的多媒体数据对应的剧情文本,包括:
    通过预设对白文本接口获取用户输入的所述对白文本;
    通过预设逻辑编写接口获取用户输入的目标逻辑数据;
    通过预设代码输入接口获取用户输入的代码文本。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    按照所述对白文本,所述目标逻辑数据以及所述代码文本的输入先后顺序,将所述剧情文本展示在预设的对白设计展示窗口内。
  6. 根据权利要求5所述的方法,其中,所述将所述剧情文本展示在预设的对白设计展示窗口内,包括:
    获取所述对白文本对应的角色标识;
    将所述角色标识和所述对白文本按照预设的对白展示格式展示在所述对白设计展 示窗口内;
    将所述目标逻辑数据按照预设的逻辑展示格式展示在所述对白设计展示窗口内;
    将所述代码文本中符合预设代码格式的第一代码文本转换为目标文本,并将所述目标文本展示在所述对白设计展示窗口内。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    获取所述代码文本中不符合预设代码格式的第二代码文本;
    在确定所述第二代码文本为有效代码的情况下,获取预设的代码执行提示信息,并将所述预设的代码执行提示信息展示在所述对白设计展示窗口内。
  8. 根据权利要求1-7任一项所述的方法,其中,在所述通过预设脚本模板将所述剧情文本转换成脚本代码之后,所述方法还包括:
    解析所述脚本代码,以运行所述剧情文本对应的所述多媒体数据。
  9. 根据权利要求8所述的方法,其中,所述解析所述脚本代码,以运行所述剧情文本对应的所述多媒体数据,包括:
    在所述目标逻辑数据对应的逻辑类型为图片插入类的情况下,将所述目标逻辑数据对应的脚本代码转换为画面渲染引擎可识别的目标格式数据,并通过所述画面渲染引擎展示所述目标格式数据对应的多媒体场景,以运行所述剧情文本对应的多媒体数据。
  10. 一种多媒体数据的生成装置,其中,所述装置包括:
    获取模块,用于获取待生成的多媒体数据对应的剧情文本,所述剧情文本包括至少一个对白文本,以及至少一个目标逻辑数据;
    转换模块,用于按照所述对白文本和所述目标逻辑数据的预设先后顺序,通过预设脚本模板将所述剧情文本转换成脚本代码,以生成所述多媒体数据。
  11. 一种计算机可读介质,其上存储有计算机程序,其中,该程序被处理装置执行时实现权利要求1-9中任一项所述方法的步骤。
  12. 一种电子设备,其中,包括:
    存储装置,其上存储有计算机程序;
    处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-9中任一项所述方法的步骤。
PCT/CN2022/110808 2021-08-09 2022-08-08 多媒体数据的生成方法、装置、可读介质及电子设备 WO2023016391A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110910298.XA CN113778419B (zh) 2021-08-09 2021-08-09 多媒体数据的生成方法、装置、可读介质及电子设备
CN202110910298.X 2021-08-09

Publications (1)

Publication Number Publication Date
WO2023016391A1 true WO2023016391A1 (zh) 2023-02-16

Family

ID=78837181

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/110808 WO2023016391A1 (zh) 2021-08-09 2022-08-08 多媒体数据的生成方法、装置、可读介质及电子设备

Country Status (2)

Country Link
CN (1) CN113778419B (zh)
WO (1) WO2023016391A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116882370A (zh) * 2023-07-10 2023-10-13 广州开得联智能科技有限公司 一种内容处理方法、装置、电子设备及存储介质
CN117618921A (zh) * 2023-12-13 2024-03-01 广州库洛科技有限公司 一种基于大数据的用户自定义游戏开发方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778419B (zh) * 2021-08-09 2023-06-02 北京有竹居网络技术有限公司 多媒体数据的生成方法、装置、可读介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840414A (zh) * 2009-03-17 2010-09-22 三星电子株式会社 从网络文本创建动画的设备和方法
CN112614211A (zh) * 2020-12-29 2021-04-06 广州光锥元信息科技有限公司 用于文本、图像自适应排版及动画联动的方法及装置
US20210174837A1 (en) * 2019-07-12 2021-06-10 Smule, Inc. Template-Based Excerpting and Rendering of Multimedia Performance
CN113778419A (zh) * 2021-08-09 2021-12-10 北京有竹居网络技术有限公司 多媒体数据的生成方法、装置、可读介质及电子设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2994164B2 (ja) * 1993-02-12 1999-12-27 日本電気株式会社 シナリオ編集装置
US7464368B2 (en) * 2003-04-08 2008-12-09 Microsoft Corporation Logical separation of code and content
KR20050012101A (ko) * 2003-07-24 2005-01-31 삼성전자주식회사 시나리오를 기록한 정보저장매체, 기록장치 및 기록방법,그 정보저장매체의 재생장치 및 시나리오의 검색방법
CN101467184B (zh) * 2006-04-13 2013-03-13 Igt公司 用于在游戏设备上集成远程主机和本地显示内容的方法和装置
TW201005583A (en) * 2008-07-01 2010-02-01 Yoostar Entertainment Group Inc Interactive systems and methods for video compositing
KR20100062288A (ko) * 2008-12-02 2010-06-10 하나로드림(주) 격자형 셀구조의 템플릿을 이용한 사용자 게임 편집 서비스제공 방법 및 시스템
CN110090437A (zh) * 2019-04-19 2019-08-06 腾讯科技(深圳)有限公司 视频获取方法、装置、电子设备及存储介质
CN110162667A (zh) * 2019-05-29 2019-08-23 北京三快在线科技有限公司 视频生成方法、装置及存储介质
CN111796818B (zh) * 2019-10-16 2022-11-29 厦门雅基软件有限公司 多媒体文件的制作方法、装置、电子设备及可读存储介质
CN111460183B (zh) * 2020-03-30 2024-02-13 北京金堤科技有限公司 多媒体文件生成方法和装置、存储介质、电子设备
CN112131869B (zh) * 2020-09-02 2021-09-10 苏州好玩友网络科技有限公司 基于多语言的文本检测方法及装置
CN112631814B (zh) * 2021-01-05 2024-05-28 网易(杭州)网络有限公司 游戏剧情对白播放方法和装置、存储介质、电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840414A (zh) * 2009-03-17 2010-09-22 三星电子株式会社 从网络文本创建动画的设备和方法
US20210174837A1 (en) * 2019-07-12 2021-06-10 Smule, Inc. Template-Based Excerpting and Rendering of Multimedia Performance
CN112614211A (zh) * 2020-12-29 2021-04-06 广州光锥元信息科技有限公司 用于文本、图像自适应排版及动画联动的方法及装置
CN113778419A (zh) * 2021-08-09 2021-12-10 北京有竹居网络技术有限公司 多媒体数据的生成方法、装置、可读介质及电子设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116882370A (zh) * 2023-07-10 2023-10-13 广州开得联智能科技有限公司 一种内容处理方法、装置、电子设备及存储介质
CN116882370B (zh) * 2023-07-10 2024-04-26 广州开得联智能科技有限公司 一种内容处理方法、装置、电子设备及存储介质
CN117618921A (zh) * 2023-12-13 2024-03-01 广州库洛科技有限公司 一种基于大数据的用户自定义游戏开发方法及系统
CN117618921B (zh) * 2023-12-13 2024-05-03 广州库洛科技有限公司 一种基于大数据的用户自定义游戏开发方法及系统

Also Published As

Publication number Publication date
CN113778419B (zh) 2023-06-02
CN113778419A (zh) 2021-12-10

Similar Documents

Publication Publication Date Title
WO2023016391A1 (zh) 多媒体数据的生成方法、装置、可读介质及电子设备
CN109168026B (zh) 即时视频显示方法、装置、终端设备及存储介质
WO2021196903A1 (zh) 视频处理方法、装置、可读介质及电子设备
US11580314B2 (en) Document translation method and apparatus, storage medium, and electronic device
JP6971292B2 (ja) 段落と映像を整列させるための方法、装置、サーバー、コンピュータ可読記憶媒体およびコンピュータプログラム
WO2022228118A1 (zh) 互动内容生成方法、装置、存储介质及电子设备
CN111970571B (zh) 视频制作方法、装置、设备及存储介质
WO2022052838A1 (zh) 视频文件的处理方法、装置、电子设备及计算机存储介质
WO2020220773A1 (zh) 图片预览信息的显示方法、装置、电子设备及计算机可读存储介质
CN113259740A (zh) 一种多媒体处理方法、装置、设备及介质
WO2021057740A1 (zh) 视频生成方法、装置、电子设备和计算机可读介质
US20220382445A1 (en) Multimedia interaction method, information interaction method, apparatus, device, and medium
WO2022037419A1 (zh) 音频内容识别方法、装置、设备和计算机可读介质
WO2021259221A1 (zh) 视频翻译方法和装置、存储介质和电子设备
WO2020220776A1 (zh) 图片类评论数据的展示方法、装置、设备及介质
WO2023005831A1 (zh) 一种资源播放方法、装置、电子设备和存储介质
WO2022105760A1 (zh) 一种多媒体浏览方法、装置、设备及介质
US20230112005A1 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN112380365A (zh) 一种多媒体的字幕交互方法、装置、设备及介质
WO2023143070A1 (zh) 协同编辑的信息展示方法、装置、电子设备和可读介质
WO2023103897A1 (zh) 图像处理方法、装置、设备及存储介质
WO2024037491A1 (zh) 媒体内容处理方法、装置、设备及存储介质
CN113190316A (zh) 互动内容生成方法、装置、存储介质及电子设备
WO2020207083A1 (zh) 信息分享的方法、装置、电子设备及计算机可读存储介质
WO2023174073A1 (zh) 视频生成方法、装置、设备、存储介质和程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22855372

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE