Image element generation method and device, storage medium and electronic device

By retrieving image elements from a target database, setting visual feature labels, and calculating click frequency, image elements that meet user preferences and design requirements are generated, solving the problem of low efficiency in image element generation in visual design and improving communication efficiency.

CN116109736BActive Publication Date: 2026-11-24吉林亿联银行股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310187622.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2026-11-24
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

In visual design, communication barriers between designers and users lead to low efficiency in generating image elements, repeated revisions of design schemes, and companies' reliance on external advertising agencies or design teams, resulting in low communication efficiency.

Method used

By retrieving image elements from the target database, classifying them by setting visual feature labels, calculating click frequency, generating target visual types, and generating image elements based on user preferences and design requirements.

Benefits of technology

It improves the efficiency of image element generation, enhances communication efficiency between designers and clients, and reduces ineffective communication time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116109736B_ABST
    Figure CN116109736B_ABST
Patent Text Reader

Abstract

The application discloses an image element generation method and device, a storage medium and an electronic device. The method comprises the following steps: acquiring a plurality of image elements from a target database, and determining the click frequency of each image element within a preset time period; setting at least one visual feature label for each image element, and classifying all the image elements according to the at least one visual feature label to obtain a plurality of image element sets; calculating the cumulative click frequency of all the image elements in each image element set, arranging the image element sets under each visual feature label in descending order of the cumulative click frequency to obtain at least one image element set sequence, combining the at least one image element set sequence to obtain a target sequence, determining a target visual type from the target sequence, acquiring the image element design requirement of a target customer, and generating a target image element based on the image element design requirement and the target visual type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of visual design, and more specifically, to a method, apparatus, storage medium, and electronic device for generating image elements. Background Technology

[0002] In visual design, design solutions are often influenced by subjective factors, leading to communication barriers between designers and users. This results in designers repeatedly revising designs without understanding the user's true needs. For example, users may not pay attention to images that companies invest heavily in for website banners. Before launching print ads, companies often lack a clear understanding of image design and its effectiveness, resulting in inefficient communication between image designers and companies. In related technologies, most companies rely on external advertising agencies or design teams to complete the final image design and deployment. However, due to communication timeliness issues, the efficiency of generating the necessary image elements for the company is low.

[0003] There is currently no effective solution to the problem of low efficiency in generating image elements in related technologies. Summary of the Invention

[0004] The main objective of this application is to provide an image element generation method, apparatus, storage medium, and electronic device to solve the problem of low image element generation efficiency in related technologies.

[0005] To achieve the above objectives, according to one aspect of this application, an image element generation method is provided. The method includes: acquiring multiple image elements from a target database and determining the click frequency of each image element within a preset time period, wherein the target database contains image elements from multiple websites or applications; assigning at least one visual feature label to each image element and classifying all image elements according to the at least one visual feature label to obtain multiple image element sets, wherein each image element set contains at least one visual feature of the same type; calculating the cumulative click frequency of all image elements in each image element set, arranging the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combining the at least one image element set sequence to obtain a target sequence; determining a target visual type from the target sequence and obtaining the image element design requirements of the target customer; and generating target image elements based on the image element design requirements and the target visual type.

[0006] Optionally, setting at least one visual feature label for each image element includes: determining a visual feature label for each image element, wherein the visual feature label includes at least one of the following: tone type label, contrast type label, vibrancy type label, style type label, and mood type label.

[0007] Optionally, calculating the cumulative click frequency of all image elements in each image element set and arranging the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence includes: calculating the sum of the click frequencies of all image elements in each image element set to obtain the cumulative click frequency of the image element set; and arranging the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence.

[0008] Optionally, obtaining the image element design requirements of the target customer includes: obtaining the page type, page user type, and page source of the page to which the target image element to be generated belongs, wherein the page source is the website or application to which the page belongs; determining whether a historical image element set corresponding to the page source exists in the target database; if no historical image element set exists in the target database, determining the page type and page user type as the image element design requirements; if a historical image element set exists in the target database, obtaining the historical target sequence of the historical image element set; and determining the page type, page user type, and historical target sequence as the image element design requirements.

