[go: up one dir, main page]

CN108614886B - A method and device for generating a website theme - Google Patents

A method and device for generating a website theme Download PDF

Info

Publication number
CN108614886B
CN108614886B CN201810414491.2A CN201810414491A CN108614886B CN 108614886 B CN108614886 B CN 108614886B CN 201810414491 A CN201810414491 A CN 201810414491A CN 108614886 B CN108614886 B CN 108614886B
Authority
CN
China
Prior art keywords
theme
function
component
style
target
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.)
Expired - Fee Related
Application number
CN201810414491.2A
Other languages
Chinese (zh)
Other versions
CN108614886A (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.)
Beijing Yunzhan Technology Co ltd
Original Assignee
Beijing Yunzhan 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 Yunzhan Technology Co ltd filed Critical Beijing Yunzhan Technology Co ltd
Priority to CN201810414491.2A priority Critical patent/CN108614886B/en
Publication of CN108614886A publication Critical patent/CN108614886A/en
Application granted granted Critical
Publication of CN108614886B publication Critical patent/CN108614886B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a website theme generation method, which comprises the following steps: obtaining a theme function set identifier and a theme style identifier; obtaining a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, wherein the target theme function set comprises: at least one target component function, wherein the target theme style comprises at least one target parameter value; and generating a website theme file based on the target component function and the target parameter value.

Description

