CN115496649A - Picture generation method and device, terminal equipment and computer medium - Google Patents

Picture generation method and device, terminal equipment and computer medium Download PDF

Info

Publication number
CN115496649A
CN115496649A CN202110677767.8A CN202110677767A CN115496649A CN 115496649 A CN115496649 A CN 115496649A CN 202110677767 A CN202110677767 A CN 202110677767A CN 115496649 A CN115496649 A CN 115496649A
Authority
CN
China
Prior art keywords
target
template
mapping template
task
mapping
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.)
Pending
Application number
CN202110677767.8A
Other languages
Chinese (zh)
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.)
Duodian Life Chengdu Technology Co ltd
Original Assignee
Duodian Life Chengdu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Duodian Life Chengdu Technology Co ltd filed Critical Duodian Life Chengdu Technology Co ltd
Priority to CN202110677767.8A priority Critical patent/CN115496649A/en
Publication of CN115496649A publication Critical patent/CN115496649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the disclosure discloses a picture generation method, a picture generation device, terminal equipment and a computer medium. One embodiment of the method comprises: acquiring a mapping information set; searching a predetermined target imaging template in a predetermined template library according to the imaging template identifier; responding to the condition that a predetermined target mapping template is not found, and generating a task target mapping template; generating a target picture set based on the task target imaging template; receiving device display information input by a user from a target terminal device; and controlling the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information. According to the embodiment, the task target imaging template is generated according to the imaging information set, and the task target imaging template is utilized to generate the target picture set so as to meet the picture display requirement and the equipment calling requirement, so that the image generation speed is increased, the configuration process of image generation is simplified, and the level of the equipment calling the target picture set is improved.

Description