[0009] Optionally, obtaining the historical target sequence of the historical image element set includes: determining the visual feature label of each historical image element in the historical image element set; classifying all historical image elements in the historical image element set according to the visual feature label to obtain multiple target historical image element sets; calculating the cumulative click frequency of each target historical image element set; arranging the target historical image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one historical image element set sequence; and combining at least one historical image element set sequence to obtain the historical target sequence.

[0010] Optionally, generating target image elements based on image element design requirements and target visual types includes: determining the range of visual feature types limited by the page type and determining the preferred visual feature types of the page user type; in the case that there is no historical image element set in the target database, determining the first target visual feature type ranked first under each visual feature tag in the target sequence; generating target image elements based on the range of visual feature types, preferred visual feature types, and the first target visual feature type; in the case that there is a historical image element set in the target database, determining the second target visual feature type ranked first under each visual feature tag in the historical target sequence; and generating target image elements based on the range of visual feature types, preferred visual feature types, and the second target visual feature type.

[0011] Optionally, determining the preferred visual feature type of the page user type includes: obtaining the user type associated with each click event of each image element to obtain multiple user types, wherein the multiple user types include the page user type; determining the target image element set associated with the page user type; determining the visual feature type of the image element with the highest click frequency in the target image element set, and determining the visual feature type as the preferred visual feature type.

[0012] To achieve the above objectives, according to another aspect of this application, an image element generation apparatus is provided. The apparatus includes: an acquisition unit, configured to acquire multiple image elements from a target database and determine the click frequency of each image element within a preset time period, wherein the target database contains image elements from multiple websites or applications; a setting unit, configured to set at least one visual feature label for each image element and classify all image elements according to the at least one visual feature label to obtain multiple image element sets, wherein each image element set has at least one visual feature of the same type; a calculation unit, configured to calculate the cumulative click frequency of all image elements in each image element set, arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combine the at least one image element set sequence to obtain a target sequence; a determination unit, configured to determine a target visual type from the target sequence and acquire the image element design requirements of the target customer; and a generation unit, configured to generate target image elements based on the image element design requirements and the target visual type.

[0013] This application employs the following steps: First, multiple image elements are retrieved from a target database, and the click frequency of each image element within a preset time period is determined. The target database contains image elements from multiple websites or applications. Second, at least one visual feature label is assigned to each image element, and all image elements are classified based on this label to obtain multiple image element sets. Each image element set contains at least one visual feature of the same type. Third, the cumulative click frequency of all image elements in each set is calculated. The image element sets under each visual feature label are then arranged in descending order of cumulative click frequency to obtain at least one image element set sequence. This sequence is then combined to obtain a target sequence. Fourth, a target visual type is determined from the target sequence, and the image element design requirements of the target client are obtained. Fifth, target image elements are generated based on the image element design requirements and the target visual type, thus solving the problem of low image element generation efficiency in related technologies. By filtering user-preferred target visual types from the target database, the communication efficiency between image element designers and clients is improved, thereby increasing the efficiency of image element generation. Attached Figure Description

[0014] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0015] Figure 1 This is a flowchart of an image element generation method provided according to an embodiment of this application;

[0016] Figure 2 This is a flowchart of a method for obtaining image element design requirements according to an embodiment of this application;

[0017] Figure 3 This is a schematic diagram of an image element generation apparatus provided according to an embodiment of this application;

[0018] Figure 4 This is a schematic diagram of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0019] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0022] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0023] The present invention will now be described in conjunction with preferred implementation steps. Figure 1 This is a flowchart of an image element generation method provided according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:

[0024] Step S101: Obtain multiple image elements from the target database and determine the click frequency of each image element within a preset time period. The target database contains image elements from multiple websites or applications.

[0025] Specifically, the target database can be a database of a company or advertising design firm, with a preset time period of one month. Click frequency refers to the number of times an image element is clicked by a user on a webpage. This is achieved by scraping all image elements from the target database within the company's websites or applications, such as images, animations, and advertisements appearing on each webpage. Image elements of the company's products and competitors' products from websites or applications that primarily collaborate with the company are also retrieved. User behavior data for each obtained image element is analyzed to determine the click frequency of each image element within the preset time period.

[0026] Step S102: Set at least one visual feature label for each image element, and classify all image elements according to at least one visual feature label to obtain multiple image element sets, wherein each image element set has at least one visual feature of the same type.

