CN107908608B - Method, storage medium and device for converting and displaying manuscript in three-dimensional space - Google Patents

Method, storage medium and device for converting and displaying manuscript in three-dimensional space Download PDF

Info

Publication number
CN107908608B
CN107908608B CN201711114317.8A CN201711114317A CN107908608B CN 107908608 B CN107908608 B CN 107908608B CN 201711114317 A CN201711114317 A CN 201711114317A CN 107908608 B CN107908608 B CN 107908608B
Authority
CN
China
Prior art keywords
presentation
image
demonstration
content
text
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.)
Active
Application number
CN201711114317.8A
Other languages
Chinese (zh)
Other versions
CN107908608A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201711114317.8A priority Critical patent/CN107908608B/en
Publication of CN107908608A publication Critical patent/CN107908608A/en
Application granted granted Critical
Publication of CN107908608B publication Critical patent/CN107908608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation

Abstract

The embodiment of the invention provides a method, a storage medium and equipment for converting and displaying a manuscript in a three-dimensional space, and relates to the technical field of computer science. The conversion method of the presentation comprises the following steps: analyzing the content of the presentation, and acquiring presentation configuration data of each presentation element in the content of the presentation; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and according to the determined file names, respectively storing the corresponding intermediate presentation data as intermediate files for presenting the presentation contents in the three-dimensional space. The intermediate file obtained by conversion according to the embodiment of the invention is suitable for displaying the content of the presentation in the three-dimensional space.

Description

