CN114419194A - Method for generating collocation image and electronic equipment - Google Patents

Method for generating collocation image and electronic equipment Download PDF

Info

Publication number
CN114419194A
CN114419194A CN202111154933.2A CN202111154933A CN114419194A CN 114419194 A CN114419194 A CN 114419194A CN 202111154933 A CN202111154933 A CN 202111154933A CN 114419194 A CN114419194 A CN 114419194A
Authority
CN
China
Prior art keywords
resource
target
commodity object
collocation
commodity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111154933.2A
Other languages
Chinese (zh)
Inventor
洪鑫
李峰
鲁志红
裴立
任一平
蒋宙
龚巧琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Network Technology Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202111154933.2A priority Critical patent/CN114419194A/en
Publication of CN114419194A publication Critical patent/CN114419194A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application discloses a method for generating a collocation image and electronic equipment, wherein the method comprises the following steps: after a task of generating a collocation image is received, determining a target design template, wherein the target design template comprises a plurality of resource bits, the resource bits are respectively associated with marking information, the marking information comprises material types corresponding to the resource bits and identifiers of resource bit groups, and the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object; determining a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group; determining a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information; and filling materials related to the plurality of commodity objects in the plurality of commodity object groups into resource positions corresponding to the target design template to generate a plurality of matching images. Through the embodiment of the application, the production efficiency of the collocation image can be improved.

Description