Website theme generation method and device
Technical Field
The present application relates to the field of network technologies, and in particular, to a method and an apparatus for generating a website topic.
Background
With the development of the internet, a platform, i.e., a service type product, is in a endlessly growing range. The platform and the service type product use the cloud service mode, and the resource utilization rate is improved and the cost of customers for realizing the services is reduced by virtualizing computer resources such as a centralized management processor, a memory, a network and the like. For example, a platform for providing website building services for different industry clients needs to provide theme development services for the clients in order to meet the customized requirements of the different clients on the industry website templates.
The existing theme development mode needs a developer to develop the website theme of each industry website template independently, the website theme can be online after the development is finished and the corresponding theme needs to be developed and updated simultaneously when a certain industry website template is changed.
Therefore, in the existing theme development mode, a large amount of repeated labor exists, so that the development period of the website theme is long, and the development efficiency is low.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method and an apparatus for generating a website topic, so as to solve the technical problems of a longer development period and a lower development efficiency of the website topic in the prior art.
The application provides a website theme generation method, which comprises the following steps:
obtaining a theme function set identifier and a theme style identifier;
obtaining a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, wherein the target theme function set comprises: at least one target component function, wherein the target theme style comprises at least one target parameter value;
and generating a website theme file based on the target component function and the target parameter value.
Preferably, the above method, obtaining a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, includes:
obtaining a target theme function set corresponding to the theme function set identification in a preset theme function set database; the theme function set database comprises at least one theme function set, the theme function set comprises at least one component function, and the component function comprises at least one function variable;
obtaining a target theme style corresponding to the theme style identification in a preset theme style database; the theme style database comprises at least one theme style, the theme style comprises at least one parameter variable, and the parameter variable has a parameter value.
In the above method, preferably, the topic function set database is obtained by:
obtaining a component in a website industry template, the component having at least one component style;
performing component function setting on the component aiming at the component style to generate at least one component function of the component, wherein the component function comprises at least one function variable;
and generating at least one theme function set based on the component functions of the components to form a theme function set database, wherein the theme function set comprises one component function of the components.
The above method, preferably, the theme style database is obtained by:
generating a parameter variable set based on function variables of component functions in the theme function set, wherein the parameter variable set comprises at least one parameter variable, and the parameter variable and the function variable have an association relation;
setting at least one parameter value for the parameter variable to generate at least one theme style, wherein the theme style comprises the parameter variable.
The above method, preferably, further comprises:
responding to a first input operation of a user, obtaining modification data of the theme function set in the first input operation, and generating a new theme function set based on the modification data;
and/or
And responding to a second input operation of the user, obtaining modification data of the parameter value in the second input operation, and generating a new theme style based on the modification data.
The present application further provides a website topic generation apparatus, including:
the identification obtaining unit is used for obtaining a theme function set identification and a theme style identification;
a target obtaining unit, configured to obtain a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, where the target theme function set includes: at least one target component function, wherein the target theme style comprises at least one target parameter value;
and the file generating unit is used for generating a website theme file based on the target component function and the target parameter value.
In the above apparatus, preferably, the object obtaining unit includes:
the function acquisition module is used for acquiring a target theme function set corresponding to the theme function set identification in a preset theme function set database; the theme function set database comprises at least one theme function set, the theme function set comprises at least one component function, and the component function comprises at least one function variable;
the style acquisition module is used for acquiring a target theme style corresponding to the theme style identifier in a preset theme style database; the theme style database comprises at least one theme style, the theme style comprises at least one parameter variable, and the parameter variable has a parameter value.
The above apparatus, preferably, further comprises:
the first acquisition unit is used for acquiring the theme function set database;
the method is specifically used for: obtaining a component in a website industry template, the component having at least one component style; performing component function setting on the component aiming at the component style to generate at least one component function of the component, wherein the component function comprises at least one function variable; and generating at least one theme function set based on the component functions of the components to form a theme function set database, wherein the theme function set comprises one component function of the components.
The above apparatus, preferably, further comprises:
the second acquisition unit is used for acquiring the theme style database;
the method is specifically used for: generating a parameter variable set based on function variables of component functions in the theme function set, wherein the parameter variable set comprises at least one parameter variable, and the parameter variable and the function variable have an association relation; setting at least one parameter value for the parameter variable to generate at least one theme style, wherein the theme style comprises the parameter variable.
The above apparatus, preferably, further comprises:
the updating unit is used for responding to a first input operation of a user, obtaining modification data of the theme function set in the first input operation, and generating a new theme function set based on the modification data;
the updating unit is further configured to respond to a second input operation of the user, obtain modification data of the parameter value in the second input operation, and generate a new theme style based on the modification data.
According to the scheme, the method and the device for generating the website theme have the advantages that the theme function set and the theme style are preset, after the theme function set identification and the theme style identification which indicate the user requirements are obtained, the corresponding target theme function set and the target theme style are obtained, the website theme file is generated based on the target component function and the target parameter value, and the generated website theme file presents the website theme style or style which meets the user requirements for the user through the target component function and the target parameter value. According to the method and the device, when the website theme file is generated, the repeated labor of the common wearable parts in different webpages in development is eliminated by extracting the theme components in advance, and the variable parameters in the components are extracted at the same time, so that the customized theme function set and the theme style are formed.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating a website topic according to an embodiment of the present application;
FIG. 2 is a diagram illustrating an example of an application of an embodiment of the present application;
FIG. 3 is a partial flow chart of a first embodiment of the present application;
FIGS. 4 and 5 are diagrams of another exemplary application of the present application;
FIGS. 6 and 7 are another partial flow charts of the first embodiment of the present application;
fig. 8 is a schematic structural diagram of a website topic generation apparatus according to a second embodiment of the present application;
FIG. 9 is a schematic partial structural diagram of a second embodiment of the present application;
fig. 10 to 12 are schematic structural diagrams of another embodiment of the present application;
fig. 13 and 14 are diagrams illustrating other examples of applications of the second embodiment of the present application, respectively.
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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart is an implementation flow of a website theme generation method provided in an embodiment of the present application, and the method is applied to a device capable of performing data processing, such as a computer or a server, and is used for generating a website theme file, so that a user accesses a uniform resource locator URL of the website theme file to obtain the website theme file when a website runs, and the website theme file is presented to the user in a corresponding page theme style in a website page, as shown in fig. 2.
In this embodiment, the method may include the steps of:
step 101: and obtaining a theme function set identification and a theme style identification.
The topic function set identifier may be a name or a code that uniquely represents the topic function set. And the theme style identification may be a name or code or the like that uniquely identifies the theme style.
It should be noted that one theme function set identifier corresponds to one theme function set, one theme function set includes at least one component function, each component function in one theme function set corresponds to one component, a component refers to a set of display or interactive elements having similar appearances and functions in an industry website template, the same components have the same code structure in the implementation of coding, such as a title component, a carousel graph component, a button component, and the like, the title component is a functional element having a display title, the carousel graph component is an element having a display of a plurality of pictures and capable of being viewed by sliding left and right, the button component is an element having a clickable and representing form such as a button, and the like.
And the component styles presented by the component functions corresponding to the same component in different theme function sets are different. For example, the title component has two component styles, title style 1 and title style 2.
And a theme style identification corresponds to a theme style, and a theme style comprises at least one parameter variable, such as a color variable. And the parameter variable has an association relation with the component function in the theme function set, for example, a title font color variable, a title background color variable and the like in the title component function.
In an implementation manner, this embodiment may first receive a theme generation request, where the theme generation request includes a theme function set identifier and a theme style identifier, and then obtain the theme function set identifier and the theme style identifier from the theme request. For example, a user performs an input operation in an equipment interface, and selects an input theme function set identifier and a theme style identifier, thereby triggering generation of a theme generation request.
Step 102: and obtaining a target theme function set corresponding to the theme function set identification and a target theme style corresponding to the theme style identification.
Wherein, the target theme function set comprises: at least one target component function, such as a title component function, a carousel component function, and a button component function. The target theme style comprises at least one target parameter value, such as a theme color parameter value, a background color parameter value and a text color parameter value.
Step 103: and generating a website theme file based on the target component function and the target parameter value.
In this embodiment, the target parameter value may be used as an input of the target component function, and the target component function and the target parameter value are compiled by using a cascading style preprocessing language to generate a cascading style file of the website theme, that is, a website theme file. Then, when the uniform resource locator of the cascading style file is embedded in the website webpage accessed by the user, the display effect of the website theme can be seen.
According to the scheme, the method for generating the website theme provided by the embodiment of the application acquires the corresponding target theme function set and the target theme style after the theme function set identification and the theme style identification which indicate the user requirement are acquired by presetting the theme function set and the theme style, so that the website theme file is generated based on the target component function and the target parameter value, and the generated website theme file presents the website theme style or style meeting the user requirement for the user through the target component function and the target parameter value. According to the method, when the website theme file is generated, the theme component is extracted in advance, repeated labor of common administrable parts in different webpages in development is eliminated, and variable parameters in the components are extracted at the same time, so that a customized theme function set and a customized theme style are formed.
In one implementation, step 102 in fig. 1 may be implemented as shown in fig. 3 by:
step 301: and obtaining a target theme function set corresponding to the theme function set identification in a preset theme function set database.
The theme function set database includes at least one theme function set, each theme function set includes at least one component function, the component functions in each theme function set are of the same type, such as both including a title component function and a button component function, and the component styles that can be shown by the component functions of the same type of component in each theme function set are different, as shown in fig. 4, two theme function sets 1 and 2 both include a title component function, a carousel component function and a button component function, and the same title component function has the same function and encoding structure, but the presented title component styles may be various, such as the title component functions in the theme function sets 1 and 2 respectively present a style 1 with a centered alignment of title fonts and a style 2 with a left-aligned font.
In addition, the component function refers to a style rule defining all styles of the component, and the component function includes at least one function variable, which refers to a variable quantity in the component style and is defined in the form of a parameter. The component function may be understood as a function that generates a cascading style file, such as F (c1, …, cn). Where c 1-cn represents n function variables such as color, size, position, font pair, etc. of the component.
Taking the title component as an example, there are two styles of title component functions: style 1 and style 2, both of which have two color variables: heading font color c1 and heading background color c2, heading component function is expressed as: ftitle(c1, c 2). Similarly, the carousel component function has a color variable: font color c1, background color c2, currently selected color c3, carousel component function represented as: ffocus(c1, c2, c 3); the button component function has color variables: font color c1, background color c2, currently selected color c3, border color c4, button component function expressed as: fbutton(c1, c2, c3, c4), and Ftitle(c1,c2)、Ffocus(c1, c2, c3) and Fbutton(c1, c2, c3, c4) form a set of topic functions, the topic beingThe function set has a subject function identification, such as identification 1.
Therefore, in this embodiment, a target theme function set corresponding to the theme function set identifier is searched in the theme function set database, where the target theme function set includes at least one target component function, such as a target title component function, a target carousel component function, a button component function, and the like, the target component function includes at least one function variable, and the target component function has a specific component style.
Step 302: and obtaining a target theme style corresponding to the theme style identification in a preset theme style database.
The theme style data comprises at least one theme style, each theme style comprises at least one variable parameter, the variable parameters comprise parameter values, and calling rules, such as sequence and the like, of the variable parameters are related to component functions in the theme function set. As shown in fig. 5, the theme style includes three color variable parameters, each having a corresponding parameter value, such as: theme color variable, the _ c1, black; background color variable bg _ c1 white; text color variable font _ c1, black; the corresponding component function call rules are: title component function Ftitle(the me _ c1, bg _ c1), carousel component function Ffocus(the me _ c1, bg _ c1, bd _ c1), button component function Fbutton(the me _ c1, bg _ c1, bd _ c1, font _ c 1). Wherein, the calling rules of the parameter values in the theme styles are different, correspondingly, the website theme files generated by the theme function set in combination with the theme styles are different, for example, if the me _ c1 and bg _ c1 are black and white respectively, the title component function F is a title component function Ftitle(the me _ c1, bg _ c1) will produce a title style of black on white, and Ftitle(bg _ c1, the me _ c1) produces a title style of white on black.
Therefore, in this embodiment, a target theme style corresponding to the theme style identifier is searched in the theme style database, where the target theme style includes at least one target variable, and the target variable has a parameter value.
In one implementation, the topic function set database may be obtained by:
step 601: components in a website industry template are obtained.
Wherein the component has at least one component style.
Specifically, in the present embodiment, various elements that may appear in various industry website templates are classified into components, so as to obtain various display or interactive element sets with specific appearances and functions, that is, components, each of which has the same code structure in the encoding implementation but has a specific component style. For example, a title component, there may be two styles, style 1, style 2: respectively representing a style in which the fonts are aligned in the middle and a style in which the fonts are aligned in the left. Industry template a uses a font-centered title component, while industry template B uses a font-left title component. Similarly, the carousel map component and the button component use different styles in the industry template a and the industry template B. Of course, the possible styles for each component are not limited to two, and the same style for the same component within each template may be the same. The same component-specific presentation style may be specifically defined in a cascading style sheet of the component.
Step 602: and setting component functions of the component according to the component styles so as to generate at least one component function of the component.
Wherein the component function comprises at least one function variable.
Specifically, in this embodiment, after obtaining various components, component function definition may be performed on each component, where the definition of a component function refers to a style rule defining all styles of the component, and then variable quantities in the component function are extracted to obtain at least one function variable, where the function variable may be defined in a parameter form. Formally, the definition of a theme function to complete a component is the definition of a function to complete a production cascading style file: f (c1, …, cn). Here c1 … cn represents n customizable parameter variables. In theory, many variables can be abstracted into variables, such as the size, position, font, and the like of a component. For example, for the subjectIn other words, the most important color variable is extracted, and other variables are implemented by using enumerable patterns, hard-coded in the F function, and it is sufficient to specify which pattern is used in the business template. For example, taking the title component as an example, assuming that the title component has only two styles (style 1 and style 2), there are two color variables that can be extracted from the two styles: heading font color c1, heading background color c 2. The style definition of the title is represented as Ftitle(c1, c 2). Similarly, the carousel component may extract the variable font color c1, the background color c2, and the currently selected color c 3; the button assembly may extract the font color c1, the background color c2, the currently selected color c3, and the border color c 4. And sequentially defining the theme functions of all the components to obtain a group of functions containing color variables: ftitle(c1,c2),Ffocus(c1,c2,c3),Fbutton(c1,c2,c3,c4)。
Step 603: and generating at least one theme function set based on the component functions of the components to form a theme function set database.
Wherein the set of subject functions includes a component function of the component.
Specifically, in this embodiment, a component function is selected from component functions of different styles of each component to form a theme function set, and the theme function set is set with an identifier, for example, named as 1, where the identifier has uniqueness and stores the theme function set in a database, so that a subsequent cascading style file is generated and used.
In one implementation, the theme styles database may be obtained by:
step 701: and generating a parameter variable set based on the function variables of the component functions in the theme function set.
The parameter variable set includes at least one parameter variable, and the parameter variable and the function variable have an association relationship, for example, the function variable of the component function is a color variable, and the parameter variable in the corresponding parameter variable set is a color variable.
Step 702: setting at least one parameter value for the parameter variable to generate at least one theme style.
Wherein the theme style includes the parameter variable therein. In this embodiment, parameter values of parameter variables may be set through interactive operation, as shown in parameter values in a theme style in fig. 5, in this embodiment, all available colors may be named and managed by using a color palette, and a user may set parameter values of parameter variables through the color palette.
For example, a palette may be defined with the following named colors: theme color theme _ c1, background color bg _ c1, text color font _ c1, and border color border _ c 1. The colors in the palette may be used as parameters when a particular assembly function is invoked. It should be noted that the order of the parameter values of the function variables of the component functions in the theme pattern is also crucial. E.g. Ftitle(c1, c2) defines c1 as the color of the title font and c2 as the color of the title background; thus Ftitle(the me _ c1, bg _ c1) andFtitle(bg _ c1, the me _ c1) the results of the two function calls are distinct. If the me _ c1 and bg _ c1 are black and white, respectively, Ftitle(the me _ c1, bg _ c1) will produce a title style of black on white, Ftitle(bg _ c1, the me _ c1) produces a title style in white on black. Thus, by providing a palette and a parameter value for calling a function in the set of theme functions, a theme style is defined.
In an implementation manner, in this embodiment, the theme function set and the theme style may be modified according to a user, so as to obtain a new theme function set and a new theme style.
For example, in this embodiment, by obtaining a first input operation of a user, such as function modification data, and further responding to the first input operation of the user, modification data of a theme function set in the first input operation is obtained, such as modifying an implementation structure of a certain function, and a new theme function set is generated based on the modification data, for example, the modified theme function set is stored as a new theme function set and is stored in a theme function set database.
For another example, in this embodiment, second input data of the user, such as parameter value modification data, is obtained, and then, a second input operation of the user is responded, so that modification data of a parameter value of a parameter variable in the theme style in the second input operation is obtained, for example, a parameter value of a certain color parameter variable is modified to be red, so that a new theme style is generated based on the modification data, for example, the modified theme style is stored as a new theme style, and is stored in the theme style database.
Referring to fig. 8, a schematic structural diagram of a website theme generation apparatus provided in the second embodiment of the present application is shown, where the apparatus may be implemented on a device capable of performing data processing, such as a computer or a server, to generate a website theme file, so that when a website runs, a user accesses a uniform resource locator URL of the website theme file to obtain the website theme file, and the website theme file is presented to the user in a corresponding page theme style in a website page, as shown in fig. 2.
In this embodiment, the apparatus may include the following structure:
an identification obtaining unit 801, configured to obtain a theme function set identification and a theme style identification.
The topic function set identifier may be a name or a code that uniquely represents the topic function set. And the theme style identification may be a name or code or the like that uniquely identifies the theme style.
It should be noted that one theme function set identifier corresponds to one theme function set, one theme function set includes at least one component function, each component function in one theme function set corresponds to one component, a component refers to a set of display or interactive elements having similar appearances and functions in an industry website template, the same components have the same code structure in the implementation of coding, such as a title component, a carousel graph component, a button component, and the like, the title component is a functional element having a display title, the carousel graph component is an element having a display of a plurality of pictures and capable of being viewed by sliding left and right, the button component is an element having a clickable and representing form such as a button, and the like.
And the component styles presented by the component functions corresponding to the same component in different theme function sets are different. For example, the title component has two component styles, title style 1 and title style 2.
And a theme style identification corresponds to a theme style, and a theme style comprises at least one parameter variable, such as a color variable. And the parameter variable has an association relation with the component function in the theme function set, for example, a title font color variable, a title background color variable and the like in the title component function.
In an implementation manner, in this embodiment, the identifier obtaining unit 801 may first receive a theme generation request, where the theme generation request includes a theme function set identifier and a theme style identifier, and then obtain the theme function set identifier and the theme style identifier from the theme request. For example, a user performs an input operation in an equipment interface, and selects an input theme function set identifier and a theme style identifier, thereby triggering generation of a theme generation request.
A target obtaining unit 802, configured to obtain a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier.
Wherein, the target theme function set comprises: at least one target component function, such as a title component function, a carousel component function, and a button component function. The target theme style comprises at least one target parameter value, such as a theme color parameter value, a background color parameter value and a text color parameter value.
A file generating unit 803, configured to generate a website theme file based on the target component function and the target parameter value.
In this embodiment, the target parameter value may be used as an input of the target component function, and the target component function and the target parameter value are compiled by using a cascading style preprocessing language to generate a cascading style file of the website theme, that is, a website theme file. Then, when the uniform resource locator of the cascading style file is embedded in the website webpage accessed by the user, the display effect of the website theme can be seen.
According to the above scheme, the device for generating a website theme provided in the second embodiment of the present application obtains the corresponding target theme function set and target theme style after obtaining the theme function set identifier and the theme style identifier indicating the user requirement by presetting the theme function set and the theme style, so as to generate the website theme file based on the target component function and the target parameter value therein, and the generated website theme file presents the website theme style or style meeting the user requirement for the user through the target component function and the target parameter value. According to the method, when the website theme file is generated, the theme component is extracted in advance, repeated labor of common administrable parts in different webpages in development is eliminated, and variable parameters in the components are extracted at the same time, so that a customized theme function set and a customized theme style are formed.
In one implementation, the target obtaining unit 802 in fig. 8 may include the following structure, as shown in fig. 9:
a function obtaining module 901, configured to obtain, in a preset theme function set database, a target theme function set corresponding to the theme function set identifier.
The theme function set database includes at least one theme function set, each theme function set includes at least one component function, the component functions in each theme function set are of the same type, such as both including a title component function and a button component function, and the component styles that can be shown by the component functions of the same type of component in each theme function set are different, as shown in fig. 4, two theme function sets 1 and 2 both include a title component function, a carousel component function and a button component function, and the same title component function has the same function and encoding structure, but the presented title component styles may be various, such as the title component functions in the theme function sets 1 and 2 respectively present a style 1 with a centered alignment of title fonts and a style 2 with a left-aligned font.
In addition, the component function refers to a style rule defining all styles of the component, and the component function includes at least one function variable, which refers to a variable quantity in the component style and is defined in the form of a parameter. The component function may be understood as a function that generates a cascading style file, such as F (c1, …, cn). Where c 1-cn represents n function variables such as color, size, position, font pair, etc. of the component.
Taking the title component as an example, there are two styles of title component functions: style 1 and style 2, both of which have two color variables: heading font color c1 and heading background color c2, heading component function is expressed as: ftitle(c1, c 2). Similarly, the carousel component function has a color variable: font color c1, background color c2, currently selected color c3, carousel component function represented as: ffocus(c1, c2, c 3); the button component function has color variables: font color c1, background color c2, currently selected color c3, border color c4, button component function expressed as: fbutton(c1, c2, c3, c4), and Ftitle(c1,c2)、Ffocus(c1, c2, c3) and Fbutton(c1, c2, c3, c4) constitute a set of subject functions having a subject function identification, such as identification 1.
Thus, in this embodiment, the function obtaining module 901 searches a target theme function set corresponding to the theme function set identifier in the theme function set database, where the target theme function set includes at least one target component function, such as a target title component function, a target carousel component function, a button component function, and the like, and the target component function includes at least one function variable, and the target component function has a specific component style.
A style obtaining module 902, configured to obtain, in a preset theme style database, a target theme style corresponding to the theme style identifier.
The theme style data comprises at least one theme style, each theme style comprises at least one variable parameter, the variable parameters comprise parameter values, and calling rules, such as sequence and the like, of the variable parameters are related to component functions in the theme function set. As shown in fig. 5, the theme style includes three color variable parameters, each having a corresponding parameter value, such as: theme color variable, the _ c1, black; background color variable bg _ c1 white; text color variable font _ c1, black; the corresponding component function call rules are: title component function Ftitle(the me _ c1, bg _ c1), carousel component function Ffocus(the me _ c1, bg _ c1, bd _ c1), button component function Fbutton(the me _ c1, bg _ c1, bd _ c1, font _ c 1). Wherein, the calling rules of the parameter values in the theme styles are different, correspondingly, the website theme files generated by the theme function set in combination with the theme styles are different, for example, if the me _ c1 and bg _ c1 are black and white respectively, the title component function F is a title component function Ftitle(the me _ c1, bg _ c1) will produce a title style of black on white, and Ftitle(bg _ c1, the me _ c1) produces a title style of white on black.
Thus, in this embodiment, the style obtaining module 902 searches a target theme style corresponding to the theme style identifier in the theme style database, where the target theme style includes at least one target variable, and the target variable has a parameter value.
In one implementation, the apparatus in this embodiment may further include the following structure, as shown in fig. 10:
a first obtaining unit 804, configured to obtain the topic function set database;
the method is specifically used for: obtaining a component in a website industry template, the component having at least one component style; performing component function setting on the component aiming at the component style to generate at least one component function of the component, wherein the component function comprises at least one function variable; and generating at least one theme function set based on the component functions of the components to form a theme function set database, wherein the theme function set comprises one component function of the components.
For example, in the embodiment, the first obtaining unit 804 performs component classification on various elements that may appear in various industry website templates, so as to obtain various display or interactive element sets with specific appearances and functions, that is, components, each of which has the same code structure in the encoding implementation but has a specific component style. For example, a title component, there may be two styles, style 1, style 2: respectively representing a style in which the fonts are aligned in the middle and a style in which the fonts are aligned in the left. Industry template a uses a font-centered title component, while industry template B uses a font-left title component. Similarly, the carousel map component and the button component use different styles in the industry template a and the industry template B. Of course, the possible styles for each component are not limited to two, and the same style for the same component within each template may be the same. The same component-specific presentation style may be specifically defined in a cascading style sheet of the component.
Then, after obtaining various components, the first obtaining unit 804 may perform component function definition on each component, where the definition of a component function refers to a style rule defining all styles of the component, and then extract variable quantities in the component function to obtain at least one function variable, where the function variable may be defined in a form of a parameter. Formally, the definition of a theme function to complete a component is the definition of a function to complete a production cascading style file: f (c1, …, cn). Here c1 … cn represents n customizable parameter variables. In theory, many variables can be abstracted into variables, such as the size, position, font, and the like of a component. For example, for the extraction of the color variable which is most important for the theme, the other variables may be implemented by using enumerable styles, hard-coded in the F-function, and the job template may indicate which style is used. For example, taking the title component as an example, assuming that the title component has only two styles (style 1 and style 2), there are two color variables that can be extracted from the two styles: caption font color c1, caption background color c2. The style definition of the title is represented as Ftitle(c1, c 2). Similarly, the carousel component may extract the variable font color c1, the background color c2, and the currently selected color c 3; the button assembly may extract the font color c1, the background color c2, the currently selected color c3, and the border color c 4. And sequentially defining the theme functions of all the components to obtain a group of functions containing color variables: ftitle(c1,c2),Ffocus(c1,c2,c3),Fbutton(c1,c2,c3,c4)。
Finally, the first obtaining unit 804 selects one component function from the component functions of different styles of each component to form a theme function set, and then sets an identifier of the theme function set, for example, the identifier is named as 1, and the identifier has uniqueness and stores the theme function set in the database, so that the subsequent cascading style file can be generated and used.
In one implementation, the apparatus in this embodiment may further include the following structure, as shown in fig. 11:
a second obtaining unit 805, configured to obtain the theme style database;
the method is specifically used for: generating a parameter variable set based on function variables of component functions in the theme function set, wherein the parameter variable set comprises at least one parameter variable, and the parameter variable and the function variable have an association relation; setting at least one parameter value for the parameter variable to generate at least one theme style, wherein the theme style comprises the parameter variable.
The parameter variable set includes at least one parameter variable, and the parameter variable and the function variable have an association relationship, for example, the function variable of the component function is a color variable, and the parameter variable in the corresponding parameter variable set is a color variable. The theme style includes the parameter variable. In this embodiment, the second obtaining unit 805 may set the parameter value of the parameter variable through an interactive operation, as shown in the parameter value in the theme style in fig. 5, in this embodiment, all available colors may be named and managed by using a color palette, and a user may set the parameter value of the parameter variable through the color palette.
For example, the second obtaining unit 805 may define a color palette with the following names: theme color theme _ c1, background color bg _ c1, text color font _ c1, and border color border _ c 1. The colors in the palette may be used as parameters when a particular assembly function is invoked. It should be noted that the order of the parameter values of the function variables of the component functions in the theme pattern is also crucial. E.g. Ftitle(c1, c2) defines c1 as the color of the title font and c2 as the color of the title background; thus Ftitle(the me _ c1, bg _ c1) andFtitle(bg _ c1, the me _ c1) the results of the two function calls are distinct. If the me _ c1 and bg _ c1 are black and white, respectively, Ftitle(the me _ c1, bg _ c1) will produce a title style of black on white, Ftitle(bg _ c1, the me _ c1) produces a title style in white on black. Thus, by providing a palette and a parameter value for calling a function in the set of theme functions, a theme style is defined.
In one implementation, the apparatus in this embodiment may further include the following structure, as shown in fig. 12:
an updating unit 806, configured to, in response to a first input operation by a user, obtain modification data for the theme function set in the first input operation, and generate a new theme function set based on the modification data.
For example, in this embodiment, the style updating unit 806 obtains the modification data of the theme function set in the first input operation by obtaining the first input operation of the user, such as function modification data, and then responds to the first input operation of the user, such as modifying the implementation structure of a certain function, so as to generate a new theme function set based on the modification data, for example, storing the modified theme function set as a new theme function set in addition, and storing the new theme function set in the theme function set database.
The updating unit 806 is further configured to, in response to a second input operation by the user, obtain modification data for the parameter value in the second input operation, and generate a new theme style based on the modification data.
For another example, in this embodiment, second input data of the user, such as parameter value modification data, is obtained, and then, a second input operation of the user is responded to, so that modification data of a parameter value of a parameter variable in a theme style in the second input operation is obtained, for example, a parameter value of a certain color parameter variable is modified to be red, so that a new theme style is generated based on the modification data, for example, the modified theme style is stored as a new theme style, and is stored in the theme style database.
By acquiring second input data of the user, such as parameter value modification data, and further responding to the second input operation of the user, modification data of parameter values of parameter variables in the theme style in the second input operation is acquired, for example, the parameter value of a certain color parameter variable is modified to be red, so that a new theme style is generated based on the modification data, for example, the modified theme style is stored as a new theme style in addition, and is stored in a theme style database.
In addition, a third embodiment of the present application further provides an electronic device, configured to generate a website theme file, where in a specific implementation, the electronic device may be implemented by three parts, that is: the system comprises a theme function system, a theme style system and a cascading style generator, wherein the specific implementation of each part is as follows:
the topic function system component-classifies elements that may appear in an industry template. By component, it is meant a collection of presentation or interactive elements in an industry template that have similar appearance and function, with the same component having the same code structure in the encoding implementation. For example: all elements of the industry template that display the function of the Title can be classified as Title components (Title); all elements which can display a plurality of pictures and can be viewed in a sliding mode from left to right can be classified into a carousel picture assembly (Focus); all elements that are clickable and that are represented in the form of e.g. buttons can be classified as Button components (Button). And after the assembly classification is carried out on the industry template, an assembly set S containing all the possible assemblies in the industry template is obtained. For simplicity of description, assume that set S has only three components: title component Title, carousel component Focus, Button component Button.
That is, the components in the S set can be used in this embodiment to represent the composition of each industry template in the system. For example: industry template a and industry template B, respectively, may be represented as shown in fig. 4. It is noted that although each component has the same function and coding structure, it may have a variety of styles. For example, a title component, there may be both style 1 and style 2 styles; respectively representing a style in which the fonts are aligned in the middle and a style in which the fonts are aligned in the left. Industry template a uses a centered heading, while industry template B uses a heading with a font to the left. Similarly, the carousel map component and the button component use different styles in the industry template A and the industry template B. Of course, the possible styles of each component are not limited to two, and the styles of the same component in each template may be the same. The same component-specific presentation style may be specifically defined in a cascading style sheet of the component.
Then, after obtaining the component set S, the theme function system may start to define the theme function for each component. The theme function definition of the component refers to defining the style rule of all styles of the component, then extracting variable quantities and defining the variable quantities in the form of parameters. Formally, the definition of a theme function to complete a component is the function to complete a cascading style: f (c1, …, cn). Here c1 … cn represents n customizable parameter variables. In theory, many variables can be abstracted into variables, such as the size, position, font, and the like of a component. But for themes the extraction of the most important color variables. Other variables may be implemented by using enumerable patterns, hard-coded in the F-function, and indicating which pattern to use in the business template. For example, taking the title component as an example, assuming that our title component has only two styles (style 1 and style 2), there are two color variables that can be extracted from the two styles: heading font color c1, heading background color c 2. The style definition of the title is represented as Ftitle(c1, c 2). Similarly, the carousel map can extract the variable font color c1, the background color c2 and the currently selected color c 3; the button component can extract font color c1, background color c2, current colorColor c3 and border color c4 are selected. The theme function definition is performed on all the components in the system in sequence, and a group of functions containing color variables can be obtained: ftitle(c1,c2),Ffocus(c1,c2,c3),Fbutton(c1, c2, c3, c 4). The set of theme function definition sets is stored in the theme function system for subsequent use by the cascading style generator. For convenience of description, the stored theme function definition set is identified by a unique name, for example, the above extracted theme function set is named as theme function set 1.
Then, in order to produce the finally usable cascading style by the theme function definition, all functions in the theme function definition set are called actually, and each function is only required to be introduced with an appropriate color value. The key variable in this process is the value of the parameter that calls each function in the set of subject functions. To manage all parameter values, the theme style system names all available colors using a palette. For example, a palette may be defined with the following named colors: theme color theme _ c1, background color bg _ c1, text color font _ c1, and border color border _ c 1. The color in the palette may be used as a parameter when a specific function is called. It is noted that the order of the parameters of the functions in the subject function is also crucial. E.g. Ftitle(c1, c2) defines c1 as the color of the title font and c2 as the color of the title background; thus Ftitle(the me _ c1, bg _ c1) and Ftitle(bg _ c1, the me _ c1) the results of the two function calls are distinct. If the me _ c1 and bg _ c1 are black and white, respectively, Ftitle(the me _ c1, bg _ c1) will produce a title style of black on white, Ftitle(bg _ c1, the me _ c1) produces a title style in white on black. Thus, by providing a palette and a parameter value for calling a function in the set of theme functions, a theme style is defined. The data structure of the theme style is shown in fig. 5.
The defined theme style is stored in a theme style system, a unique name can be given to the theme for facilitating subsequent citation, and the corresponding theme data can be found through the name. For example, the subject matter defined above is named: subject 1.
Finally, the presentation style of the web page is controlled by the cascading style file. The stacking style generator is used for generating the stacking style file required by the website page. In a web page, a cascading style file is referred to by a uniform resource locator (hereinafter, URL). In the present system, the URL of a cascading style file is mapped to a cascading style generator (hereinafter referred to as a generator). When the user accesses the URL of the cascading style file, the generator generates the cascading style file and returns the cascading style file to the user. Because both the theme function set and the theme style can be identified and referenced by a unique name. Therefore, in accessing the uniform resource locator of the cascading style file, the user only needs to provide the name of the theme function set and the name of the theme style as parameters. After receiving the two parameters, the stacking style generator queries corresponding data in the theme function system and the theme style system, and compiles and produces a stacking style file by using a stacking style preprocessing language. When the stack style file URL is embedded in a webpage accessed by a user, the effect of the theme can be seen. The specific interaction process is shown in fig. 13.
In a specific implementation, because variables called and used by component functions in each theme function set in the theme are all taken from the palette, a user can expand the self-defined theme based on one theme. For example: the user modifies the parameter value corresponding to the original theme style 1 in the palette theme _ c1 to blue, and then stores the modified theme style as a theme style named theme style 2, so that a theme style with the theme color of blue can be expanded. When the theme style 2 is used, only the theme parameter value in the URL of the cascading style file needs to be changed to the theme style 2.
For example, to facilitate user customization of themes, a 10-grid palette is provided in this embodiment, as shown in FIG. 14 below.
In practice, the use of theme colors can be simplified to two colors, a primary color and a secondary color, and color values of different lightness of the two colors can be used in the theme. The user can automatically generate the 10-color palette by selecting two colors of the main color and the auxiliary color, and the generation rule is obtained by increasing or decreasing steps of 10% of lightness of the color value.
In addition, the theme function set in the theme function system can also be expanded based on the existing theme function set. For example, the subject function set named function set 1 above, the signature (i.e., the number of function names and parameters of the functions) of each function in the function set may be kept unchanged, then the implementation of each function in the set is re-encoded, and then saved as a new function set, assuming that the new function set is named function set 2. Since each function signature in the function set 2 is identical to that in the function set 1, all topics originally used on the function set 1 can be directly used on the function set 2. In specific use, the name of the theme function set in the URL of the cascading style file only needs to be changed into the function set 2. Thus, if there are m theme function sets and n themes in the system, the theme effects actually available to the user are m x n.
In addition, encoding each function in the set requires a certain cascading style pre-processing language base. The developer can develop a new theme style set of functions by having a function set available without concern for compatibility with existing themes, as the consistency of the function signatures in the function set has been guaranteed. For an ordinary user, besides the existing theme style in the system, the color value in the theme palette can be adjusted to generate the theme of the user, so that the effect of the customized theme is achieved. In the system, the expansibility design which is simple and easy to use is provided for developers and common users, and is an essential characteristic which is different from the traditional webpage theme.
Therefore, repeated labor of the shared and reusable part in different webpages in the theme development process is eliminated through component extraction in the embodiment. Meanwhile, a mode of extracting function variables from variable factors of the component style provides an ingestible and customizable style rule. And the user-customizable theme is realized by calling the functions in the palette and the component theme function set.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description of the method and apparatus for generating a website topic provided by the present invention enables those skilled in the art to implement or use the present invention through the above description of the disclosed embodiments. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for generating a website theme, comprising:
obtaining a theme function set identifier and a theme style identifier;
obtaining a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, wherein the target theme function set comprises: at least one target component function, wherein the target theme style comprises at least one target parameter value;
generating a website theme file based on the target component function and the target parameter value;
wherein, the obtaining of the target theme function set corresponding to the theme function set identifier and the target theme style corresponding to the theme style identifier includes:
obtaining a target theme function set corresponding to the theme function set identification in a preset theme function set database; the theme function set database comprises at least one theme function set, the theme function set comprises at least one component function, and the component function comprises at least one function variable;
obtaining a target theme style corresponding to the theme style identification in a preset theme style database; the theme style database comprises at least one theme style, the theme style comprises at least one parameter variable, and the parameter variable has a parameter value.
2. The method of claim 1, wherein the subject function set database is obtained by:
obtaining a component in a website industry template, the component having at least one component style;
performing component function setting on the component aiming at the component style to generate at least one component function of the component, wherein the component function comprises at least one function variable;
and generating at least one theme function set based on the component functions of the components to form a theme function set database, wherein the theme function set comprises one component function of the components.
3. The method of claim 1, wherein the theme style database is obtained by:
generating a parameter variable set based on function variables of component functions in the theme function set, wherein the parameter variable set comprises at least one parameter variable, and the parameter variable and the function variable have an association relation;
setting at least one parameter value for the parameter variable to generate at least one theme style, wherein the theme style comprises the parameter variable.
4. The method of claim 1, further comprising:
responding to a first input operation of a user, obtaining modification data of the theme function set in the first input operation, and generating a new theme function set based on the modification data;
and/or
And responding to a second input operation of the user, obtaining modification data of the parameter value in the second input operation, and generating a new theme style based on the modification data.
5. An apparatus for generating a topic of a website, comprising:
the identification obtaining unit is used for obtaining a theme function set identification and a theme style identification;
a target obtaining unit, configured to obtain a target theme function set corresponding to the theme function set identifier and a target theme style corresponding to the theme style identifier, where the target theme function set includes: at least one target component function, wherein the target theme style comprises at least one target parameter value;
the file generating unit is used for generating a website theme file based on the target component function and the target parameter value;
the target acquisition unit includes:
the function acquisition module is used for acquiring a target theme function set corresponding to the theme function set identification in a preset theme function set database; the theme function set database comprises at least one theme function set, the theme function set comprises at least one component function, and the component function comprises at least one function variable;
the style acquisition module is used for acquiring a target theme style corresponding to the theme style identifier in a preset theme style database; the theme style database comprises at least one theme style, the theme style comprises at least one parameter variable, and the parameter variable has a parameter value.
6. The apparatus of claim 5, further comprising:
the first acquisition unit is used for acquiring the theme function set database;
the method is specifically used for: obtaining a component in a website industry template, the component having at least one component style; performing component function setting on the component aiming at the component style to generate at least one component function of the component, wherein the component function comprises at least one function variable; and generating at least one theme function set based on the component functions of the components to form a theme function set database, wherein the theme function set comprises one component function of the components.
7. The apparatus of claim 5, further comprising:
the second acquisition unit is used for acquiring the theme style database;
the method is specifically used for: generating a parameter variable set based on function variables of component functions in the theme function set, wherein the parameter variable set comprises at least one parameter variable, and the parameter variable and the function variable have an association relation; setting at least one parameter value for the parameter variable to generate at least one theme style, wherein the theme style comprises the parameter variable.
8. The apparatus of claim 5, further comprising:
the updating unit is used for responding to a first input operation of a user, obtaining modification data of the theme function set in the first input operation, and generating a new theme function set based on the modification data;
the updating unit is further configured to respond to a second input operation of the user, obtain modification data of the parameter value in the second input operation, and generate a new theme style based on the modification data.
CN201810414491.2A 2018-05-03 2018-05-03 A method and device for generating a website theme Expired - Fee Related CN108614886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810414491.2A CN108614886B (en) 2018-05-03 2018-05-03 A method and device for generating a website theme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810414491.2A CN108614886B (en) 2018-05-03 2018-05-03 A method and device for generating a website theme