Method, storage medium and device for converting and displaying manuscript in three-dimensional space
Technical Field
The embodiment of the invention relates to the technical field of computer science, in particular to a presentation conversion method, a storage medium and electronic equipment, and a presentation method, a storage medium and electronic equipment of a presentation in a three-dimensional space.
Background
At present, in various information communication and propagation activities such as work reports, meetings, education and training, enterprise propaganda and the like, the most common communication mode adopted by people is to play a presentation. Therefore, the presentations are in the important position in the fields of work reporting, enterprise propaganda, education and training and the like.
The most common presentation making systems at present are mainly the MS PowerPoint system provided by microsoft corporation in the united states and the WPS provided by the jinshan corporation. The existing presentation is made in a two-dimensional space of a plane in consideration of layout, that is, four directions of up, down, left and right. Such a production method is to directly present the product entities involved in the presentation content to the user in a two-dimensional display manner, but for products with large scale or complex structure in the industrial field, it is difficult to present all the highlights of the product to the user in a two-dimensional display manner. Two-dimensional display modes such as plane images and text introduction can display the structure of the product to a certain extent, but the specific details of the product cannot be fully displayed in static two-dimensional display. In addition, the comparison plane for displaying the presentation in the two-dimensional space is rigid, is not three-dimensional enough, has strong visual impact force, and the presenter can only lay and direct on the platform.
Movies and animations today pursue a three-dimensional visual experience. Of course, since a three-dimensional expression technique can be pursued for a presentation, it is very necessary to study a method of presenting a presentation in a three-dimensional space.
Disclosure of Invention
The embodiment of the invention aims to provide a technical scheme for converting a manuscript and a technical scheme for showing the manuscript in a three-dimensional space.
According to a first aspect of the embodiments of the present invention, a method for converting a presentation is provided. The method comprises the following steps: analyzing the content of the presentation, and acquiring presentation configuration data of each presentation element in the content of the presentation; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and according to the determined file names, respectively storing the corresponding intermediate presentation data as intermediate files for presenting the presentation contents in the three-dimensional space.
Optionally, the presentation element comprises a background and at least one of the following content elements: sequences of text, table, image, audio and video frames.
Optionally, the presentation configuration data comprises data of presentation order and data of presentation position.
Optionally, the generating intermediate presentation data for each presentation element according to the presentation configuration data and determining a file name of the intermediate presentation data includes: and generating a first intermediate display image for the background of a page in the presentation content, and determining the file name of the first intermediate display image as the file name corresponding to the first presentation order of the page.
Optionally, the generating intermediate presentation data for each presentation element according to the presentation configuration data and determining a file name of the intermediate presentation data includes: and acquiring data of an audio or video frame sequence in the presentation content, and determining file names of the data corresponding to the audio or video frame sequence according to the presentation sequence of the audio or video frame sequence.
Optionally, the generating intermediate presentation data for each presentation element according to the presentation configuration data and determining a file name of the intermediate presentation data includes: generating a second intermediate display image for a text, a table or an image according to a demonstration position of the text, the table or the image, wherein the position of the text, the table or the image in the second intermediate display image corresponds to the demonstration position of the text, the table or the image; and determining the file name of a second intermediate display image corresponding to the text, the table or the image according to the presentation order of the text, the table or the image.
Optionally, the generating a second intermediate display image for the text, the table, or the image according to the presentation position of the text, the table, or the image includes: adding a transparent canvas for the presentation content, and pasting the text, the table or the image in a position corresponding to the presentation position of the text, the table or the image in the transparent canvas; saving the transparent canvas and the text, the table, or the image in a picture format to generate a second intermediate presentation image corresponding to the text, the table, or the image.
Optionally, the method further comprises: and setting each intermediate file as a processing object of a three-dimensional display engine, and packaging each intermediate file and the three-dimensional display engine program into an executable file for three-dimensional display.
Optionally, the method of converting the presentation is performed by a plug-in a system running the presentation.
According to a second aspect of the embodiments of the present invention, a presentation method of a presentation in a three-dimensional space is provided. The method comprises the following steps: acquiring an intermediate file for displaying each presentation element in the content of the presentation in a three-dimensional space, wherein the intermediate file is obtained by converting the content of the presentation according to the method of the first aspect of the embodiment of the invention; setting demonstration control logic among demonstration elements corresponding to the intermediate files according to the file names of the intermediate files; and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements.
Optionally, said presenting said presentation elements in three dimensions according to presentation control logic between said presentation elements comprises: and displaying the demonstration elements through a three-dimensional display engine according to the demonstration control logic among the demonstration elements.
Optionally, the presenting the presentation element through a three-dimensional presentation engine according to the presentation control logic between the presentation elements includes: and according to the presentation sequence between the background and the sequence of texts, tables, images, audio or video frames in the page of the presentation content, overlapping the intermediate file corresponding to the background and the intermediate file corresponding to the sequence of texts, tables, images, audio or video frames by a three-dimensional presentation engine to present the page of the presentation content.
Optionally, the presenting the presentation element through a three-dimensional presentation engine according to the presentation control logic between the presentation elements includes: and responding to the operation of displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content in the three-dimensional space by the user, and displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content through a three-dimensional display engine according to the demonstration control logic between the demonstration elements in the demonstration manuscript content.
Optionally, when the presentation configuration data includes animation effects, the method further includes: and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements and the animation effect corresponding to the demonstration elements.
According to a third aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon computer program instructions, wherein the program instructions, when executed by a processor, implement the steps of the presentation transformation method according to the first aspect of embodiments of the present invention.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which computer program instructions are stored, wherein the program instructions, when executed by a processor, implement the steps of the presentation rendering method in three-dimensional space according to the second aspect of the embodiments of the present invention.
According to a fifth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: the device comprises a first processor, a first memory, a first communication element and a first communication bus, wherein the first processor, the first memory and the first communication element are communicated with each other through the first communication bus; the first memory is used for storing at least one executable instruction, and the executable instruction causes the first processor to execute the steps of the presentation conversion method according to the first aspect of the embodiment of the invention.
According to a sixth aspect of an embodiment of the present invention, there is provided an electronic apparatus including: the second processor, the second memory, the second communication element and the second communication bus are communicated with each other through the second communication bus; the second memory is used for storing at least one executable instruction, and the executable instruction causes the second processor to execute the steps of the presentation rendering method in the three-dimensional space according to the second aspect of the embodiment of the invention.
According to the technical scheme provided by the embodiment of the invention, the content of the presentation is analyzed, and the presentation configuration data of each presentation element in the content of the presentation is acquired; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and respectively storing the corresponding intermediate display data as an intermediate file for displaying the content of the presentation in the three-dimensional space according to the determined file name, so that compared with the prior art, the intermediate file obtained by conversion is suitable for displaying the content of the presentation in the three-dimensional space.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from these without inventive effort.
Fig. 1 is a flowchart of a method for converting a presentation according to a first embodiment of the present invention;
fig. 2 is a flowchart of a presentation method in a three-dimensional space according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention is provided in conjunction with the accompanying drawings (like numerals indicate like elements throughout the several views) and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present invention are used merely to distinguish one element, step, device, module, or the like from another element, and do not denote any particular technical or logical order therebetween.
Example one
Fig. 1 is a flowchart of a presentation conversion method according to a first embodiment of the present invention. As shown in fig. 1, a method for converting a presentation according to an embodiment of the present invention includes the following steps:
in step S101, the presentation content is analyzed, and presentation configuration data of each presentation element in the presentation content is acquired.
In this embodiment, the content of the presentation includes content of at least one page of the presentation. Wherein the content of each page of the presentation includes a plain background, or a background and at least one of a sequence of text, table, image, audio, and video frames. The presentation element includes a background and at least one of the following content elements: sequences of text, table, image, audio and video frames. The presentation configuration data may include data of presentation order and data of presentation position of presentation elements. Further, the presentation configuration data may also include animation effects of presentation elements. For example, a fade-in and fade-out effect of text on the presentation, a fly-in effect of text on the presentation, and so on.
In a specific embodiment, the source program code of the presentation content may be parsed by a plug-in a system running the presentation, and the presentation configuration data of each presentation element in the presentation content may be obtained.
In step S102, intermediate presentation data is generated for each presentation element according to the presentation configuration data, and a file name of the intermediate presentation data is determined.
In a specific embodiment, intermediate presentation data may be generated for each presentation element according to the presentation configuration data by a plug-in a system running the presentation, and a file name of the intermediate presentation data may be determined.
In an alternative embodiment of the present invention, when the presentation element is embodied as a background, the step S102 includes: and generating a first intermediate display image for the background of a page in the presentation content, and determining the file name of the first intermediate display image as the file name corresponding to the first presentation order of the page. For example, when the background is the background of a first page presentation in the presentation content, the file name of the first intermediate presentation image corresponding to the background may be P1-B1, which corresponds to the first presentation order of the first page presentation. For another example, when the background is the background of the second page presentation in the presentation content, the file name of the first intermediate presentation image corresponding to the background may be P2-B1, which corresponds to the first presentation order of the second page presentation. Specifically, a first intermediate presentation image may be generated for a background of a page in the presentation content by a plug-in a system running the presentation, and a file name of the first intermediate presentation image may be determined as a file name corresponding to a first presentation order of the page.
In an alternative embodiment of the present invention, when the presentation element is embodied as a sequence of audio or video frames, the step S102 includes: and acquiring data of an audio or video frame sequence in the presentation content, and determining file names of the data corresponding to the audio or video frame sequence according to the presentation sequence of the audio or video frame sequence. For example, when the sequence of video frames is a presentation element of a third presentation in a first page presentation of the presentation content, the file name of the data corresponding to the sequence of video frames may be P1-V3, which corresponds to the presentation order of the third presentation in the first page presentation. For another example, when the sequence of video frames is a presentation element of a third presentation in a third presentation page of the presentation content, the file name of the data corresponding to the sequence of video frames may be P3-V3, which corresponds to the presentation order of the third presentation in the third presentation page. Specifically, the data of the audio or video frame sequence in the content of the presentation may be acquired by a plug-in a system running the presentation, and the file name of the data corresponding to the audio or video frame sequence is determined according to the presentation order of the audio or video frame sequence.
In an alternative embodiment of the present invention, when the presentation element is a text, a table or an image, the step S102 includes: generating a second intermediate display image for a text, a table or an image according to a demonstration position of the text, the table or the image, wherein the position of the text, the table or the image in the second intermediate display image corresponds to the demonstration position of the text, the table or the image; and determining the file name of a second intermediate display image corresponding to the text, the table or the image according to the presentation order of the text, the table or the image. For example, when the text is a presentation element of a third presentation in the second page presentation of the presentation content, the file name of the second intermediate presentation image to which the text corresponds may be P2-T3, which corresponds to the presentation order of the third presentation in the second page presentation. As another example, when the table is a presentation element of a third presentation in a fourth presentation of the content of the presentation, the file name of the corresponding second intermediate presentation image of the table may be P4-F3, which corresponds to the presentation order of the third presentation in the fourth presentation. Specifically, a second intermediate display image can be generated for a text, a table or an image according to the presentation position of the text, the table or the image by a plug-in a system for running a presentation, and the position of the text, the table or the image in the second intermediate display image corresponds to the presentation position of the text, the table or the image; and determining the file name of a second intermediate display image corresponding to the text, the table or the image according to the presentation order of the text, the table or the image.
In an optional embodiment of the present invention, the generating a second intermediate presentation image for a text, a table, or an image according to a presentation position of the text, the table, or the image includes: adding a transparent canvas for the presentation content, and pasting the text, the table or the image in a position corresponding to the presentation position of the text, the table or the image in the transparent canvas; saving the transparent canvas and the text, the table, or the image in a picture format to generate a second intermediate presentation image corresponding to the text, the table, or the image. Specifically, a transparent canvas can be added to the content of the presentation through a plug-in a system running the presentation, and the text, the table or the image is pasted in a position corresponding to the presentation position of the text, the table or the image in the transparent canvas; and storing the transparent canvas and the text, the table or the image into a picture format to generate a second intermediate display image corresponding to the text, the table or the image.
In general, each presentation element in each page of the presentation is named according to a preset naming rule. Specifically, each presentation element in each page of the presentation is named separately according to the presentation order of each page of the presentation and the presentation order of each presentation element in each page of the presentation.
In step S103, according to the determined file names, the corresponding intermediate presentation data are stored as intermediate files for presenting the presentation content in the three-dimensional space.
In a specific embodiment, the corresponding intermediate presentation data may be stored as intermediate files for presenting the presentation content in the three-dimensional space by a plug-in the system running the presentation according to the determined file names, respectively. Specifically, the corresponding intermediate display data may be the first intermediate display image, the second intermediate display image, or data corresponding to the sequence of audio or video frames, respectively.
In an optional embodiment of the invention, the method further comprises: and setting each intermediate file as a processing object of a three-dimensional display engine, and packaging each intermediate file and the three-dimensional display engine program into an executable file for three-dimensional display. Therefore, the content of the presentation can be conveniently displayed in the three-dimensional space by the user.
It should be noted that, the plug-in the system for running the presentation is not a program function module of the system for running the presentation, but a program function module (plug-in) compatible with the system for running the presentation, which is written independently by the inventor according to the actual needs of the embodiment of the present invention. In a specific implementation manner, the inventor of the present application packages a written plug-in into a system for running a presentation, and calls the plug-in from the system for running the presentation, so as to implement the method for converting a presentation provided in the embodiment of the present invention.
According to the conversion method of the presentation, provided by the embodiment of the invention, the content of the presentation is analyzed, and the presentation configuration data of each presentation element in the content of the presentation is acquired; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and respectively storing the corresponding intermediate display data as an intermediate file for displaying the content of the presentation in the three-dimensional space according to the determined file name, so that compared with the prior art, the intermediate file obtained by conversion is suitable for displaying the content of the presentation in the three-dimensional space.
The presentation transformation method of the present embodiment may be performed by any suitable device having image or data processing capabilities, including but not limited to: cameras, terminals, mobile terminals, PCs, servers, in-vehicle devices, entertainment devices, advertising devices, Personal Digital Assistants (PDAs), tablet computers, notebook computers, handheld game consoles, smart glasses, smart watches, wearable devices, virtual display devices or display enhancement devices (such as Google Glass, Oculus rise, Hololens, Gear VR), and the like.
Example two
Fig. 2 is a flowchart of a presentation method in a three-dimensional space according to a second embodiment of the present invention. As shown in fig. 2, a method for presenting a presentation in a three-dimensional space according to an embodiment of the present invention includes the following steps:
in step S201, an intermediate file for presenting each presentation element in the presentation content in a three-dimensional space is acquired.
In this embodiment, the three-dimensional rendering engine acquires an intermediate file for rendering each presentation element in the presentation content in the three-dimensional space. The intermediate file is obtained by converting the content of the presentation according to the method of the first embodiment of the present invention. The three-dimensional representation engine can be a Unity or Unreal three-dimensional virtual representation engine.
In step S202, a presentation control logic between the corresponding presentation elements of each intermediate file is set according to the file name of each intermediate file.
In a specific embodiment, the three-dimensional presentation engine sets presentation control logic between presentation elements corresponding to the intermediate files according to file names of the intermediate files. Specifically, the three-dimensional presentation engine establishes a mapping relationship between the presentation elements corresponding to the intermediate files according to the file names of the intermediate files.
In step S203, the presentation elements are presented in a three-dimensional form according to the presentation control logic between the presentation elements.
In a specific embodiment, said presenting said presentation elements in three dimensions according to presentation control logic between said presentation elements comprises: and displaying the demonstration elements through a three-dimensional display engine according to the demonstration control logic among the demonstration elements. In an optional embodiment of the present invention, the presenting, by a three-dimensional presentation engine, the presentation element according to the presentation control logic between the presentation elements includes: and according to the presentation sequence between the background and the sequence of texts, tables, images, audio or video frames in the page of the presentation content, overlapping the intermediate file corresponding to the background and the intermediate file corresponding to the sequence of texts, tables, images, audio or video frames by a three-dimensional presentation engine to present the page of the presentation content. Wherein the presentation control logic is specifically a presentation order in three-dimensional space between a background and a sequence of text, table, image, audio or video frames in a page of the presentation content.
In an optional embodiment of the present invention, the presenting, by a three-dimensional presentation engine, the presentation element according to the presentation control logic between the presentation elements includes: and responding to the operation of displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content in the three-dimensional space by the user, and displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content through a three-dimensional display engine according to the demonstration control logic between the demonstration elements in the demonstration manuscript content. Therefore, the user can interact with the three-dimensional showing engine, and the demonstration of the demonstration manuscript content is realized.
Preferably, when the presentation configuration data includes an animation effect, the method further includes: and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements and the animation effect corresponding to the demonstration elements. Therefore, the content of the presentation can be more realistically displayed in the three-dimensional space.
In a specific embodiment, when the presentation configuration data includes animation effects, the presentation elements are presented through a three-dimensional presentation engine according to the presentation control logic between the presentation elements and the animation effects corresponding to the presentation elements. For example, when the animation effect of the presentation element in the presentation content in the two-dimensional space is a fade, the animation effect of the presentation element in the presentation content in the three-dimensional space is a fade, accordingly.
In practical application, the presentation method of the presentation in the three-dimensional space provided by the embodiment of the invention can be applied to the technical fields of interaction with three dimensions, such as the field of virtual reality, the field of augmented reality, the field of mixed reality and the like.
According to the presentation method of the presentation in the three-dimensional space, provided by the embodiment of the invention, an intermediate file for presenting each presentation element in the presentation content in the three-dimensional space is obtained; setting a demonstration control logic between demonstration elements corresponding to the intermediate files according to the file names of the intermediate files; and then the demonstration elements are displayed in a three-dimensional form according to the demonstration control logic among the demonstration elements, and compared with the prior art, the content of the demonstration manuscript can be displayed in a three-dimensional space.
The presentation method of the presentation in the three-dimensional space according to the embodiment may be performed by any suitable device with image or data processing capability, including but not limited to: cameras, terminals, mobile terminals, PCs, servers, in-vehicle devices, entertainment devices, advertising devices, Personal Digital Assistants (PDAs), tablet computers, notebook computers, handheld game consoles, smart glasses, smart watches, wearable devices, virtual display devices or display enhancement devices (such as Google Glass, Oculus rise, Hololens, Gear VR), and the like.
EXAMPLE III
The embodiment of the invention also provides electronic equipment, which can be a mobile terminal, a Personal Computer (PC), a tablet computer, a server and the like. Referring now to fig. 3, shown is a schematic diagram of an electronic device 300 suitable for use as a terminal device or server for implementing embodiments of the present invention. As shown in fig. 3, the electronic device 300 includes one or more first processors, such as: one or more Central Processing Units (CPUs) 301, and/or one or more image processors (GPUs) 313, etc., which may perform various appropriate actions and processes according to executable instructions stored in a Read Only Memory (ROM)302 or loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the present embodiment, the first read only memory 302 and the random access memory 303 are collectively referred to as a first memory. The first communication element includes a communication component 312 and/or a communication interface 309. Among other things, the communication component 312 may include, but is not limited to, a network card, which may include, but is not limited to, an ib (infiniband) network card, the communication interface 309 includes a communication interface such as a network interface card of a LAN card, a modem, or the like, and the communication interface 309 performs communication processing via a network such as the internet.
The first processor may communicate with the read-only memory 302 and/or the random access memory 303 to execute executable instructions, connect with the communication component 312 through the first communication bus 304, and communicate with other target devices through the communication component 312, thereby completing operations corresponding to any presentation conversion method provided by the embodiment of the present invention, for example, parsing the content of the presentation, and obtaining presentation configuration data of each presentation element in the content of the presentation; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and according to the determined file names, respectively storing the corresponding intermediate presentation data as intermediate files for presenting the presentation contents in the three-dimensional space.
Further, in the RAM303, various programs and data necessary for the operation of the apparatus can also be stored. The CPU301 or GPU313, the ROM302, and the RAM303 are connected to each other via a first communication bus 304. The ROM302 is an optional module in case of the RAM 303. The RAM303 stores or writes executable instructions into the ROM302 at runtime, and the executable instructions cause the first processor to perform operations corresponding to the above-described communication method. An input/output (I/O) interface 305 is also connected to the first communication bus 304. The communication component 312 may be integrated or may be configured with multiple sub-modules (e.g., multiple IB cards) and linked over a communication bus.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 308 including a hard disk and the like; and a communication interface 309 including a network interface card such as a LAN card, modem, or the like. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
It should be noted that the architecture shown in fig. 3 is only an optional implementation manner, and in a specific practical process, the number and types of the components in fig. 3 may be selected, deleted, added or replaced according to actual needs; in different functional component settings, separate settings or integrated settings may also be used, for example, the GPU and the CPU may be separately set or the GPU may be integrated on the CPU, the communication element may be separately set, or the GPU and the CPU may be integrated, and so on. These alternative embodiments are all within the scope of the present invention.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flowchart, the program code may include instructions corresponding to performing the steps of the method provided by embodiments of the present invention, for example, parsing presentation content, obtaining presentation configuration data for each presentation element in the presentation content; generating intermediate display data for each demonstration element according to the demonstration configuration data, and determining the file name of the intermediate display data; and according to the determined file names, respectively storing the corresponding intermediate presentation data as intermediate files for presenting the presentation contents in the three-dimensional space. In such an embodiment, the computer program may be downloaded and installed from a network via the communication element, and/or installed from the removable media 311. The computer program, when executed by the first processor, performs the above-described functions defined in the method of an embodiment of the invention.
Example four
The embodiment of the invention also provides electronic equipment, which can be a mobile terminal, a Personal Computer (PC), a tablet computer, a server and the like. Referring now to fig. 4, shown is a schematic diagram of an electronic device 400 suitable for use as a terminal device or server for implementing embodiments of the present invention. As shown in fig. 4, the electronic device 400 includes one or more second processors, such as: one or more Central Processing Units (CPUs) 401, and/or one or more image processors (GPUs) 413, etc., which may perform various appropriate actions and processes according to executable instructions stored in a Read Only Memory (ROM)402 or loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the present embodiment, the second read only memory 402 and the random access memory 403 are collectively referred to as a second memory. The second communication element comprises a communication component 412 and/or a communication interface 409. Among other things, the communication component 412 may include, but is not limited to, a network card, which may include, but is not limited to, an ib (infiniband) network card, the communication interface 409 includes a communication interface such as a network interface card of a LAN card, a modem, or the like, and the communication interface 409 performs communication processing via a network such as the internet.
The second processor may communicate with the read-only memory 402 and/or the random access memory 403 to execute executable instructions, connect with the communication component 412 through the second communication bus 404, and communicate with other target devices through the communication component 412, so as to complete operations corresponding to the presentation method of any presentation in a three-dimensional space provided by the embodiment of the present invention, for example, obtain an intermediate file for presenting each presentation element in the content of the presentation, where the intermediate file is obtained by converting the content of the presentation according to the method described in the first embodiment of the present invention; setting demonstration control logic among demonstration elements corresponding to the intermediate files according to the file names of the intermediate files; and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements.
In addition, in the RAM403, various programs and data necessary for the operation of the device can also be stored. The CPU401 or GPU413, ROM402, and RAM403 are connected to each other via a second communication bus 404. The ROM402 is an optional module in case of the RAM 403. The RAM403 stores or writes executable instructions into the ROM402 at runtime, and the executable instructions cause the second processor to perform operations corresponding to the above-described communication method. An input/output (I/O) interface 405 is also connected to the second communication bus 404. The communication component 412 may be integrated or configured with multiple sub-modules (e.g., IB cards) and linked over a communication bus.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication interface 409 comprising a network interface card such as a LAN card, modem, or the like. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
It should be noted that the architecture shown in fig. 4 is only an optional implementation manner, and in a specific practical process, the number and types of the components in fig. 4 may be selected, deleted, added or replaced according to actual needs; in different functional component settings, separate settings or integrated settings may also be used, for example, the GPU and the CPU may be separately set or the GPU may be integrated on the CPU, the communication element may be separately set, or the GPU and the CPU may be integrated, and so on. These alternative embodiments are all within the scope of the present invention.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product including a computer program tangibly embodied on a machine-readable medium, the computer program including program code for executing the method shown in the flowchart, where the program code may include instructions corresponding to the method steps provided in the embodiments of the present invention, for example, obtaining an intermediate file for presenting each presentation element in the content of a presentation, where the intermediate file is obtained by converting the content of the presentation according to the method described in the first embodiment of the present invention; setting demonstration control logic among demonstration elements corresponding to the intermediate files according to the file names of the intermediate files; and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements. In such an embodiment, the computer program may be downloaded and installed from a network through the communication element, and/or installed from the removable medium 411. The computer program, when executed by the second processor, performs the above-described functions defined in the method of an embodiment of the invention.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present invention may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present invention.
The above-described method according to an embodiment of the present invention may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein may be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It will be appreciated that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the processing methods described herein. Further, when a general-purpose computer accesses code for implementing the processes shown herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the processes shown herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The above embodiments are only for illustrating the embodiments of the present invention and not for limiting the embodiments of the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also belong to the scope of the embodiments of the present invention, and the scope of patent protection of the embodiments of the present invention should be defined by the claims.