Method for generating collocation image and electronic equipment
Technical Field
The present disclosure relates to the field of image generation technologies, and in particular, to a method for generating a matching image and an electronic device.
Background
In the commodity object information system, large promotion events are often held on specific dates, festivals and the like, and corresponding event meeting place pages are designed. In such a mobile meeting place page, a plurality of industry-divided display areas (which may be generally referred to as "floors") may be designed, each "floor" area may collectively display commodity objects of the same industry, theme, and the like, and may enter into the industry-divided meeting place page of each industry, theme, and the like through an entrance provided in a specific "floor".
In a conventional "floor" design, each "floor" may include multiple resource slots (also referred to as "pit slots"), and each resource slot may be used to display information such as a picture, title, price, etc. of a commodity object. However, in this manner, the merchandise objects displayed in the same "floor" area may not be related to each other except perhaps belonging to the same industry (apparel, home appliances, digital codes, etc.) or subject matter.
In order to further attract the clicking operation of the user on the "floor" area, some "floor" areas may display information of a plurality of commodity objects in the form of "matching images" and the like. That is, a plurality of commodity objects are combined in advance according to the matching and using relationship among the plurality of commodity objects, and pictures, titles, prices and the like of the plurality of commodity objects in the same combination can be displayed in the same matching image. For example, in the "apparel" floor area, a matching image may include a piece of clothing, a pair of pants, a pair of shoes, a bag, and so forth. A plurality of commodity objects displayed in the same matching image not only belong to the same industry or the same theme, but also have a matching use relationship with each other, so that the requirement of a user in a certain actual use scene can be met, and the click operation of the user can be attracted. In the specific clicking process, the user can click each commodity object in the collocation image respectively, jump to the corresponding detail page and the like. On the other hand, under the demand of fine flow delivery, the situation that ' thousands of people and thousands of faces are needed to be achieved as much as possible, even ' one person and thousands of faces ' needs to be achieved. At this time, it is necessary to produce a plurality of matching images for the same "floor" to display different matching images for different user groups as much as possible, and even when the same user visits a meeting place page each time, the matching images displayed on the same "floor" may be different, so as to avoid aesthetic fatigue of the user.
In the prior art, the way of producing the matching images is as follows: operators on a certain 'floor' collect a batch of commodities (generally, the magnitude is from one to tens of commodities), then manually combine the commodities to obtain a plurality of commodity object combinations (generally, several or more than ten sets), and then ask designers to combine the commodity objects combined offline with a background picture to make a matching image.
Therefore, in the prior art, the production efficiency of matching images is low, and the number of combined commodity objects is small, so that the demand for fine delivery of flow is difficult to meet. Therefore, how to efficiently perform mass production of the matching images becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a method for generating a collocation image and an electronic device, which can improve the production efficiency of the collocation image.
The application provides the following scheme:
a method of generating a collocated image, comprising:
after a task of generating a collocation image is received, determining a target design template, wherein the target design template comprises a plurality of resource bits, the resource bits are respectively associated with marking information, the marking information comprises material types corresponding to the resource bits and identifiers of resource bit groups, and the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object;
determining a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group;
determining a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information, wherein a plurality of commodity objects in the same commodity object group have a matching use relationship;
and filling materials related to the plurality of commodity objects in the plurality of commodity object groups into resource positions corresponding to the target design template to generate a plurality of matching images.
The target design template also comprises the position information of the resource bit in the target design template;
the method further comprises the following steps:
and after filling the material associated with the commodity object into the corresponding resource position in the target design template, determining an operation hot spot area corresponding to the commodity object according to the position information of the resource position in the target design template.
The generated collocation image is used for displaying in a multi-language page;
the material types comprise picture types and text types;
the generating a plurality of collocated images comprises:
when the task of generating the collocation images is executed, filling picture material examples of a plurality of commodity objects in the commodity object group into resource positions corresponding to the target design template to generate image part collocation contents in the collocation images;
the method further comprises the following steps:
when the multiple collocation images are delivered to a target page and displayed to a target user, the position information of the resource position of the text material type indicated by the marking information in the target design template is determined and provided for a client, so that the client can obtain the text material examples of the multiple commodity objects in the target language associated with the target user to generate the text part collocation content of the target collocation image and fill the text part collocation content in the target collocation image according to the position information for displaying.
Wherein, still include:
and after generating the image part collocation content in the collocation images, providing the generated image part collocation content for a manual auditing client to audit.
Wherein the method further comprises, before:
providing an operation interface for marking the resource bits in the design template;
after receiving a labeling request for a target design template, determining a plurality of resource bits associated with the target design template, and providing at least one operation control for labeling the plurality of resource bits respectively;
according to the access of the operation control, marking the material type associated with the resource position, or marking the main node associated with the resource position; and marking a plurality of resource bits of the same commodity object as the same main node to serve as the resource bit group identifier.
The target commodity object set comprises a plurality of commodity object subsets, and commodity objects of different commodity object subsets have a matching use relationship;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the resource bit groups respectively correspond to commodity object subset information so as to select commodity objects for the resource bit groups from the corresponding commodity object subsets and form a commodity object combination.
A plurality of commodity object subsets in the target commodity object set respectively correspond to different ID identification information;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups includes: and the ID identification information of the commodity object subsets corresponding to the resource bit groups respectively, so that the commodity objects are selected for the resource bit groups from the commodity object subsets corresponding to the ID identification information.
Wherein, the target commodity object set comprises commodity object associated with category identification information
The commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the category identification information corresponding to the resource bit groups respectively is used for selecting the commodity object for the resource bit groups from a subset consisting of the commodity objects corresponding to the category identification in the target commodity object set.
A processing method for matching an image design template comprises the following steps:
providing an operation interface for marking the resource bits in the design template;
after receiving a marking request for a target design template, determining the marks of a plurality of resource bits associated with the target design template;
providing at least one operation control for labeling the plurality of resource bits respectively;
according to the access of the operation control, marking the material type associated with the resource position, or marking the main node associated with the resource position; wherein, a plurality of resource bits of the same commodity object are marked as the same main node to be used as the resource bit group identifier; the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object.
A page display method comprises the following steps:
after receiving a display request of a target user for a target page, acquiring page data, wherein the page data comprises information of a target collocation image, and the information of the target collocation image comprises image part collocation content in the target collocation image and position information to be filled of a text material in the collocation image;
acquiring text material examples of the plurality of commodity objects in the target language according to the target language associated with the target user;
and generating the text part collocation content of the target collocation image according to the text material example, and filling the text part collocation content into the target collocation image according to the position information.
An apparatus for generating a collocation image, comprising:
the system comprises a target design template determining unit, a matching image generating unit and a matching processing unit, wherein the target design template determining unit is used for determining a target design template after receiving a task of generating a matching image, the target design template comprises a plurality of resource bits, the resource bits are respectively associated with marking information, the marking information comprises material types corresponding to the resource bits and identifiers of resource bit groups to which the material types belong, and the same resource bit group is used for displaying a plurality of types of materials corresponding to the same commodity object;
a commodity object set and selection rule determining unit, configured to determine a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group;
the commodity object group determining unit is used for determining a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information, wherein a plurality of commodity objects in the same commodity object group have a collocation and use relationship;
and the collocation image generation unit is used for filling materials related to a plurality of commodity objects in the commodity object groups into resource positions corresponding to the target design template to generate a plurality of collocation images.
A collocated image design template processing apparatus, comprising:
the operation interface providing unit is used for providing an operation interface for marking the resource bits in the design template;
the resource bit identification determining unit is used for determining the identifications of a plurality of resource bits related to the target design template after receiving a labeling request of the target design template;
the operation control providing unit is used for providing at least one operation control for labeling the plurality of resource bits respectively;
the marking unit is used for marking the material type associated with the resource location or marking the main node associated with the resource location according to the access to the operation control; wherein, a plurality of resource bits of the same commodity object are marked as the same main node to be used as the resource bit group identifier; the same resource bit group is used for showing various types of materials corresponding to the same commodity object
A page display apparatus comprising:
the page data acquisition unit is used for acquiring page data after receiving a display request of a target user for a target page, wherein the page data comprises information of a target matching image, and the information of the target matching image comprises image part matching content in the target matching image and position information to be filled of a text material in the matching image;
the text material acquisition unit is used for acquiring text material examples of the plurality of commodity objects in the target language according to the target language associated with the target user;
and the text content filling unit is used for generating text part matching content of the target matching image according to the text material example and filling the text part matching content into the target matching image according to the position information.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the preceding claims.
An electronic device, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of the preceding claims.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
according to the embodiment of the application, automatic batch production of the collocation images can be realized in a mode of generating the design template in advance. Wherein, to the design template, except can wherein designing a plurality of resource position, confirming the position of resource position in the design template, can also mark the resource position in the template, specific mark information can be used for with material type that a plurality of resource position are correlated marks to divide a plurality of resource position into a plurality of resource bit groups, a plurality of resource positions in the same resource bit group are used for showing the polytype material that same commodity object corresponds. The design template can then be used for automated batch generation of collocated images. Specifically, a target design template, a target commodity object set, and commodity object selection rules corresponding to the plurality of resource bit groups, which are required to be used, may be determined, and then, a plurality of commodity object groups may be determined according to the target commodity object set and the commodity object selection rule information, so that a plurality of matching images are generated by filling a plurality of types of materials associated with each commodity object in the plurality of commodity object groups into the resource bit corresponding to the target design template. In this way, more efficient generation of the collocated image can be achieved.
In addition, because the operation hot spot region corresponding to each commodity object can be determined directly according to the position information of each resource position in the target design template, the operation of manually drawing the hot spot region is not required to be executed.
For a multi-language delivery scene, only image part collocation content in a collocation image can be generated when a collocation task is executed, and regarding the collocation content of a text part, when the collocation image is specifically delivered to a target page and the target page is accessed by a specific target user, a corresponding text material is determined according to a target language required by the target user and then rendered to a corresponding position in the collocation image.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application;
FIG. 2 is a flow chart of a first method provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a template annotation interface provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of an interface for creating a collocation task provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an interface for auditing collocation results according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an interface for delivering collocation images provided by an embodiment of the present application;
FIG. 7 is a flow chart of a second method provided by embodiments of the present application;
FIG. 8 is a flow chart of a third method provided by embodiments of the present application;
FIG. 9 is a schematic diagram of a first apparatus provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a second apparatus provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a third apparatus provided by an embodiment of the present application;
fig. 12 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
In the embodiment of the application, in order to more efficiently perform batch production of the collocated images, an implementation scheme for performing production of the collocated images based on a design template is provided. That is, can generate a batch of design template in advance, can set up a plurality of resource positions in the design template according to specific application demand etc. for example, need show four commodity object's information in every collocation image, every commodity object need show through three kinds of materials such as picture, title, price, then can set up 12 resource positions in the design template, wherein include four picture resource positions, four title resource positions, four price resource positions, etc.. The rapid production of matched images can be realized by filling materials such as pictures, titles, prices and the like of specific commodity objects into the specific design template.
It should be noted here that, in the prior art, there is also a scheme of performing automatic picture synthesis through a pre-designed template, for example, a Banner (Banner) image in some pages, etc., which can be generated by means of automatic map combination. However, the banner image only needs to show pictures of some commodity objects without including information such as titles, prices and the like, and the whole banner image generally corresponds to only one same operation hotspot, that is, the user can jump to the same supporting page by clicking any position in the banner image.
However, in the embodiment of the present application, since information of a plurality of commodity objects having a collocation use relationship needs to be displayed in a specific collocation image, each commodity object needs to be displayed through a plurality of information such as pictures, titles, prices, and the like; moreover, each commodity object needs to correspond to its own operation hot area, that is, if the user clicks a commodity map of a specific commodity object in the collocation image, the user needs to jump to a page such as a detail page corresponding to the commodity object for display. That is, in the same matching image, a plurality of different operation hot areas need to be corresponded, and corresponding receiving pages are different by clicking different operation hot areas.
Therefore, in the embodiment of the present application, after the size, the position, and the like of the specific resource bits in the design template are designed, the specific resource bits need to be labeled. Therefore, the embodiment of the present application may further provide a labeling tool, through which material types associated with each resource bit in the specific design template may be labeled, and each resource bit may be grouped, and a plurality of resource bits corresponding to the same commodity object may be designated as the same resource bit group, and so on. In order to label the grouping of the resource bits, the labeling can be implemented by designating a master node for a specific resource bit. For example, if a resource bit is a resource bit of a picture type, the master node may be itself, if a resource bit is a resource bit of a title type, its master node may be a resource bit of a picture type, and so on. Thus, if several resource bits are labeled with the same master node, it can be determined that the same resource is a group. In this way, each specific design template may have associated therewith the following information: the identification of a plurality of resource positions, the position of each resource position in the design template, the marking information of each resource position, and the specific marking information may include the material type information associated with the resource position and the associated master node information.
After the resource bit design and labeling of the design template are completed, batch generation of the matching image can be performed by using the specific design template. Specifically, before a specific batch generation task is executed, a plurality of commodity object sets may be generated in advance, and each time batch generation of a collocation image is performed, one commodity object set may be selected. In addition, a specific target design template may be selected, and then, the commodity object (that is, a commodity object individual of a certain style of a specific brand, which may also be referred to as a commodity object instance) to be filled into the design template may be determined by using the resource bit group as a unit, and then, the picture material and the text material (including a title, a price, and the like) corresponding to the commodity object may be filled into the corresponding resource bit, so as to generate a matching image.
In the embodiment of the present application, the commodity objects in the same matching image need to have a matching relationship, and any commodity objects may not be combined together. Therefore, in order to achieve the purpose, the embodiment of the present application may further divide the same commodity object set into a plurality of commodity object subsets through some rules (for example, the commodity object subsets are divided according to the usage, category, and the like of the commodity object), and the commodity objects of different commodity object subsets may have a matching usage relationship. Thus, when a specific collocation image generation task is configured, the commodity object subsets corresponding to the resource bit groups can be specified. In this way, when combining the product objects, it is possible to select and combine the product objects from each of the designated product object subsets. Specifically, there may be various specific implementation manners for specifying the commodity object subsets for the resource bit group, for example, in one manner, if the commodity object set is divided into a plurality of commodity object subsets in advance, and each commodity object subset is provided with a corresponding ID or the like, the configuration may be performed in a manner that a specific commodity object subset ID is specified for the specific resource bit group. Alternatively, the configuration may be performed in such a manner that the commodity object class is directly specified for the specific resource bit group, for example, a certain target design template may include four resource bit groups A, B, C, D, and the commodity object selection rules corresponding to the four resource bit groups may be specified as categories such as jacket, trousers, shoes, and bags. In this way, the selection of the commodity object for the resource bit group a may be performed from the subset of commodity objects belonging to the jacket category in the target commodity object set, the selection of the commodity object for the resource bit group B may be performed from the subset of commodity objects belonging to the pants category in the target commodity object set, and so on.
In addition, in practical application, the specific matching images may need to be delivered in a multi-language scene. For example, a page may need to be presented to users in different countries or regions, and when the page is presented to users in different countries or regions, text material needs to be presented using corresponding target languages. At this time, if the matching material is generated by directly including the text material example, it is necessary to generate a plurality of matching images corresponding to different languages for the same product object combination. Therefore, in the preferred embodiment of the present application, specifically, when the task of generating the collocation image is executed, for the same commodity object combination, only the image partial collocation content may be generated, that is, the image material of each commodity object is filled into the corresponding resource position in the target template. Meanwhile, the position information of the document material to be displayed can be recorded (specifically, the position information can be recorded according to the labeling information of the resource position in the target design template). Then, the collocation image only generating the image collocation content can be released into a specific page, when a specific collocation image is displayed according to a real-time access request of a specific target user, the file material of each commodity object in the collocation image in the target language can be obtained according to the target language associated with the access request, and then the collocation image can be rendered and displayed according to the position information. That is, the specific text portion matching content may be dynamically generated in the process of specifically showing to the user, so that the image portion matching content generated before and the dynamically generated text portion matching content may be combined together to generate the final matching image. Therefore, the problem that when one matching image is put in a multi-language country, a plurality of matching images need to be generated based on the same commodity object combination is solved.
From the system architecture perspective, as shown in fig. 1, a designer can use an existing template design tool to complete the design of basic information such as resource locations and background maps in a design template. In addition, a design template marking tool can be provided in the embodiment of the application, so as to mark the material types, the master nodes and the like of all resource bits in a specific design template, and realize grouping of the resource bits. In addition, the embodiment of the application can also provide a collocation image generation task configuration and execution tool, so that when a collocation image generation task is created, configuration information such as a target design template, a target commodity object set and commodity object selection rules associated with each resource bit group in the design template, which are specifically required to be used, is specified. And then, batch generation of the collocation images can be realized according to the configuration information. Of course, in the foregoing multi-language scenario, only the image part matching content in the matching image may be generated, and the matching image in this state may be delivered to the target page, and then when a specific user accesses the page and needs to show one of the matching images to the user, the text material corresponding to the specific commodity object is rendered to the corresponding position in the matching image according to the target language specifically required by the user.
The following describes in detail specific implementations provided in embodiments of the present application.
Example one
First, the embodiment provides a method for generating a collocation image from the perspective of collocating an image generation task configuration and execution tool, and referring to fig. 2, the method may include:
s201: after a task of generating a collocation image is received, a target design template is determined, wherein the target design template comprises a plurality of resource bits, the resource bits are respectively associated with marking information, the marking information comprises material types corresponding to the resource bits and identifiers of resource bit groups to which the resource bit groups belong, and the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object.
In the embodiment of the present application, a design template may be generated in advance, and a specific design template may be designed according to a specific requirement. For example, if a matching image needs to be displayed on a certain "floor" of a certain event venue page and four commodity objects need to be displayed in a matching manner, a designer can design four image resource slots in a design template and determine the size, position, and the like of each resource slot. In addition, a corresponding text resource bit can be designed for each image resource bit, and the like. The text resource positions can be designed for the styles (including fonts, word sizes and the like) of specific texts.
After the resource bits in the design template are designed, the marking tool provided by the embodiment of the application can be used for marking the resource bits. For example, in one of the manners, as shown in fig. 3, an operation interface for labeling the resource bits in the design template may be provided, and when the resource bits in a certain target design template need to be labeled, information such as a specific design template ID may be input in the interface, and the target design template with the resource bit size and the position designed already may be imported into the labeling tool. The marking tool can read the identifications of the plurality of resource positions in the target design template, and then can provide operation control pieces for marking the resource positions respectively so as to mark the material types, grouping conditions and the like of the resource positions.
In an optional manner, as shown at 31 in fig. 3, the design template may also be displayed in the first area of the operation interface, where information such as the identifier of each resource bit may be included, so that a user may visually see a correspondence relationship between the position of each resource bit in the design template and the identifier of each resource bit. Meanwhile, as shown at 32 in fig. 3, operation controls that respectively label the plurality of resource bits may be provided within the second region. Specifically, each resource level identifier may correspond to two operation controls, one of which is a first operation control for labeling a material type associated with the resource level, and the other of which is a second operation control for labeling a master node associated with the resource level. For example, in the example shown in fig. 3, a resource bit identified as "I _ 8" may be selected as "commodity main graph" in the drop-down box control corresponding to the "material type", and then the material type corresponding to the resource bit may be labeled as a picture type. Alternatively, for a resource bit identified as "T _ 24", its material type may be labeled "product title", and so on. The master node information is mainly used to group resource slots and designate the resource slots corresponding to the same commodity object as the same group. The marking of the same resource bit group can be performed by marking a plurality of resource bits corresponding to the same commodity object as the same master node. For the resource bit of the main commodity graph type, the main node can be labeled as the main node, and for the resource bit of the title or the price and other types, the main node can be labeled as the resource bit of the main commodity graph type.
For example, for the example shown in fig. 3, if "I _ 19" is a resource bit of a picture type, then "I _ 19" may be directly filled in the associated master node; for the resource bit of "T _ 24", which is a resource bit of a title type, the title text of the commodity object corresponding to "I _ 19" is shown, and therefore, the associated master node of "T _ 24" may be set to "I _ 19". In addition, "T _ 21" is a price resource bit for showing the price text of the commodity object corresponding to "I _ 19", and therefore, the associated master node of "T _ 21" may also be set to "I _ 19". In this way, since the associated master nodes of "I _ 19", "T _ 24" and "T _ 21" are all "I _ 19", they become a resource bit group, that is, these resource bits are used to respectively display information such as pictures, titles, prices, etc. of the same commodity object.
After the resource bits are labeled in the above mode, the labeling information and the specific design template can be bound and stored, so that each resource bit in the design template can comprise the following properties: identification, position, size, material type, associated master node. Since the position information of the specific resource position is set in the design template, the operation hotspot region of the specific commodity object can be directly determined according to the position information, and the operation of manually moving the hotspot region is not needed.
After the design of the specific size, position and the like of the resource positions in the design template is completed and the labeling is carried out, the batch generation of the collocation images can be carried out by using the specific design template. Specifically, a specific target design template may be selected in the collocation photo generation task configuration tool, for example, as shown at 41 in fig. 4, the selection of the target design template may be performed by inputting information such as an ID of the design template in the control.
S202: and determining a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group.
After the target design template is selected, a specific set of commodity objects may also be selected. For example, a batch of commodity objects can be defined from the total commodity object information base according to specific requirements to form a commodity object set, and the like. The operation of specifically generating the commodity object set may be performed by a single commodity circling system, or the like, and a plurality of specifically circling commodity object sets may be provided, and may correspond to different names, IDs, or the like. Accordingly, as shown at 42 in fig. 4, an operation control for selecting a commodity object set may be provided in the task configuration interface for specifying a specific target commodity object set by inputting a specific commodity object set name or ID or the like.
In the embodiment of the present application, since information of a plurality of commodity objects needs to be displayed in the same matching image, and the plurality of commodity objects need to have a matching relationship, it is not possible to arbitrarily select from a large commodity object set. For this reason, in the embodiment of the present application, corresponding commodity object selection rules may also be respectively specified for each resource bit group.
In a specific implementation manner, a specific target commodity object set may include a plurality of commodity object subsets, and commodity objects of different commodity object subsets may have a matching relationship therebetween. In this way, the commodity object selection rule information corresponding to each of the plurality of resource bit groups may specifically include: the resource bit groups respectively correspond to commodity object subset information, that is, specifically, when a selection rule is configured, a commodity object subset can be specified for each resource bit group, and thus, commodity objects can be selected for the resource bit groups from the corresponding commodity object subsets, and a commodity object combination is formed. For example, resource bit group a corresponds to subset 1, resource bit group B corresponds to subset 2, resource bit group C corresponds to subset 3, resource bit group D corresponds to subset 4, and so on. Specifically, when selecting a commodity object, the commodity object may be selected for the resource bit group a from the subset 1, the commodity object may be selected for the resource bit group B from the subset 2, the commodity object may be selected for the resource bit group C from the subset 3, the commodity object may be selected for the resource bit group D from the subset 4, and so on. Therefore, each commodity object in the finally obtained commodity object group has a collocation and use relationship.
There may be various specific ways of specifying the subset of the commodity objects. For example, in one aspect, a large set of commodity objects may be divided into a plurality of commodity object subsets in advance according to the usage, category, and the like of the commodity objects, and corresponding subset ID identifiers may be generated for each commodity object subset. At this time, the commodity object subset may be specified for the resource bit group directly using the specific subset ID. That is, the commodity object selection rule information corresponding to each of the plurality of resource bit groups may include: ID identification information of a subset of commodity objects corresponding to each of the plurality of resource bit groups, so that the commodity objects can be selected for the resource bit groups from the subset of commodity objects corresponding to the ID identification information.
Or, in another mode, since the commodity objects in the specific commodity object set may be associated with the category identification information, the commodity object selection rule may also be specified directly by specifying the category identification. That is, the commodity object selection rule information corresponding to the specific resource bit group may also include: and the resource bit groups respectively correspond to class target identification information, so that the commodity object can be selected for the resource bit groups from a subset consisting of the commodity objects corresponding to the class target identification in the target commodity object set.
Since the specific manner of specifying the commodity object subset may be different, in the task configuration interface, an operation control for specifying the "rule type" may be provided first, for example, as shown at 43 in fig. 4, the "rule type" may be selected as "subset ID" or "category identifier" or the like through the operation control. Where, if "subset ID" is selected, it represents that a specific commodity object ID needs to be specified for a specific resource bit group through the subset ID identifier, and accordingly, an operation control for selecting the specific subset ID identifier for the specific resource bit group may be provided in an area shown at 44 in fig. 4, so as to complete the configuration operation for specifying the commodity object subset for the specific resource bit group. If "rule type" is selected as "category identification", then in the area shown at 44 in fig. 4, an operation control for selecting a category identification for a specific resource bit group may be provided, so as to complete a configuration operation for specifying a subset of commodity objects for the specific resource bit group by specifying the category identification, and so on.
S203: and determining a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information, wherein a plurality of commodity objects in the same commodity object group have a matching use relationship.
S204: and filling materials related to the plurality of commodity objects in the plurality of commodity object groups into resource positions corresponding to the target design template to generate a plurality of matching images.
After configuring the commodity object set and assigning the commodity object selection rule for each resource bit group, a plurality of commodity object groups can be determined according to the target commodity object set and the commodity object selection rule information, and a plurality of commodity objects in the same commodity object group have a matching use relationship. Therefore, the materials respectively associated with the plurality of commodity objects in each commodity object group can be filled into the corresponding resource positions of the design template to generate the corresponding collocation images.
For example, assuming that the target design template includes four resource bit groups, where the resource bit group a corresponds to the subset 1, the resource bit group B corresponds to the subset 2, the resource bit group C corresponds to the subset 3, and the resource bit group D corresponds to the subset 4, where n1 commodity objects are total in the subset 1, n2 commodity objects are total in the subset 2, n3 commodity objects are total in the subset 3, and n4 commodity objects are total in the subset 4, n — n1 n2 n3 n4 commodity object combinations can be obtained, that is, n collocation images can be theoretically obtained.
After the specific commodity object combination is determined, the material type and the associated main node associated with each resource bit are determined in the target design template, and the corresponding relation between each specific commodity object and the resource bit group is determined, so that materials such as pictures, titles and prices of the specific commodity objects can be filled into the corresponding resource bits, and the generation of matched pictures is realized. For example, if a certain commodity object group includes commodity objects a, B, c, and d, which are respectively selected from the subsets 1, 2, 3, and 4, then the material such as the picture, title, and price of the commodity object a can be filled into the corresponding type resource bits in the resource bit group a, and the material such as the picture, title, and price of the commodity object B can be filled into the corresponding type resource bits in the resource bit group B, and so on.
Where picture material may be maintained by a dedicated material library, where a plurality of different types of material may be provided for the same merchandise object, including, for example, white background pictures, transparency pictures, and the like. When collocation task configuration is performed, the types of the picture materials may also be configured, for example, as shown at 45 in fig. 4, a "material set" may be selected as a "white background picture", "a" transparent picture ", and the like, and accordingly, after the commodity object group is determined, the picture materials of a specific type may be read from the corresponding material set to fill in the corresponding resource position. For text material, including title, price, etc., it can be read from the merchandise object information base, etc.
Specifically, as described above, since a specific matching image may need to be delivered in a multi-language scene, for example, a certain page needs to be displayed to users in a plurality of different countries, and when being displayed to a user in a specific country, a text material in the image needs to be displayed using a target language required by the user. That is, if m common target languages are provided, although there is only one image matching method for the same product object combination, there are m matching methods for text materials. Therefore, if the text material is directly filled into the template in the matching task execution process, it means that the same commodity object is combined, and m kinds of matching images need to be generated. This can cause significant consumption of memory resources.
Therefore, in the preferred embodiment of the present application, if the specifically generated collocation image is used for displaying in a multi-language page, when the task of generating the collocation image is executed, only the image material instances of the commodity objects in the commodity object group are filled into the resource slots corresponding to the target design template, so as to generate image part collocation contents in a plurality of collocation images. That is, when the collocation image generation task is executed, only the pictures of the commodity objects are filled in the target design template, and regarding the text material part, the position of the text material of each commodity object in the target design template can be recorded, and the specific text material content is not temporarily filled in the target design template. Subsequently, when the multiple collocation images (only including image part collocation content) are delivered to a target page and one of the target collocation images is displayed to a target user, the position information of the text material associated with each commodity object in the collocation image can be provided to the client according to the marking information in the target design template, so that the client can obtain the text material example of each commodity object in the target language according to the target language associated with the target user and display the text material example to the corresponding position after rendering so as to generate the text part collocation content of the target collocation image.
When the matching method is specifically realized, after image part matching contents in the multiple matching images are generated, the matching contents can be provided for a manual checking client, so that unreasonable or unaesthetic matching modes can be filtered out in a manual checking mode. For example, in a specific implementation, the collocation images provided to the manual review client may be as shown in fig. 5, a plurality of collocation images may be displayed in a tiled manner (as can be seen in the figure, a collocation image in this state only includes collocation contents of image portions, but not text portions), check boxes may be provided for each collocation image, if one or more collocation images need to be deleted, the collocation images may be selected, then the deletion operation is performed through a "delete selected" control in the upper right corner, and so on.
It should be noted that after a specific matching image generation task is created and a plurality of matching images are generated, the plurality of matching images may be delivered through a matching task identifier (e.g., a task ID) or the like. For example, referring to fig. 6, if a collocation image module needs to be used on a target page when the target page is built, a creative material collocation module or the like can be selected in an "add module" option, and then information of the module can be configured in a configuration area on the right side. In the data configuration part, a specific task ID, which is the ID of a previously created collocation image generation task, may be selected, and after the generation operation of the collocation image is completed, the task ID is associated with a batch of collocation images. The batch of matching images can be dropped into the aforementioned target page by the task ID. Certainly, in this state, the matching image only includes the image part matching content, and regarding the text part matching content, when the target page is specifically displayed to the user, after a specific text material is determined according to a target language required by the user, the text part matching content is generated, and the image part matching content is combined together to generate a complete matching image for displaying.
Wherein, because a plurality of collocation images have been put in the same module of same target page, and in this application embodiment, the collocation image quantity of production is more, consequently, realization "thousand faces of people" that can be better, even "one person thousand faces". That is, different matching images can be correspondingly displayed for different user groups so as to accord with the browsing preference of the user groups; for the same user, different collocation images can be displayed each time the target page is accessed, so as to avoid causing aesthetic fatigue of the user, and the like.
In addition, after a target collocation image is displayed to a specific user, since the position information of a specific resource position is defined in the design template, the operation hot spot area of each specific commodity object can be determined according to the position information. When a user clicks a specific commodity object in the collocation image, the click operation can be sensed, and the user jumps to a receiving page corresponding to the commodity object, for example, a detailed page of the commodity object, and the like.
In short, according to the embodiment of the application, the automatic batch production of the collocation images can be realized in a mode of generating the design template in advance. Wherein, to the design template, except can designing a plurality of resource position wherein, determining the position of resource position in the design template, can also mark the resource position in the template, specific mark information can be used for with material type that a plurality of resource position are correlated marks to divide a plurality of resource position into a plurality of resource bit groups, a plurality of resource positions in the same resource bit group are used for showing the polytype material that same commodity object corresponds. The design template can then be used for automated batch generation of collocated images. Specifically, a target design template, a target commodity object set, and commodity object selection rules corresponding to the plurality of resource bit groups, which are required to be used, may be determined, and then, a plurality of commodity object groups may be determined according to the target commodity object set and the commodity object selection rule information, so that a plurality of matching images are generated by filling a plurality of types of materials associated with each commodity object in the plurality of commodity object groups into the resource bit corresponding to the target design template. In this way, more efficient generation of the collocated image can be achieved.
In addition, because the operation hot spot region corresponding to each commodity object can be determined directly according to the position information of each resource position in the target design template, the operation of manually drawing the hot spot region is not required to be executed.
For a multi-language delivery scene, only image part collocation content in a collocation image can be generated when a collocation task is executed, and regarding the collocation content of a text part, when the collocation image is specifically delivered to a target page and the target page is accessed by a specific target user, a corresponding text material is determined according to a target language required by the target user and then rendered to a corresponding position in the collocation image.
Example two
The second embodiment provides a method for processing a design template of a collocation image for a resource bit labeling tool of the design template, and referring to fig. 7, the method may include:
s701: providing an operation interface for marking the resource bits in the design template;
s702: after receiving a labeling request for a target design template, determining identifiers of a plurality of resource bits associated with the target design template;
s703: providing operation controls for labeling the plurality of resource bits respectively, wherein the operation controls comprise at least one operation control for labeling the material types associated with the resource bits;
s704: according to the access of the operation control, marking the material type associated with the resource position, or marking the main node associated with the resource position; wherein, a plurality of resource bits of the same commodity object are marked as the same main node to be used as the resource bit group identification; the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object.
EXAMPLE III
The third embodiment provides a page display method from the perspective of front-end page display for a multi-language delivery scenario, and referring to fig. 8, the method may include:
s801: after receiving a display request of a target user for a target page, acquiring page data, wherein the page data comprises information of a target collocation image, and the information of the target collocation image comprises image part collocation content in the target collocation image and position information to be filled of a text material in the collocation image;
s802: acquiring text material examples of the plurality of commodity objects in the target language according to the target language associated with the target user;
s803: and generating text part collocation content of the target collocation image according to the text material example, and filling the text part collocation content into the target collocation image according to the position information.
For the parts of the second and third embodiments that are not described in detail, reference may be made to the description of the first embodiment, which is not described herein again.
It should be noted that, in the embodiments of the present application, the user data may be used, and in practical applications, the user-specific personal data may be used in the scheme described herein within the scope permitted by the applicable law, under the condition of meeting the requirements of the applicable law and regulations in the country (for example, the user explicitly agrees, the user is informed, etc.).
Corresponding to the first embodiment, an embodiment of the present application further provides an apparatus for generating a collocation image, and referring to fig. 9, the apparatus may include:
a target design template determining unit 901, configured to determine a target design template after receiving a task of generating a collocation image, where the target design template includes multiple resource bits, and the resource bits are respectively associated with tagging information, where the tagging information includes a material type corresponding to the resource bits and an identifier of a resource bit group to which the resource bit group belongs, and a same resource bit group is used to display multiple types of materials corresponding to a same commodity object;
a commodity object set and selection rule determining unit 902, configured to determine a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group;
a commodity object group determining unit 903, configured to determine a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information, where a plurality of commodity objects in the same commodity object group have a matching usage relationship;
a matching image generating unit 904, configured to fill the material associated with the plurality of commodity objects in the plurality of commodity object groups into the resource positions corresponding to the target design template, so as to generate a plurality of matching images.
The target design template also comprises the position information of the resource bit in the target design template;
the device further comprises:
and the hot spot area determining unit is used for filling the material related to the commodity object into the corresponding resource position in the target design template, and then determining the operation hot spot area corresponding to the commodity object according to the position information of the resource position in the target design template.
The generated collocation image is used for displaying in a multi-language page;
the material types comprise picture types and text types;
the collocated image generation unit may be specifically configured to:
when the task of generating the collocation images is executed, filling picture material examples of a plurality of commodity objects in the commodity object group into resource positions corresponding to the target design template to generate image part collocation contents in the collocation images;
the device further comprises:
and the text position information providing unit is used for determining the position information of the resource positions of the text material types indicated by the marking information in the target design template when the multiple collocation images are delivered to a target page and the target collocation images are displayed to a target user, and providing the position information to the client so that the client can obtain the text material examples of the multiple commodity objects in the target language associated with the target user to generate the text part collocation content of the target collocation images and fill the text part collocation content in the target collocation images according to the position information for displaying.
In addition, the apparatus may further include:
and the auditing unit is used for generating image part collocation contents in the collocation images and then providing the image part collocation contents for the manual auditing client to audit.
Furthermore, the apparatus may further include:
the operation interface providing unit is used for providing an operation interface for marking the resource bits in the design template;
the operation control providing unit is used for determining a plurality of resource bits related to the target design template after receiving a labeling request for the target design template, and providing at least one operation control for labeling the resource bits respectively;
the marking unit is used for marking the material type associated with the resource location or marking the main node associated with the resource location according to the access to the operation control; and marking a plurality of resource bits of the same commodity object as the same main node to serve as the resource bit group identifier.
The target commodity object set comprises a plurality of commodity object subsets, and commodity objects of different commodity object subsets have a matching use relationship;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the resource bit groups respectively correspond to commodity object subset information so as to select commodity objects for the resource bit groups from the corresponding commodity object subsets and form a commodity object combination.
Specifically, a plurality of commodity object subsets in the target commodity object set correspond to different ID identification information respectively;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups includes: and the ID identification information of the commodity object subsets corresponding to the resource bit groups respectively, so that the commodity objects are selected for the resource bit groups from the commodity object subsets corresponding to the ID identification information.
Or the target commodity object set comprises commodity objects associated with category identification information
The commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the category identification information corresponding to the resource bit groups respectively is used for selecting the commodity object for the resource bit groups from a subset consisting of the commodity objects corresponding to the category identification in the target commodity object set.
Corresponding to the second embodiment, the embodiment of the present application further provides a device for processing a matching image design template, and referring to fig. 10, the device may include:
an operation interface providing unit 1001, configured to provide an operation interface for labeling resource bits in a design template;
a resource bit identifier determining unit 1002, configured to determine identifiers of multiple resource bits associated with a target design template after receiving a tagging request for the target design template;
an operation control providing unit 1003, configured to provide at least one operation control labeling the plurality of resource bits respectively;
a labeling unit 1004, configured to label, according to the access to the operation control, a material type associated with a resource location, or label a master node associated with the resource location; wherein, a plurality of resource bits of the same commodity object are marked as the same main node to be used as the resource bit group identifier; the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object
Corresponding to the third embodiment, the present application further provides a page displaying apparatus, which may include, referring to fig. 11:
the page data acquiring unit 1101 is configured to acquire page data after receiving a display request of a target user for a target page, where the page data includes information of a target matching image, and the information of the target matching image includes image part matching content in the target matching image and position information to be filled of a text material in the matching image;
a text material obtaining unit 1102, configured to obtain, according to a target language associated with the target user, text material instances of the multiple commodity objects in the target language;
a text content filling unit 1103, configured to generate a text portion matching content of the target matching image according to the text material example, and fill the text portion matching content into the target matching image according to the position information.
In addition, the present application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method described in any of the preceding method embodiments.
And an electronic device comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of the preceding method embodiments.
Fig. 12 illustrates an architecture of an electronic device, which may include, in particular, a processor 1210, a video display adapter 1211, a disk drive 1212, an input/output interface 1213, a network interface 1214, and a memory 1220. The processor 1210, video display adapter 1211, disk drive 1212, input/output interface 1213, network interface 1214, and memory 1220 may be communicatively coupled via a communication bus 1230.
The processor 1210 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided by the present Application.
The Memory 1220 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1220 may store an operating system 1221 for controlling the operation of the electronic device 1200, a Basic Input Output System (BIOS) for controlling low-level operations of the electronic device 1200. In addition, a web browser 1223, a data storage management system 1224, a collocation image generation system 1225, and the like may also be stored. The collocated image generating system 1225 may be an application program that implements the operations of the foregoing steps in this embodiment of the application. In summary, when the technical solution provided in the present application is implemented by software or firmware, the relevant program codes are stored in the memory 1220 and called for execution by the processor 1210.
The input/output interface 1213 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
The network interface 1214 is used for connecting a communication module (not shown in the figure) to enable the device to communicate with other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1230 includes a path that transfers information between various components of the device, such as processor 1210, video display adapter 1211, disk drive 1212, input/output interface 1213, network interface 1214, and memory 1220.
It should be noted that although the above-mentioned devices only show the processor 1210, the video display adapter 1211, the disk drive 1212, the input/output interface 1213, the network interface 1214, the memory 1220, the bus 1230 and the like, in a specific implementation, the device may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be substantially or partially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are all described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method for generating a matching image and the electronic device provided by the present application are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help explain the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.

