CN116204091A - Style setting method and device, storage medium and electronic equipment - Google Patents

Style setting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116204091A
CN116204091A CN202310487230.4A CN202310487230A CN116204091A CN 116204091 A CN116204091 A CN 116204091A CN 202310487230 A CN202310487230 A CN 202310487230A CN 116204091 A CN116204091 A CN 116204091A
Authority
CN
China
Prior art keywords
style
keywords
information
matched
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310487230.4A
Other languages
Chinese (zh)
Inventor
成昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinwei Zhiguang Information Technology Co ltd
Original Assignee
Beijing Jinwei Zhiguang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jinwei Zhiguang Information Technology Co ltd filed Critical Beijing Jinwei Zhiguang Information Technology Co ltd
Priority to CN202310487230.4A priority Critical patent/CN116204091A/en
Publication of CN116204091A publication Critical patent/CN116204091A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a style setting method and device, a storage medium and electronic equipment, which are applied to the technical field of design, wherein a style setting frame is set in a design page in advance, so that keywords input by a user through the style setting frame are directly obtained, then style names or style values matched with keywords in style information of a style library are searched through the keywords, so that the style information matched with the keywords is searched, and then each piece of searched style information matched with the keywords is displayed. Therefore, the style setting frame is set in the design page in advance, so that a user can directly input keywords into the style setting frame of the design page for searching without calling a style menu, and the shortening of an operation path is realized, so that the searching efficiency is improved, the style names and style values in the style information can be searched through the keywords, the searching diversity is increased, the operation cost of the user setting style is reduced, and the use rate of the design style is improved.

Description