Claims (10)

1. A method for converting a presentation, the method comprising:
analyzing the content of the presentation, and acquiring presentation configuration data of each presentation element in the content of the presentation;
generating intermediate presentation data for each presentation element according to the presentation configuration data, and determining a file name of the intermediate presentation data, including: generating a first intermediate display image for the background of a page in the presentation content, and determining the file name of the first intermediate display image as the file name corresponding to the first presentation order of the page; acquiring data of an audio or video frame sequence in the presentation content, and determining file names of the data corresponding to the audio or video frame sequence according to the presentation sequence of the audio or video frame sequence; generating a second intermediate display image for a text, a table or an image according to a demonstration position of the text, the table or the image, wherein the position of the text, the table or the image in the second intermediate display image corresponds to the demonstration position of the text, the table or the image; determining a file name of a second intermediate display image corresponding to the text, the table or the image according to the presentation order of the text, the table or the image;
generating a second intermediate presentation image for a text, a table, or an image according to a presentation position of the text, the table, or the image, comprising:
adding a transparent canvas for the presentation content, and pasting the text, the table or the image in a position corresponding to the presentation position of the text, the table or the image in the transparent canvas;
saving the transparent canvas and the text, the table or the image in a picture format to generate a second intermediate presentation image corresponding to the text, the table or the image;
and according to the determined file names, respectively storing the corresponding intermediate presentation data as intermediate files for presenting the presentation contents in the three-dimensional space.
2. The method of claim 1, wherein the presentation configuration data includes data on presentation order and data on presentation location.
3. The method of claim 1, further comprising:
and setting each intermediate file as a processing object of a three-dimensional display engine, and packaging each intermediate file and the three-dimensional display engine program into an executable file for three-dimensional display.
4. The method of claim 3, wherein the presentation transformation method is performed by a plug-in a system running the presentation.
5. A presentation method of a presentation in a three-dimensional space, the method comprising:
acquiring an intermediate file for displaying each presentation element in the content of a presentation in a three-dimensional space, wherein the intermediate file is obtained by converting the content of the presentation according to the method of any one of claims 1 to 4;
setting demonstration control logic among demonstration elements corresponding to the intermediate files according to the file names of the intermediate files, and displaying the demonstration elements in a three-dimensional form, wherein the demonstration control logic comprises the following steps: displaying the page of the presentation content by superposing an intermediate file corresponding to the background and an intermediate file corresponding to a sequence of text, table, image, audio or video frames by a three-dimensional display engine according to a display order between the background and the sequence of text, table, image, audio or video frames in the page of the presentation content; and responding to the operation of displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content in the three-dimensional space by the user, and displaying the previous demonstration element or the next demonstration element in the demonstration manuscript content through a three-dimensional display engine according to the demonstration control logic between the demonstration elements in the demonstration manuscript content.
6. The method of claim 5, wherein when the presentation configuration data comprises an animation effect, the method further comprises:
and displaying the demonstration elements in a three-dimensional form according to the demonstration control logic among the demonstration elements and the animation effect corresponding to the demonstration elements.
7. A computer readable storage medium having stored thereon computer program instructions, wherein the program instructions, when executed by a processor, implement the steps of the method of converting a presentation of any one of claims 1 to 4.
8. A computer readable storage medium having stored thereon computer program instructions, wherein the program instructions, when executed by a processor, implement the steps of the presentation rendering method in three-dimensional space of any of claims 5-6.
9. An electronic device, comprising: the device comprises a first processor, a first memory, a first communication element and a first communication bus, wherein the first processor, the first memory and the first communication element are communicated with each other through the first communication bus;
the first memory is used for storing at least one executable instruction, and the executable instruction causes the first processor to execute the steps of the presentation conversion method according to any one of claims 1-4.
10. An electronic device, comprising: the second processor, the second memory, the second communication element and the second communication bus are communicated with each other through the second communication bus;
the second memory is used for storing at least one executable instruction, and the executable instruction causes the second processor to execute the steps of the presentation method in the three-dimensional space according to any one of claims 5-6.
CN201711114317.8A 2017-11-13 2017-11-13 Method, storage medium and device for converting and displaying manuscript in three-dimensional space Active CN107908608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711114317.8A CN107908608B (en) 2017-11-13 2017-11-13 Method, storage medium and device for converting and displaying manuscript in three-dimensional space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711114317.8A CN107908608B (en) 2017-11-13 2017-11-13 Method, storage medium and device for converting and displaying manuscript in three-dimensional space