[0027] Specifically, visual feature labels are labels obtained by classifying image elements based on their attributes. For example, image A might have the attributes of cool color tone, 50% contrast, 70% brightness, minimalist style, and festive mood. Each type of visual feature is grouped into a separate category. For instance, all image elements with cool color tone are grouped into one set, all image elements with 50% contrast are grouped into another set, all image elements with 70% brightness are grouped into another set, all minimalist style image elements are grouped into another set, and all image elements with festive moods are grouped into another set.

[0028] Step S103: Calculate the cumulative click frequency of all image elements in each image element set, arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combine at least one image element set sequence to obtain the target sequence.

[0029] For example, a set of cool-toned image elements contains three image elements, with click frequencies of 3, 5, and 7 times respectively. The total click frequency of the cool-toned image element set is 3 + 5 + 7 = 15 times. Each visual feature label may contain multiple image element sets. For instance, the tone type label may include cool-toned and warm-toned image element sets. The cumulative click frequency of the cool-toned image element set is 15 times, and the cumulative click frequency of the warm-toned image element set is 20 times. Therefore, the image element set sequence under the tone type label is the warm-toned image element set and the cool-toned image element set. Combining the image element set sequences under each visual feature label yields the target sequence.

[0030] Step S104: Determine the target visual type from the target sequence and obtain the image element design requirements of the target customer.

[0031] Specifically, the user's preferred visual feature type can be obtained based on the cumulative click frequency. The higher the click frequency, the more easily the user is attracted to image elements of that visual feature type. Therefore, the visual feature type corresponding to the first-ranked image element set under each visual feature label in the target sequence is determined as the target visual type. Since the target customer has some personalized requirements for the image elements to be designed, it is necessary to obtain the target customer's image element design requirements.

[0032] Step S105: Generate target image elements based on image element design requirements and target visual type.

[0033] Specifically, the target visual feature type is used as a reference, and the target image elements that meet the target customer's requirements are designed and generated in combination with the target customer's image element design requirements.

[0034] The image element generation method provided in this application obtains multiple image elements from a target database and determines the click frequency of each image element within a preset time period. The target database contains image elements from multiple websites or applications. At least one visual feature label is assigned to each image element, and all image elements are classified according to this label to obtain multiple image element sets. Each image element set contains at least one visual feature of the same type. The cumulative click frequency of all image elements in each set is calculated. The image element sets under each visual feature label are arranged in descending order of cumulative click frequency to obtain at least one image element set sequence. These sequences are then combined to obtain a target sequence. A target visual type is determined from the target sequence, and the image element design requirements of the target customer are obtained. Target image elements are generated based on the image element design requirements and the target visual type, thus solving the problem of low image element generation efficiency in related technologies. By filtering user-preferred target visual types from the target database, the communication efficiency between image element designers and customers is improved, thereby increasing the efficiency of image element generation.

[0035] Optionally, in the image element generation method provided in the embodiments of this application, setting at least one visual feature label for each image element includes: determining the visual feature label for each image element, wherein the visual feature label includes at least one of the following: tone type label, contrast type label, vibrancy type label, style type label, and mood type label.

[0036] Specifically, image elements are tagged with multi-dimensional labels, such as tone type, contrast type, vibrancy type, style type, and mood type. Tone type can be categorized into cool and warm tones; contrast type can be categorized into contrast ratios below 30%, 30% to 60%, 60% to 90%, and above 90%; vibrancy type can be categorized into brightness below 50% and brightness above 50%. Style type can be categorized into minimalist, fashionable, fresh, and artistic styles. Mood type can be categorized into festive, melancholic, and sad styles. Further analysis of user preferences for different visual feature types is achieved by setting visual feature labels.

[0037] After determining the cumulative click frequency of each image element set, the image element sets under different visual feature labels are sorted. Optionally, in the image element generation method provided in this application embodiment, calculating the cumulative click frequency of all image elements in each image element set and arranging the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence includes: calculating the sum of the click frequencies of all image elements in each image element set to obtain the cumulative click frequency of the image element set; and arranging the image element sets in descending order of cumulative click frequency under a visual feature label to obtain at least one image element set sequence.