Claims (12)

1. A method of generating a collocated image, comprising:
after a task of generating a collocation image is received, determining a target design template, wherein the target design template comprises a plurality of resource bits, the resource bits are respectively associated with marking information, the marking information comprises material types corresponding to the resource bits and identifiers of resource bit groups, and the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object;
determining a target commodity object set selected by a user and commodity object selection rule information set for the resource bit group;
determining a plurality of commodity object groups from the target commodity object set according to the commodity object selection rule information, wherein a plurality of commodity objects in the same commodity object group have a matching use relationship;
and filling materials related to the plurality of commodity objects in the plurality of commodity object groups into resource positions corresponding to the target design template to generate a plurality of matching images.
2. The method of claim 1,
the target design template also comprises the position information of the resource bit in the target design template;
the method further comprises the following steps:
and after filling the material associated with the commodity object into the corresponding resource position in the target design template, determining an operation hot spot area corresponding to the commodity object according to the position information of the resource position in the target design template.
3. The method of claim 1,
the generated collocation image is used for displaying in a multi-language page;
the material types comprise picture types and text types;
the generating a plurality of collocated images comprises:
when the task of generating the collocation images is executed, filling picture material examples of a plurality of commodity objects in the commodity object group into resource positions corresponding to the target design template to generate image part collocation contents in the collocation images;
the method further comprises the following steps:
when the multiple collocation images are delivered to a target page and displayed to a target user, the position information of the resource position of the text material type indicated by the marking information in the target design template is determined and provided for a client, so that the client can obtain the text material examples of the multiple commodity objects in the target language associated with the target user to generate the text part collocation content of the target collocation image and fill the text part collocation content in the target collocation image according to the position information for displaying.
4. The method of claim 3, further comprising:
and after generating the image part collocation content in the collocation images, providing the generated image part collocation content for a manual auditing client to audit.
5. The method of any of claims 1 to 4, further comprising, prior to the method:
providing an operation interface for marking the resource bits in the design template;
after receiving a labeling request for a target design template, determining a plurality of resource bits associated with the target design template, and providing at least one operation control for labeling the plurality of resource bits respectively;
according to the access of the operation control, marking the material type associated with the resource position, or marking the main node associated with the resource position; and marking a plurality of resource bits of the same commodity object as the same main node to serve as the resource bit group identifier.
6. The method according to any one of claims 1 to 4,
the target commodity object set comprises a plurality of commodity object subsets, and commodity objects of different commodity object subsets have a collocation and use relationship;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the resource bit groups respectively correspond to commodity object subset information so as to select commodity objects for the resource bit groups from the corresponding commodity object subsets and form a commodity object combination.
7. The method of claim 6,
a plurality of commodity object subsets in the target commodity object set respectively correspond to different ID identification information;
the commodity object selection rule information respectively corresponding to the plurality of resource bit groups includes: and the ID identification information of the commodity object subsets corresponding to the resource bit groups respectively, so that the commodity objects are selected for the resource bit groups from the commodity object subsets corresponding to the ID identification information.
8. The method of claim 6,
the target commodity object set comprises commodity object associated with category identification information
The commodity object selection rule information respectively corresponding to the plurality of resource bit groups comprises: and the resource bit groups respectively correspond to category identification information so as to select commodity objects for the resource bit groups from a subset consisting of commodity objects corresponding to the category identifications in the target commodity object set.
9. A processing method for matching an image design template is characterized by comprising the following steps:
providing an operation interface for marking the resource bits in the design template;
after receiving a labeling request for a target design template, determining identifiers of a plurality of resource bits associated with the target design template;
providing at least one operation control for labeling the plurality of resource bits respectively;
according to the access of the operation control, marking the material type associated with the resource position, or marking the main node associated with the resource position; wherein, a plurality of resource bits of the same commodity object are marked as the same main node to be used as the resource bit group identifier; the same resource bit group is used for displaying multiple types of materials corresponding to the same commodity object.
10. A page display method is characterized by comprising the following steps:
after receiving a display request of a target user for a target page, acquiring page data, wherein the page data comprises information of a target collocation image, and the information of the target collocation image comprises image part collocation content in the target collocation image and position information to be filled of a text material in the collocation image;
acquiring text material examples of the plurality of commodity objects in the target language according to the target language associated with the target user;
and generating the text part collocation content of the target collocation image according to the text material example, and filling the text part collocation content into the target collocation image according to the position information.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
12. An electronic device, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of claims 1 to 10.
CN202111154933.2A 2021-09-29 2021-09-29 Method for generating collocation image and electronic equipment Pending CN114419194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111154933.2A CN114419194A (en) 2021-09-29 2021-09-29 Method for generating collocation image and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111154933.2A CN114419194A (en) 2021-09-29 2021-09-29 Method for generating collocation image and electronic equipment

