CN113077534B - Picture synthesis cloud platform and picture synthesis method - Google Patents

Picture synthesis cloud platform and picture synthesis method Download PDF

Info

Publication number
CN113077534B
CN113077534B CN202110301885.9A CN202110301885A CN113077534B CN 113077534 B CN113077534 B CN 113077534B CN 202110301885 A CN202110301885 A CN 202110301885A CN 113077534 B CN113077534 B CN 113077534B
Authority
CN
China
Prior art keywords
picture
template
synthesis
instruction
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110301885.9A
Other languages
Chinese (zh)
Other versions
CN113077534A (en
Inventor
吴宇翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202110301885.9A priority Critical patent/CN113077534B/en
Publication of CN113077534A publication Critical patent/CN113077534A/en
Application granted granted Critical
Publication of CN113077534B publication Critical patent/CN113077534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo

Abstract

The application provides a picture synthesis cloud platform and a picture synthesis method, wherein the picture synthesis cloud platform comprises the following components: the picture resource management unit is configured to acquire and store picture resources under the condition of receiving an uploading instruction; the template management unit is configured to create a corresponding picture template according to template attribute information carried by the template creation instruction under the condition that the template creation instruction is received; the picture synthesis unit is configured to obtain target picture resources from the picture resource management unit and obtain a first target picture template from the template management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received; and synthesizing the corresponding target picture according to the first target picture template and the target picture resource. Therefore, the specific manufacturing and arrangement of the synthesized pictures are realized in the picture synthesis cloud platform, and the client only needs to display the synthesized pictures, so that the performance requirement on the client is reduced, and the synthesis speed of the pictures is improved.

Description

Picture synthesis cloud platform and picture synthesis method
Technical Field
The application relates to the technical field of picture processing, in particular to a picture synthesis cloud platform. The application also relates to a picture synthesis method, a computing device and a computer-readable storage medium.
Background
With the rapid development and iteration of the internet industry, network infrastructure and terminal equipment in recent years, the pursuit of internet content is continuously improved, and as pictures are more expressive than plain text, visual impact caused by the pictures is stronger than that caused by the plain text, so that more and more internet products want to communicate their own advantages through the pictures, so that more users can use the pictures. Thus, synthesizing pictures is an indispensable link in the internet product line.
In the prior art, the synthesis of the pictures is mostly completed at the front end by adopting a general picture making and arranging tool (such as PS, sketch and the like), namely, users are required to arrange the pictures one by one at the front end according to own requirements, and then the synthesized pictures are put in a designated position. However, if the pictures are synthesized through the front end, a large number of users are required to process their own pictures respectively, that is, a large amount of human resources are consumed, the batch synthesis efficiency of a large number of similar pictures is low, and the synthesis speed is slow on a machine with general performance, which may affect the user experience.
Disclosure of Invention
In view of the above, the embodiment of the application provides a picture synthesis cloud platform. The application also relates to a picture synthesis method, a computing device and a computer readable storage medium, which are used for solving the problem of low batch synthesis efficiency of a large number of similar pictures in the prior art.
According to a first aspect of an embodiment of the present application, there is provided a picture composition cloud platform, including: the system comprises a picture resource management unit, a template management unit and a picture synthesis unit;
the picture resource management unit is configured to acquire and store picture resources under the condition of receiving an uploading instruction;
the template management unit is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received;
the picture synthesis unit is configured to obtain target picture resources from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received, and obtain a first target picture template from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture resource.
According to a second aspect of an embodiment of the present application, there is provided a method for synthesizing a picture, which is applied to the above-mentioned cloud platform for synthesizing a picture, where the method includes:
under the condition of receiving an uploading instruction, running a picture resource management unit in the picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit;
Under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction;
under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, a target picture resource is obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, and a first target picture template is obtained from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture.
According to a third aspect of embodiments of the present application, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the method of:
under the condition of receiving an uploading instruction, running a picture resource management unit in the picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit;
under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction;
Under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, a target picture resource is obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, and a first target picture template is obtained from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium storing computer executable instructions which, when executed by a processor, implement the steps of any of the picture composition methods.
The picture synthesis cloud platform provided by the application comprises the following components: the system comprises a picture resource management unit, a template management unit and a picture synthesis unit; the picture resource management unit is configured to acquire and store picture resources under the condition of receiving an uploading instruction; the template management unit is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received; the picture synthesis unit is configured to obtain target picture resources from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received, and obtain a first target picture template from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture resource.
The application provides a picture synthesis cloud platform, wherein the specific manufacturing and arrangement of synthesized pictures are realized in the picture synthesis cloud platform, and a client only needs to call the picture synthesis cloud platform to display the synthesized pictures, so that the performance requirement on the client is reduced, and the picture synthesis speed is improved; in addition, the user can control and synthesize a large number of pictures with similar typesetting structures through the picture synthesis cloud platform, the picture synthesis with similar typesetting structures is not required to be dispersed to each client for execution, the time and labor cost of picture synthesis are saved, the productivity of development is liberated, and therefore the efficiency of synthesizing a large number of similar pictures in batches is improved.
Drawings
Fig. 1 is a block diagram of a picture synthesis cloud platform according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for synthesizing pictures according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a process of uploading a picture according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a layer according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating editing of a photo template according to an embodiment of the present application;
FIG. 6 is a schematic diagram of association between a picture template and a template instance according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a relationship between a user permission set according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a template presentation according to an embodiment of the present application;
FIG. 9 is a schematic diagram of image composition according to an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a preview of a picture according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a picture synthesizing process according to an embodiment of the present application;
FIG. 12 is a block diagram of a computing device according to one embodiment of the application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
The terminology used in the one or more embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the application. As used in one or more embodiments of the application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of the application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of one or more embodiments of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
First, terms related to one or more embodiments of the present application will be explained.
And (3) picture template: after the layers of the picture are abstracted into structural information, the extracted layout is called a picture template.
Two-dimensional code: the method uses a specific geometric figure to record information, and is widely used in Internet product drainage due to the characteristics of large storage capacity, simplicity and easiness in use.
Template example: based on the application of the template in different scenes, the template is created, the specific picture template is not called and modified, the created template instance is only operated, namely, the created picture template is used as a master, different detailed structures are added according to the application in different scenes, a plurality of template instances (namely, sub-versions) are generated, and the picture is synthesized through the template instances.
PS (Adobe Photoshop, image processing software): the software can be divided into image editing, image synthesis, color correction and color matching, functional color effect manufacturing parts and the like, and supports Windows operating systems, android, mac OS and the like.
Sketch: painting, which is a drawing application program, a sketch painting type software, a player needs to rotate left and right two knobs to control the brushes on the panel to draw the image you want and can color them.
API (Application Programming Interface, application program interface): is a convention in which the different components of the software system are joined. The primary purpose of an application program interface is to provide the ability for applications and developers to access a set of routines without having to access source code or understand the details of the internal operating mechanisms.
ID: identification number, account number, unique code, exclusive number, industrial design, national abbreviation, legal vocabulary, general account, decoder, software company, etc., and various exclusive vocabulary abbreviations are an identification.
Next, a description is given of a practical application scenario of the present application.
At present, the synthesis of pictures forms an indispensable link in the internet product line, and when general picture making and arranging tools (such as PS, joint and the like) are adopted to finish the process, taking an e-commerce scene as an example, commodity pictures are usually put into a designated entrance and category after merchants finish the making and arranging of the commodity pictures through own clients, and the whole process is manually finished by each merchant, so that a large amount of manpower resources are consumed. Secondly, when an activity atmosphere needs to be added for a certain scene, if preferential prices are marked on commodity head images, atmosphere banners are added, and the like, all merchants are required to manually modify own images through own clients respectively, and then the addition and modification of all commodity image contents under the specified category are completed. Besides a put-in scene, in order to improve the user participation of the activity, two-dimension codes are added to pictures to be shared with mainstream social media frequently so as to improve the user participation and enthusiasm, because many sharing graphs are generated based on user information customization, different users are required to provide customization development for specific scenes each time the functions are used, if the sharing graphs are generated through the front end, the sharing speed is slower on a machine with general performance, and the user experience is affected.
In addition, there are still many scenes where mass production of pictures is required, such as the production of active floor charts, the on-line and putting of combined goods with similar arrangement, etc., and it is still difficult for the current picture production mode and service flow to meet these requirements.
Therefore, in order to improve the efficiency of mass synthesis of a large number of similar pictures, the application provides a template-based picture mass synthesis cloud platform, which comprises: the system comprises a picture resource management unit, a template management unit and a picture synthesis unit; the picture resource management unit is configured to acquire and store picture resources under the condition of receiving an uploading instruction; the template management unit is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received; the picture synthesis unit is configured to obtain target picture resources from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received, and obtain a first target picture template from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture resource. The picture synthesis cloud platform can be used as an independent production tool for synthesizing various similar pictures in batches, improves the synthesis efficiency of the pictures with similar typesetting structures, does not need to disperse the picture synthesis with the similar typesetting structures to each client for execution, saves the time and labor cost of picture synthesis, and liberates the productivity of development.
In the present application, a picture composition cloud platform is provided, and the present application relates to a picture composition method, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a block diagram of a picture synthesis cloud platform according to an embodiment of the present application, and as shown in fig. 1, the picture synthesis cloud platform includes: a picture resource management unit 102, a template management unit 104, and a picture composition unit 106;
the picture resource management unit 102 is configured to acquire and store picture resources when receiving an upload instruction;
the template management unit 104 is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received;
the picture synthesis unit 106 is configured to obtain a target picture resource from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction and obtain a first target picture template from the template management unit when receiving the picture synthesis instruction; and synthesizing a corresponding target picture according to the first target picture template and the target picture resource.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
setting a corresponding template identifier for the picture template under the condition that the picture template is established;
accordingly, the picture composition unit 106 is further configured to:
determining a corresponding target template identifier according to the synthesis parameters carried in the picture synthesis instruction;
and acquiring a first target picture template from the template management unit according to the target template identifier.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
and setting corresponding version information for the picture template under the condition that the picture template is established.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
under the condition that a template modification instruction is received, determining a template to be modified according to a template identifier carried by the template modification instruction;
copying the template to be modified to obtain a corresponding backup template;
modifying the backup template according to the modification information carried by the modification instruction to obtain an updated template;
And setting corresponding new version information for the updated template.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
and establishing at least one corresponding template instance aiming at a second target picture template, and setting a corresponding instance identifier for each template instance, wherein the second target picture template is any picture template managed by the template management unit.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
under the condition that a template instance creation instruction is received, determining version information of a second target picture template according to creation information carried in the template instance creation instruction;
acquiring a second target picture template of a corresponding version according to the version information;
and creating at least one corresponding template instance for the second target picture template.
In an optional implementation manner of this embodiment, the picture synthesis unit 106 is further configured to:
under the condition that the picture synthesis instruction is received, determining a corresponding target instance identifier according to synthesis parameters carried in the picture synthesis instruction; acquiring a target template instance from the template management unit according to the target instance identifier;
And synthesizing the target picture according to the target template instance and the target picture resource.
In an optional implementation manner of this embodiment, the picture synthesis unit 106 is further configured to:
displaying a picture synthesis interface under the condition that a call instruction of a picture synthesis cloud platform is detected, wherein the picture synthesis interface comprises a picture synthesis control;
and under the condition that the picture composition control is detected to be triggered, determining that the picture composition instruction is received.
In an optional implementation manner of this embodiment, the picture synthesis unit 106 is further configured to:
detecting a call request of a picture synthesis interface;
and under the condition that the call request for the picture synthesis interface is detected, determining that the picture synthesis instruction is received.
In an optional implementation manner of this embodiment, the picture resource management unit 102 is further configured to:
acquiring uploading data;
and under the condition that the uploading data is a picture, determining whether a compression instruction aiming at the uploading data is received, if so, compressing the uploading data, storing the compressed uploading data into a storage space corresponding to a user initiating the uploading instruction, and creating a local mapping record.
In an optional implementation manner of this embodiment, the picture resource management unit 102 is further configured to:
and under the condition that an adding instruction is received, adding the uploaded picture to a picture resource pool.
In an optional implementation manner of this embodiment, the picture synthesis unit 106 is further configured to:
determining the storage position of the required picture according to the synthesis parameters carried in the picture synthesis instruction;
acquiring the target picture from the storage space of the picture resource management unit under the condition that the storage position is the storage space of the picture resource management unit;
and under the condition that the storage position is the picture resource pool, acquiring the target picture from the picture resource pool.
In an optional implementation manner of this embodiment, the picture synthesis unit 106 is further configured to:
under the condition that the storage position is the storage space of the picture resource management unit, determining a target storage space corresponding to the user identifier according to the user identifier carried in the picture synthesis instruction;
and acquiring the target picture from the target storage space.
In an optional implementation manner of this embodiment, the image composition cloud platform further includes a rights verification unit 108, where the rights verification unit 108 is configured to:
Determining an operation authority required by an operation instruction under the condition that the operation instruction aiming at a third target picture template is received;
determining whether a user initiating the operation instruction has the operation authority according to a user identifier carried in the operation instruction;
and executing the operation corresponding to the operation instruction on the third target picture template under the condition that the user initiating the operation instruction has the operation authority.
In an optional implementation manner of this embodiment, the rights verification unit 108 is further configured to:
creating at least one user authority group, and setting corresponding operation authorities for each user authority group;
determining a target user permission group to which a user initiating the operation instruction belongs according to a user identifier carried in the operation instruction;
and determining whether the operation authority corresponding to the target user authority group is the same as the operation authority required by the operation instruction, if so, determining that the user initiating the operation instruction has the operation authority.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
and under the condition that a template viewing instruction is received, displaying a picture template corresponding to the viewing user according to the identifier of the viewing user carried by the template viewing instruction.
In an optional implementation manner of this embodiment, the template management unit 104 is further configured to:
determining whether the user is a creator of the picture template or not according to each picture template managed by the template management unit, and if yes, displaying the picture template;
if not, determining a user permission group to which the viewing user belongs, and determining whether the user permission group has the viewing permission of the picture template, if so, displaying the picture template.
The picture synthesis cloud platform provided by the application comprises the following components: the system comprises a picture resource management unit, a template management unit, a picture synthesis unit and a permission verification unit; the picture resource management unit is configured to acquire and store pictures; the template management unit is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received; the picture synthesis unit is configured to obtain a corresponding first target picture template from the template management unit and obtain a target picture resource from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received; synthesizing a corresponding target picture according to the first target picture template and the target picture resource; the permission checking unit is configured to determine an operation permission required by the operation instruction under the condition that an operation instruction aiming at a third target picture template is received, determine whether a user initiating the operation instruction has the operation permission or not according to a user identifier carried in the operation instruction, and execute an operation corresponding to the operation instruction on the third target picture template under the condition that the user initiating the operation instruction has the operation permission.
Under the condition, the picture synthesis mainly comprises 4 unit modules of a picture resource management unit, a template management unit, a picture synthesis unit and a permission verification unit, wherein the permission verification unit and the picture resource management unit belong to basic capability, a safer and more convenient operation channel is provided for the whole picture synthesis, the template management unit covers the core function of a picture synthesis cloud platform, so that the specific preparation and arrangement of the synthesized picture are realized in the picture synthesis cloud platform, a client only needs to display the synthesized picture, the performance requirement on the client is reduced, and the synthesis speed of the picture is improved; in addition, the user can control and synthesize a large number of pictures with similar typesetting structures through the picture synthesis cloud platform, the picture synthesis with similar typesetting structures is not required to be dispersed to each client for execution, the time and labor cost of picture synthesis are saved, the development productivity is liberated, and therefore the efficiency of synthesizing a large number of similar pictures in batches is improved.
The above is a schematic scheme of a picture synthesis cloud platform in this embodiment. It should be noted that, the technical solution of the image synthesis cloud platform and the technical solution of the image synthesis method described below belong to the same concept, and details of the technical solution of the image synthesis cloud platform which are not described in detail are described in detail in the technical solution of the image synthesis method described below.
Fig. 2 shows a flowchart of a picture synthesis method according to an embodiment of the present application, which is applied to the picture synthesis cloud platform shown in fig. 1, as shown in fig. 2, and the method specifically includes the following steps:
step 202: and under the condition of receiving an uploading instruction, running a picture resource management unit in the picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit.
Specifically, the picture resource management unit is a unit module for managing picture resources in the picture composition cloud platform, and layer data of pictures managed in the picture resource management unit can be used for subsequent composition pictures. The image acquisition instruction is an instruction for instructing the image resource management unit to acquire the image resource, so that under the condition that the uploading instruction is received, the need to acquire and store the corresponding image is described, and at the moment, the image resource management unit in the image synthesis cloud platform can be operated, and the image acquisition and storage are realized through the image resource management unit.
It should be noted that, since the final goal of picture composition is to complete the production of pictures, other already designed picture resources are needed in the process of composing pictures, and these picture resources may be derived from pictures uploaded by uploaders, designed works, or pictures downloaded via the internet. Because of the diversity of the picture sources, the picture resource management unit is arranged in the picture composition cloud platform and is used for conveniently managing and storing the acquired picture resources.
In an optional implementation manner of this embodiment, the specific implementation process of obtaining and storing the picture resource by the picture resource management unit may be as follows:
acquiring uploading data;
and under the condition that the uploading data is a picture, determining whether a compression instruction aiming at the uploading data is received, if so, compressing the uploading data, storing the compressed uploading data into a storage space corresponding to a user initiating the uploading instruction, and creating a local mapping record.
Specifically, the uploading instruction is an instruction triggered by clicking an uploading control in an interactive interface of the picture synthesis cloud platform or calling an uploading interface externally provided by the picture synthesis cloud platform by a user, and the uploading instruction is used for uploading a picture prepared by the user for synthesizing the picture. In addition, the pictures uploaded by different users are often pictures required by the subsequent synthesized pictures, and some picture uploaders do not want to be used by other users, so that a corresponding storage space can be set for each user through the picture resource management unit for storing the pictures uploaded by the user.
It should be noted that, the user may upload the picture resources required for the subsequent picture composition to the picture composition cloud platform through the picture resource management unit, and the user may also autonomously select whether to compress the uploaded picture, i.e. the picture resource management unit further provides a function of automatic picture compression, thereby improving the picture uploading speed and saving the uploading traffic. After the picture is compressed and uploaded, the picture is stored in a storage space corresponding to the user, and only the uploading user can see the uploaded picture after the picture is uploaded.
In an optional implementation manner of this embodiment, after storing, by the picture resource management unit, the compressed upload data in a storage space corresponding to a user initiating the upload instruction, the method further includes:
and under the condition that an adding instruction is received, adding the uploaded picture to a picture resource pool.
Specifically, the adding instruction is an instruction triggered by clicking a sharing control in an interactive interface of the picture synthesis cloud platform or calling a sharing interface externally provided by the picture synthesis cloud platform by a user, and the adding instruction is used for sharing the picture uploaded by the user into a picture resource pool. The picture resource pool is used for storing pictures (i.e. shared pictures) that are available to all users.
It should be noted that, after the picture is compressed and uploaded, the picture is stored in a storage space corresponding to the uploading user, only the uploading user can see the uploaded picture, if the user wants to share the picture to others, the uploaded picture needs to be shared to a designated picture resource pool, and if the shared picture already exists, the user can select whether to be covered or not.
For example, fig. 3 is a schematic flow chart of uploading a picture provided by an embodiment of the present application, as shown in fig. 3, a user may click an upload control in a picture upload page provided by a picture synthesis cloud platform to trigger an upload instruction, and operate a picture resource management unit, so as to upload data, after the picture resource management unit detects the upload instruction, determine whether the upload data is a picture resource, and if not, terminate the upload; if yes, further judging whether a compression instruction aiming at the uploading data is received, and if not, judging whether corresponding resources exist in a storage space corresponding to a user initiating the uploading instruction; if yes, the picture compression module is called to compress, whether corresponding resources exist in the storage space corresponding to the user initiating the uploading instruction is judged after compression, if not, the uploading data are stored in the storage space corresponding to the user initiating the uploading instruction, a local mapping record is created, and the created local mapping record is used for supporting judgment of whether corresponding resources exist in the storage space corresponding to the user initiating the uploading instruction. And then, determining whether the uploaded picture needs to be added to a picture resource pool, and if so, adding the uploaded picture to the picture resource pool.
Step 204: and under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction.
Specifically, the template creation instruction is an instruction triggered by clicking a creation control in an interactive interface of the picture synthesis cloud platform or calling a creation interface externally provided by the picture synthesis cloud platform by a user, and is used for creating a new picture template, so that under the condition that the template creation instruction is received, the user is required to create a corresponding template, and at the moment, a template management unit in the picture synthesis cloud platform can be operated, and then a corresponding picture template is created through the template management unit. Template attribute information refers to information such as the size, background and included layers of a picture template, and the template attribute information is distributed and stored in a JSON string format.
It should be noted that, the picture template may provide a set of structure frames for mass production of pictures, where the set of structure only describes the arrangement position and basic attribute of the picture content, and then may be associated with the template instance, so as to provide a unique entry for mass production of pictures. After the picture template is provided, the picture can be synthesized only by providing data of a corresponding picture layer for the created template, and the subsequent picture synthesis process can be realized by a synthesis API and a bottom drawing engine provided by a picture synthesis cloud platform.
In addition, each picture template defines a style arrangement mode of different contents, and the picture templates can be composed of one or more layers, for example, the layers can be divided into the following layers according to functions: the three types of layers of pictures, words and two-dimensional codes can define the position and other attribute parameters (including general parameters and specific parameters) of each layer. Fig. 4 is a schematic diagram of a layer according to an embodiment of the present application, and as shown in fig. 4, the picture may be regarded as being formed by a background layer, a picture layer, a text layer, and a two-dimensional code layer.
In an optional implementation manner of this embodiment, after creating the corresponding picture template according to the template attribute information carried by the template creation instruction, the method further includes:
and setting a corresponding template identifier for the picture template under the condition that the picture template is established.
In particular, the template identifier is used for uniquely identifying a picture template, for example, the template identifier may be a template ID.
In an optional implementation manner of this embodiment, after creating the corresponding picture template according to the template attribute information carried by the template creation instruction, the method further includes:
and setting corresponding version information for the picture template under the condition that the picture template is established.
It should be noted that the version information refers to a version number of the picture template, and is used to identify modification conditions of the picture template.
In an optional implementation manner of this embodiment, after creating the corresponding picture template according to the template attribute information carried by the template creation instruction, the method further includes:
under the condition that a template modification instruction is received, determining a template to be modified according to a template identifier carried by the template modification instruction;
copying the template to be modified to obtain a corresponding backup template;
modifying the backup template according to the modification information carried by the modification instruction to obtain an updated template;
and setting corresponding new version information for the updated template.
It should be noted that, the existing picture templates may be modified in the template management unit, so that corresponding version information is added for each picture template to identify the modification situation of the picture template. When each picture template is modified, the structure data of the picture template is not directly modified, but a new template is created, namely, the picture template needing to be modified is backed up, then the backed-up picture template is modified, and new version information is set for the new picture template obtained by modification.
For example, fig. 5 is a schematic diagram of editing a picture template according to an embodiment of the present application, where, as shown in fig. 5, a template size modification area is included in a template editing interface, and the size of the template (such as a template position, a width and height, a layout, etc.) can be adjusted through the area; the template editing interface also comprises a layer modifying area, wherein the layer modifying area displays the current layer setting condition of the picture template, and a user can adjust the layer position and content or add and delete layers in the layer modifying area.
In an optional implementation manner of this embodiment, after creating the corresponding picture template according to the template attribute information carried by the template creation instruction, the method further includes:
and establishing at least one corresponding template instance aiming at a second target picture template, and setting a corresponding instance identifier for each template instance, wherein the second target picture template is any picture template managed by the template management unit.
It should be noted that, based on the application of the template in different scenes, multiple template instances can be created, the specific picture template is not invoked and modified later, but only the created template instance is operated, the created picture template can be used as a master, different detailed structures are added according to the application in different scenes, multiple template instances (i.e. sub-versions) are generated, and the picture is synthesized later through the template instances. That is, after one picture template is created, at least one corresponding template instance is also required to be created for the picture template, and the template instance is uniquely associated with the corresponding picture template, so that configuration information of the corresponding picture template can be read, and one picture template can be associated with a plurality of template instances.
In an optional implementation manner of this embodiment, for the second target picture template, at least one corresponding template instance is created, and the specific implementation process may be as follows:
under the condition that a template instance creation instruction is received, determining version information of a second target picture template according to creation information carried in the template instance creation instruction;
acquiring a second target picture template of a corresponding version according to the version information;
and creating at least one corresponding template instance for the second target picture template.
In practical application, when creating the template instance, version information of the corresponding picture template can be determined, so that the template instance created for the new version information can be associated with the picture template of the new version, and the template instance created for the old version information is still associated with the picture template of the old version.
It should be noted that, from a functional point of view, the picture template already contains all information of the synthesized picture, and the picture can be synthesized directly using the configuration information in the picture template. However, because one picture template may be used in multiple scenes, directly associating a picture composition task with a picture template would result in a picture template that is not sufficiently single in responsibility; in addition, in an actual usage scenario, the photo template may be modified after creation, and if this photo template is being used by the on-line scenario at this time, an on-line accident may be caused. Therefore, a template example layer is added between the picture template and the picture synthesis process, the pureness of the template can be ensured, and the influence of the picture template modification on the on-line task can be effectively isolated. In addition, version information can be added for each picture template, each picture template does not directly modify the data of the picture template after being modified and released, but a new template is created, the template instance of the old version is still associated with the template before modification, and the template instance of the new version is associated with the template after modification.
For example, fig. 6 is a schematic diagram showing association between a picture template and a template instance, where, as shown in fig. 6, a user may access a template list through a template management page to determine whether a specified template exists, and if yes, return a template ID; if the specified template does not exist, a new template is created, and the corresponding template ID is returned. Associating the template ID to a corresponding template configuration for supporting a subsequent picture composition unit; and associating the template ID with a corresponding template instance ID, which is also used to support a subsequent picture composition unit.
Further, in order to ensure the safety of the picture template and prevent the existing picture template from being tampered, the picture synthesis cloud platform provided by the application can be further provided with a permission verification module, and the operations of creating and modifying the template can be verified through the permission verification module. Under the condition that an operation instruction aiming at a third target picture template is received, a right checking unit in a picture synthesis cloud platform can be operated to determine the operation right required by the operation instruction; determining whether a user initiating the operation instruction has the operation authority according to a user identifier carried in the operation instruction; and executing the operation corresponding to the operation instruction on the third target picture template under the condition that the user initiating the operation instruction has the operation authority.
It should be noted that any operation for a picture template needs to have a corresponding operation right, for example, only the creator of the picture template can modify the picture template, so when a modification instruction for the picture template is received, it needs to be determined whether the user initiating the modification instruction is the creator of the picture template, and if so, it is determined that the user has the modification right.
In an optional implementation manner of this embodiment, determining whether the user who initiates the operation instruction has the operation right according to the user identifier carried in the operation instruction includes:
creating at least one user authority group, and setting corresponding operation authorities for each user authority group;
determining a target user permission group to which a user initiating the operation instruction belongs according to a user identifier carried in the operation instruction;
and determining whether the operation authority corresponding to the target user authority group is the same as the operation authority required by the operation instruction, if so, determining that the user initiating the operation instruction has the operation authority.
In practical application, the rights control can be divided into rights division and member grouping, and for each picture template, the creator defaults to the rights of the owner, the rights can view, modify and delete the picture template under the rights, and the owners of the templates can transfer the rights to other users. In addition to the owner rights, three types of rights including maintainer, tourist and other users are included, and the three types of rights are not given to a specified user, but are specific to a specific group, wherein the maintainer has the rights of viewing, modifying and deleting the template, the tourist can only view the specified template, and other users cannot access the template. In the application, a many-to-many relationship is established between the user and the permission group, and a user permission group relationship table is used for maintenance and management.
Fig. 7 is a schematic diagram of a relationship between a user permission set according to an embodiment of the present application, where, as shown in fig. 7, a user may belong to a plurality of user permission sets, and a user permission set may have operation permissions of a plurality of picture templates, that is, a user may have operation permissions of a plurality of picture templates.
In an optional implementation manner of this embodiment, after creating the corresponding picture template according to the template attribute information carried by the template creation instruction, the method further includes:
and under the condition that a template viewing instruction is received, displaying a picture template corresponding to the viewing user according to the identifier of the viewing user carried by the template viewing instruction.
In a possible implementation manner, according to the viewing user identifier carried by the template viewing instruction, the picture template corresponding to the viewing user is displayed, which may be as follows:
determining whether the user is a creator of the picture template or not according to each picture template managed by the template management unit, and if yes, displaying the picture template;
if not, determining a user permission group to which the viewing user belongs, and determining whether the user permission group has the viewing permission of the picture template, if so, displaying the picture template.
It should be noted that, each user can view the template created by himself and the template of the access right (maintainer and tourist) owned by the group of the user through the template management unit.
Fig. 8 is a schematic diagram of a template display provided by an embodiment of the present application, where, as shown in fig. 8, for a picture template to be displayed, it is determined whether a user requesting to display is an owner of the picture template, and if yes, the display is performed; if not, determining a user permission group to which the user belongs, determining whether the user permission group has viewing permission, and if so, displaying the picture template.
Step 206: under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, a target picture resource is obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, and a first target picture template is obtained from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture resource.
It should be noted that if the picture resources required for synthesizing the picture are stored in the picture resource management unit, the corresponding target picture resources may be obtained from the picture resource management unit according to the synthesis parameters, and the corresponding picture may be synthesized by combining the picture modules obtained from the template management unit. In addition, based on the basic information of the layer structure stored by the picture template, picture synthesis can be completed through a general graphic API, and the picture synthesis cloud platform can complete bottom layer image drawing based on the graphic API of the node-canvas.
In an optional implementation manner of this embodiment, when a call instruction of the image synthesis cloud platform is detected, a picture synthesis unit may be entered, where the picture synthesis unit may display an image synthesis interface, where the image synthesis interface includes an image synthesis control, and when the image synthesis control is detected to be triggered, it is determined that the image synthesis instruction is received; or the picture synthesis unit can also detect a call request of the picture synthesis interface, and determine that the picture synthesis instruction is received under the condition that the picture synthesis interface is detected to be called.
In practical application, the picture synthesis cloud platform can provide a picture synthesis interface (UI interface) or an external synthesis interface, so that picture synthesis, production and delivery are realized. In addition, the picture composition interface can also support picture preview and downloading.
Fig. 9 is a schematic diagram of picture synthesis according to an embodiment of the present application, where, as shown in fig. 9, a picture synthesis interface provides a synthesis preview function and a synthesis download function, a template instance ID and a picture are input through an externally provided picture synthesis API, a template management unit is accessed through the template instance ID, the template management unit provides corresponding template configuration information, and a picture synthesis unit is invoked to synthesize a target picture based on the picture and the template configuration information.
For example, fig. 10 is a schematic diagram of a preview of a picture provided in an embodiment of the present application, where, as shown in fig. 10, the synthesized picture includes an integral "example text", a "cat" picture, and an animation is a corresponding example text.
In an optional implementation manner of this embodiment, according to the synthesis parameters carried in the picture synthesis instruction, a corresponding first target picture template is obtained from the template management unit, and the specific implementation process may be as follows:
determining a corresponding target template identifier according to the synthesis parameters carried in the picture synthesis instruction;
and acquiring a first target picture template from the template management unit according to the target template identifier.
It should be noted that the picture synthesis instruction often carries synthesis parameters, where the synthesis parameters may include information such as a user identifier, a type of a synthesized picture, a picture of the synthesized picture, that is, an identifier of a picture template to be used may be determined through the synthesis parameters, and a target template required for synthesizing the picture may be determined according to the identifier.
In an optional implementation manner of this embodiment, according to a synthesis parameter carried in the picture synthesis instruction, obtaining a corresponding first target picture template from the template management unit includes:
Under the condition that the picture synthesis instruction is received, determining a corresponding target instance identifier according to synthesis parameters carried in the picture synthesis instruction;
acquiring a target template instance from the template management unit according to the target instance identifier;
correspondingly, the synthesizing the corresponding target picture according to the first target picture template and the target picture resource includes:
and synthesizing the target picture according to the target template instance and the target picture resource.
It should be noted that, in the case that each picture template is associated with a corresponding template instance, in the case that a picture synthesis instruction is received, a template instance required for synthesizing a picture needs to be determined further according to synthesis parameters, so that configuration information of the corresponding template is obtained according to the template instance, and the required picture is synthesized.
In an optional implementation manner of this embodiment, according to the synthesis parameters carried in the picture synthesis instruction, the target picture resource is obtained, and the specific implementation process may be as follows:
acquiring corresponding online picture resources according to the synthesis parameters carried in the picture synthesis instruction;
and determining the online picture resource as the target picture resource.
It should be noted that, the user does not need to upload the picture resources required by synthesizing the picture in advance, but can automatically acquire the corresponding online picture resources in the internet after selecting the picture template, so as to be used for synthesizing the target picture, the operation mode is flexible and changeable, the range of the selectable picture resources is wider, and the adaptability and the flexibility of the picture synthesizing unit are improved.
In an optional implementation manner of this embodiment, according to the synthesis parameters carried in the picture synthesis instruction, the target picture resource is obtained from the picture resource management unit, and the specific implementation process may be as follows:
determining the storage position of the required picture according to the synthesis parameters carried in the picture synthesis instruction;
acquiring the target picture from the storage space of the picture resource management unit under the condition that the storage position is the storage space of the picture resource management unit;
and under the condition that the storage position is the picture resource pool, acquiring the target picture from the picture resource pool.
Under the condition that the storage position is the storage space of the picture resource management unit, the target picture is obtained from the storage space of the picture resource management unit, and the specific implementation process can be as follows:
Under the condition that the storage position is the storage space of the picture resource management unit, determining a target storage space corresponding to the user identifier according to the user identifier carried in the picture synthesis instruction;
and acquiring the target picture from the target storage space.
It should be noted that, when composing the picture, the user may select to use the picture uploaded by himself (i.e. the picture in the storage space corresponding to himself), and may also select the picture in the shared picture resource pool. When the user selects to use the picture uploaded by the user, the user needs to find the corresponding storage space and then acquire the corresponding picture.
Fig. 11 is a schematic diagram of a picture synthesis process according to an embodiment of the present application, where, as shown in fig. 11, a picture synthesis cloud platform includes a picture resource management unit, a template management unit, a permission verification unit, and a picture synthesis unit, and after a user uploads a picture through the picture resource management unit, the picture is stored in a storage space corresponding to the user, and then the picture can be shared in a picture resource pool; a user can create a picture template and a corresponding template instance through the template management template, access corresponding template configuration information according to the template instance, and access the template management unit to modify, delete and view the picture template under the condition that the authority verification module passes verification; and accessing the picture resource management unit and the template management unit through the picture synthesis unit, acquiring the template configuration information of the target picture template and the target picture data, and synthesizing the target picture.
According to the picture synthesis method provided by the application, under the condition of receiving the uploading instruction, a picture resource management unit in the picture synthesis cloud platform is operated, and picture resources are acquired and stored through the picture resource management unit; under the condition that a picture uploading instruction is received, a picture resource management unit of a picture synthesis cloud platform can be operated, and picture resources are obtained and stored through the picture resource management unit; under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform can be operated, a corresponding picture template is created by utilizing the template creation unit according to template attribute information carried by the template creation instruction, and at least one corresponding template instance can be further created for a second target picture template; under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, a target picture resource is obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction by using the picture synthesis unit, a first target picture template is obtained from the template management unit, and a target template instance corresponding to the first target picture template is determined; and then synthesizing a corresponding target picture according to the target template instance and the target picture resource.
Under the condition, support is provided for batch production of pictures based on two concepts of a template and an example, concrete production and arrangement of synthesized pictures are realized in the picture synthesis cloud platform, and a client only needs to call the picture synthesis cloud platform to display the synthesized pictures, so that the performance requirement on the client is reduced, and the synthesis speed of the pictures is improved; in addition, the user can control and synthesize a large number of pictures with similar typesetting structures through the picture synthesis cloud platform, the picture synthesis with similar typesetting structures is not required to be dispersed to each client for execution, the time and labor cost of picture synthesis are saved, the development productivity is liberated, and therefore the efficiency of synthesizing a large number of similar pictures in batches is improved.
Fig. 12 illustrates a block diagram of a computing device 1200 provided in accordance with an embodiment of the application. The components of computing device 1200 include, but are not limited to, memory 1210 and processor 1220. Processor 1220 is coupled to memory 1210 by bus 1230 and database 1250 is used to store data.
The computing device 1200 also includes an access device 1240, the access device 1240 enabling the computing device 1200 to communicate via the one or more networks 1260. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 1240 may include one or more of any type of network interface, wired or wireless (e.g., a Network Interface Card (NIC)), such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the application, the above-described components of computing device 1200, as well as other components not shown in FIG. 12, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device illustrated in FIG. 12 is for exemplary purposes only and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 1200 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smart phone), wearable computing device (e.g., smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1200 may also be a mobile or stationary server.
Wherein processor 1220 is configured to execute the following computer-executable instructions to implement the following methods:
under the condition of receiving an uploading instruction, running a picture resource management unit in the picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit;
Under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction;
under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, a target picture resource is obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, and a first target picture template is obtained from the template management unit; and synthesizing a corresponding target picture according to the first target picture template and the target picture.
The foregoing is a schematic illustration of a computing device of this embodiment. It should be noted that, the technical solution of the computing device and the technical solution of the picture synthesis method belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the picture synthesis method.
An embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions which, when executed by a processor, are configured to implement the operation steps of the above-described picture composition method.
The above is an exemplary version of a computer-readable storage medium of the present embodiment. It should be noted that, the technical solution of the storage medium and the technical solution of the picture synthesis method shown in fig. 2 belong to the same concept, and details of the technical solution of the storage medium which are not described in detail can be referred to the description of the technical solution of the picture synthesis method shown in fig. 2.
The foregoing describes certain embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code that may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the application disclosed above are intended only to assist in the explanation of the application. Alternative embodiments are not intended to be exhaustive or to limit the application to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and the full scope and equivalents thereof.

Claims (20)

1. A picture composition cloud platform, characterized in that the picture composition cloud platform comprises: the system comprises a picture resource management unit, a template management unit and a picture synthesis unit;
the picture resource management unit is configured to acquire and store picture resources under the condition of receiving an uploading instruction, wherein the picture resources are stored in a storage space corresponding to a user or a shared picture resource pool;
the template management unit is configured to create a corresponding picture template according to template attribute information carried by a template creation instruction under the condition that the template creation instruction is received;
the picture synthesis unit is configured to obtain target picture resources from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction under the condition that the picture synthesis instruction is received, obtain a first target picture template from the template management unit, and determine a target template instance corresponding to the first target template; synthesizing a corresponding target picture according to the target picture template instance and the target picture resource, wherein the template instance is generated by adding different detailed structures based on the application of the picture template in different scenes;
The method for obtaining the target picture resources according to the synthesis parameters carried in the picture synthesis instruction comprises the following steps:
acquiring corresponding online picture resources according to the synthesis parameters carried in the picture synthesis instruction; and determining the online picture resource as the target picture resource.
2. The picture composition cloud platform of claim 1, wherein the template management unit is further configured to:
setting a corresponding template identifier for the picture template under the condition that the picture template is established;
accordingly, the picture composition unit is further configured to:
determining a corresponding target template identifier according to the synthesis parameters carried in the picture synthesis instruction;
and acquiring a first target picture template from the template management unit according to the target template identifier.
3. The picture composition cloud platform of claim 2, wherein the template management unit is further configured to:
and setting corresponding version information for the picture template under the condition that the picture template is established.
4. The picture composition cloud platform of claim 3, wherein the template management unit is further configured to:
Under the condition that a template modification instruction is received, determining a template to be modified according to a template identifier carried by the template modification instruction;
copying the template to be modified to obtain a corresponding backup template;
modifying the backup template according to the modification information carried by the modification instruction to obtain an updated template;
and setting corresponding new version information for the updated template.
5. The picture composition cloud platform of claim 4, wherein the template management unit is further configured to:
and establishing at least one corresponding template instance aiming at a second target picture template, and setting a corresponding instance identifier for each template instance, wherein the second target picture template is any picture template managed by the template management unit.
6. The picture composition cloud platform of claim 5, wherein the template management unit is further configured to:
under the condition that a template instance creation instruction is received, determining version information of a second target picture template according to creation information carried in the template instance creation instruction;
acquiring a second target picture template of a corresponding version according to the version information;
And creating at least one corresponding template instance for the second target picture template.
7. The picture composition cloud platform of claim 5, wherein the picture composition unit is further configured to:
under the condition that the picture synthesis instruction is received, determining a corresponding target instance identifier according to synthesis parameters carried in the picture synthesis instruction; acquiring a target template instance from the template management unit according to the target instance identifier;
and synthesizing the target picture according to the target template instance and the target picture resource.
8. The picture composition cloud platform of any of claims 1-7, wherein the picture composition unit is further configured to:
displaying a picture synthesis interface under the condition that a call instruction of a picture synthesis cloud platform is detected, wherein the picture synthesis interface comprises a picture synthesis control;
and under the condition that the picture composition control is detected to be triggered, determining that the picture composition instruction is received.
9. The picture composition cloud platform of any of claims 1-7, wherein the picture composition unit is further configured to:
Detecting a call request of a picture synthesis interface;
and under the condition that the call request for the picture synthesis interface is detected, determining that the picture synthesis instruction is received.
10. The picture composition cloud platform of any of claims 1-7, wherein the picture resource management unit is further configured to:
acquiring uploading data;
and under the condition that the uploading data is a picture, determining whether a compression instruction aiming at the uploading data is received, if so, compressing the uploading data, storing the compressed uploading data into a storage space corresponding to a user initiating the uploading instruction, and creating a local mapping record.
11. The picture composition cloud platform of claim 10, wherein the picture resource management unit is further configured to:
and under the condition that an adding instruction is received, adding the uploaded picture to a picture resource pool.
12. The picture composition cloud platform of claim 11, wherein the picture composition unit is further configured to:
determining the storage position of the required picture according to the synthesis parameters carried in the picture synthesis instruction;
Acquiring the target picture from the storage space of the picture resource management unit under the condition that the storage position is the storage space of the picture resource management unit;
and under the condition that the storage position is the picture resource pool, acquiring the target picture from the picture resource pool.
13. The picture composition cloud platform of claim 12, wherein the picture composition unit is further configured to:
under the condition that the storage position is the storage space of the picture resource management unit, determining a target storage space corresponding to the user identifier according to the user identifier carried in the picture synthesis instruction;
and acquiring the target picture from the target storage space.
14. The picture composition cloud platform of any of claims 1-7, further comprising a rights verification unit configured to:
determining an operation authority required by an operation instruction under the condition that the operation instruction aiming at a third target picture template is received;
determining whether a user initiating the operation instruction has the operation authority according to a user identifier carried in the operation instruction;
And executing the operation corresponding to the operation instruction on the third target picture template under the condition that the user initiating the operation instruction has the operation authority.
15. The picture composition cloud platform of claim 14, wherein the rights verification unit is further configured to:
creating at least one user authority group, and setting corresponding operation authorities for each user authority group;
determining a target user permission group to which a user initiating the operation instruction belongs according to a user identifier carried in the operation instruction;
and determining whether the operation authority corresponding to the target user authority group is the same as the operation authority required by the operation instruction, if so, determining that the user initiating the operation instruction has the operation authority.
16. The picture composition cloud platform of claim 14, wherein the template management unit is further configured to:
and under the condition that a template viewing instruction is received, displaying a picture template corresponding to the viewing user according to the identifier of the viewing user carried by the template viewing instruction.
17. The picture composition cloud platform of claim 16, wherein the template management unit is further configured to:
Determining whether the user is a creator of the picture template or not according to each picture template managed by the template management unit, and if yes, displaying the picture template;
if not, determining a user permission group to which the viewing user belongs, and determining whether the user permission group has the viewing permission of the picture template, if so, displaying the picture template.
18. A picture synthesis method, characterized in that the method is applied to a picture synthesis cloud platform as claimed in any one of claims 1 to 17, and the method comprises:
under the condition of receiving an uploading instruction, running a picture resource management unit in the picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit, wherein the picture resources are stored in a storage space corresponding to a user or a shared picture resource pool;
under the condition that a template creation instruction is received, a template management unit in the picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction;
under the condition that a picture synthesis instruction is received, a picture synthesis unit in the picture synthesis cloud platform is operated, target picture resources are obtained from the picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, a first target picture template is obtained from the template management unit, and a target template instance corresponding to the first target template is determined; synthesizing a corresponding target picture according to the target picture template instance and the target picture, wherein the template instance is generated by adding different detailed structures based on the application of the picture template in different scenes; obtaining a target picture resource according to the synthesis parameters carried in the picture synthesis instruction, including: acquiring corresponding online picture resources according to the synthesis parameters carried in the picture synthesis instruction; and determining the online picture resource as the target picture resource.
19. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the method of:
under the condition of receiving an uploading instruction, running a picture resource management unit in a picture synthesis cloud platform, and acquiring and storing picture resources through the picture resource management unit, wherein the picture resources are stored in a storage space corresponding to a user or a shared picture resource pool;
under the condition that a template creation instruction is received, a template management unit in a picture synthesis cloud platform is operated, and a corresponding picture template is created according to template attribute information carried by the template creation instruction;
under the condition that a picture synthesis instruction is received, a picture synthesis unit in a picture synthesis cloud platform is operated, a target picture resource is obtained from a picture resource management unit according to synthesis parameters carried in the picture synthesis instruction, a first target picture template is obtained from a template management unit, and a target template instance corresponding to the first target template is determined; synthesizing a corresponding target picture according to the target picture template instance and the target picture, wherein the template instance is generated by adding different detailed structures based on the application of the picture template in different scenes;
The method for obtaining the target picture resources according to the synthesis parameters carried in the picture synthesis instruction comprises the following steps:
acquiring corresponding online picture resources according to the synthesis parameters carried in the picture synthesis instruction; and determining the online picture resource as the target picture resource.
20. A computer readable storage medium, characterized in that it stores computer executable instructions which, when executed by a processor, implement the steps of the picture composition method of claim 18.
CN202110301885.9A 2021-03-22 2021-03-22 Picture synthesis cloud platform and picture synthesis method Active CN113077534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110301885.9A CN113077534B (en) 2021-03-22 2021-03-22 Picture synthesis cloud platform and picture synthesis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110301885.9A CN113077534B (en) 2021-03-22 2021-03-22 Picture synthesis cloud platform and picture synthesis method

Publications (2)

Publication Number Publication Date
CN113077534A CN113077534A (en) 2021-07-06
CN113077534B true CN113077534B (en) 2023-11-28

Family

ID=76612989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110301885.9A Active CN113077534B (en) 2021-03-22 2021-03-22 Picture synthesis cloud platform and picture synthesis method

Country Status (1)

Country Link
CN (1) CN113077534B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117132683A (en) * 2023-08-25 2023-11-28 山东捷瑞信息技术产业研究院有限公司 Picture batch manufacturing method, equipment and storage medium based on cloud platform

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746857A (en) * 2014-02-10 2014-04-23 广东东研网络科技股份有限公司 Automatic refreshing method of default template in Ethernet local side of coaxial cable
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
CN104349175A (en) * 2014-08-18 2015-02-11 周敏燕 Video producing system and video producing method based on mobile phone terminal
CN104469259A (en) * 2014-12-15 2015-03-25 广东威创视讯科技股份有限公司 Cloud terminal video synthesis method and system
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN105979281A (en) * 2016-05-11 2016-09-28 吴劲 Image processing system
CN106534356A (en) * 2016-12-12 2017-03-22 腾讯科技(深圳)有限公司 Method and apparatus for processing template data, requesting template data and displaying template data
CN107918638A (en) * 2016-10-11 2018-04-17 佳能株式会社 Information processor, document display method, file display system and medium
CN108028054A (en) * 2015-09-30 2018-05-11 苹果公司 The Voice & Video component of audio /video show to automatically generating synchronizes
CN108495141A (en) * 2018-03-05 2018-09-04 网宿科技股份有限公司 A kind of synthetic method and system of audio and video
CN108876866A (en) * 2017-05-16 2018-11-23 腾讯科技(深圳)有限公司 A kind of media data processing method, device and storage medium
CN109101399A (en) * 2018-08-15 2018-12-28 网宿科技股份有限公司 A kind of monitoring method and equipment of host
CN109308729A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 Picture synthesizes processing method, apparatus and system
CN109542031A (en) * 2018-11-20 2019-03-29 上海电器科学研究所(集团)有限公司 A kind of device configuration method in novel maintenance system
CN110225309A (en) * 2019-06-19 2019-09-10 中信梧桐港供应链管理有限公司 For the video storage method of chief storekeeper, system and cloud server
CN111432205A (en) * 2020-04-17 2020-07-17 杭州趣维科技有限公司 Automatic testing method for video synthesis correctness
CN111643898A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Virtual scene construction method, device, terminal and storage medium
CN112232052A (en) * 2020-10-23 2021-01-15 中国平安人寿保险股份有限公司 Text splicing method and device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5719406B2 (en) * 2012-09-14 2015-05-20 富士フイルム株式会社 Composite image creation system, image processing apparatus, and image processing method
CN103338225B (en) * 2013-05-27 2015-02-25 沈阳东软医疗系统有限公司 Method for medical image data sharing based on cloud platform, and cloud platform and system for medical image data sharing
US20180330756A1 (en) * 2016-11-19 2018-11-15 James MacDonald Method and apparatus for creating and automating new video works
CN110536177B (en) * 2019-09-23 2020-10-09 北京达佳互联信息技术有限公司 Video generation method and device, electronic equipment and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746857A (en) * 2014-02-10 2014-04-23 广东东研网络科技股份有限公司 Automatic refreshing method of default template in Ethernet local side of coaxial cable
CN104349175A (en) * 2014-08-18 2015-02-11 周敏燕 Video producing system and video producing method based on mobile phone terminal
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
CN104469259A (en) * 2014-12-15 2015-03-25 广东威创视讯科技股份有限公司 Cloud terminal video synthesis method and system
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN108028054A (en) * 2015-09-30 2018-05-11 苹果公司 The Voice & Video component of audio /video show to automatically generating synchronizes
CN105979281A (en) * 2016-05-11 2016-09-28 吴劲 Image processing system
CN107918638A (en) * 2016-10-11 2018-04-17 佳能株式会社 Information processor, document display method, file display system and medium
CN106534356A (en) * 2016-12-12 2017-03-22 腾讯科技(深圳)有限公司 Method and apparatus for processing template data, requesting template data and displaying template data
CN108876866A (en) * 2017-05-16 2018-11-23 腾讯科技(深圳)有限公司 A kind of media data processing method, device and storage medium
CN109308729A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 Picture synthesizes processing method, apparatus and system
CN108495141A (en) * 2018-03-05 2018-09-04 网宿科技股份有限公司 A kind of synthetic method and system of audio and video
CN109101399A (en) * 2018-08-15 2018-12-28 网宿科技股份有限公司 A kind of monitoring method and equipment of host
CN109542031A (en) * 2018-11-20 2019-03-29 上海电器科学研究所(集团)有限公司 A kind of device configuration method in novel maintenance system
CN110225309A (en) * 2019-06-19 2019-09-10 中信梧桐港供应链管理有限公司 For the video storage method of chief storekeeper, system and cloud server
CN111432205A (en) * 2020-04-17 2020-07-17 杭州趣维科技有限公司 Automatic testing method for video synthesis correctness
CN111643898A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Virtual scene construction method, device, terminal and storage medium
CN112232052A (en) * 2020-10-23 2021-01-15 中国平安人寿保险股份有限公司 Text splicing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113077534A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN107809492B (en) Method and system for generating shared information
US8412729B2 (en) Sharing of presets for visual effects or other computer-implemented effects
CN110297838B (en) Terrain material editing method, device, computing equipment and storage medium
CN112016023B (en) Service processing method, device, terminal and storage medium
EP4141797A1 (en) Method and apparatus of processing information, method and apparatus of rendering image, and electronic device
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
CN113077534B (en) Picture synthesis cloud platform and picture synthesis method
CN112132961A (en) Panoramic image template-based digital virtual exhibition hall generation method and system
CN110750664A (en) Picture display method and device
CN109961493A (en) Banner Picture Generation Method and device on displayed page
EP4100828A1 (en) Design interface object manipulation based on aggregated property values
US9256921B2 (en) Image generation device, image generation method, image generation program, and recording medium
CN111857700A (en) Template marketing activity publishing method and system
CN113127126B (en) Object display method and device
CN114997105A (en) Design template, material generation method, computing device and storage medium
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
CN113468626A (en) Drawing generation method and device, electronic equipment and storage medium
CN114565707A (en) 3D object rendering method and device
CN114048047A (en) Picture synthesis method and system, picture synthesis platform and service platform
CN111435936A (en) Cloud host creation method and device, server and computer readable storage medium
CN116700701B (en) Code-free software development method and device and electronic equipment
CN112286620B (en) Application program interaction method and device, electronic equipment and storage medium
US20230298132A1 (en) Scene builder
CN109559087B (en) Building visualization system and method
CN113656417A (en) Data processing method, device, equipment and computer readable storage medium

Legal Events

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