Picture generation method and device, terminal equipment and computer medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a picture generation method, a picture generation device, terminal equipment and a computer medium.
Background
When pictures with similar layout contents are frequently used on line or off line in a large scale, a large amount of manpower is required to be invested to replace and update the picture contents in order to meet the application requirements of different pictures. Due to the high professional requirement of picture processing, a professional is required to spend a lot of time processing pictures one by one to generate a final picture set.
However, in the process of generating pictures, the following technical problems often exist:
first, in the prior art, after pictures are processed one by one, a picture set meeting the needs is generated. The processing method has poor flexibility and long time, consumes a large amount of human resources, cannot meet the timeliness requirement of picture application, and causes poor efficiency of displaying the target picture by the equipment.
Second, a single set of static pictures generated in the prior art cannot directly generate a dynamic picture, and when other systems want to apply the set of pictures, the set of pictures needs to be acquired in a transmission manner, which affects the utilization efficiency of the pictures.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a picture generation method, apparatus, terminal device and computer medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a picture generation method, including: acquiring a mapping information set; searching a predetermined target imaging template in a predetermined template library according to the imaging template identifier; responding to the condition that the predetermined target imaging template is not found, and generating a task target imaging template; generating a target picture set based on the task target imaging template; receiving device display information input by a user from a target terminal device; and controlling the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information.
In a second aspect, some embodiments of the present disclosure provide a picture generation apparatus, including: the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is configured to acquire a mapping information set, the mapping information set comprises a mapping template identifier and a mapping template name, the mapping template identifier is a number, and the mapping template name is a character string; a determining unit configured to search a predetermined target mapping template in a predetermined template library according to the mapping template identifier; the task target mapping template comprises a task target mapping template identifier, a task target mapping template component style, a task target mapping template component data source set and a task target mapping template component set; a second generating unit configured to generate a target picture set based on the task target mapping template; a receiving unit configured to receive device display information input by a user from a target terminal device; and the control unit is configured to control the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information.
In a third aspect, some embodiments of the present disclosure provide a terminal device, including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement a method as in any one of the first aspects.
In a fourth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements a method as in any one of the first aspect.
The above embodiments of the present disclosure have the following beneficial effects: according to the picture generation method provided by some embodiments of the disclosure, the task target mapping template can be generated according to the mapping information set, and the task target mapping template is used for generating the target picture set so as to meet the picture display requirement and the equipment calling requirement, so that the image generation speed is increased, the configuration process of image generation is simplified, and the level of the equipment calling the target picture set is improved. Specifically, the inventors found that the reason why the current picture generation efficiency is low is that: in the prior art, after pictures are processed one by one, a picture set meeting the requirements is generated. The processing method has poor flexibility and long time, consumes a large amount of human resources, cannot meet the timeliness requirement of picture application, and causes poor efficiency of displaying the target picture by the equipment. Based on this, first, some embodiments of the present disclosure acquire a set of graph information. The mapping information set comprises a mapping template identifier and a mapping template name, wherein the mapping template identifier is a number, and the mapping template name is a character string. Secondly, searching a predetermined target mapping template in a predetermined template library according to the mapping template identifier. And generating a task target mapping template in response to the condition that the predetermined target mapping template is not found. Specifically, the task target mapping template is generated without the matched predetermined target mapping template. Then, based on the task target mapping template, a target picture set is generated. Specifically, the target picture in the target picture set may be a static picture, and the target picture may also be a dynamic picture. And finally, controlling the equipment to display the target picture set according to the equipment display information input by the user. The method can generate the task target imaging template according to the imaging information set, and generate the target picture set according to the user requirements by using the task target imaging template, thereby realizing resource configuration, parameter setting and the like, meeting the dynamic and static imaging requirements, improving the picture generation efficiency and improving the picture display efficiency of equipment.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
fig. 2 is a flow diagram of some embodiments of a picture generation method according to the present disclosure;
FIG. 3 is an exemplary authorization prompt box;
FIG. 4 is an exemplary task object mapping template;
FIGS. 5 and 6 are exemplary target pictures;
FIG. 7 is a flow diagram of some embodiments of a picture generation device according to the present disclosure;
figure 8 is a schematic block diagram of a terminal device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the picture generation method of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may use terminal devices 101, 102, 103 to interact with a server 105 over a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as an information processing application, a picture generation application, a data analysis application, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various terminal devices having a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the above-listed terminal apparatuses. Which may be implemented as multiple software or software modules (e.g., to provide graphical information set input, etc.), or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a server that stores a set of drawing information input by the terminal apparatuses 101, 102, 103. The server can process the received mapping information set and feed back a processing result (such as a target picture set) to the terminal device.
It should be noted that the picture generation method provided in the embodiment of the present disclosure may be executed by the server 105, or may be executed by the terminal device.
It should be noted that the local area of the server 105 may also be directly stored as the mapping information set, and the server 105 may directly extract the local mapping information set to obtain the target picture set after processing, in this case, the exemplary system architecture 100 may not include the terminal devices 101, 102, and 103 and the network 104.
It should be noted that the terminal apparatuses 101, 102, and 103 may also have a picture generation application installed therein, and in this case, the processing method may also be executed by the terminal apparatuses 101, 102, and 103. At this point, the exemplary system architecture 100 may also not include the server 105 and the network 104.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, for providing a picture generation service), or may be implemented as a single software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a picture generation method according to the present disclosure is shown. The picture generation method comprises the following steps:
step 201, acquiring a mapping information set.
In some embodiments, an executing subject of the picture generation method (e.g., a server shown in fig. 1) acquires the set of drawing information in response to receiving the target authorization signal. Specifically, the target authorization signal may be a signal generated by a user of the mapping information set performing a target operation on a target control. The target control may be contained in an authorization prompt box. The authorization prompt box can be displayed on the target terminal equipment. The target terminal device may be a terminal device logged with an account corresponding to the user. The terminal equipment can be a mobile phone or a computer. The target operation may be a "click operation" or a "slide operation". The target control may be a "confirm button".
As an example, the authorization prompt box described above may be as shown in fig. 3. The authorization prompt box may include: a prompt information display section 301 and a control 302. The prompt information display section 301 may be configured to display prompt information. The prompt message may be "whether to allow the acquisition of the set of mapping information". The control 302 may be a "confirm button" or a "cancel button".
The mapping information set comprises a mapping template identifier and a mapping template name. The mapping template is marked as a number, and the name of the mapping template is a character string.
Step 202, searching a predetermined target mapping template in a predetermined template library according to the mapping template identifier.
In some embodiments, the executing agent searches a predetermined target mapping template in a predetermined template library according to the mapping template identifier. Specifically, the predetermined template in the predetermined template library may be a template generated in advance for a picture generation task. The predetermined template comprises a template identification, a template component style, a template component data source set and a template component set.
Step 203, in response to that the predetermined target mapping template is not found, generating a task target mapping template.
In some embodiments, the execution subject generates the task target mapping template in response to that the predetermined target mapping template is not found. The task target mapping template comprises a task target mapping template identifier, a task target mapping template component style, a task target mapping template component data source set and a task target mapping template component set. Specifically, the mapping template identifier may be searched in a predetermined template library. In response to not finding the predetermined target mapping template, no template in the predetermined template library is applicable to the mapping information set. Optionally, a task target mapping template identifier is generated. And selecting a task target mapping template component from a predetermined component set to obtain a task target mapping template component set. Optionally, the predetermined set of components includes, but is not limited to, one of the following formats of components: characters, pictures, lines, rectangles and two-dimensional codes. Specifically, the task object mapping template component set may be (text, picture, matrix). And setting a task target mapping template component style. Specifically, the task object mapping template component styles comprise a first type component style and a second type component style. The first type of component style characterizes an unalterable component style. The second type component style characterizes a component style that can be altered. And determining a task target mapping template component data source set according to the task target mapping template component set. Specifically, the data source set corresponding to the task target mapping template component may be obtained from the historical data source set according to the task target mapping template component. In particular, the set of historical data sources may be a set of data sources that can be used to generate pictures. And determining the combination of the task target mapping template identification, the task target mapping template component style, the task target mapping template component data source set and the task target mapping template component set as a task target mapping template. Specifically, the following task object mapping template may be generated.
The name is as follows: common template-the background needs to be configured,
size: 750 pixels 230 pixels
Adding a picture assembly to the stencil:
name: background picture of commodity
Size: 260 pixels 230 pixels
Distance to the left of the canvas: 0 pixel
Distance canvas top: 0 pixel
Data source configuration:
content fixing: fixing
Background picture: uploading a picture as a background picture
A picture assembly is then added to the stencil:
name: right side of commodity picture
Size: 162 pixels 166 pixels
Distance to the left of the canvas: 41 pixels
Distance canvas top: 28 pixels
Data source configuration:
content fixing: is not fixed
Background picture: uploading a default picture
Then adding a character component to the template:
name: master desk
Size: 374 pixels by 81 pixels
Distance to the left of the canvas: 192 pixel
Distance canvas top: 57 pixel
The character size is as follows: 56 pixels
And (3) character color: # ffffff
Character fonts: fangzheng lan pavilion middle black
And (3) thickening characters: is normal and normal
Italics for the text: is normal and normal
The character arrangement mode is as follows: centering the
Height: 81 pixels
Data source configuration:
content fixing: is not fixed
The text content is as follows: i is a segment of characters
Length of characters: maximum length of 10 Chinese characters
As an example, the task object graphing template described above may be as shown in FIG. 4.
Optionally, in response to finding the predetermined target mapping template, the predetermined target mapping template is determined as the task target mapping template. Specifically, in response to finding the predetermined target mapping template, the task target mapping template does not need to be repeatedly generated, and the predetermined target mapping template can be directly determined as the task target mapping template, so that the configuration process of generating the picture is simplified, and the generation steps are reduced.
And step 204, generating a target picture set based on the task target imaging template.
In some embodiments, the executing body generates the target picture set based on the task target mapping template. And determining the type of the graph. Wherein the drawing types comprise a first drawing type, a second drawing type and a third drawing type. The first drawing type is online drawing, the second drawing type is dynamic drawing, and the third drawing type is interface drawing. And generating a target picture set, wherein the target picture set is an empty set. And responding to the drawing type as the first drawing type, and newly building a target canvas. And placing the task target mapping template into a target canvas. And rendering the target canvas according to the task target mapping template component data source set. And putting the target canvas into the target picture set. Specifically, a task object mapping template component set in the task object mapping template is obtained, wherein the task object mapping template component set comprises a background image component (background image), a picture component (commodity image right), a text component (main file), and configuration information of pictures. Recognizing one of the components as a character component and the component name as a main file, the configuration page generates a configuration item: the left side is depicted as "master case" and the right side is the input box for entering text. Other configuration pages are rendered. Filling picture content: a master file: i is a segment of characters, and the right side of a commodity picture is as follows: and selecting a default filling mode for any local picture. And generating a target picture after finishing the configuration and filling processing. Only one target picture is contained in the target picture set. As an example, the target picture may be as shown in fig. 5.
Optionally, the time interval dynamic parameter and the number of pictures are set in response to the mapping type being the second mapping type. And generating initial target pictures with the number of pictures according to the task target mapping template to obtain an initial target picture set. And generating a target picture set according to the time interval dynamic parameters and the initial target picture set. Specifically, the time interval dynamic parameter is set to be 1 second, and the animation effect is the default. Generating a first frame setting commodity image: first picture address, main case: i is a segment of text 1. Generating a second frame setting commodity map: second picture address, main case: i is a segment of text 2. And circularly switching and playing the first picture address and the second picture address. And determining a set of the first frame setting commodity image and the second frame setting commodity image which are played in a circulating switching mode as a target picture set.
And responding to the chart type being a third chart type, and acquiring the target data source set. Wherein the set of target data sources includes a first number of target data sources. And generating a target picture set based on the target data source set and the task target mapping template. Wherein the target picture set comprises a first number of target pictures. And generating an Application Programming Interface (API) for the target picture set so as to provide subsequent calling service. Specifically, the target picture set may be used directly through an API call. By calling multiple times or introducing multiple sets of configuration at one time according to agreed rules, multiple pictures will be returned to obtain the target picture set. In particular, FIG. 6 illustrates an example API call. The task target mapping template is marked with 1001, and the required filling content is as follows: right commodity picture and main case. When the API is called, a task target mapping template identifier 1001 is transmitted, and a commodity map: a picture address, host document: i am a fish. The system will return the destination picture address, the destination picture content is as shown in the right picture of fig. 6.
Optional contents in the above steps 203-204, namely: the technical method for generating the picture according to the task target image-forming template is used as an invention point of the embodiment of the disclosure, and solves the technical problems mentioned in the background art, namely, the set of a single static picture generated in the prior art cannot directly generate a dynamic picture, and when other systems hope to apply the picture set, the picture set also needs to be acquired by adopting a transmission mode, so that the utilization efficiency of the picture is influenced. ". Factors that lead to poor picture utilization are often as follows: in the prior art, only static pictures can be generated, and when a plurality of pictures are needed, the pictures need to be processed one by one, so that the utilization efficiency of the pictures is influenced. If the above factors are solved, the effect of improving the utilization efficiency of the picture can be achieved. To achieve this effect, the present disclosure proposes a method for generating different types of pictures by using a task object mapping template. According to the mapping type, a task target mapping template can be used for generating a static target picture set of a first mapping type, a task target mapping template can be used for generating a dynamic target picture set of a second mapping type, and a task target mapping template can be used for generating a target picture set of a third mapping type for API calling, so that dynamic and static pictures can be generated, an API calling interface is provided, the configuration process of picture generation is simplified, the picture generation efficiency is improved, and the technical problem II is solved.
Step 205, receiving device display information input by a user from a target terminal device.
In some embodiments, the execution body receives device display information input by a user from the target terminal device. The target terminal device may be a device connected to the execution main body in communication. The target terminal equipment can be a mobile phone or a computer. Specifically, the device display information may be a voice command, and the device display information may also be a text command.
And step 206, controlling the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information.
In some embodiments, the execution subject controls a device corresponding to the device display information to display the target picture set according to the target picture set and the device display information. Specifically, the device is determined according to device display information input by a user, and the target picture set is sent to the device and displayed so as to complete a picture generation and display task.
One embodiment presented in fig. 2 has the following beneficial effects: acquiring a mapping information set; searching a predetermined target imaging template in a predetermined template library according to the imaging template identifier; responding to the condition that a predetermined target mapping template is not found, and generating a task target mapping template; generating a target picture set based on the task target imaging template; receiving device display information input by a user from a target terminal device; and controlling the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information. According to the embodiment, the task target imaging template is generated according to the imaging information set, and the task target imaging template is utilized to generate the target picture set so as to meet the picture display requirement and the equipment calling requirement, so that the image generation speed is increased, the configuration process of image generation is simplified, and the level of the equipment calling the target picture set is improved.
With further reference to fig. 7, as an implementation of the above method for the above figures, the present disclosure provides some embodiments of a picture generation apparatus, which correspond to those of the method embodiments described above in fig. 2, and which may be applied in various terminal devices.
As shown in fig. 7, the picture generation apparatus 700 of some embodiments includes: an acquisition unit 701, a determination unit 702, a first generation unit 703, a second generation unit 704, a reception unit 705, and a control unit 706. Wherein, the obtaining unit 701 is configured to obtain the mapping information set. The mapping information set comprises a mapping template identifier and a mapping template name, wherein the mapping template identifier is a number, and the mapping template name is a character string. A determining unit 702 configured to search a predetermined target mapping template in a predetermined template library according to the mapping template identifier. The first generating unit 703 is configured to generate a task target mapping template in response to that a predetermined target mapping template is not found. The task target mapping template comprises a task target mapping template identifier, a task target mapping template component style, a task target mapping template component data source set and a task target mapping template component set. And a second generating unit 704 configured to generate a target picture set based on the task target mapping template. A receiving unit 705 configured to receive device display information input by a user from a target terminal device. A control unit 706 configured to control a device corresponding to the device display information to display the target picture set according to the target picture set and the device display information.
It will be understood that the units described in the apparatus 700 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 700 and the units included therein, and will not be described herein again.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing a terminal device of an embodiment of the present disclosure. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, a computer system 800 includes a Central Processing Unit (CPU) 801 that 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 section 806 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM803 are connected to each other via a bus 804. An Input/Output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: a storage portion 806 including a hard disk and the like; and a communication section 807 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 807 performs communication processing via a network such as the internet. A drive 808 is also connected to the I/O interface 805 as necessary. A removable medium 809 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted as necessary on the drive 808, so that the computer program read out therefrom is mounted as necessary in the storage section 806.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 807, and/or installed from the removable medium 809. The computer program, when executed by the Central Processing Unit (CPU) 801, performs the above-described functions defined in the method of the present disclosure. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A picture generation method, comprising:
acquiring a mapping information set, wherein the mapping information set comprises a mapping template identifier and a mapping template name, the mapping template identifier is a number, and the mapping template name is a character string;
searching a predetermined target imaging template in a predetermined template library according to the imaging template identifier;
responding to the situation that the predetermined target mapping template is not found, and generating a task target mapping template, wherein the task target mapping template comprises a task target mapping template identifier, a task target mapping template component style, a task target mapping template component data source set and a task target mapping template component set;
generating a target picture set based on the task target imaging template;
receiving device display information input by a user from a target terminal device;
and controlling the equipment corresponding to the equipment display information to display the target picture set according to the target picture set and the equipment display information.
2. The method of claim 1, wherein the method further comprises:
and determining the predetermined target mapping template as the task target mapping template in response to finding the predetermined target mapping template.
3. The method of claim 2, wherein the generating a task object mapping template comprises:
generating a task target mapping template identifier;
selecting a task target imaging template component from a predetermined component set to obtain the task target imaging template component set;
setting the task target mapping template component style;
determining a task target mapping template component data source set according to the task target mapping template component set;
and determining the combination of the task target mapping template identification, the task target mapping template component style, the task target mapping template component data source set and the task target mapping template component set as the task target mapping template.
4. The method of claim 3, wherein the predetermined set of components includes components in the following format: characters, pictures, lines, rectangles and two-dimensional codes.
5. The method of claim 4, wherein generating a set of target pictures based on the task target mapping template comprises:
determining an imaging type, wherein the imaging type comprises a first imaging type, a second imaging type and a third imaging type, the first imaging type is online imaging, the second imaging type is dynamic imaging, and the third imaging type is interface imaging;
generating the target picture set, wherein the target picture set is an empty set;
responding to the chart forming type as the first chart forming type, and newly building a target canvas;
placing the task target mapping template into the target canvas;
rendering the target canvas according to the task target mapping template component data source set;
and putting the target canvas into the target picture set.
6. The method of claim 5, wherein generating a set of target pictures based on the task target mapping template further comprises:
setting a time interval dynamic parameter and a picture number in response to the mapping type being the second mapping type;
generating initial target pictures with the number of pictures according to the task target imaging template to obtain an initial target picture set;
and generating the target picture set according to the time interval dynamic parameters and the initial target picture set.
7. The method of claim 6, wherein generating a set of target pictures based on the task target mapping template further comprises:
in response to the graph formation type being the third graph formation type, acquiring a target data source set, wherein the target data source set comprises a first number of target data sources;
generating the target picture set based on the target data source set and the task target mapping template, wherein the target picture set comprises a first number of target pictures.
8. A picture generation apparatus comprising:
the mapping information acquisition unit is configured to acquire a mapping information set, wherein the mapping information set comprises a mapping template identifier and a mapping template name, the mapping template identifier is a number, and the mapping template name is a character string;
a determining unit configured to search a predetermined target mapping template in a predetermined template library according to the mapping template identifier;
the first generation unit is configured to generate a task target mapping template in response to the predetermined target mapping template not being found, wherein the task target mapping template comprises a task target mapping template identifier, a task target mapping template component style, a task target mapping template component data source set and a task target mapping template component set;
a second generating unit configured to generate a target picture set based on the task target mapping template;
a receiving unit configured to receive device display information input by a user from a target terminal device;
a control unit configured to control a device corresponding to the device display information to display the target picture set according to the target picture set and the device display information.
9. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110677767.8A 2021-06-18 2021-06-18 Picture generation method and device, terminal equipment and computer medium Pending CN115496649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110677767.8A CN115496649A (en) 2021-06-18 2021-06-18 Picture generation method and device, terminal equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110677767.8A CN115496649A (en) 2021-06-18 2021-06-18 Picture generation method and device, terminal equipment and computer medium