[0038] For example, a minimalist image element set contains 5 image elements, each with click frequencies of 5, 5, 3, 9, and 7 times respectively. The total click frequency for the minimalist image element set is 5 + 5 + 3 + 9 + 7 = 29 times. If the total click frequency for the minimalist image element set is 29, the total click frequency for the fashionable image element set is 20, the total click frequency for the fresh image element set is 40, and the total click frequency for the artistic image element set is 5, then the image element set sequence under the style type label is: Fresh, Minimalist, Fashionable, and Artistic. By determining the image element set sequence under each visual feature label, the most popular visual feature type can be selected.

[0039] When generating image elements, in addition to considering the general preferences of most users, it is also necessary to consider the personalized needs of users. Optionally, in the image element generation method provided in the embodiments of this application, Figure 2 This is a flowchart of the method for obtaining image element design requirements according to the embodiments of this application, such as... Figure 2 As shown, obtaining the image element design requirements of the target customer includes: Step S201, obtaining the page type, page user type, and page source of the page to which the target image element to be generated by the target customer belongs, wherein the page source is the website or application to which the page belongs; Step S202, determining whether there is a historical image element set corresponding to the page source in the target database; Step S203, if there is no historical image element set in the target database, determining the page type and page user type as the image element design requirements; Step S204, if there is a historical image element set in the target database, obtaining the historical target sequence of the historical image element set; Step S205, determining the page type, page user type, and historical target sequence as the image element design requirements.

[0040] Specifically, the page type can be the type of page on which the user wants to place the image element they want to design. For example, the target image element to be generated might ultimately be placed on an event page of a financial institution. The page user type refers to the type of customers the target image element is intended for. For example, an event page might be aimed at the financial institution's customers, while a page within the financial institution's internal system might be aimed at programmers. The page source is the website or application to which the webpage where the target image element is ultimately placed belongs. In other words, the target customers for this image element generation task are determined by the page source. When receiving specific design instructions for the image element, the image element design requirements are determined based on whether there is historical image element data related to the target customers in the target database. If a historical image element set of the target customers exists in the target database, the target visual feature type is filtered based on the historical image element set, and the historical target sequence is used as an image element design requirement. If there is no historical image element set of the target customers in the target database, the historical target sequence is not considered as an image element design requirement. By determining the image element design requirements, a reference is provided for generating the target image element.

[0041] In the case where a set of historical image elements exists in the target database, a historical target sequence based on the set of historical image elements is determined. Optionally, in the image element generation method provided in this application embodiment, obtaining the historical target sequence of the set of historical image elements includes: determining the visual feature label of each historical image element in the set of historical image elements; classifying all historical image elements in the set of historical image elements according to the visual feature labels to obtain multiple target historical image element sets; calculating the cumulative click frequency of each target historical image element set; arranging the target historical image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one historical image element set sequence; and combining at least one historical image element set sequence to obtain a historical target sequence.

[0042] Specifically, if a set of historical image elements of the target customer exists in the target database, the image elements in the historical image element set are reclassified according to visual feature type to obtain multiple target historical image element sets. That is, only image elements related to the target customer are counted. Then, the cumulative click frequency of each target historical image element set is calculated, and the target historical image element sets under each visual feature label are arranged in descending order of cumulative click frequency to obtain the historical target sequence.

[0043] Optionally, in the image element generation method provided in this application embodiment, generating target image elements based on image element design requirements and target visual types includes: determining the range of visual feature types limited by the page type, and determining the preferred visual feature types of the page user type; in the case that there is no historical image element set in the target database, determining the first target visual feature type ranked first under each visual feature tag in the target sequence; generating target image elements based on the range of visual feature types, the preferred visual feature type, and the first target visual feature type; in the case that there is a historical image element set in the target database, determining the second target visual feature type ranked first under each visual feature tag in the historical target sequence; and generating target image elements based on the range of visual feature types, the preferred visual feature type, and the second target visual feature type.

[0044] Specifically, different page types have different ranges of usable visual feature types. For example, event pages may limit target image elements to festive images, while transaction pages may restrict them to a minimalist style. Different page users have their own preferred visual feature types. For instance, financial institution customers prefer clean and refreshing image elements, while programmers prefer minimalist ones. The design and generation of target image elements takes into account the range of visual feature types limited by the page type, the preferred visual feature types of page users, and statistically analyzed primary or secondary target visual feature types applicable to the general public. This comprehensive approach to image element design, considering both design requirements and target visual types, saves designers and clients time on ineffective communication and improves the efficiency of image element generation.

