Display information generation method, device and electronic device
By generating material protocols and using the server to parse and generate target materials, the problem of users needing to frequently modify advertising creative materials when generating display information is solved, simplifying operations and reducing costs.
Patent Information
- Application Number
- CN202110028721.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-08
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-01-08
AI Technical Summary
When generating display information, users need to frequently modify the materials in the advertising creativity, such as titles, pictures, videos, etc., and these modifications need to rely on adjustments to the code that implements the advertisement, resulting in complex and high cost.
By obtaining the requirements of the original material and the required material to be generated, generate the material protocol, and send it to the server for analysis. Based on the analysis of the material protocol, the target material is generated. information.
Simplified the user's operation process, reduced the needs of artificial adjustment code, reduced operating costs, and improved the efficiency of advertising creative optimization.
Smart Images

Figure CN112712395B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method, device and electronic device for generating display information. Background Art
[0002] With the development of Internet technology, more and more people are spreading various information through the Internet. For example, advertising information can be spread on the Internet. Users can receive advertising information through network traffic.
[0003] In order to achieve better visual effects, it is necessary to continuously optimize advertising creativity. In order to optimize advertising creativity, it is necessary to modify the materials in the advertising creativity, such as titles, pictures, videos, etc. Modifying the materials requires adjusting the code that implements the advertisement. Summary of the invention
[0004] This disclosure section is provided to introduce concepts in a brief form, which will be described in detail in the detailed description section below. This disclosure section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] The embodiments of the present disclosure provide a method, device and electronic device for generating display information.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for generating display information, including: obtaining requirement information of an original material and a target material to be generated; generating a material protocol based on the requirement information of the original material and the target material to be generated; sending the material protocol to a server so that the server parses the material protocol and generates the target material according to the parsed material protocol; and generating display information for display based on the target material received from the server.
[0007] In a second aspect, an embodiment of the present disclosure provides a method for generating display information, comprising: receiving a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of an original material and information of a target material to be generated; generating a material protocol based on the information of the original material and information of the target material to be generated; parsing the material protocol, and determining information of the original material and the target material based on the parsing result; generating a target material based on the information of the original material and the target material; and sending the target material to the terminal device so that the terminal device generates display information based on the target material.
[0008] In a third aspect, an embodiment of the present disclosure provides a new display generation device, comprising: an acquisition unit, used to acquire requirement information of original materials and target materials to be generated; a first generation unit, used to generate a material protocol based on the requirement information of the original materials and the target materials to be generated; a first sending unit, used to send the material protocol to a server, so that the server parses the material protocol and generates the target material according to the parsed material protocol; and a second generation unit, used to generate display information for display based on the target material received and sent by the server.
[0009] In a fourth aspect, an embodiment of the present disclosure provides a display information generating device, comprising: a receiving unit, configured to receive a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of an original material and information of a target material to be generated; generating a material protocol based on the information of the original material and information of the target material to be generated; a parsing unit, configured to parse the material protocol and determine information of the original material and the target material based on the parsing result; a third generating unit, configured to generate a target material based on the information of the original material and the target material; and a second sending unit, configured to send the target material to the terminal device, so that the terminal device generates display information based on the target material.
[0010] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the display information generation method as described in the first aspect, or the display information generation method as described in the second aspect.
[0011] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the display information generating method as described in the first aspect, or the display information generating method as described in the second aspect.
[0012] The display information generation method, device and electronic device provided by the embodiment of the present disclosure obtain the requirement information of the original material and the target material to be generated; generate the material protocol based on the requirement information of the original material and the target material to be generated; send the material protocol to the server so that the server parses the material protocol and generates the target material according to the parsed material protocol; generate the display information for display based on the target material sent by the server, so that when generating the display information, the user only needs to input the requirement information of the target material and the original material, and the server generates the target material according to the requirement information of the target material and the original material, and then generates the display information according to the target material sent by the server. In the above process, when generating the display information, the user only needs to put forward the requirement of the target material, and the server processes the original material to generate the target material. Compared with the method in which the user edits the original material to generate the target material when generating the display information, the method provided by this embodiment can simplify the user's operation and reduce labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0014] Figure 1 is a flow chart of an embodiment of a method for generating display information according to the present disclosure;
[0015] Figure 2 is a flow chart of another embodiment of the method for generating display information according to the present disclosure;
[0016] Figure 3 is a flow chart of another embodiment of the method for generating display information according to the present disclosure;
[0017] Figure 4 It is a schematic diagram of a directed graph;
[0018] Figure 5 is a schematic structural diagram of an embodiment of a display information generating device according to the present disclosure;
[0019] Figure 6 is a schematic structural diagram of an embodiment of a display information generating device according to the present disclosure;
[0020] Figure 7 is a schematic architecture diagram of an information acquisition system to which a display information generation method according to an embodiment of the present disclosure can be applied;
[0021] Figure 8It is a schematic diagram of the basic structure of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0024] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0025] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] Please refer to Figure 1 , which shows the process of an embodiment of the method for generating display information according to the present disclosure. Figure 1 The method for generating display information includes the following steps:
[0029] Step 101, obtaining the required information of the original material and the target material to be generated.
[0030] In this embodiment, the execution subject of the display information generation method may use various methods to obtain the required information of the original material and the target material to be generated.
[0031] For example, the target material requirement information and the original material input by the user may be received. The target material requirement information may include the material type, quantity, material structure, type of source material, etc. of the target material.
[0032] The source material may be a raw material or an intermediate material.
[0033] The material types here can include pictures, texts, and videos.
[0034] Material structure: If the material is a picture, the material structure includes the picture source and aspect ratio; if the material type is text, the material structure includes the text source and text attributes (title, subtitle); if the material is a video, the material structure includes the video source, aspect ratio, and playback time.
[0035] Step 102: Generate a material agreement based on the requirement information of the original material and the target material to be generated.
[0036] The execution subject may process the requirement information of the original material and the target material to be generated to generate a material agreement. For example, the requirement information of the original material and the target material to be generated may be processed and packaged to generate a material agreement.
[0037] Step 103, sending the material protocol to the server, so that the server parses the material protocol and generates the target material according to the parsed material protocol.
[0038] In this embodiment, the execution subject may send the material protocol to the server, and the server may parse the material protocol, and then generate the target material according to the parsed physical protocol.
[0039] Specifically, after receiving the material agreement, the server may read information such as the material type, material structure, and original material of the target material in the material agreement.
[0040] The server can process the original material according to the required information of the original material and the target material obtained after parsing the material protocol. For example, the server determines the conversion function for converting the original material into the target material according to the requirements of the target material. The conversion function is used to convert the original material into the target material.
[0041] Step 104: Generate display information for display based on the target material received from the server.
[0042] In this embodiment, the execution entity may generate display information for display according to the received target material.
[0043] In some application scenarios, display information can be generated according to a preset display style of the target material.
[0044] In some other application scenarios, after receiving the target material, the execution subject may remind the user to set the display style of the target material. The execution subject may generate a display style according to the display style of each target material.
[0045] The display information generation method provided in this embodiment obtains the requirement information of the original material and the target material to be generated; generates a material protocol based on the requirement information of the original material and the target material to be generated; sends the material protocol to the server so that the server parses the material protocol and generates the target material according to the parsed material protocol; generates display information for display based on the target material sent by the server, so that when generating the display information, the user only needs to input the requirement information of the target material and the original material, and the server generates the target material according to the requirement information of the target material and the original material, and then generates the display information according to the target material sent by the server. In the above process, when generating the display information, the user only needs to put forward the requirement of the target material, and the server processes the original material to generate the target material. Compared with the method in which the user edits the original material to generate the target material when generating the display information, the method provided in this embodiment can simplify the user's operation and reduce labor costs.
[0046] Please refer to Figure 2 , which shows the process of another embodiment of the method for generating display information according to the present disclosure. Figure 2 The method for generating display information includes the following steps:
[0047] Step 201 : obtaining the required information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated.
[0048] Step 202: Generate a material protocol based on the original material, the requirement information of the target material, and the information of the target conversion function.
[0049] In some application scenarios, the user can input the required information of the original material and the target material in the information interaction interface of the terminal device used by the user. When the user inputs the required information of the target material, the user can also input the target conversion function information for converting the original material into the target material in the information interaction interface. The information of the target conversion function may include, for example, the identifier of the target conversion function. The identifier of the conversion function may include letters, numbers, symbols, words, etc. The identifier of the conversion function can be used to distinguish different conversion functions.
[0050] In these application scenarios, the execution subject of the display information generation method may be a terminal device used by the user. The execution subject may obtain the required information of the original material and the target material input by the user.
[0051] In some other application scenarios, the execution subject of the above display information may be other electronic devices that realize communication connection with the terminal device. The above execution subject may obtain the required information of the original material and the target material input by the user from the terminal device used by the user through the above communication connection, and obtain the conversion function information of the original material to the target material input by the user.
[0052] The required information of the target material may include but is not limited to: the material type, quantity, material structure, type of source material, etc. of the target material.
[0053] The generated material protocol may include: the material structure of the target material, the identifier of the target conversion function, the parameter information of the target conversion function, parameter return, write-back placeholder, and original material; wherein the material structure includes: the material type of the original material, the material type of the target material, the target material quantity, and display attributes.
[0054] The material types here can include pictures, texts, and videos.
[0055] If the material type of the target material is a picture, the above material structure includes the source material of the picture and the aspect ratio of the target material; if the material type of the target material is text, the material structure includes the source of the text and text attributes (title, subtitle); if the type of the target material is a video, the material structure includes the source of the video, the aspect ratio of the target material, and the playback time.
[0056] Types of source materials can include raw materials and intermediate materials.
[0057] Specifically, the above step 201 may include the following: first, the type selection items of the target material may be displayed in the above information interaction interface. The user may perform a selection operation on the type selection item. The material type of the target material may be determined according to the user's selection operation.
[0058] Secondly, after the type of the target material is determined, the selectable conversion function options may be displayed in the information interaction interface. The conversion function options may include at least one identifier of the selectable conversion function. The user may perform a selection operation on the conversion function options. The target conversion function selected by the user for generating the target material may be determined according to the user's selection operation. The identifier of the conversion function may include numbers, letters, words and / or symbols. The identifier of the conversion function is used to distinguish different functions. After receiving the conversion function selected by the user, the above-mentioned execution subject may automatically determine the function library corresponding to the conversion function.
[0059] After selecting the target conversion function for generating the target material, information of parameters corresponding to the target conversion function may be displayed in the information interaction interface. The target conversion function may include at least one parameter.
[0060] The parameter information here includes parameter type, parameter structure, parameter return, parameter description, write-back placeholder, etc. Among them, parameter types include numeric type, floating point type, and string type. Parameter structure includes: single value or list value.
[0061] After determining the information of the target material, the source material used to generate the target material can be obtained. The type selection of the source material can be displayed. The type of the source material can include the original material.
[0062] If the material selected by the user is an original material, the user may be prompted to enter the original material in the information interaction interface. After the user enters the original material, the execution subject may generate a material protocol based on the original material, the required information of the target material, and the information of the target conversion function, and send the material protocol to the server. The service may parse the material protocol and generate the target material based on the parsed material protocol. The server may send the generated target material to the execution subject of the display information generation method.
[0063] In some application scenarios, the type of the source material may be an intermediate material. In these application scenarios, step 202 may include the following steps:
[0064] First, information of at least one intermediate material between the original material and the target material is obtained.
[0065] Secondly, information of a first conversion function from an original material to an intermediate material, information of at least one second conversion function between intermediate materials, and information of a third conversion function between an intermediate material and a target material are obtained.
[0066] Finally, a material protocol is generated based on the information of the original material, the information of at least one intermediate material, the first conversion function information, the at least one second conversion function information, the third conversion function information, and the requirement information of the target material.
[0067] In these application scenarios, after obtaining the type of the target material input by the user, the selectable conversion function options can be displayed in the information interaction interface. The conversion function options may include at least one identifier of the selectable conversion function. The user may perform a selection operation on the conversion function options. The target conversion function selected by the user for generating the target material may be determined according to the user's selection operation. The above target conversion function may be regarded as a third conversion function. After determining the third target conversion function, the relevant options of the source material may be displayed in the information interaction interface. The relevant options of the source material include the original material and the intermediate material. The user may select the intermediate material as the source material. After the user selects the intermediate material as the source material, the material type options of the above intermediate material may continue to be displayed in the information interaction interface. The user may perform a selection operation in the material type options of the intermediate material. The target material type of the intermediate material may be determined according to the user's selection operation. After the user determines the target material type, the selectable conversion function options may be displayed in the information interaction interface. The user may perform a selection operation on the conversion function options. The conversion function selected by the user may be determined according to the user's selection operation. After determining the conversion function selected by the user, the options of the parameters corresponding to the above conversion function may be displayed. According to the selection operation performed by the user on the parameter selection items, the parameters corresponding to the conversion function are determined. After the parameters corresponding to the conversion function are determined, the source material selection items of the source materials corresponding to the conversion function can be displayed in the information interaction interface. The source material selection items include original materials and intermediate materials. If the user selects the original material as the source material type, the above conversion function can be determined as the first conversion function, that is, the first conversion function from the original material to the intermediate material; if the user selects the intermediate material as the source material type, the above conversion function can be determined as the second conversion function. That is, the second conversion function from one intermediate material to another intermediate material. And so on, at least one second conversion function required for the conversion of each intermediate material can be determined.
[0068] The information of the conversion function may include an identifier of the conversion function. The identifier of the conversion function may include numbers, letters, words and / or symbols. The identifier of the conversion function is used to distinguish different functions. After receiving the conversion function selected by the user, the execution entity may automatically determine the function library corresponding to the conversion function. In some application scenarios, the information of the conversion function may also include the function library corresponding to the conversion function.
[0069] As an illustrative example, the user wants the target material to be a 1:1 video, but only a 16:9 picture.
[0070] In the information interaction interface, the user can select a video option in the type selection item. After the user selects that the type of the target material is a video, the conversion function selection item that can generate the video can be displayed in the information interaction interface. The conversion function selection item includes the conversion function of "picture to 1:1 video". The source material selection item of "picture to 1:1 video" can be viewed. Since the user does not have a 1:1 picture, the intermediate material selection item can be selected in the source material. The above-mentioned conversion function of "picture to 1:1 video" can be regarded as the third conversion function. Furthermore, the type selection item of the intermediate material can be displayed. The "picture" type can be selected according to the above-mentioned type selection item. Then, at least one conversion function selection item for generating the intermediate material can be displayed in the information interaction interface. The conversion function selection item of "16:9 picture cropped to 1:1 picture" can be selected in the above-mentioned at least one conversion function selection item. After the user selects the above-mentioned conversion function selection item of "16:9 picture cropped to 1:1 picture", the source material corresponding to the function of "16:9 picture cropped to 1:1 picture" can be displayed. Since the user has a 16:9 picture, the source material can be selected as the original material. The above conversion function of "cropping a 16:9 picture to a 1:1 picture" can be regarded as the first conversion function.
[0071] The user can input the user's 16:9 picture after selecting the original material. After the user inputs the 16:9 picture, the electronic device can generate a material protocol according to the original material, the intermediate material, the target material, and the first conversion function and the third conversion function.
[0072] Furthermore, in these application scenarios, the source function corresponding to the above-mentioned one intermediate function may be another intermediate function, and the conversion function converted from the above-mentioned one intermediate function to the other intermediate function may be a second conversion function.
[0073] The above step 202 may include generating a material protocol according to information of the original material, information of at least one intermediate material, information of the first conversion function, information of at least one second conversion function, information of the third conversion function and requirement information of the target material.
[0074] Step 203, sending the material protocol to the server, so that the server parses the material protocol and generates the target material according to the parsed material protocol.
[0075] In this embodiment, the execution subject may send the material protocol to the server, and the server may parse the material protocol, and then generate the target material according to the parsed physical protocol.
[0076] Specifically, after receiving the material protocol, the server may read the type of target material, material structure, material parameters, original material, identification of each conversion function, etc. in the material protocol.
[0077] It is understandable that the codes of the above conversion functions can be stored in the above server, or the conversion functions set in other electronic devices can be accessed through communication connections. In the process of parsing the above material protocol, the server can call the code of the conversion function through the reflection calling method according to the identifier of the conversion function used in the material protocol, thereby realizing the conversion of the original material into the target material; or the conversion of the original material into the intermediate material, and then the conversion of the intermediate material into the target material.
[0078] Step 204: Generate display information for display based on the target material received from the server.
[0079] In this embodiment, the execution entity may generate display information for display according to the received target material.
[0080] In some application scenarios, display information can be generated according to a preset display style of the target material.
[0081] In some other application scenarios, after receiving the target material, the execution subject may remind the user to set the display style of the target material. The execution subject may generate a display style according to the display style of each target material.
[0082] and Figure 1 Compared with the embodiment shown in the figure, the present embodiment highlights the acquisition of information of the target conversion function between the original material and the target material to be generated, and the generation of the material protocol according to the information of the original material, the target material and the target conversion function. The target conversion function can be specified by the user, thereby speeding up the generation of the target material from the original material.
[0083] Please refer to Figure 3 , which shows a flow chart of another embodiment of the method for generating display information according to the present disclosure. Figure 3 As shown, the display information generation method includes the following steps:
[0084] Step 301, receiving a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of original materials and required information of target materials to be generated; and generating a material protocol based on information of original materials and required information of target materials to be generated.
[0085] In this embodiment, the execution subject of the above display information generation method may be a server. The server may receive a material protocol for generating display information sent by a terminal device. The material protocol may be generated by the user's terminal device according to the acquired original material information and the required information of the target material to be generated.
[0086] Step 302, parse the material agreement, and determine the required information of the original material and the target material according to the parsing result.
[0087] Step 303: Generate target materials based on the required information of the original materials and the target materials.
[0088] The server may first read the content in the material agreement, such as the requirement information of the target material and the original material.
[0089] In some application scenarios, the server may determine information of a target conversion function for converting an original material into a target material according to the requirement information of the target material. For example, if the target material is a video and the original material is a picture, the server may determine that the target conversion function is a "picture to video" conversion function for converting a picture into a video.
[0090] In some other application scenarios, the material protocol may include information of a target conversion function for converting an original material into a target material.
[0091] The information of the target conversion function may include, for example, an identifier of the conversion function.
[0092] After the target conversion function is determined, the code of the target conversion function may be obtained locally on the server or in other electronic devices that are in communication with the server.
[0093] The server may run the target conversion function to convert the original material into the target material.
[0094] Step 304: Send the target material to the terminal device so that the terminal device generates display information according to the target material.
[0095] In practice, the requirement information of the above target function may also include function return, write-back placeholder information, etc.
[0096] The return information of the target material can be generated in the form specified by the above function return information and the write-back placeholder.
[0097] The return information of the target material may be sent to the terminal device so that the terminal device generates display information according to the target material.
[0098] The display information generation method provided in this embodiment receives a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of the original material and information of the target material to be generated; generating a material protocol based on the information of the original material and the information of the target material to be generated; parsing the material protocol, and determining information of the original material and the target material according to the parsing result; generating a target material based on the information of the original material and the target material; sending the target material to the terminal device so that the terminal device generates display information according to the target material, so that when generating display information, the user only needs to input the target material requirement information and the original material in the terminal device, and the server generates the target material according to the target material requirement information and the original material, and then generates display information according to the target material sent by the server. In the above process, when generating display information, the user only needs to put forward the target material requirement, and the server processes the original material to generate the target material. Compared with the method in which the user edits the original material to generate the target material when generating display information, the method provided in this embodiment can simplify the user's operation and reduce labor costs.
[0099] In some optional implementations of this embodiment, the above step 302 may include the following sub-steps:
[0100] Sub-step 3021, determining at least one intermediate material between the original material and the target material.
[0101] In these optional implementations, the information of the intermediate material input by the user can be parsed in the above material protocol. The intermediate material is a transitional material for generating the target material from the original material. The above intermediate material can be one or more. For example, in the process of generating the target material from the original material, the first intermediate material can be generated from the original material, and then the second intermediate material can be generated from the first intermediate material, and then the target material can be generated from the second intermediate material.
[0102] The process of users setting intermediate materials can refer to Figure 2 The description of the example shown is not repeated here.
[0103] Sub-step 3022, determining the generation order between the intermediate materials and the target materials.
[0104] Specifically, sub-step 3022 may include the following process: First, the server may determine the source materials corresponding to each intermediate material and target material according to the parsed material protocol, and determine the dependency relationship between each intermediate material and target material. Second, based on the above dependency relationship, determine the generation order between at least one intermediate material and the target material.
[0105] For example, in Figure 2 In the illustrated embodiment, the source material of the target material may be the second intermediate material; the source material of the second intermediate material may be the first intermediate material, and the source material of the first intermediate material may be the original material. That is, the generation of the target material depends on the second intermediate material, the generation of the second intermediate material depends on the first intermediate material, and the generation of the first intermediate material depends on the original material.
[0106] In this way, the generation order of the first intermediate material, the second intermediate material and the target material can be determined as follows: first, the original material generates the first intermediate material; second, the first intermediate material generates the second intermediate material; third, the second intermediate material generates the target material.
[0107] Furthermore, the determining of the generation order between at least one intermediate material and the target material based on the dependency relationship includes:
[0108] First, a directed graph formed by at least one intermediate material, a target material, and an original material is generated according to the above dependency relationship, and the end node of the directed graph is the original material. The directed graph may include multiple nodes. Each node in the directed graph may correspond to a material, such as an intermediate material, a target material, etc.
[0109] Secondly, in response to determining that the directed graph complies with the first preset rule, a generation order corresponding to each of at least one intermediate material and the target material is determined according to a connection relationship between nodes of the directed graph.
[0110] The first preset rule may include: no loop is formed in the directed graph, and there is no node without input except the original material in the directed graph.
[0111] Specifically, the order of generating materials for each node in the directed graph can be determined by performing operations in the following order:
[0112] First, determine the in-degree of each node in the current directed graph.
[0113] Second, the node with in-degree 0 in the current directed graph is used as the current node to be processed, and the material generation task corresponding to the current node to be processed is stored in the preset task queue.
[0114] Third, the in-degree of the node whose material is the source material is reduced by 1, and the above order determination operation is repeated until the material generation tasks corresponding to each node in the directed graph are placed in the preset task queue.
[0115] Sub-step 3023, generating each intermediate material and target material in sequence according to the generation order corresponding to at least one intermediate material and target material indicated by the generation sequence.
[0116] Combine the following Figure 4Determines the order in which materials are generated for each node in a directed graph. Figure 4 , which shows a schematic directed graph generated by an original material, at least one intermediate material, and a target material.
[0117] like Figure 4 As shown, A is the original material. B is the first target material with the original material A as the source material. C is the first intermediate material with the original material A as the source material. D is the second intermediate material with the first intermediate material C as the source material. E is the second target material with the second intermediate material D as the source material.
[0118] exist Figure 4 In the directed graph shown, the in-degree of any node can be the number of links connected to the node. The out-degree can be the number of links connected from the node.
[0119] Taking the first intermediate material C as an example, the directed line from the original material A to the first intermediate material C is the in-degree of the first intermediate material C (the in-degree is 1), and the directed line from the first intermediate material C to the second intermediate material D is the out-degree of the first intermediate material C (the out-degree is 1).
[0120] In the initial state, the entry and exit degrees of the above materials A, B, C, D, and E are: Entry: The entry degree of A is 0, the entry degree of B is 1, the entry degree of C is 1, the entry degree of D is 1, and the entry degree of E is 1.
[0121] The in-degree of the original material A is 0. The task of generating the original material A is placed in the preset task queue and is generated with the highest priority. The in-degree of the nodes corresponding to the first target material B and the first intermediate material C, which use the original material A as the source material, is reduced by 1. At this time, the in-degree of each node in the directed graph is: the in-degree of the original material A is 0; the in-degree of the first target material B is 0; the in-degree of the first intermediate material C is 0; the in-degree of the second intermediate material D is 1, and the in-degree of the second target material E is 1.
[0122] The in-degree of the first target material B and the first intermediate material C is 0. At this time, the generation tasks of the first target material B and the first intermediate material C can be put into the preset task queue. The production priority of the first target material B and the first intermediate material C can be the same level, but lower than the generation level of the original material A. After putting the generation tasks of the first target material B and the first intermediate material C into the preset task queue, the in-degree of the second intermediate material D with the first intermediate material C as the source material can be reduced by 1. At this time, the in-degree of each node in the directed graph is: A's in-degree is 0, B's in-degree is 0, C's in-degree is 0, D's in-degree is 0, and E's in-degree is 1.
[0123] At this time, since the in-degree of the second intermediate material D is 0, the generation task of the second intermediate material D can be put into the preset task queue. And the in-degree of the node of the second target material E is reduced by 1. At this time, the in-degree of each node in the directed graph is: the in-degree of the original material A is 0; the in-degree of the first target material B is 0; the in-degree of the first intermediate material C is 0; the in-degree of the second intermediate material D is 0, and the in-degree of the second target material E is 0.
[0124] The in-degree of the second target material E is 0, and the generation task of the second target material E is put into the preset task queue.
[0125] At this time, the generation order of each material in the task queue is: generation task of original material A, generation task of first target material B, generation task of first intermediate material C, generation task of second intermediate material D, generation task of second target material E.
[0126] The materials can be generated in the above-mentioned generation order without destroying the interdependence between the materials, and the material generation tasks of each node can be successfully completed.
[0127] By reading the information of multiple target materials to be generated, original materials, and intermediate materials in the material protocol, the dependency relationship between different materials can be analyzed. This dependency relationship can be expressed through a directed graph. Then, the generation priority of different materials (different target materials, different intermediate materials) is determined through a topological sorting algorithm in the directed graph. Different material generation tasks are called according to the above generation priority, so that the generation tasks of each target material are carried out in an orderly manner. This ensures that each target material can be generated quickly and accurately.
[0128] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a display information generating device, and the device embodiment is Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0129] like Figure 5 As shown, the information processing device of this embodiment includes: an acquisition unit 501, a first generation unit 502, a first sending unit 503 and a second generation unit 504. The acquisition unit 501 is used to acquire the requirement information of the original material and the target material to be generated; the first generation unit 502 is used to generate a material protocol based on the requirement information of the original material and the target material to be generated; the first sending unit 503 is used to send the material protocol to the server so that the server parses the material protocol and generates the target material according to the parsed material protocol; the second generation unit 504 is used to generate display information for display based on the target material sent by the server.
[0130] In this embodiment, the specific processing of the acquisition unit 501, the first generation unit 502, the first sending unit 503 and the second generation unit 504 of the information processing device and the technical effects thereof can be referred to respectively. Figure 1 The relevant descriptions of step 101, step 102, step 103 and step 104 in the corresponding embodiment are not repeated here.
[0131] In some optional implementations, the acquisition unit 501 is further used to: acquire the requirement information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated, and the first generation unit is further used to: generate the material protocol based on the requirement information of the original material and the target material, and the information of the target conversion function.
[0132] In some optional implementations, the first generation unit 502 is further used to: obtain information about at least one intermediate material between the original material and the target material; obtain information about a first conversion function for converting the original material to the intermediate material, and information about a third conversion function between the intermediate material and the target material; and generate a material agreement based on the information about the original material, the information about at least one intermediate material, the information about the first conversion function, the information about the third conversion function, and the requirement information of the target material.
[0133] Further references Figure 6 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information processing device, and the device embodiment is Figure 3 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0134] like Figure 6 As shown, the information processing device of this embodiment includes: a receiving unit 601, a parsing unit 602, a third generating unit 603 and a second sending unit 604. The receiving unit 601 is used to receive a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of an original material and information of a target material to be generated; generating a material protocol based on the information of the original material and information of the target material to be generated; the parsing unit 602 is used to parse the material protocol and determine the information of the original material and the target material according to the parsing result; the third generating unit 603 is used to generate a target material based on the information of the original material and the target material; the second sending unit 604 is used to send the target material to the terminal device, so that the terminal device generates display information according to the target material.
[0135] In this embodiment, the specific processing of the receiving unit 601, the parsing unit 602, the third generating unit 603 and the second sending unit 604 of the display information generating device and the technical effects thereof can be referred to respectively. Figure 3 The relevant descriptions of step 301, step 302, step 303 and step 304 in the corresponding embodiment are not repeated here.
[0136] In some optional implementations, the parsing unit 602 is further used to: determine at least one intermediate material between the original material and the target material; determine the generation order between each intermediate material and the target material; and generate each intermediate material and the target material in sequence according to the generation order corresponding to at least one intermediate material and the target material indicated by the generation order.
[0137] In some optional implementations, the parsing unit 602 is further used to: determine the dependency relationship between each intermediate material and target material according to the source material corresponding to each intermediate material and target material; and determine the generation order of at least one intermediate material and target material based on the dependency relationship.
[0138] In some optional implementations, the parsing unit 602 is further used to: generate a directed graph formed by the at least one intermediate material, the target material, and the original material according to the dependency relationship, wherein the end node of the directed graph is the original material; in response to determining that the directed graph complies with a first preset rule, determine the generation order corresponding to each of the at least one intermediate material and the target material according to the connection relationship between the nodes of the directed graph.
[0139] In some optional implementations, the parsing unit 602 is further used to: determine the generation order of materials for each node in the directed graph according to the following order determination operations: determine the in-degree of each node in the current directed graph; use the node with an in-degree of 0 in the current directed graph as the current node to be processed, and store the material generation task corresponding to the current node to be processed into a preset task queue; reduce the in-degree of the node whose material of the node is the source material by 1, and repeat the above order determination operations until the material generation tasks corresponding to each node in the directed graph are placed in the preset task queue.
[0140] Please refer to Figure 7 , Figure 7 An exemplary system architecture is shown in which the information processing method according to one embodiment of the present disclosure can be applied.
[0141] like Figure 7As shown, the system architecture may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is used to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0142] The terminal devices 701, 702, and 703 can interact with the server 705 through the network 704 to receive or send messages, etc. Various client applications can be installed on the terminal devices 701, 702, and 703, such as web browser applications, search applications, and news information applications. The client applications in the terminal devices 701, 702, and 703 can receive user instructions and perform corresponding functions according to the user instructions, such as receiving the required information of the target material and the original material input by the user.
[0143] Terminal devices 701, 702, and 703 can be hardware or software. When terminal devices 701, 702, and 703 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers, and desktop computers, etc. When terminal devices 701, 702, and 703 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0144] The server 705 may be a server that provides various services, such as receiving information processing requests sent by the terminal devices 701, 702, and 703, processing the information corresponding to the information processing requests in various ways according to the information processing requests, and sending the processing results (such as target materials) to the terminal devices 701, 702, and 703.
[0145] It should be noted that the display information generation method provided in the embodiment of the present disclosure can be executed by a terminal device, and accordingly, the display information generation device can be set in the terminal devices 701, 702, and 703. In addition, the display information generation method provided in the embodiment of the present disclosure can also be executed by a server 705, and accordingly, the display information generation device can be set in the server 705.
[0146] It should be understood that Figure 7 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0147] Reference below Figure 8 , which shows an electronic device (eg, Figure 7 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0148] like Figure 8 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0149] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0150] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0151] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0152] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0153] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0154] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the requirement information of the original material and the target material to be generated; generates a material protocol based on the requirement information of the original material and the target material to be generated; sends the material protocol to the server so that the server parses the material protocol and generates the target material according to the parsed material protocol; generates display information for display based on the target material received from the server. Or
[0155] The electronic device is enabled to: receive a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining information of an original material and information of a target material to be generated; generating a material protocol based on the information of the original material and information of the target material to be generated; parsing the material protocol, and determining information of the original material and the target material based on the parsing result; generating a target material based on the information of the original material and the target material; and sending the target material to the terminal device so that the terminal device generates display information based on the target material.
[0156] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0157] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0159] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0160] In the context of the present disclosure, 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, device, or equipment. 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0161] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0162] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0163] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for generating display information, comprising: Obtaining requirement information of the original material and the target material to be generated, wherein the material type of the target material includes one or more of the following: picture, text, and video; Generate a material agreement based on the requirement information of the original material and the target material to be generated; Sending the material protocol to a server so that the server parses the material protocol and generates a target material according to the parsed material protocol; Generate display information for display based on the target material received from the server; The server parses the material protocol and generates the target material according to the parsed material protocol, including: determining at least one intermediate material between the original material and the target material; determining a generation order between each intermediate material and the target material; and sequentially generating each intermediate material and the target material according to the generation order of the at least one intermediate material and the target material indicated by the generation order; The determining of the generation order between each intermediate material and the target material comprises: determining the dependency relationship between each intermediate material and the target material according to the source materials corresponding to each intermediate material and the target material; and determining the generation order between each intermediate material and the target material based on the dependency relationship; The generating of the material agreement based on the requirement information of the original material and the target material to be generated includes: processing and packaging the requirement information of the original material and the target material to be generated to generate the material agreement; The required information of obtaining the original material and the target material to be generated includes: Obtaining the required information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated, and The generating of the material agreement based on the requirement information of the original material and the target material to be generated includes: The material protocol is generated based on the original material, the requirement information of the target material, and the information of the target conversion function.
2. The method according to claim 1, characterized in that The generating the material protocol based on the original material, the requirement information of the target material, and the information of the target conversion function comprises: Acquire information of at least one intermediate material between the original material and the target material; Acquire information of a first conversion function for converting the original material into an intermediate material, and information of a third conversion function between the intermediate material and a target material; A material protocol is generated based on the information of the original material, the information of at least one intermediate material, the information of the first conversion function, the information of the third conversion function, and the requirement information of the target material.
3. The method according to claim 1, characterized in that The material agreement includes at least one of the following: The material structure of the target material, the identifier of the target conversion function, the information of the parameters of the target conversion function, parameter return, write-back placeholder, and original material; in The material structure includes: the material type of the original material, the material type of the target material, the target material quantity, display attributes, and the information of the source material. The source material includes the original material and the intermediate material.
4. A method for generating display information, comprising: Receive a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining requirement information of an original material and a target material to be generated; generating a material protocol based on the requirement information of the original material and the target material to be generated; wherein the material type of the target material includes one or more of the following: picture, text, and video; generating a material protocol based on the requirement information of the original material and the target material to be generated includes: processing and packaging the requirement information of the original material and the target material to be generated to generate a material protocol; Parsing the material agreement, and determining the required information of the original material and the target material according to the parsing result; generating a target material based on the requirement information of the original material and the target material; Sending the target material to a terminal device so that the terminal device generates display information according to the target material; The generating the target material based on the requirement information of the original material and the target material comprises: determining at least one intermediate material between the original material and the target material; determining a generating sequence between each intermediate material and the target material; generating each intermediate material and the target material in sequence according to the generating sequence corresponding to each of the at least one intermediate material and the target material indicated by the generating sequence; The determining of the generation order between each intermediate material and the target material comprises: determining the dependency relationship between each intermediate material and the target material according to the source materials corresponding to each intermediate material and the target material; and determining the generation order between each intermediate material and the target material based on the dependency relationship; Among them, the obtaining of the requirement information of the original material and the target material to be generated includes: obtaining the requirement information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated, and the generating of the material protocol based on the requirement information of the original material and the target material to be generated includes: generating the material protocol based on the requirement information of the original material, the target material, and the information of the target conversion function.
5. The method according to claim 4, characterized in that The determining the generation order between each intermediate material and the target material based on the dependency relationship includes: Generate a directed graph formed by the intermediate materials, the target materials, and the original materials according to the dependency relationship, wherein the end node of the directed graph is the original material; In response to determining that the directed graph complies with the first preset rule, determining the generation order corresponding to each intermediate material and the target material according to the connection relationship between each node of the directed graph; Among them, the first preset rule includes: no loop is formed in the directed graph, and there is no node without input except the original material in the directed graph.
6. The method according to claim 5, characterized in that The operations are performed in the following order to determine the order in which the materials corresponding to each node in the directed graph are generated: Determine the in-degree of each node in the current directed graph; The node with in-degree 0 in the current directed graph is used as the current node to be processed, and the material generation task corresponding to the current node to be processed is stored in the preset task queue; The in-degree of the node whose material corresponding to the current node to be processed is used as the source material is reduced by 1, and the above order determination operation is repeatedly performed until the material generation tasks corresponding to each node in the directed graph are placed in the preset task queue.
7. A display information generating device, comprising: An acquisition unit, used to acquire required information of an original material and a target material to be generated, wherein the material type of the target material includes one or more of the following: picture, text, and video; A first generating unit, configured to generate a material agreement based on the requirement information of the original material and the target material to be generated; A first sending unit, used for sending the material protocol to a server, so that the server parses the material protocol and generates a target material according to the parsed material protocol; A second generating unit, configured to generate display information for display based on the target material received and sent by the server; The server parses the material protocol and generates the target material according to the parsed material protocol, including: determining at least one intermediate material between the original material and the target material; determining the generation order between each intermediate material and the target material; and sequentially generating each intermediate material and the target material according to the generation order of at least one intermediate material and the target material indicated by the generation order; The determining of the generation order between each intermediate material and the target material comprises: determining the dependency relationship between each intermediate material and the target material according to the source materials corresponding to each intermediate material and the target material; and determining the generation order between each intermediate material and the target material based on the dependency relationship; The generating of the material agreement based on the requirement information of the original material and the target material to be generated includes: processing and packaging the requirement information of the original material and the target material to be generated to generate the material agreement; Among them, the obtaining of the requirement information of the original material and the target material to be generated includes: obtaining the requirement information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated, and the generating of the material protocol based on the requirement information of the original material and the target material to be generated includes: generating the material protocol based on the requirement information of the original material, the target material, and the information of the target conversion function.
8. A display information generating device, comprising: A receiving unit, used for receiving a material protocol for generating display information, wherein the material protocol is generated by a terminal device based on the following steps: obtaining requirement information of an original material and a target material to be generated; generating a material protocol based on the requirement information of the original material and the target material to be generated; wherein the material type of the target material includes one or more of the following: picture, text, and video; generating a material protocol based on the requirement information of the original material and the target material to be generated includes: processing and packaging the requirement information of the original material and the target material to be generated to generate a material protocol; A parsing unit, used to parse the material protocol and determine the required information of the original material and the target material according to the parsing result; A third generating unit, configured to generate a target material based on the requirement information of the original material and the target material; A second sending unit, used to send the target material to a terminal device, so that the terminal device generates display information according to the target material; The generating of the target material based on the requirement information of the original material and the target material comprises: determining at least one intermediate material between the original material and the target material; determining the generating order between each intermediate material and the target material; generating each intermediate material and the target material in sequence according to the generating order corresponding to each of the at least one intermediate material and the target material indicated by the generating order; the determining of the generating order between each intermediate material and the target material comprises: determining the dependency relationship between each intermediate material and the target material according to the source materials corresponding to each intermediate material and the target material; determining the generating order between each intermediate material and the target material based on the dependency relationship; Among them, the obtaining of the requirement information of the original material and the target material to be generated includes: obtaining the requirement information of the original material and the target material input by the user in the information interaction interface, and the information of the target conversion function between the original material and the target material to be generated, and the generating of the material protocol based on the requirement information of the original material and the target material to be generated includes: generating the material protocol based on the requirement information of the original material, the target material, and the information of the target conversion function.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Picture editing method, picture editing device and computer readable storage medium
CN111159441A