Publications (1)

Publication Number Publication Date
CN115496649A true CN115496649A (en) 2022-12-20

Family

ID=84465478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110677767.8A Pending CN115496649A (en) 2021-06-18 2021-06-18 Picture generation method and device, terminal equipment and computer medium

Country Status (1)

Country Link
CN (1) CN115496649A (en)

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
US11132114B2 (en) Method and apparatus for generating customized visualization component
JP2020511711A (en) Message processing method, storage medium, and computer device
US11514263B2 (en) Method and apparatus for processing image
CN110750664B (en) Picture display method and device
US11032683B2 (en) Method and apparatus for publishing cloud resource
CN113094141A (en) Page display method and device, electronic equipment and storage medium
CN113190152A (en) Method and device for switching application program theme
CN110519155B (en) Information processing method and system
CN115495175A (en) Picture display method and device, terminal equipment and computer medium
CN113779422B (en) Method and device for realizing relationship chain label, electronic equipment and storage medium
JP2021006982A (en) Method and device for determining character color
CN112486482A (en) Page display method and device
CN110134920B (en) Pictogram compatible display method, device, terminal and computer readable storage medium
CN112581568B (en) Dynamic poster generation method, device, server and storage medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN114237890A (en) Application collaborative display method and device, server, terminal and program product
CN113313623A (en) Watermark information display method, watermark information display device, electronic equipment and computer readable medium
CN111432142B (en) Video synthesis method, device, equipment and storage medium
CN109672931B (en) Method and apparatus for processing video frames
CN115496649A (en) Picture generation method and device, terminal equipment and computer medium
CN114489910A (en) Video conference data display method, device, equipment and medium
CN114816382A (en) Method and device for processing page
CN112947918A (en) Data display method and device
CN113656041A (en) Data processing method, device, equipment and 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