[0045] Optionally, in the image element generation method provided in this application embodiment, determining the preferred visual feature type of the page user type includes: obtaining the user type associated with each click event of each image element to obtain multiple user types, wherein the multiple user types include the page user type; determining the target image element set associated with the page user type; determining the visual feature type of the image element with the highest click frequency in the target image element set, and determining the visual feature type as the preferred visual feature type.

[0046] Specifically, since the click frequency of each image element may originate from multiple user types, a target image element set is constructed by filtering image elements clicked by all page user types. Only the effective click frequency of each image element in this target image element set is counted; that is, only the number of times page users clicked on image elements is calculated. The image element with the highest effective click frequency in the target image element set is then selected, and its visual feature type is used as the preferred visual feature type. By determining the preferred visual feature type, the generation of target image elements can comprehensively consider this preferred visual feature type, making the target image elements more aligned with customer needs.

[0047] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0048] This application also provides an image element generation apparatus. It should be noted that the image element generation apparatus of this application can be used to execute the image element generation method provided in this application. The image element generation apparatus provided in this application will be described below.

[0049] Figure 3 This is a schematic diagram of an image element generation apparatus provided according to an embodiment of this application. For example... Figure 3 As shown, the device includes:

[0050] The acquisition unit 10 is used to acquire multiple image elements from the target database and determine the click frequency of each image element within a preset time period, wherein the target database contains image elements from multiple websites or applications;

[0051] Setting unit 20 is used to set at least one visual feature label for each image element, and classify all image elements according to at least one visual feature label to obtain multiple image element sets, wherein each image element set has at least one visual feature of the same type;

[0052] The calculation unit 30 is used to calculate the cumulative click frequency of all image elements in each image element set, arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combine at least one image element set sequence to obtain the target sequence.

[0053] The determining unit 40 is used to determine the target visual type from the target sequence and obtain the image element design requirements of the target customer;

[0054] The generation unit 50 is used to generate target image elements based on image element design requirements and target visual type.

[0055] The image element generation apparatus provided in this application embodiment acquires multiple image elements from a target database through an acquisition unit 10 and determines the click frequency of each image element within a preset time period. The target database contains image elements from multiple websites or applications. A setting unit 20 sets at least one visual feature label for each image element and classifies all image elements according to the at least one visual feature label to obtain multiple image element sets. Each image element set has at least one visual feature of the same type. A calculation unit 30 calculates the cumulative click frequency of all image elements in each image element set, arranges the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combines the at least one image element set sequence to obtain a target sequence. A determination unit 40 determines the target visual type from the target sequence and obtains the image element design requirements of the target customer. A generation unit 50 generates target image elements based on the image element design requirements and the target visual type. This solves the problem of low image element generation efficiency in related technologies. By filtering the target visual type preferred by the user from the target database, it improves the communication efficiency between image element designers and customers, thereby achieving the effect of improving image element generation efficiency.

[0056] Optionally, in the image element generation apparatus provided in this application embodiment, the setting unit 20 includes: a first determining module, used to determine the visual feature label of each image element, wherein the visual feature label includes at least one of the following: tone type label, contrast type label, vibrancy type label, style type label and mood type label.

[0057] Optionally, in the image element generation apparatus provided in the embodiments of this application, the calculation unit 30 includes: a calculation module, used to calculate the sum of the click frequencies of all image elements in each image element set to obtain the cumulative click frequency of the image element set; and an arrangement module, used to arrange the image element sets in descending order according to the cumulative click frequencies of all image element sets under a visual feature label to obtain at least one image element set sequence.

[0058] Optionally, in the image element generation apparatus provided in this application embodiment, the determining unit 40 includes: a first acquisition module, used to acquire the page type, page user type, and page source of the page to which the target image element to be generated by the target customer belongs, wherein the page source is the website to which the page belongs or the application to which the page belongs; a judging module, used to judge whether there is a historical image element set corresponding to the page source in the target database; a second determining module, used to determine the page type and page user type as image element design requirements when there is no historical image element set in the target database; a second acquisition module, used to acquire the historical target sequence of the historical image element set when there is a historical image element set in the target database; and a third determining module, used to determine the page type, page user type, and historical target sequence as image element design requirements.