Publications (2)

Publication Number Publication Date
CN107908608A CN107908608A (en) 2018-04-13
CN107908608B true CN107908608B (en) 2022-01-21

Family

ID=61845021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711114317.8A Active CN107908608B (en) 2017-11-13 2017-11-13 Method, storage medium and device for converting and displaying manuscript in three-dimensional space

Country Status (1)

Country Link
CN (1) CN107908608B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109493401B (en) * 2018-10-23 2019-11-22 北京字节跳动网络技术有限公司 PowerPoint generation method, device and electronic equipment
CN110083419B (en) * 2019-04-09 2020-12-08 北京点众科技股份有限公司 Power-saving page presentation method and equipment
CN110059199B (en) * 2019-04-11 2023-08-18 深圳迪乐普智能科技有限公司 Realization method of 3D presentation and 3D presentation
CN110837569A (en) * 2019-11-04 2020-02-25 同辉佳视(北京)信息技术股份有限公司 Information processing method and device, storage medium and electronic equipment
CN113129436B (en) * 2021-05-17 2023-12-15 洛阳众智软件科技股份有限公司 Method for generating three-dimensional demonstration manuscript

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060102402A (en) * 2005-03-23 2006-09-27 김민수 Merlin templete form
CN101178817B (en) * 2007-12-25 2010-06-02 王鹏勃 Demonstration document realization method based on three-dimensional information in three-dimensional scene
CN102819393A (en) * 2012-07-26 2012-12-12 珠海金山办公软件有限公司 Adjusting method and device thereof of hierarchies of objects of demonstration document
CN105303603A (en) * 2015-10-16 2016-02-03 深圳市天华数字电视有限公司 Three-dimensional production system used for demonstrating document and production method thereof