Publications (2)

Publication Number Publication Date
CN108614886A CN108614886A (en) 2018-10-02
CN108614886B true CN108614886B (en) 2021-10-15

Family

ID=63661754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810414491.2A Expired - Fee Related CN108614886B (en) 2018-05-03 2018-05-03 A method and device for generating a website theme

Country Status (1)

Country Link
CN (1) CN108614886B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657233B (en) * 2018-11-23 2024-01-02 东软集团股份有限公司 Method and device for generating theme, storage medium and electronic equipment
CN111061470A (en) * 2019-12-02 2020-04-24 用友网络科技股份有限公司 Theme customizing method, system and computer readable storage medium
CN114546375A (en) * 2021-12-23 2022-05-27 厦门科灿信息技术有限公司 Page configuration method, page configuration device and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183372A (en) * 2007-12-21 2008-05-21 腾讯科技(深圳)有限公司 Style list processing system and method
CN101192936A (en) * 2006-11-29 2008-06-04 阿里巴巴公司 A method, system and user terminal for establishing access connection
CN102929599A (en) * 2012-09-26 2013-02-13 广州市动景计算机科技有限公司 Method and device for modifying browser interface of mobile terminal, and mobile terminal
CN103973729A (en) * 2013-01-28 2014-08-06 联想(北京)有限公司 Information processing method and information processing device
US8849753B2 (en) * 2008-05-20 2014-09-30 Microsoft Corporation Automating asynchronous programming in single threaded systems
CN104202331A (en) * 2014-09-15 2014-12-10 北京奇虎科技有限公司 Client function generation method and device
CN104283967A (en) * 2014-10-23 2015-01-14 武汉华大优能信息有限公司 Third-party data service system based on Internet-of-Things data collecting
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN105204853A (en) * 2015-09-14 2015-12-30 新浪网技术(中国)有限公司 Canvas drawing method and device of web browser
CN105303364A (en) * 2015-10-19 2016-02-03 盐城工学院 B/S framework based manufacturing enterprise office automation system
CN105373565A (en) * 2014-08-29 2016-03-02 优视科技有限公司 Webpage processing method and apparatus
CN106446283A (en) * 2016-10-27 2017-02-22 腾讯科技(深圳)有限公司 Page style generating method and device
CN106775771A (en) * 2017-01-18 2017-05-31 郑州云海信息技术有限公司 One drop-down selection component and its method based on js
CN107423074A (en) * 2017-08-14 2017-12-01 上海迅显信息科技有限公司 A kind of system and method for creating the cross-platform HMI with general purpose module and applying
CN107704239A (en) * 2017-10-09 2018-02-16 武汉斗鱼网络科技有限公司 Configuration generating method, device and electronic equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192936A (en) * 2006-11-29 2008-06-04 阿里巴巴公司 A method, system and user terminal for establishing access connection
CN101183372A (en) * 2007-12-21 2008-05-21 腾讯科技(深圳)有限公司 Style list processing system and method
US8849753B2 (en) * 2008-05-20 2014-09-30 Microsoft Corporation Automating asynchronous programming in single threaded systems
CN102929599A (en) * 2012-09-26 2013-02-13 广州市动景计算机科技有限公司 Method and device for modifying browser interface of mobile terminal, and mobile terminal
CN103973729A (en) * 2013-01-28 2014-08-06 联想(北京)有限公司 Information processing method and information processing device
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN105373565A (en) * 2014-08-29 2016-03-02 优视科技有限公司 Webpage processing method and apparatus
CN104202331A (en) * 2014-09-15 2014-12-10 北京奇虎科技有限公司 Client function generation method and device
CN104283967A (en) * 2014-10-23 2015-01-14 武汉华大优能信息有限公司 Third-party data service system based on Internet-of-Things data collecting
CN105204853A (en) * 2015-09-14 2015-12-30 新浪网技术(中国)有限公司 Canvas drawing method and device of web browser
CN105303364A (en) * 2015-10-19 2016-02-03 盐城工学院 B/S framework based manufacturing enterprise office automation system
CN106446283A (en) * 2016-10-27 2017-02-22 腾讯科技(深圳)有限公司 Page style generating method and device
CN106775771A (en) * 2017-01-18 2017-05-31 郑州云海信息技术有限公司 One drop-down selection component and its method based on js
CN107423074A (en) * 2017-08-14 2017-12-01 上海迅显信息科技有限公司 A kind of system and method for creating the cross-platform HMI with general purpose module and applying
CN107704239A (en) * 2017-10-09 2018-02-16 武汉斗鱼网络科技有限公司 Configuration generating method, device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嵌入式浏览器解析与排版布局引擎的研究优化;孙玮;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130115;I139-245 *