[0059] Optionally, in the image element generation apparatus provided in this application embodiment, the second acquisition module includes: a first determining submodule, used to determine the visual feature label of each historical image element in the historical image element set; a classification submodule, used to classify all historical image elements in the historical image element set according to the visual feature label to obtain multiple target historical image element sets; and a calculation submodule, used to calculate the cumulative click frequency of each target historical image element set, arrange the target historical image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one historical image element set sequence, and combine the at least one historical image element set sequence to obtain a historical target sequence.

[0060] Optionally, in the image element generation apparatus provided in this application embodiment, the generation unit 50 includes: a fourth determining module, used to determine the range of visual feature types limited by the page type and to determine the preferred visual feature type of the page user type; a fifth determining module, used to determine the first target visual feature type ranked first under each visual feature tag in the target sequence when there is no historical image element set in the target database; a first generation module, used to generate target image elements based on the range of visual feature types, the preferred visual feature type, and the first target visual feature type; a sixth determining module, used to determine the second target visual feature type ranked first under each visual feature tag in the historical target sequence when there is a historical image element set in the target database; and a second generation module, used to generate target image elements based on the range of visual feature types, the preferred visual feature type, and the second target visual feature type.

[0061] Optionally, in the image element generation apparatus provided in this application embodiment, the fourth determining module includes: an acquisition submodule, used to acquire the user type associated with each click event of each image element, to obtain multiple user types, wherein the multiple user types include a page user type; a second determining submodule, used to determine the target image element set associated with the page user type; and a third determining submodule, used to determine the visual feature type of the image element with the highest click frequency in the target image element set, and to determine the visual feature type as the preferred visual feature type.

[0062] The image element generation device includes a processor and a memory. The aforementioned acquisition unit 10, setting unit 20, calculation unit 30, determination unit 40, and generation unit 50 are all stored in the memory as program units. The processor executes the aforementioned program units stored in the memory to realize the corresponding functions.

[0063] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the efficiency of image element generation.

[0064] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0065] This invention provides a computer-readable storage medium storing a program that, when executed by a processor, implements an image element generation method.

[0066] This invention provides a processor for running a program, wherein the program executes an image element generation method during runtime.

[0067] Figure 4 This is a schematic diagram of an electronic device provided according to an embodiment of this application. For example... Figure 4 As shown, device 401 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: an image element generation method. The device in this document can be a server, PC, PAD, mobile phone, etc.

[0068] This application also provides a computer program product that, when executed on a data processing device, is suitable for executing a program with the following initialization method steps: an image element generation method.

[0069] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0070] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0071] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0072] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0073] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0074] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0075] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0076] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0077] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0078] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for generating image elements, characterized in that, include: Multiple image elements are obtained from a target database, and the click frequency of each image element within a preset time period is determined. The target database contains image elements from multiple websites or applications. At least one visual feature label is set for each image element, and all image elements are classified according to the at least one visual feature label to obtain multiple image element sets. The visual feature label is a label obtained by classifying the attributes of the image elements, and each image element set has at least one visual feature of the same type. The step of setting at least one visual feature label for each image element includes: determining a visual feature label for each image element, wherein the visual feature label includes at least one of the following: tone type label, contrast type label, vibrancy type label, style type label, and mood type label; Calculate the cumulative click frequency of all image elements in each image element set, arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combine the at least one image element set sequence to obtain the target sequence; Determine the target visual type from the target sequence and obtain the image element design requirements of the target customer; The process of obtaining the image element design requirements of the target customer includes: obtaining the page type, page user type, and page source of the page to which the target image element to be generated belongs, wherein the page source is the website or application to which the page belongs; determining whether a historical image element set corresponding to the page source exists in the target database; if the historical image element set does not exist in the target database, determining the page type and page user type as the image element design requirements; if the historical image element set exists in the target database, obtaining the historical target sequence of the historical image element set; and determining the page type, page user type, and historical target sequence as the image element design requirements. Generating target image elements based on the image element design requirements and the target visual type includes: determining the range of visual feature types limited by the page type, and determining the preferred visual feature types of the page user type; if the historical image element set does not exist in the target database, determining the first target visual feature type ranked first under each visual feature tag in the target sequence; generating the target image element based on the visual feature type range, the preferred visual feature type, and the first target visual feature type; if the historical image element set exists in the target database, determining the second target visual feature type ranked first under each visual feature tag in the historical target sequence; and generating the target image element based on the visual feature type range, the preferred visual feature type, and the second target visual feature type.

