CN115099212B - Classification method, device, medium and computer equipment based on template design - Google Patents

Classification method, device, medium and computer equipment based on template design Download PDF

Info

Publication number
CN115099212B
CN115099212B CN202210923300.1A CN202210923300A CN115099212B CN 115099212 B CN115099212 B CN 115099212B CN 202210923300 A CN202210923300 A CN 202210923300A CN 115099212 B CN115099212 B CN 115099212B
Authority
CN
China
Prior art keywords
information
template
design
database
classification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210923300.1A
Other languages
Chinese (zh)
Other versions
CN115099212A (en
Inventor
舒开勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bafangtong Technology Development Co ltd
Original Assignee
Shenzhen Bafangtong Technology Development 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 Shenzhen Bafangtong Technology Development Co ltd filed Critical Shenzhen Bafangtong Technology Development Co ltd
Priority to CN202210923300.1A priority Critical patent/CN115099212B/en
Publication of CN115099212A publication Critical patent/CN115099212A/en
Application granted granted Critical
Publication of CN115099212B publication Critical patent/CN115099212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a classification method, a classification device, a classification medium and computer equipment based on template design, wherein the classification method comprises the following steps: acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model; obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog; inputting the design keywords into a classification mapping model and acquiring database labels; classifying the target templates into a template database according to the database labels. By extracting the design element information in the target template, a mapping relation between the design element information and the database label is established, the target template is accurately classified into the template database according to the database label, and the efficiency and the accuracy of template classification are improved.

Description

Classification method, device, medium and computer equipment based on template design
Technical Field
The invention relates to the technical field of classification methods of template designs, in particular to a classification method, a device, a medium and computer equipment based on the template design.
Background
In the field of template design, an art designer needs to edit and design a target template, so that the target template is endowed with attractive design, and the designed target template needs to be archived in a template database for retrieval and use by himself or other developers, users and the like. Because developers such as artists are not necessarily professional program editors, the design templates are accurately classified into the template database, and classification operators are required to accurately understand the internal system and programming language of the database, the working threshold of the developers such as the artists is obviously greatly improved, and the original purpose of giving the target templates to design beauty by the artists is deviated. Accordingly, the prior art has drawbacks and needs to be further improved and perfected.
Disclosure of Invention
Based on the above, it is necessary to address the above problems, and the present solution provides a classification method, apparatus, medium and computer device based on a template design, so as to improve the development efficiency of the template design, reduce the development threshold, and implement rapid and accurate classification of the design template.
A classification method based on template design comprises the following steps:
acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
inputting the design keywords into a classification mapping model and acquiring database labels;
classifying the target templates into a template database according to the database labels.
Further, the design element information includes: text information, design style information and application scene information;
the text information comprises text fields, a preset number of text keywords are extracted by using a TextRank algorithm, and the text keywords are used as the input of a classification mapping model;
the design style information comprises a template background type, a template picture type and a text font type, style keywords are obtained according to the design style information, and the style keywords are used as input of a classification mapping model;
the application scene information comprises a file name field, a file theme field and a file directory field, scene keywords in the application scene information are extracted, and the scene keywords are used as the input of a classification mapping model.
Further, the categorization mapping model further includes: a feature extraction layer and a feature classification layer;
the feature extraction layer acquires design element information and extracts first classification features of the design element information, the feature extraction layer acquires all database labels and converts the database labels into second classification features, and each database label corresponds to one second classification feature one by one;
the classifying and mapping module maps each first classifying feature to a second classifying feature according to a preset mapping rule;
and the feature classifying layer calculates the probability of mapping one design element information to a plurality of second classifying features and takes the database label corresponding to the second classifying feature with the highest probability as the output of the classifying mapping model.
Further, the step of obtaining the edited target template and extracting the design element information in the target template includes:
acquiring an edited target template, and extracting functional element information in the target template;
acquiring page layout information of a target template;
and acquiring the functional element keywords of the target template according to the functional element information and the page layout information, and taking the functional element keywords as the input of the classification mapping model.
Further, the functional element information comprises control information or interaction information;
the control information comprises background page information, text control information and button control information;
the interactive information comprises background page information, play window information, play key information and language interactive information.
Further, acquiring an edited target template, and extracting control information in the target template;
acquiring page layout information of a target template according to background page information, text control information and button control information in the control information, and judging that the target template is a login interface template according to the page layout information;
and acquiring login interface keywords of the login interface template according to the background page information, the text control information, the button control information and the page layout information, and taking the login interface keywords as input of a classification mapping model.
Further, acquiring an edited target template, and extracting interaction information in the target template;
acquiring page layout information of a target template according to background page information, play window information, play key information and language interaction information in the interaction information, and judging the target template as a play interface template according to the page layout information;
and acquiring the playing interface keywords of the playing interface template according to the background page information, the playing window information, the playing key information, the language interaction information and the page layout information, and taking the playing interface keywords as the input of the classification mapping model.
A template design-based classification device, comprising:
the element extraction module is used for acquiring the edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of the classification mapping model;
the model acquisition module is used for acquiring a classifying and mapping model, wherein the classifying and mapping model comprises a text mapping module for establishing a mapping relation between a design keyword and a database label, and the database label is set according to a database catalog;
the model processing module is used for inputting the design keywords into the classifying and mapping model and acquiring database labels;
and the template classifying module is used for classifying the target template into a template database according to the database label.
A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
inputting the design keywords into a classification mapping model and acquiring database labels;
classifying the target templates into a template database according to the database labels.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
inputting the design keywords into a classification mapping model and acquiring database labels;
classifying the target templates into a template database according to the database labels.
According to the classifying method based on the template design, the mapping relation between the design element information and the database label is established by extracting the design element information in the target template, the design key words are used as the input of the classifying and mapping model, the database label is output, and the target template is accurately classified to the template database according to the database label, so that a designer only needs to concentrate on the design of the template without considering the classifying and archiving operation of the database, the classifying efficiency and accuracy of the template are improved, and the craft practice threshold of the template design is reduced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is an application environment diagram of a template design based categorization method in one embodiment;
FIG. 2 is a flow diagram of a method of categorizing based on template design in one embodiment;
FIG. 3 is a flow chart II of a template design based categorization method in one embodiment;
FIG. 4 is a flow chart III of a template design based categorization method in one embodiment;
FIG. 5 is a schematic diagram of a login interface for a template-based categorization method in one embodiment;
FIG. 6 is a block diagram of a template-based classifier in one embodiment;
FIG. 7 is a block diagram of a computer device in one embodiment.
100-an element extraction module; 200-a model acquisition module; 300-a model processing module; 400-template classification module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
FIG. 1 is a diagram of an application environment for a template design based categorization method in one embodiment. Referring to fig. 1, the template design-based classification method is applied to a database classification system. The database categorization system comprises a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network, and the terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
Example 1
As shown in FIG. 2, in one embodiment, a template-based design categorization method is provided. The method can be applied to a terminal or a server, and the embodiment is applied to terminal illustration.
In the field of template design, an art designer needs to edit and design a target template, so that the target template is provided with attractive design, and the designed target template needs to be archived in a template database for retrieval and use by himself or other developers, users and the like. Because developers such as artists are not necessarily professional program editors, the design templates are accurately classified into the template database, and classification operators are required to accurately understand the internal system and programming language of the database, the working threshold of the developers such as the artists is obviously greatly improved, and the original purpose of giving the target templates to design beauty by the artists is deviated.
In order to reduce the difficulty of editing a template classification database, the embodiment provides a classification method based on template design, as shown in fig. 2, which comprises the following steps:
s1: acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
the edited target template can be a word template, such as a word template and a PPT template, or can be a picture template, such as a PPT template and an advertisement design template, and the design element information in the target template is extracted, wherein the design element information refers to information related to archiving of the target template, and can be specifically a word field, a keyword and the like.
The edited target template may also be a design template with functional elements, such as a landing page template, a play page template, a web page template, etc., as described in the following embodiments.
S2: obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
the classifying and mapping model comprises a character mapping module, wherein the character mapping module is used for establishing a mapping relation between design keywords and a database label, and after the design element information is extracted from the target template, the mapping relation is used for establishing a corresponding relation between the design keywords and the database catalog, so that the function of automatically defining the target template can be realized. The corresponding relation can be one-to-one or one-to-many. As the design templates may tend to be hosted by multiple directories for easier retrieval by the user.
S3: inputting the design keywords into a classification mapping model and acquiring database labels;
the keywords are designed as input of the categorization map model, and the database labels are output of the categorization map model.
S4: classifying the target templates into a template database according to the database labels.
Through the classifying and mapping model, the connection between the target template and the template database can be established, and the target template can be automatically and accurately classified into the template database according to the acquired database label.
By extracting the design element information in the target template, the mapping relation between the design element information and the database label is established, the design keyword is used as the input of the classifying and mapping model, the database label is output, and the target template is accurately classified into the template database according to the database label, so that the artist only needs to concentrate on the design of the template without considering the classifying and archiving operation of the database, the classifying efficiency and accuracy of the template are improved, and the artist's practice threshold of the template design is reduced.
Example two
The embodiment provides a specific classification method based on PPT template design, as shown in fig. 3, which comprises the following steps:
s101: acquiring an edited PPT target template, extracting design element information in the PPT target template, wherein the design element information comprises text information, design style information and application scene information, extracting text keywords with a preset number by using a TextRank algorithm, and taking the text keywords as input of a classification mapping model; the text keywords may specifically be: "traditional Chinese painting", "jade", "big data", "automobile", etc.;
the design style information comprises a template background type, a template picture type and a text font type, style keywords are obtained according to the design style information, and the style keywords are used as input of a classification mapping model; the style keywords may specifically be: "business", "brief", "Chinese style", "technological style", etc.;
the application scene information comprises a file name field, a file subject field and a file directory field, scene keywords in the application scene information are extracted, and the scene keywords are used as the input of a classification mapping model; the scene keywords may specifically be: a "summary of work", "personal resume", "report of job", etc.
S102: and obtaining a PPT classification mapping model, wherein the PPT classification mapping model comprises a text mapping module for establishing a mapping relation between design element information and a database label, and the database label is set according to a database catalog.
The PPT classifying and mapping model comprises a feature extraction layer, a character mapping module and a feature classifying layer.
The feature extraction layer is used for acquiring design element information and extracting first classification features of the design element information, such as text keywords of the text information, style keywords of the design style and scene keywords of the application scene information; the feature extraction layer also obtains all database tags and converts the database tags into second classification features, such as: "traditional Chinese painting", "jade", "business", "work summary" and so on.
The text mapping module establishes a mapping rule between the first classification feature and the second classification feature, and maps each first classification feature to one second classification feature according to the mapping rule.
And the feature classifying layer calculates the probability of mapping one design element information to a plurality of second classifying features and takes the database label corresponding to the second classifying feature with the highest probability as the output of the classifying mapping model.
S103: and inputting the design keywords into a PPT classification mapping model and acquiring a database label.
S104: classifying the target templates into a template database according to the database labels.
By extracting the design element information in the PPT target template, establishing a mapping relation between the design element information and a database label, taking the design keyword as the input of a classification mapping model, outputting the database label and accurately classifying the target template to a template database according to the database label, so that a designer only needs to concentrate on the design of the template without considering classification archiving operation of the database, the efficiency and the accuracy of template classification are improved, and the engineering practice threshold of template design is reduced.
Example III
In the existing template classifying method, only the appearance elements of the templates, such as interfaces, pictures, picture contents, texts and colors contained in the pictures, are identified, and functional elements contained in the interfaces, such as control buttons, play buttons and play interfaces, are not identified, and the interfaces with the functional elements are also objects processed daily by the artist, so that the target templates are archived, and the artist can conveniently call and modify the target templates or call and use the target templates by the artist in the future, therefore, the existing template classifying method has technical blank and needs to be further improved and perfected.
In general, when designing a template, an artist only considers from the aesthetic point of view, and does not reserve corresponding text information or keywords in the designed template, and the designed template can be applied to different scenes or functions.
The scheme provides a classification method based on functional element and template design, as shown in fig. 4, comprising the following steps:
s201: acquiring an edited target template, and extracting functional element information in the target template;
s202: acquiring page layout information of a target template;
s203: acquiring functional element keywords of the target template according to the functional element information and the page layout information, and taking the functional element keywords as input of a classification mapping model;
s204: obtaining a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between functional element keywords and database labels, and the database labels are set according to a database catalog;
s205: inputting the design element information into a classification mapping model and acquiring a database label;
s206: classifying the target templates into a template database according to the database labels.
In the scheme, the functional element information is one of design element information, and comprises control information or interaction information; the control information comprises background page information, text control information and button control information; the interactive information comprises background page information, play window information, play key information and language interactive information.
In a specific embodiment, if the functional element information is control information, acquiring an edited target template, and extracting control information in the target template;
acquiring page layout information of a target template according to background page information, text control information and button control information in the control information, and judging that the target template is a login interface template according to the page layout information;
and acquiring login interface keywords of the login interface template according to the background page information, the text control information, the button control information and the page layout information, and taking the login interface keywords as input of a classification mapping model.
In this embodiment, an art designer designs an interface template, two identifiable thin-strip text input boxes are reserved in the interface template, two button controls are reserved under the text input boxes, and the interface is identified as a login interface according to the positions and the proportions of the two text input boxes and the two button controls, so that the subsequent calling and use are facilitated.
If the programmer needs to use the login interface later, because the programmer is not good at aesthetic interface design, he can screen the login interface, and after calling the login interface, the corresponding pointer function can be directly input in the text input box and the button control, so that the login interface is the login interface desired by the programmer.
In a specific embodiment, if the functional element information is interaction information, acquiring an edited target template, and extracting the interaction information in the target template;
in the scheme, the more the number of interactive areas and functional spaces arranged by the art designer is, the more accurate the identification and distinction of the target templates are. Therefore, design information of aesthetic angles can be reserved in the interaction area by an artist during template design, for example, as shown in fig. 5, in the interface template, the artist performs aesthetic editing on the interface according to own experience based on a background page and a white interaction frame, and text controls, button controls and the like with different shapes, sizes and colors are added. When the text control and/or the button control are identified, page layout information of a target template is identified, and the target template is identified as a login interface because the duty ratio of the interaction area is proper as the login interface, so that key words of functional elements are obtained: "login interface".
Acquiring page layout information of a target template according to background page information, play window information, play key information and language interaction information in the interaction information, and judging the target template as a play interface template according to the page layout information;
and acquiring the playing interface keywords of the playing interface template according to the background page information, the playing window information, the playing key information, the language interaction information and the page layout information, and taking the playing interface keywords as the input of the classification mapping model.
The art designing can edit and design the target template based on the aesthetic experience of the art designing, but the art designing cannot take off basic design elements, for example, the playing button is a round control, so when the round control is detected, the art designing recognizes page layout information of an interface, and based on the page layout information and the round control button, the template can be recognized as the playing interface to acquire functional element keywords: "play interface".
If the programmer needs to use the playing interface later, because the programmer is not good at aesthetic interface design, he can screen the playing interface, and after calling the playing interface, the corresponding pointer function can be directly input in the playing window, playing key, playing button and language interaction information, so that the playing interface becomes the playing interface desired by the programmer.
The classification method for template design based on the functional elements can extract or match corresponding functional element information for analysis according to the design layout of an art designer, and further realize accurate classification of templates from the function or application perspective; therefore, the method is beneficial to the rapid search or screening of the corresponding templates at the later development back end, realizes the corresponding functions, and improves the template design and the later application efficiency.
Example IV
The embodiment specifically provides a classifying device based on template design, as shown in fig. 6, including:
the element extraction module 100 is configured to obtain an edited target template, extract design element information in the target template, obtain design keywords according to the design element information, and use the design keywords as input of the classification mapping model.
The model obtaining module 200 is configured to obtain the categorizing mapping model, where the categorizing mapping model includes a text mapping module that establishes a mapping relationship between a design keyword and a database label, and the database label is set according to a database catalog.
The model processing module 300 is configured to input the design keyword into a classification mapping model and obtain a database label.
The template classifying module 400 is configured to classify the target template into a template database according to the database label.
According to the classifying device based on the template design, the mapping relation between the functional element information and the database label is established by extracting the functional element information in the target template, the functional element information, particularly the functional element keyword, is used as the input of the classifying and mapping model, the database label is output, and the target template is accurately classified to the template database according to the database label, so that a designer only needs to concentrate on the design of the template without considering the classifying and archiving operation of the database, the classifying efficiency and accuracy of the template are improved, and the craft practitioner threshold of the template design is reduced.
Example five
FIG. 7 illustrates an internal block diagram of a computer device in one embodiment. The computer device may specifically be a terminal or a server. As shown in fig. 7, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by a processor, causes the processor to implement a template categorization method. The internal memory may also have stored therein a computer program which, when executed by the processor, causes the processor to perform the template categorization method. It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
inputting the design keywords into a classification mapping model and acquiring database labels;
classifying the target templates into a template database according to the database labels.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an edited target template, extracting design element information in the target template, acquiring design keywords according to the design element information, and taking the design keywords as input of a classification mapping model;
obtaining a classification mapping model, wherein the classification mapping model comprises a text mapping module for establishing a mapping relation between design keywords and database labels, and the database labels are set according to a database catalog;
inputting the design keywords into a classification mapping model and acquiring database labels;
classifying the target templates into a template database according to the database labels.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (8)

1. The classifying method based on the template design is characterized by comprising the following steps:
s1: acquiring an edited target template, and extracting design element information in the target template, wherein the design element information comprises functional element information;
acquiring page layout information of a target template;
acquiring functional element keywords of the target template according to the functional element information and the page layout information, and taking the functional element keywords as input of a classification mapping model;
the functional element information comprises control information or interaction region design information;
the control information comprises background page control information, text control information and button control information;
the interactive region design information comprises background page interactive information, play window information, play key information and language interactive information;
s2: obtaining a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between functional element keywords and database labels, and the database labels are set according to a database catalog;
s3: inputting the functional element keywords into a classification mapping model and acquiring a database label;
s4: classifying the target templates into a template database according to the database labels.
2. The template-based design classification method of claim 1, wherein the design element information includes: text information, design style information and application scene information;
the text information comprises text fields, a preset number of text keywords are extracted by using a TextRank algorithm, and the text keywords are used as the input of a classification mapping model;
the design style information comprises a template background type, a template picture type and a text font type, style keywords are obtained according to the design style information, and the style keywords are used as input of a classification mapping model;
the application scene information comprises a file name field, a file theme field and a file directory field, scene keywords in the application scene information are extracted, and the scene keywords are used as the input of a classification mapping model.
3. The template design-based classification method of claim 1, wherein the classification mapping model further comprises: a feature extraction layer and a feature classification layer;
the feature extraction layer acquires design element information and extracts first classification features of the design element information, the feature extraction layer acquires all database labels and converts the database labels into second classification features, and each database label corresponds to one second classification feature one by one;
the classifying and mapping module maps each first classifying feature to a second classifying feature according to a preset mapping rule;
and the feature classifying layer calculates the probability of mapping one design element information to a plurality of second classifying features and takes the database label corresponding to the second classifying feature with the highest probability as the output of the classifying mapping model.
4. The template-design-based classification method of claim 1, wherein:
acquiring an edited target template, and extracting control information in the target template;
acquiring page layout information of a target template according to background page control information, text control information and button control information in the control information, and judging the target template as a login interface template according to the page layout information;
and acquiring login interface keywords of the login interface template according to the background page control information, the text control information, the button control information and the page layout information, and taking the login interface keywords as input of a classification mapping model.
5. The template-design-based classification method of claim 1, wherein:
acquiring an edited target template, and extracting interactive region design information in the target template;
acquiring page layout information of a target template according to background page interaction information, play window information, play key information and language interaction information in the interaction region design information, and judging the target template as a play interface template according to the page layout information;
and acquiring the playing interface keywords of the playing interface template according to the background page interaction information, the playing window information, the playing key information, the language interaction information and the page layout information, and taking the playing interface keywords as the input of the classifying and mapping model.
6. A template design-based classification device, comprising:
the element extraction module is used for acquiring the edited target template and extracting design element information in the target template, wherein the design element information comprises functional element information; acquiring page layout information of a target template; acquiring functional element keywords of the target template according to the functional element information and the page layout information, and taking the functional element keywords as input of a classification mapping model; the functional element information comprises control information or interaction region design information; the control information comprises background page control information, text control information and button control information; the interactive region design information comprises background page interactive information, play window information, play key information and language interactive information;
the model acquisition module is used for acquiring a classifying and mapping model, wherein the classifying and mapping model comprises a character mapping module for establishing a mapping relation between functional element keywords and database labels, and the database labels are set according to a database catalog;
the model processing module is used for inputting the functional element keywords into the classifying and mapping model and obtaining a database label;
and the template classifying module is used for classifying the target template into a template database according to the database label.
7. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 5.
8. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 5.
CN202210923300.1A 2022-08-02 2022-08-02 Classification method, device, medium and computer equipment based on template design Active CN115099212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210923300.1A CN115099212B (en) 2022-08-02 2022-08-02 Classification method, device, medium and computer equipment based on template design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210923300.1A CN115099212B (en) 2022-08-02 2022-08-02 Classification method, device, medium and computer equipment based on template design

Publications (2)

Publication Number Publication Date
CN115099212A CN115099212A (en) 2022-09-23
CN115099212B true CN115099212B (en) 2023-07-14

Family

ID=83300574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210923300.1A Active CN115099212B (en) 2022-08-02 2022-08-02 Classification method, device, medium and computer equipment based on template design

Country Status (1)

Country Link
CN (1) CN115099212B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674847A (en) * 2019-08-30 2020-01-10 深圳壹账通智能科技有限公司 Card classification storage method and device, computer equipment and storage medium
CN112651218A (en) * 2020-12-31 2021-04-13 盘锦丙衡商务服务有限公司 Automatic generation method and management method of bidding document, medium and computer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034667A (en) * 2011-10-08 2013-04-10 英业达股份有限公司 System and method for establishing database according to webpage index labels
CN105472580B (en) * 2015-11-17 2019-08-06 小米科技有限责任公司 Processing method, device, terminal and the server of information
CN110135264A (en) * 2019-04-16 2019-08-16 深圳壹账通智能科技有限公司 Data entry method, device, computer equipment and storage medium
CN112711937B (en) * 2021-01-18 2022-06-24 腾讯科技(深圳)有限公司 Template recommendation method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674847A (en) * 2019-08-30 2020-01-10 深圳壹账通智能科技有限公司 Card classification storage method and device, computer equipment and storage medium
CN112651218A (en) * 2020-12-31 2021-04-13 盘锦丙衡商务服务有限公司 Automatic generation method and management method of bidding document, medium and computer

Also Published As

Publication number Publication date
CN115099212A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN109766438B (en) Resume information extraction method, resume information extraction device, computer equipment and storage medium
CN107506343B (en) A kind of processing method and processing device of information editing
JP3425408B2 (en) Document reading device
CN1517904B (en) Ink marking device and associated application programmed interface
WO2019000681A1 (en) Information layout method, device, apparatus and computer storage medium
CN107943924B (en) Method for automatically generating webpage theme, storage medium and electronic equipment
CN113272803A (en) Method and apparatus for retrieving intelligent information from electronic device
CN109712218A (en) E-book takes down notes processing method, hand-written arrangement for reading and storage medium
US20220284175A1 (en) Systems and methods for extracting text from portable document format data
CN111008522A (en) Automatic article writing method and device, computer equipment and storage medium
CN111208998A (en) Method and device for automatically laying out data visualization large screen and storage medium
CN111191079A (en) Document content acquisition method, device, equipment and storage medium
CN111552903A (en) Page generation method and device based on HTML (Hypertext markup language) template and computer equipment
KR20210086836A (en) Image data processing method for searching images by text
CN111357015B (en) Text conversion method, apparatus, computer device, and computer-readable storage medium
US20220058214A1 (en) Document information extraction method, storage medium and terminal
CN110134920B (en) Pictogram compatible display method, device, terminal and computer readable storage medium
CN115099212B (en) Classification method, device, medium and computer equipment based on template design
KR20220005243A (en) Sharing and recognition method and device of handwritten scanned document
US10803308B2 (en) Apparatus for deciding whether to include text in searchable data, and method and storage medium thereof
CN115860829A (en) Intelligent advertisement image generation method and device
EP4053731A1 (en) Systems and methods for extracting text from portable document format data
CN113835704A (en) Layout file generation method, device, equipment and storage medium
CN111339465A (en) Picture processing method and device, computer equipment and storage medium
WO2020133291A1 (en) Text entity recognition method and apparatus, computer device, and storage medium

Legal Events

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