Style setting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of design technologies, and in particular, to a style setting method and apparatus, a storage medium, and an electronic device.
Background
In business designs supported by a complete design specification, it is often desirable for a designer to perform style setting work according to visual styles defined within the design specification to ensure standardization and consistency of design files.
According to the existing style setting scheme, a style menu is called out from a design page, and a style name is input in the style menu to search a design style for style setting.
Disclosure of Invention
The application provides a style setting method and device, a storage medium and electronic equipment, and aims to solve the problems that in the prior art, a retrieval mode is single, a style retrieval operation path is long, so that the retrieval efficiency of a design style is low, and the style setting efficiency is low.
In order to achieve the above object, the present application provides the following technical solutions:
a style setting method applied to a design platform, the method comprising:
acquiring keywords input by a user through a style setting box; the style setting frame is preset in a design page of the design platform, and the keywords are at least part of information in style names or style values of styles to be set;
retrieving style information corresponding to the style name or style value matched with the keyword in a preset style library; the style information at least comprises a design style, and a style name and a style value of the design style;
displaying each piece of retrieved style information matched with the keywords; wherein, each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword;
and responding to a selection instruction of any one style information in the displayed style information, and adding the design style in the selected style information into the design page.
In the above method, optionally, the style library includes a local library and a team library, and the retrieving style information corresponding to a style name or a style value matched with the keyword in the preset style library includes:
judging whether style names or style values matched with the keywords exist in style information contained in the local library and the team library respectively;
if the style names or style values matched with the keywords exist in the style information contained in the local library and/or the team library, the style information corresponding to the style names or style values matched with the keywords is determined to be the style information matched with the keywords.
The method, optionally, of displaying the retrieved style information matched with the keyword, includes:
determining the display sequence of the retrieved style information matched with the keywords;
and displaying the retrieved style information matched with the keywords according to the display sequence.
According to the above method, optionally, the displaying the retrieved style information matched with the keyword according to the displaying sequence includes:
directly displaying the retrieved style information matched with the keywords according to the display sequence;
or alternatively, the first and second heat exchangers may be,
and according to the display sequence, distinguishing and displaying the fields which are the same as the keywords and the fields which are different from the keywords in the retrieved style information which is matched with the keywords.
In the method, optionally, the keyword may also be a style description; the style describes other information for describing the design style.
In the above method, optionally, the style information further includes style descriptions, the style library includes a local library and a team library, and the retrieving style information corresponding to a style name or a style value matched with the keyword in the preset style library includes:
judging whether the style information contained in the local library and the team library contains style names, style values or style descriptions matched with the keywords or not respectively;
if the style information contained in the local library and/or the team library contains the style names, the style values or the style descriptions matched with the keywords, the style information corresponding to the style names, the style values or the style descriptions matched with the keywords is determined to be the style information matched with the keywords.
A style setting device for use with a design platform, the device comprising:
the obtaining unit is used for obtaining keywords input by a user through the style setting box; the style setting frame is preset in a design page of the design platform, and the keywords are at least part of information in style names or style values of styles to be set;
the searching unit is used for searching style information corresponding to the style name or the style value matched with the keyword in a preset style library; the style information at least comprises a design style, and a style name and a style value of the design style;
the display unit is used for displaying each piece of searched style information matched with the keywords; wherein, each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword;
an adding unit, configured to respond to a selection instruction of any one style information in the presented style information, and add a design style in the selected style information to the design page.
The above device, optionally, the style library includes a local library and a team library, and the retrieving unit is specifically configured to:
judging whether style names or style values matched with the keywords exist in style information contained in the local library and the team library respectively;
if the style names or style values matched with the keywords exist in the style information contained in the local library and/or the team library, the style information corresponding to the style names or style values matched with the keywords is determined to be the style information matched with the keywords.
A storage medium storing a set of instructions, wherein the set of instructions, when executed by a processor, implement a style setting method as described above.
An electronic device, comprising:
a memory for storing at least one set of instructions;
and the processor is used for executing the instruction set stored in the memory, and realizing the style setting method by executing the instruction set.
Compared with the prior art, the application has the following advantages:
the method is applied to a design platform, a style setting frame is set in a design page in advance, so that keywords input by a user through the style setting frame can be directly obtained, the keywords are at least partial information in style names or style values of styles to be set, then the style names or style values matched with the keywords in the style information of a style library are searched through the keywords, so that the style information matched with the keywords is searched, each piece of searched style information matched with the keywords is displayed, and the design style in the selected style information is added to the design page in response to a selection instruction of any style in the displayed style information. Therefore, according to the scheme, the style setting frame is set in the design page in advance, so that a user can directly input keywords into the style setting frame of the design page for searching without calling out a style menu, shortening of an operation path is realized, searching efficiency is improved, style names and style values in style information can be searched through the keywords, searching diversity is improved, operation cost of a user setting style is reduced, and use rate of the design style is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a method flowchart of a style setting method provided in the present application;
FIG. 2 is a flowchart of a method of setting a style according to the present application;
FIG. 3 is a flowchart of a method of setting a style according to the present application;
FIG. 4 is a diagram of another embodiment of a style setup method provided herein;
FIG. 5 is a flowchart of a method of setting a style according to the present application;
fig. 6 is a schematic structural diagram of a style setting device provided in the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that the references to "one" or "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The subject application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor devices, distributed computing environments that include any of the above devices or devices, and the like.
The embodiment of the application provides a style setting method, which can be applied to a design platform, and a method flow chart of the method is shown in fig. 1, and specifically comprises the following steps:
s101, acquiring keywords input by a user through a style setting box.
In this embodiment, a style setting box is set in advance in a design page of the design platform, and the style setting box may be an input box.
In the process of designing and creating through a design page of a design platform, a user can input keywords of a pattern to be set by clicking a pattern setting box in the design page under the condition of having a pattern setting requirement.
The design platform obtains a keyword input by a user through a style setting box, wherein at least part of information in a style name or a style value of a style to be set by the keyword, that is, the keyword may be part or all of information in the style name of the style to be set, or part or all of information in the style value of the style to be set.
Taking "fillet" setting as an example, when a user has a fillet setting requirement, 1024 may be input in a style setting box of the design page, where 1024 may be part or all of information in a style name of the fillet to be set, or part or all of information of a style value of the fillet to be set.
S102, retrieving style information corresponding to the style name or style value matched with the keyword in a preset style library.
In this embodiment, a style library is preset, in which style information is stored in advance, and it should be noted that style information is style information of an existing design style, where the existing design style is a style of pre-designed packaging.
The style information at least comprises a design style of the design style, a style name and a style value of the design style.
In this embodiment, the style information matched with the keyword in the style library is retrieved by retrieving the style name and the style value matched with the keyword in the style information included in the preset style library. That is, if a style name and/or a style value matching the keyword exists in the style information, it is determined that the style information matches the keyword.
In this embodiment, the style library includes a local library and a team library, and style information of existing design styles is stored in the local library and the team library in advance.
Referring to fig. 2, a process of retrieving style information corresponding to a style name or a style value matched with a keyword in a preset style library specifically includes the following steps:
s201, judging whether a style name or a style value matched with the keyword exists in style information included in the local library, if yes, executing S202, and if not, executing S203.
In this embodiment, it is determined whether a style name or a style value matching a keyword exists in style information included in the local library, specifically, for each style information included in the local library, whether the style name in the style information matches the keyword is determined, and whether the style value in the style information matches the keyword is determined.
The process for judging whether the style name in the style information is matched with the keyword specifically comprises the following steps: judging whether a field consistent with the keyword in comparison exists in the sample name of the style information, for example, the style name of the style information is A/1024, and the keyword is 1024, and because the field 1024 consistent with the keyword 1024 in comparison exists in the style name A/1024, the style name in the style information is determined to be matched with the keyword.
The process for judging whether the style value in the style information is matched with the keyword or not comprises the following specific steps: judging whether a field consistent with the keyword comparison exists in the fields included in the style value of the style information. For example, the style value of the style information is 1024, the keyword is 1024, and since the field 1024 matching the keyword 1024 exists in the style value 1024, it is determined that the style value in the style information matches the keyword.
S202, determining the style information corresponding to the style name or style value matched with the keyword in the local library as the style information matched with the keyword.
In this embodiment, for each style information in the local library, if there is a style name or a style value matching the keyword in the style information, that is, there is only a style name matching the keyword in the style information, or there is only a style value matching the keyword in the style information, or there is both a style name matching the keyword and a style value matching the keyword in the style information, the style information corresponding to the style name or the style value matching the keyword in the local library is determined as the style information matching the keyword.
In the present embodiment, after step S202 is performed, step S203 is performed.
S203, judging whether the style information included in the team library has a style name or a style value matched with the keyword, if so, executing S204, and if not, ending.
In this embodiment, if there is no style name and style value matching the keyword in the style information included in the local library, or after executing step S202, it is further determined whether there is a style name or style value matching the keyword in the style information included in the team library, specifically, for each style information included in the team library, whether the style name in the style information matches the keyword, and whether the style value in the style information matches the keyword.
The process for judging whether the style name in the style information is matched with the keyword specifically comprises the following steps: judging whether a field consistent with the keyword in comparison exists in the sample name of the style information, for example, the style name of the style information is A/1024, and the keyword is 1024, and because the field 1024 consistent with the keyword 1024 in comparison exists in the style name A/1024, the style name in the style information is determined to be matched with the keyword.
The process for judging whether the style value in the style information is matched with the keyword or not comprises the following specific steps: judging whether a field consistent with the keyword comparison exists in the fields included in the style value of the style information. For example, the style value of the style information is 1024, the keyword is 1024, and since the field 1024 matching the keyword 1024 exists in the style value 1024, it is determined that the style value in the style information matches the keyword.
In this embodiment, if the style name or style value matching the keyword exists in the style information included in the team repository, step S204 is executed, and if the style name or style value matching the keyword does not exist in the style information included in the team repository, the process is directly ended.
S204, determining the style information corresponding to the style name or style value matched with the keyword in the team library as the style information matched with the keyword.
In this embodiment, for each style information in the team library, if there is a style name or a style value matching the keyword in the style information, that is, there is only a style name matching the keyword in the style information, or there is only a style value matching the keyword in the style information, or there is both a style name matching the keyword and a style value matching the keyword in the style information, the style information corresponding to the style name or style value matching the keyword in the team library is determined as the style information matching the keyword.
In the method provided by the embodiment of the application, whether the style names or style values matched with the keywords exist in the style information included in the local library and the team library is judged respectively; if the style names or the style values matched with the keywords exist in the style information contained in the local library or the team library, the style information corresponding to the style names or the style values matched with the keywords is determined to be the style information matched with the key words.
It should be noted that, although the process of retrieving style information matching keywords in a preset style gallery is depicted in a specific order, it should not be understood that this may be performed only in that order, but may also be performed in a different order, and/or performed in parallel.
And S103, displaying each piece of retrieved style information matched with the keywords.
In this embodiment, each style information that matches the retrieved keyword is displayed, that is, each style information that matches the retrieved keyword is visually displayed. Each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword.
Referring to fig. 3, the process of displaying each style information matched with the keyword specifically includes the following steps:
s301, determining the display sequence of the retrieved style information matched with the keywords.
In this embodiment, the display order of the retrieved style information matched with the keywords is determined, specifically, the display order of the retrieved style information matched with the keywords is determined according to a preset display policy, and the display policy may be, for example, displaying according to the order of the retrieved style information, for example, if the order of retrieving the style information is that of retrieving the local library first, and then retrieving the team library, the display order is that of displaying the style information matched with the keywords in the local library first, and then displaying the style information matched with the keywords in the team library.
Illustratively, referring to fig. 4, style information matching the keywords 1024 in the local (i.e., local library) is shown first, and then style information matching the keywords 1024 in the team library name (i.e., team library) is shown.
S302, displaying the retrieved style information matched with the keywords according to the display sequence.
Displaying the retrieved style information matched with the keywords according to the display sequence, and particularly directly displaying the retrieved style information matched with the keywords according to the display sequence; or, according to the display sequence, distinguishing and displaying the fields which are the same as the keywords and the fields which are different from the keywords in the retrieved style information which is matched with the keywords.
It should be noted that there are various ways of distinguishing and displaying, such as highlighting the keyword portion, highlighting the non-keyword portion, or displaying the keyword portion in one color, displaying the non-keyword portion in another color, or displaying the keyword portion in bold and the non-keyword portion in no bold, so as to achieve the purpose of distinguishing and displaying.
For example, referring to fig. 4, as for the style information a, 1024 in the style information a is the keyword part, and other contents except 1024 in the style information a are the non-keyword parts, because 1024 in the style information a is consistent with the keyword 1024.
It should be noted that, in the style information matched with the keyword shown in fig. 4, each style information includes a design style, a style name and a style value, for example, in the style information a, a rounded symbol is a design style, a style name is a style one, a style value is 1024, and in the style information B, a rounded symbol is a design style, a style two is a style name, and a style value is 32.0.1.24.2.
S104, responding to a selection instruction of any one style information in the displayed style information, and adding the design style in the selected style information into the design page.
In this embodiment, a user may select any one style information in the displayed style information, and the design platform receives a selection instruction of the user for any one style information in the displayed style information, responds to the selection instruction, determines style information selected by the user, and adds a design style in the selected style information to the design page, thereby realizing style setting.
The utility model provides a style setting method, which is characterized in that a style setting frame is set in a design page in advance, so that keywords input by a user through the style setting frame can be directly obtained, the keywords are at least part of information in style names or style values of styles to be set, then the style names or style values matched with the keywords in the style information of a style library are searched through the keywords, so that the style information matched with the keywords is searched, each piece of searched style information matched with the keywords is displayed, and in response to a selection instruction of any style in the displayed style information, the design style in the selected style information is added into the design page. Therefore, according to the scheme, the style setting frame is set in the design page in advance, so that a user can directly input keywords into the style setting frame of the design page for searching without calling out a style menu, shortening of an operation path is realized, searching efficiency is improved, style names and style values in style information can be searched through the keywords, searching diversity is improved, operation cost of a user setting style is reduced, and use rate of the design style is improved.
In the style setting method provided in the embodiment of the present application, the keyword may also be a style description, where the style description is used to describe other information of the design style, including but not limited to an application scenario.
In the style setting method provided in the embodiment of the present application, style information further includes style descriptions; accordingly, referring to fig. 5, a process of retrieving style information corresponding to a style name or a style value matched with a keyword in a preset style library specifically includes the following steps:
s501, judging whether a style name, a style value or a style description matched with the keyword exists in style information included in the local library, if so, executing S502, and if not, executing S503.
In this embodiment, it is determined whether a style name, a style value, or a style description matching a keyword exists in style information included in the local library, specifically, for each style information included in the local library, whether the style name in the style information matches the keyword, whether the style value in the style information matches the keyword, and whether the style description in the style information matches the keyword are determined.
The process for judging whether the style description in the style information is matched with the keyword specifically comprises the following steps: judging whether a field consistent with the keyword comparison exists in the sample description of the style information, and if so, determining that the style description in the style information is matched with the keyword.
S502, determining the style information corresponding to the style name, the style value or the style description matched with the keyword in the local library as the style information matched with the keyword.
In this embodiment, for each style information in the local library, if there is a style name, a style value, or a style description matching the keyword in the style information, that is, if there is at least one of the style name, the style value, and the style description matching the keyword in the style information, the style information corresponding to the style name, the style value, or the style description matching the keyword in the local library is determined as the style information matching the keyword.
S503, judging whether the style information included in the team library has a style name, a style value or a style description matched with the keyword, if so, executing S504, and if not, ending.
In this embodiment, if there is no style name, style value, and style description matching the keyword in the style information included in the local library, or after executing step S502, it is further determined whether there is a style name, style value, or style description matching the keyword in the style information included in the team library, specifically, for each style information included in the team library, it is determined whether the style name in the style information matches the keyword, and whether the style value in the style information matches the keyword, and whether the style description in the style information matches the keyword.
The process for judging whether the style description in the style information is matched with the keyword specifically comprises the following steps: judging whether a field consistent with the keyword comparison exists in the sample description of the style information, and if so, determining that the style description in the style information is matched with the keyword.
In this embodiment, if the style name, style value or style description matched with the keyword exists in the style information included in the team repository, step S204 is executed, and if the style name, style value and style description matched with the keyword does not exist in the style information included in the team repository, the method is directly finished.
S504, determining the style information corresponding to the style name, the style value or the style description matched with the keyword in the team library as the style information matched with the keyword.
In this embodiment, for each style information in the team library, if there is a style name, a style value or a style description matching with the keyword in the style information, that is, if there is at least one of the style name, the style value and the style description matching with the keyword in the style information, the style information corresponding to the style name or the style value matching with the keyword in the team library is determined as the style information matching with the keyword.
In the method provided by the embodiment of the application, whether a style name, a style value or a style value matched with a keyword exists in style information included in a local library and a team library is respectively judged; if the style information contained in the local library or the team library contains the style name, the style value or the style value matched with the keyword, the style information corresponding to the style name, the style value or the style description matched with the keyword is determined to be the style information matched with the key word.
According to the method provided by the embodiment of the application, the variety of the style information retrieval is further increased by matching the keywords with the style descriptions in the style information, the operation cost of a user is reduced, and the user is guided to use the style by displaying the style corresponding to the style name, the style value and the style descriptions so as to ensure the normalization and the consistency of the design file.
It should be noted that although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments disclosed herein may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the method shown in fig. 1, the embodiment of the present application further provides a style setting device, which is used for implementing the method in fig. 1, and the structural schematic diagram of the style setting device is shown in fig. 6, and specifically includes:
an obtaining unit 601, configured to obtain a keyword input by a user through a style setting box; the style setting frame is preset in a design page of the design platform, and the keywords are at least part of information in style names or style values of styles to be set;
a retrieving unit 602, configured to retrieve style information corresponding to the style name or style value matched with the keyword in a preset style library; the style information at least comprises a design style, and a style name and a style value of the design style;
a display unit 603, configured to display each style information that matches the retrieved keyword; wherein, each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword;
an adding unit 604, configured to respond to a selection instruction of any one style information in the presented style information, and add a design style in the selected style information to the design page.
According to the style setting device provided by the embodiment of the application, the style setting frame is set in the design page in advance, so that a user can directly input keywords into the style setting frame of the design page for searching without calling out a style menu, shortening of an operation path is realized, searching efficiency is improved, style names and style values in style information can be searched through the keywords, searching diversity is increased, operation cost of a user setting style is reduced, and the use rate of the design style is improved.
In one embodiment of the present application, based on the foregoing solution, the style gallery includes a local gallery and a team gallery, and the retrieving unit 602 is specifically configured to:
judging whether style names or style values matched with the keywords exist in style information contained in the local library and the team library respectively;
if the style names or style values matched with the keywords exist in the style information contained in the local library and/or the team library, the style information corresponding to the style names or style values matched with the keywords is determined to be the style information matched with the keywords.
In one embodiment of the present application, based on the foregoing solution, the display unit 603 is specifically configured to:
determining the display sequence of the retrieved style information matched with the keywords;
and displaying the retrieved style information matched with the keywords according to the display sequence.
In one embodiment of the present application, based on the foregoing solution, when the presentation unit 603 presents the retrieved style information matching the keyword in the presentation order, the presentation unit is specifically configured to:
directly displaying the retrieved style information matched with the keywords according to the display sequence;
or alternatively, the first and second heat exchangers may be,
and according to the display sequence, distinguishing and displaying the fields which are the same as the keywords and the fields which are different from the keywords in the retrieved style information which is matched with the keywords.
In one embodiment of the present application, based on the foregoing scheme, the keywords may also be style descriptions; the style describes other information for describing the design style.
In one embodiment of the present application, based on the foregoing solution, the style information further includes a style description, and the style library includes a local library and a team library, and the retrieving unit 602 is further configured to:
judging whether the style information contained in the local library and the team library contains style names, style values or style descriptions matched with the keywords or not respectively;
if the style information contained in the local library and/or the team library contains the style names, the style values or the style descriptions matched with the keywords, the style information corresponding to the style names, the style values or the style descriptions matched with the keywords is determined to be the style information matched with the keywords.
The embodiment of the application also provides a storage medium, wherein the storage medium stores an instruction set, and the style setting method disclosed in any embodiment above is executed when the instruction set runs.
The embodiment of the application further provides an electronic device, a schematic structural diagram of which is shown in fig. 7, and the electronic device specifically includes a memory 701, configured to store at least one set of instruction sets; a processor 702 for executing the instruction set stored in the memory, and implementing the style setting method as disclosed in any of the embodiments above by executing the instruction set.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only of the preferred embodiments disclosed herein and of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the disclosure. Such as the one described above, are replaced with other features disclosed in the present disclosure (but not limited to) having similar functions.