Also Published As

Publication number Publication date
CN107908608A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN107908608B (en) Method, storage medium and device for converting and displaying manuscript in three-dimensional space
CN109597617B (en) Method and device for quickly generating service page based on template
CN110109670B (en) Method and device for processing view list data, electronic equipment and storage medium
US9772978B2 (en) Touch input visualizations based on user interface context
CN110989878B (en) Animation display method and device in applet, electronic equipment and storage medium
CN109558323B (en) System, method and apparatus for debugging pages
US10664980B2 (en) Vector graphics handling processes for user applications
CN110766772A (en) Flatter-based cross-platform poster manufacturing method, device and equipment
CN112074872A (en) Generating and providing platform-independent scene files in an intermediate format
US20220353587A1 (en) Method and apparatus for generating music poster, electronic device, and medium
WO2022033131A1 (en) Animation rendering method based on json data format
CN103034710B (en) Page rendering method and device for browser
CN113031946A (en) Method and device for rendering page component
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
US8854368B1 (en) Point sprite rendering in a cross platform environment
CN103049430A (en) Page display method based on IDF (interactive document format) files
CN112492399B (en) Information display method and device and electronic equipment
CN109582580B (en) System, method and apparatus for debugging pages
US10846061B2 (en) Development environment for real-time application development
JP2010282200A (en) Structure of animation font file and text-displaying method for mobile terminal
JP7352032B2 (en) Video generation method, apparatus, electronic device and computer readable storage medium
CN114003218A (en) Method, device, equipment and medium for constructing data visualization component library
CN115391692A (en) Video processing method and device
CN113849164A (en) Data processing method and device, electronic equipment and memory
CN111506841A (en) Webpage display method, device and equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant