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

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

Info

Publication number
CN115099212A
CN115099212A CN202210923300.1A CN202210923300A CN115099212A CN 115099212 A CN115099212 A CN 115099212A CN 202210923300 A CN202210923300 A CN 202210923300A CN 115099212 A CN115099212 A CN 115099212A
Authority
CN
China
Prior art keywords
information
classification
template
design
database
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.)
Granted
Application number
CN202210923300.1A
Other languages
Chinese (zh)
Other versions
CN115099212B (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 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 the input of a classification mapping model; acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory; inputting the design keywords into a classification mapping model and acquiring a database label; and classifying the target template into a template database according to the 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, and the target template is accurately classified into the template database according to the database label, so that the efficiency and the accuracy of template classification are improved.

Description

Classification method, classification device, classification medium and computer equipment based on template design
Technical Field
The invention relates to the technical field of classification methods of template design, in particular to a classification method, a classification device, a classification medium and computer equipment based on template design.
Background
In the field of template design, an art designer needs to edit and design a target template to endow the target template with attractive design, and the designed target template needs to be filed in a template database for retrieval and use by the user or other developers, users and the like. Since developers such as the art designer do not necessarily need to be professional program editors, the design templates are accurately classified into the template database, and the classification operators are required to accurately understand the internal system and the programming language of the database, the working threshold of the developers such as the art designer is undoubtedly greatly improved, and the original intention of the art designer for endowing the target templates with attractive design is deviated. Thus, the prior art is deficient and needs further improvement and refinement.
Disclosure of Invention
Based on this, it is necessary to solve the above problems, and this scheme provides a classification method, apparatus, medium and computer device based on template design to improve the development efficiency of template design, reduce the development threshold, and implement fast and accurate classification of design templates.
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 the input of a classification mapping model;
acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
inputting the design keywords into a classification mapping model and acquiring a database label;
and classifying the target template into a template database according to the database label.
Further, the design element information includes: character 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 character font type, style keywords are obtained according to the design style information, and the style keywords are used as the input of the classification mapping model;
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 input of the classification mapping model.
Further, the classification 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 classification mapping module maps each first classification characteristic to a second classification characteristic according to a preset mapping rule;
and the characteristic classification layer calculates the probability of mapping one piece of design factor information to a plurality of second classification characteristics and takes the database label corresponding to the second classification characteristic with the maximum probability as the output of the classification mapping model.
Further, the step of acquiring 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 key words of the target template according to the functional element information and the page layout information, and taking the functional element key words as the input of the classification mapping model.
Further, the functional element information includes 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, playing window information, playing 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 a login interface keyword 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 keyword as the input of the classification mapping model.
Further, an edited target template is obtained, and interaction information in the target template is extracted;
acquiring page layout information of a target template according to background page information, playing window information, playing key information and language interaction information in the interaction information, and judging that the target template is a playing interface template according to the page layout information;
and acquiring a playing interface keyword 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 keyword as the input of the classification mapping model.
A template design-based classification apparatus 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 the input of the classification mapping model;
the model acquisition module is used for acquiring a classification mapping model, the classification mapping model comprises a character 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 a classification mapping model and acquiring database labels;
and the template classifying module is used for classifying the target template into the 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 a design keyword according to the design element information, and taking the design keyword as the input of a classification mapping model;
acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
inputting the design keywords into a classification mapping model and acquiring a database label;
and classifying the target template into a template database according to the database label.
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:
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 the input of a classification mapping model;
acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
inputting the design keywords into a classification mapping model and acquiring a database label;
and classifying the target template into a template database according to the database label.
According to the classification method based on the template design, the design element information in the target template is extracted, the mapping relation between the design element information and the database label is established, the design key words are used as the input of the classification 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 designer only needs to concentrate on the design of the template without considering the classification archiving operation of the database, the template classification efficiency and accuracy are improved, and the threshold of the designer in template design is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a diagram of an embodiment of an application environment of a classification method based on template design;
FIG. 2 is a first flowchart of a method for classification based on template design in one embodiment;
FIG. 3 is a flowchart of a classification method based on template design according to an embodiment;
FIG. 4 is a flow chart three of the classification method based on template design in one embodiment;
FIG. 5 is a diagram illustrating a login interface of a classification method based on template design according to an embodiment;
FIG. 6 is a block diagram of a template-based classification device according to an embodiment;
FIG. 7 is a block diagram of a computer device in one embodiment.
100-element extraction module; 200-a model acquisition module; 300-a model processing module; 400-template classification module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
FIG. 1 is a diagram of an application environment of the classification method based on template design in one embodiment. Referring to fig. 1, the classification method based on template design is applied to a database classification system. The database classification system includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network, the terminal 110 may be specifically a desktop terminal or a mobile terminal, and the mobile terminal may be specifically 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 a server cluster composed of a plurality of servers.
Example one
As shown in FIG. 2, in one embodiment, a template design-based classification method is provided. The method can be applied to both a terminal and a server, and this embodiment is exemplified by being applied to a terminal.
The technical problem to be solved by this embodiment is that, in the field of template design, an artist needs to edit and design a target template to give the target template an attractive appearance, and the designed target template needs to be filed in a template database for searching and using by himself or by other developers, users, and the like. Since developers such as the art designer do not need to be professional program editors, the design templates are accurately classified into the template database, and the classification operators are required to accurately understand the internal system and the programming language of the database, the working threshold of the developers such as the art designer is undoubtedly greatly improved, and the original intention of the art designer for endowing the target templates with attractive design is deviated.
In order to reduce the difficulty of editing the template classification database, the present embodiment provides a classification method based on template design, as shown in fig. 2, including the following steps:
s1: acquiring an edited target template, extracting design element information in the target template, acquiring a design keyword according to the design element information, and taking the design keyword as the input of a classification mapping model;
the edited target template can be a text template, such as a word template and a PPT template, or a picture template, such as a PPT template and an advertisement design template, and design element information in the target template is extracted, wherein the design element information refers to information related to filing of the target template, and specifically can be text fields, keywords and the like.
The edited target template may also be a design template with functional elements, such as a login page template, a play page template, a web page template, and the like, which are specifically described in the following embodiments.
S2: acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
the classification mapping model comprises a character mapping module, the mapping relation between the design key words and the database labels is established through the character mapping module, after the design element information is extracted from the target template, the corresponding relation between the design key words and the database catalogue is established through the mapping relation, and the function of automatic regulation of the target template can be realized. The corresponding relationship may be a one-to-one corresponding relationship or a one-to-many corresponding relationship. The reason is that design templates may tend to be included by multiple directories for easier retrieval by the user.
S3: inputting the design keywords into a classification mapping model and acquiring a database label;
and designing a keyword as an input of the classification mapping model, and using a database label as an output of the classification mapping model.
S4: and classifying the target template into a template database according to the database label.
The connection between the target template and the template database can be established through the classification mapping model, 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, establishing the mapping relation between the design element information and the database label, taking the design keyword as the input of the classification mapping model, outputting the database label and accurately classifying the target template into the template database according to the database label, so that the art designer only needs to concentrate on the design of the template without considering the classification filing operation of the database, the efficiency and the accuracy of the classification of the template are improved, and the art designer working threshold of the template design is also reduced.
Example two
The embodiment provides a specific classification method based on PPT template design, as shown in fig. 3, including the steps of:
s101: the method comprises the steps of obtaining an edited PPT target template, extracting design element information in the PPT target template, wherein the design element information comprises character information, design style information and application scene information, extracting a preset number of text keywords by using a TextRank algorithm, and taking the text keywords as input of a classification mapping model; the text keywords may specifically be: chinese painting, jade ware, big data, automobile and the like;
the design style information comprises a template background type, a template picture type and a character font type, style keywords are obtained according to the design style information, and the style keywords are used as the input of the classification mapping model; the style keywords may specifically be: "business", "brief", "Chinese wind", "scientific wind", and the like;
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: "summary of work", "personal resume", "report on the job", etc.
S102: and acquiring a PPT classification mapping model, wherein the PPT classification mapping model comprises a character 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 directory.
The PPT classification mapping model comprises a feature extraction layer, a character mapping module and a feature classification layer.
The characteristic extraction layer is used for acquiring design element information and extracting first classification characteristics of the design element information, such as character keywords of the character information, style keywords of a design style and scene keywords of application scene information; the feature extraction layer also obtains all database tags and converts the database tags into second classification features, such as: the Chinese painting, the jade, the business, the work summary, etc.
The word mapping module establishes a mapping rule between the first classification features and the second classification features, and maps each first classification feature to one second classification feature according to the mapping rule.
And the characteristic classification layer calculates the probability of mapping one piece of design factor information to a plurality of second classification characteristics and takes the database label corresponding to the second classification characteristic with the maximum probability as the output of the classification mapping model.
S103: and inputting the design key words into a PPT classification mapping model and acquiring database labels.
S104: and classifying the target template into a template database according to the database label.
By extracting the design element information in the PPT target template, establishing the mapping relation between the design element information and the database label, taking the design key words as the input of the classification mapping model, outputting the database label and accurately classifying the target template into the template database according to the database label, so that an art designer only needs to concentrate on the design of the template without considering the classification archiving operation of the database, the efficiency and the accuracy of template classification are improved, and the art designer working threshold of template design is also reduced.
EXAMPLE III
In the existing template classification method, only the appearance elements of the template, such as interfaces, pictures, picture contents, texts and colors contained in the picture, are identified, the function elements contained in the interface, such as control buttons, play buttons and play interfaces, are not identified, and the interface with the function elements is also an object for daily processing by the art designer, so that the target templates are filed, and the art designer can call and modify the target templates or a user to call and use the target templates in the future conveniently.
In general, when designing a template, an artist only considers from an 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 for template design based on functional elements, as shown in fig. 4, the method comprises 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 a function element keyword of the target template according to the function element information and the page layout information, and taking the function element keyword as the input of a classification mapping model;
s204: acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a functional element keyword and a database label, and the database label is set according to a database directory;
s205: inputting the design element information into a classification mapping model and acquiring a database label;
s206: and classifying the target template into a template database according to the database label.
In the scheme, the functional element information is one of design element information, and 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, playing window information, playing 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 the 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 a login interface keyword 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 keyword as the input of the classification mapping model.
In the embodiment, an interface template is designed by an art designer, two recognizable thin strip-shaped text input boxes are reserved in the interface template, two button controls are reserved under the text input boxes, and the interface is recognized as a login interface according to the positions and the proportion of the two text input boxes and the two button controls, so that the interface is convenient to call and use subsequently.
If the programmer needs to use the login interface later, because the programmer is not good at aesthetic interface design, the programmer can screen the login interface, and after calling the login interface, the programmer can directly input corresponding pointer functions in the text input box and the button control to enable the input interface to be the login interface desired by the programmer.
In a specific embodiment, if the functional element information is interactive information, acquiring an edited target template, and extracting the interactive information in the target template;
in the scheme, the more the number of the interaction areas and the functional spaces arranged by the art designer is, the more accurate the identification and the distinction of the target template are. Therefore, the designer may be required to reserve design information from an aesthetic angle in the interaction region during template design, for example, as shown in fig. 5, in the interface template, the designer performs aesthetic editing on the interface according to his own experience, and adds text controls, button controls, and the like with different shapes, sizes, and colors. According to the scheme, when the text control and/or the button control are/is identified, the page layout information of the target template is identified, and the occupation ratio of the interaction area is properly used as a login interface, the target template is identified as the login interface, and the functional element keywords are obtained: "Login interface".
Acquiring page layout information of a target template according to background page information, playing window information, playing key information and language interaction information in the interaction information, and judging that the target template is a playing interface template according to the page layout information;
and acquiring a playing interface keyword 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 keyword as the input of the classification mapping model.
The art designing can carry out the editing design to the target template based on self aesthetic experience, but he can not surpass basic design element, for example, the play button is circular control, therefore, when detecting that there is circular control, this scheme discerns the page layout information of interface, based on page layout information and circular control button, can discern this template as the play interface, obtains the functional element keyword: "Play interface".
If the programmer needs to use the playing interface later, because the programmer is not good at aesthetic interface design, the programmer can screen the playing interface, and after the playing interface is called, the programmer can directly input a corresponding pointer function in a playing window, a playing key, a playing button and language interaction information to enable the playing interface to become the playing interface desired by the programmer.
The classification method for template design based on functional elements can extract or match corresponding functional element information for analysis according to the design layout of the art designer, and further realize the accurate classification of the templates from the function or application angle; therefore, the method is beneficial to quickly searching or screening out the corresponding template at the back end of subsequent development, realizes the corresponding function and improves the template design and subsequent application efficiency.
Example four
The present embodiment specifically provides a classification apparatus based on template design, as shown in fig. 6, including:
and the element extraction module 100 is configured to obtain the edited target template, extract design element information in the target template, obtain a design keyword according to the design element information, and use the design keyword as an input of the classification mapping model.
The model obtaining module 200 is used for the classification mapping model and comprises a character mapping module for establishing a mapping relation between the design key words and the database labels, and the database labels are set according to the database catalog.
And the model processing module 300 is used for inputting the design keywords into the classification mapping model and acquiring the database labels.
A template classification module 400 for classifying the target template into the template database according to the database tag.
According to the classifying device based on the template design, the functional element information in the target template is extracted, the mapping relation between the functional element information and the database label is established, the functional element information can be specifically the functional element key words and used as the input of the classifying 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 an art designer only needs to concentrate on the design of the template without considering the classifying archiving operation of the database, the efficiency and the accuracy of template classification are improved, and the art designer working threshold of the template design is also reduced.
EXAMPLE five
FIG. 7 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a terminal, and may also be 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 comprises 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 that, when executed by the processor, causes the processor to implement the template classification method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform the template classification method. It will be appreciated by those skilled in the art that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is proposed, 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 the input of a classification mapping model;
acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
inputting the design keywords into a classification mapping model and acquiring a database label;
and classifying the target template into a template database according to the database label.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out 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 the input of a classification mapping model;
acquiring a classification mapping model, wherein the classification mapping model comprises a character 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;
inputting the design key words into a classification mapping model and acquiring database labels;
and classifying the target template into a template database according to the database label.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A classification method based on template design is characterized by comprising 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 the input of a classification mapping model;
s2: acquiring a classification mapping model, wherein the classification mapping model comprises a character mapping module for establishing a mapping relation between a design keyword and a database tag, and the database tag is set according to a database directory;
s3: inputting the design key words into a classification mapping model and acquiring database labels;
s4: and classifying the target template into a template database according to the database label.
2. The template design-based classification method according to claim 1, wherein the design element information includes: character 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 character font type, style keywords are obtained according to the design style information, and the style keywords are used as the input of the classification mapping model;
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 input of the classification mapping model.
3. The template design-based classification method according to 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;
the classification mapping module maps each first classification characteristic to a second classification characteristic according to a preset mapping rule;
and the characteristic classification layer calculates the probability of mapping one piece of design factor information to a plurality of second classification characteristics and takes the database label corresponding to the second classification characteristic with the maximum probability as the output of the classification mapping model.
4. The template design-based classification method according to claim 1, wherein the step S1 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 key words of the target template according to the functional element information and the page layout information, and taking the functional element key words as the input of the classification mapping model.
5. The template design-based classification method according to claim 4, wherein 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, playing window information, playing key information and language interactive information.
6. The template design-based classification method according to claim 5, characterized in that:
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 a login interface keyword 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 keyword as the input of the classification mapping model.
7. The template design-based classification method according to claim 5, characterized in that:
acquiring an edited target template, and extracting interactive information in the target template;
acquiring page layout information of a target template according to background page information, playing window information, playing key information and language interaction information in the interaction information, and judging that the target template is a playing interface template according to the page layout information;
and acquiring a playing interface keyword 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 keyword as the input of the classification mapping model.
8. A classification device based on template design is characterized by 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 the input of the classification mapping model;
the model acquisition module is used for acquiring a classification mapping model, the classification mapping model comprises a character 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 a classification mapping model and acquiring database labels;
and the template classifying module is used for classifying the target template into the template database according to the database label.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. 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 according to any one of claims 1 to 7.
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 true CN115099212A (en) 2022-09-23
CN115099212B 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 (6)

* 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
US20170140048A1 (en) * 2015-11-17 2017-05-18 Xiaomi Inc. Information processing method, apparatus, terminal and server
CN110135264A (en) * 2019-04-16 2019-08-16 深圳壹账通智能科技有限公司 Data entry method, device, computer equipment and storage medium
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
CN112711937A (en) * 2021-01-18 2021-04-27 腾讯科技(深圳)有限公司 Template recommendation method, device, equipment and storage medium

Patent Citations (6)

* 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
US20170140048A1 (en) * 2015-11-17 2017-05-18 Xiaomi Inc. Information processing method, apparatus, terminal and server
CN110135264A (en) * 2019-04-16 2019-08-16 深圳壹账通智能科技有限公司 Data entry method, device, computer equipment and storage medium
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
CN112711937A (en) * 2021-01-18 2021-04-27 腾讯科技(深圳)有限公司 Template recommendation method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
侯汉清 等: "基于知识库的网页自动标引和自动分类系统的设计", 大学图书馆学报, no. 01, pages 50 - 55 *

Also Published As

Publication number Publication date
CN115099212B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN111381751A (en) Text processing method and device
CN108733343B (en) Method, device and storage medium for generating voice control instruction
CN103140848B (en) Character conversion system and character conversion method
CN110442553A (en) File management method, device, computer equipment and storage medium
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
CN109410932B (en) Voice operation method and device based on HTML5 webpage
US20220284175A1 (en) Systems and methods for extracting text from portable document format data
CN110427884A (en) The recognition methods of the document structure of an article, device, equipment and storage medium
CN111008522A (en) Automatic article writing method and device, computer equipment and storage medium
CN111191079A (en) Document content acquisition method, device, equipment and storage medium
CN112131837A (en) Service report configuration method, device, computer equipment and storage medium
CN115098098A (en) Page generation method, page display method and device
CN111382570A (en) Text entity recognition method and device, computer equipment and storage medium
CN114416911A (en) Analysis report generation method, related device, medium, and program
KR101039447B1 (en) Recording medium for character recognition program, character recognition electronic components, character recognition device, character recognition method
CN115099212B (en) Classification method, device, medium and computer equipment based on template design
US20220284724A1 (en) Systems and methods for extracting text from portable document format data
US11023418B2 (en) Keyword-based data management system and method
US10803308B2 (en) Apparatus for deciding whether to include text in searchable data, and method and storage medium thereof
CN110533556B (en) Method, apparatus, computer device and storage medium for processing arbitration information
CN110908570B (en) Image processing method, device, terminal and storage medium
CN114416664A (en) Information display method, information display device, electronic apparatus, and readable storage medium
JPWO2014170965A1 (en) Document processing method, document processing apparatus, and document processing program
CN113835704A (en) Layout file generation method, device, equipment and storage medium
US20240220084A1 (en) Information display method, device, computer apparatus 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