Claims (10)

1. A style setting method, applied to a design platform, the method comprising:
acquiring keywords input by a user through a style setting box; the style setting frame is preset in a design page of the design platform, and the keywords are at least part of information in style names or style values of styles to be set;
retrieving style information corresponding to the style name or style value matched with the keyword in a preset style library; the style information at least comprises a design style, and a style name and a style value of the design style;
displaying each piece of retrieved style information matched with the keywords; wherein, each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword;
and responding to a selection instruction of any one style information in the displayed style information, and adding the design style in the selected style information into the design page.
2. The method according to claim 1, wherein the style library includes a local library and a team library, and the retrieving style information corresponding to the keyword-matching style name or style value in the preset style library includes:
judging whether style names or style values matched with the keywords exist in style information contained in the local library and the team library respectively;
if the style names or style values matched with the keywords exist in the style information contained in the local library and/or the team library, the style information corresponding to the style names or style values matched with the keywords is determined to be the style information matched with the keywords.
3. The method according to claim 1, wherein the presenting the retrieved style information matching the keyword comprises:
determining the display sequence of the retrieved style information matched with the keywords;
and displaying the retrieved style information matched with the keywords according to the display sequence.
4. The method according to claim 3, wherein the presenting the retrieved style information matching the keyword in the presentation order includes:
directly displaying the retrieved style information matched with the keywords according to the display sequence;
or alternatively, the first and second heat exchangers may be,
and according to the display sequence, distinguishing and displaying the fields which are the same as the keywords and the fields which are different from the keywords in the retrieved style information which is matched with the keywords.
5. The method of claim 1, wherein the keywords may also be style descriptions; the style describes other information for describing the design style.
6. The method according to claim 5, wherein the style information further includes a style description, the style library includes a local library and a team library, and the retrieving style information corresponding to a style name or a style value matched with the keyword in a preset style library includes:
judging whether the style information contained in the local library and the team library contains style names, style values or style descriptions matched with the keywords or not respectively;
if the style information contained in the local library and/or the team library contains the style names, the style values or the style descriptions matched with the keywords, the style information corresponding to the style names, the style values or the style descriptions matched with the keywords is determined to be the style information matched with the keywords.
7. A style setting device for use with a design platform, the device comprising:
the obtaining unit is used for obtaining keywords input by a user through the style setting box; the style setting frame is preset in a design page of the design platform, and the keywords are at least part of information in style names or style values of styles to be set;
the searching unit is used for searching style information corresponding to the style name or the style value matched with the keyword in a preset style library; the style information at least comprises a design style, and a style name and a style value of the design style;
the display unit is used for displaying each piece of searched style information matched with the keywords; wherein, each style information matched with the keyword is style information corresponding to a style name or a style value matched with the keyword;
an adding unit, configured to respond to a selection instruction of any one style information in the presented style information, and add a design style in the selected style information to the design page.
8. The apparatus according to claim 7, wherein the style gallery comprises a local gallery and a team gallery, the retrieving unit being specifically configured to:
judging whether style names or style values matched with the keywords exist in style information contained in the local library and the team library respectively;
if the style names or style values matched with the keywords exist in the style information contained in the local library and/or the team library, the style information corresponding to the style names or style values matched with the keywords is determined to be the style information matched with the keywords.
9. A storage medium storing a set of instructions, wherein the set of instructions when executed by a processor implement the style setting method of any of claims 1-6.
10. An electronic device, comprising:
a memory for storing at least one set of instructions;
a processor for executing the set of instructions stored in the memory, by executing the set of instructions, to implement the style setting method according to any of claims 1-6.
CN202310487230.4A 2023-05-04 2023-05-04 Style setting method and device, storage medium and electronic equipment Pending CN116204091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310487230.4A CN116204091A (en) 2023-05-04 2023-05-04 Style setting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310487230.4A CN116204091A (en) 2023-05-04 2023-05-04 Style setting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116204091A true CN116204091A (en) 2023-06-02