Publications (1)

Publication Number Publication Date
CN114419194A true CN114419194A (en) 2022-04-29

Family

ID=81260682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111154933.2A Pending CN114419194A (en) 2021-09-29 2021-09-29 Method for generating collocation image and electronic equipment

Country Status (1)

Country Link
CN (1) CN114419194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464269A (en) * 2016-06-02 2017-12-12 阿里巴巴集团控股有限公司 Arranging effect map generalization method, apparatus and system
CN108961362A (en) * 2017-05-27 2018-12-07 阿里巴巴集团控股有限公司 A kind of generation method and device of network picture
CN110428310A (en) * 2019-08-08 2019-11-08 上海白纳电子商务有限公司 A kind of generation method and device of commodity details page
CN110598017A (en) * 2019-08-29 2019-12-20 杭州光云科技股份有限公司 Self-learning-based commodity detail page generation method
CN110941784A (en) * 2019-11-13 2020-03-31 北京三快在线科技有限公司 Page generation method and device
CN112862558A (en) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 Method and system for generating product detail page and data processing method
CN113010062A (en) * 2021-03-18 2021-06-22 阿里巴巴新加坡控股有限公司 Method and device for generating design scheme and electronic equipment
CN113298592A (en) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 Commodity object information display method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464269A (en) * 2016-06-02 2017-12-12 阿里巴巴集团控股有限公司 Arranging effect map generalization method, apparatus and system
CN108961362A (en) * 2017-05-27 2018-12-07 阿里巴巴集团控股有限公司 A kind of generation method and device of network picture
CN110428310A (en) * 2019-08-08 2019-11-08 上海白纳电子商务有限公司 A kind of generation method and device of commodity details page
CN110598017A (en) * 2019-08-29 2019-12-20 杭州光云科技股份有限公司 Self-learning-based commodity detail page generation method
CN110941784A (en) * 2019-11-13 2020-03-31 北京三快在线科技有限公司 Page generation method and device
CN112862558A (en) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 Method and system for generating product detail page and data processing method
CN113298592A (en) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 Commodity object information display method and device and electronic equipment
CN113010062A (en) * 2021-03-18 2021-06-22 阿里巴巴新加坡控股有限公司 Method and device for generating design scheme and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
AU2020203136C1 (en) System and method for the generation of an adaptive user interface in a website building system
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN109408764B (en) Page area dividing method, device, computing equipment and medium
JP2019512816A (en) Method and apparatus for arranging page resources
CN102609256B (en) A kind of Dynamic Graph table generating method based on webpage
CN109308729B (en) Picture synthesis processing method, device and system
KR20090056506A (en) Rich content creation system and method thereof, and media that can record computer program for method thereof
RU2007141919A (en) SYSTEM AND METHOD FOR PROCESSING MULTIMEDIA COMMUNICATION INFORMATION PRODUCTS
CN111580788B (en) Template collocation information recommendation method and device and electronic equipment
CN104679906A (en) Method and system for generating links by utilizing pictures
CN111178023A (en) Visual self-defined report design system
CN111414166A (en) Code generation method, device, equipment and storage medium
CN110515606B (en) Block-based component development method
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN111124533A (en) Method and device for dynamic configuration of active page
CN106952114A (en) A kind of advertisement editing customized method, device and advertisement editing machine
US10558745B2 (en) Information processing apparatus and non-transitory computer readable medium
CN108021629B (en) Method, device and system for generating advertisement material data
TWI505205B (en) Feedback system, feedback method and recording media thereof
CN114419194A (en) Method for generating collocation image and electronic equipment
CN114332439A (en) Three-dimensional data editing and generating system
CN111367514A (en) Page card development method and device, computing device and storage medium
CN117032666A (en) Page editing method and device based on editor, terminal equipment and storage medium
KR101602940B1 (en) Site management method and system for supporting production of mobile site using component structure
CN104267967A (en) Method and device for generating program codes of software

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220923

Address after: No. 699, Wangshang Road, Binjiang District, Hangzhou City, Zhejiang Province, 310052

Applicant after: Alibaba (China) Network Technology Co.,Ltd.

Address before: 310000 room 508, 5th floor, building 4, No.699 Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Alibaba (China) Co.,Ltd.