Also Published As

Publication number Publication date
CN108614886A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
US10565293B2 (en) Synchronizing DOM element references
CN104321743B (en) Method and system for developing applications that query content and services over a communication network
CN102929599B (en) The amending method at browser of mobile terminal interface and device, mobile terminal
US20090077056A1 (en) Customization of search results
CN108614886B (en) A method and device for generating a website theme
CN103888833B (en) A kind of smart television accesses the method and system of TV programme and application program
CN107590524A (en) The preparation method and device of a kind of electronic business card
CN105700925B (en) A kind of interface implementing method and device of APP
JP2020095764A (en) Information inputting method, information inputting device, and information inputting system
CN103955367A (en) Method and device for generating pages
US20240420083A1 (en) Digital work collaborative creation method, electronic device and computer-readable storage medium
US12008064B1 (en) Systems and methods for a website generator that utilizes artificial intelligence
CN109829123A (en) A kind of method for sending information and device
CN108984632A (en) A kind of webpage setting method and device
CN113806652A (en) Page generation method and device, computer equipment and storage medium
CN108959475A (en) A kind of webpage setting method and device
CN111046640A (en) Dynamic generation method and device of certification document
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN119149762A (en) Data processing method, device, electronic equipment and storage medium
CN113946336A (en) Design draft conversion method and device, computer equipment and storage medium
US20200409667A1 (en) Cell-based computing and website development platform
CN109462649B (en) Remote file analysis method, device and system and storage medium thereof
CN112799552A (en) Method and device for sharing promotion pictures and storage medium
CN115640476A (en) Site column management method, terminal and computer readable storage medium
CN111667547B (en) GAN network training method, garment picture generation method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191216

Address after: 100195 building 1-1 to 3 / F, yard 7, Sijiqing Road, Haidian District, Beijing

Applicant after: Beijing yunzhan Technology Co.,Ltd.

Address before: 100190 11, 1101, 3 building, 2 South Road, Haidian District Academy of Sciences, Beijing.

Applicant before: BEIJING SOHU INTERNET INFORMATION SERVICE CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211015

CF01 Termination of patent right due to non-payment of annual fee