Family

ID=86513317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310487230.4A Pending CN116204091A (en) 2023-05-04 2023-05-04 Style setting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116204091A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110537179A (en) * 2017-04-27 2019-12-03 康瓦有限公司 The system and method for match patterns attribute
US20220327282A1 (en) * 2019-06-28 2022-10-13 Canva Pty Ltd Systems and methods of generating a design based on a user search query
CN115688216A (en) * 2022-11-21 2023-02-03 杭州果粉创意设计有限公司 User-defined design method and device of drawing
CN115756692A (en) * 2022-11-15 2023-03-07 中国平安财产保险股份有限公司 Method for automatically combining and displaying pages based on style attributes and related equipment thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110537179A (en) * 2017-04-27 2019-12-03 康瓦有限公司 The system and method for match patterns attribute
US20220327282A1 (en) * 2019-06-28 2022-10-13 Canva Pty Ltd Systems and methods of generating a design based on a user search query
CN115756692A (en) * 2022-11-15 2023-03-07 中国平安财产保险股份有限公司 Method for automatically combining and displaying pages based on style attributes and related equipment thereof
CN115688216A (en) * 2022-11-21 2023-02-03 杭州果粉创意设计有限公司 User-defined design method and device of drawing

Similar Documents

Publication Publication Date Title
US8479118B2 (en) Switching search providers within a browser search box
US9075873B2 (en) Generation of context-informative co-citation graphs
US9298721B2 (en) Prioritized search results based on monitored data
WO2022227866A1 (en) Method and apparatus for information display, and non-volatile computer storage medium
JP4438448B2 (en) Structured document display processing device, structured document display method, structured document display program
US10152539B2 (en) Webpage searching method and browser
US10908793B2 (en) Persistent application interface management
JP2009037602A (en) Method and system for providing navigable search result
CN101960483A (en) Service preview and access from an application page
US10410271B2 (en) System and method for highlighting differences in items in a search result listing
US10528227B2 (en) Systems and methods for linking attachments to chat messages
US20080243814A1 (en) Search Techniques for Page-Based Document Layouts
US20120179709A1 (en) Apparatus, method and program product for searching document
CN112307365A (en) Information display method and device, electronic equipment and storage medium
JP6586177B2 (en) Cumulative search processing method and apparatus, terminal, and storage medium
CN109783612B (en) Report data positioning method and device, storage medium and terminal
JP6965773B2 (en) Presentation device, presentation method and presentation program
EP3255566A1 (en) Text retrieval method and apparatus
CN107315735B (en) Method and equipment for note arrangement
CN116204091A (en) Style setting method and device, storage medium and electronic equipment
CN110502690B (en) Classified search method and device
JP6955161B2 (en) Information processing program, information processing device and information processing method
JP2010128675A (en) Retrieval device
CN104866483B (en) Information retrieval method and device
US20240104297A1 (en) Analysis of spreadsheet table in response to user input

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230602

RJ01 Rejection of invention patent application after publication