2. The method according to claim 1, characterized in that, Calculate the cumulative click frequency of all image elements in each image element set, and arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one sequence of image element sets including: Calculate the sum of the click frequencies of all image elements in each image element set to obtain the cumulative click frequency of the image element set; At least one sequence of image element sets is obtained by arranging the cumulative click frequencies of all image element sets under a visual feature label in descending order.

3. The method according to claim 1, characterized in that, Obtaining the historical target sequence of the historical image element set includes: Determine the visual feature label for each historical image element in the set of historical image elements; Based on the visual feature labels, all historical image elements in the historical image element set are classified to obtain multiple target historical image element sets; Calculate the cumulative click frequency of each target historical image element set, arrange the target historical image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one historical image element set sequence, and combine the at least one historical image element set sequence to obtain the historical target sequence.

4. The method according to claim 1, characterized in that, The visual feature types that determine the user preferences of the page include: Obtain the user type associated with each click event of each image element to obtain multiple user types, wherein the multiple user types include the page user type; Determine the set of target image elements associated with the user type of the page; Determine the visual feature type of the image element with the highest click frequency in the target image element set, and define the visual feature type as the preferred visual feature type.

5. An image element generation apparatus, characterized in that, include: The acquisition unit is used to acquire multiple image elements from a target database and determine the click frequency of each image element within a preset time period, wherein the target database contains image elements from multiple websites or applications; The setting unit is used to set at least one visual feature label for each image element, and classify all image elements according to the at least one visual feature label to obtain multiple image element sets. The visual feature label is a label obtained by classifying the attributes of the image elements, and each image element set has at least one visual feature of the same type. The setting unit further includes: a first determining module, used to determine the visual feature label of each image element, wherein the visual feature label includes at least one of the following: tone type label, contrast type label, vibrancy type label, style type label and mood type label; The calculation unit is used to calculate the cumulative click frequency of all image elements in each image element set, arrange the image element sets under each visual feature label in descending order of cumulative click frequency to obtain at least one image element set sequence, and combine the at least one image element set sequence to obtain the target sequence. The determining unit is used to determine the target visual type from the target sequence and obtain the image element design requirements of the target customer; The determining unit further includes: a first acquisition module, used to acquire the page type, page user type, and page source of the page to which the target image element to be generated by the target customer belongs, wherein the page source is the website to which the page belongs or the application to which the page belongs; a judging module, used to judge whether there is a historical image element set corresponding to the page source in the target database; a second determining module, used to determine the page type and the page user type as the image element design requirement when the historical image element set does not exist in the target database; a second acquisition module, used to acquire the historical target sequence of the historical image element set when the historical image element set exists in the target database; and a third determining module, used to determine the page type, the page user type, and the historical target sequence as the image element design requirement. The generation unit is used to generate target image elements based on the image element design requirements and the target visual type; The generation unit further includes: a fourth determining module, configured to determine the range of visual feature types limited by the page type and determine the preferred visual feature type of the page user type; a fifth determining module, configured to determine the first target visual feature type ranked first under each visual feature tag in the target sequence when the historical image element set does not exist in the target database; a first generation module, configured to generate the target image element based on the range of visual feature types, the preferred visual feature type, and the first target visual feature type; a sixth determining module, configured to determine the second target visual feature type ranked first under each visual feature tag in the historical target sequence when the historical image element set exists in the target database; and a second generation module, configured to generate the target image element based on the range of visual feature types, the preferred visual feature type, and the second target visual feature type.

6. A non-volatile storage medium, characterized in that, The non-volatile storage medium includes a stored program, wherein when the program is executed, it controls the device where the non-volatile storage medium is located to perform the image element generation method according to any one of claims 1 to 4.

7. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the image element generation method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Classification tag processing method and apparatus

    CN108460131A

  • Page display method and device, storage medium and electronic equipment

    CN112307240A