CN104679909B - A kind of method and device of setting website TDK - Google Patents

A kind of method and device of setting website TDK Download PDF

Info

Publication number
CN104679909B
CN104679909B CN201510132766.XA CN201510132766A CN104679909B CN 104679909 B CN104679909 B CN 104679909B CN 201510132766 A CN201510132766 A CN 201510132766A CN 104679909 B CN104679909 B CN 104679909B
Authority
CN
China
Prior art keywords
tdk
target webpage
variables
setting
element variables
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510132766.XA
Other languages
Chinese (zh)
Other versions
CN104679909A (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.)
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU XIZHI 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 ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd filed Critical ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510132766.XA priority Critical patent/CN104679909B/en
Publication of CN104679909A publication Critical patent/CN104679909A/en
Application granted granted Critical
Publication of CN104679909B publication Critical patent/CN104679909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device of setting website TDK, and wherein method includes:Determine all types of message segments for introducing website;It is all types of corresponding TDK element variables of information segment mark according to the correspondence of the information segment type and TDK element variables of setting;When carrying out TDK settings to target webpage, determine the message segment corresponding to the corresponding TDK element variables of target webpage, using the message segment corresponding to identified TDK element variables as the particular content of the TDK elements of the target webpage, the TDK settings of the target webpage are completed.It is smaller that the present invention provides amount of user effort, and operation is relatively simple, easily website TDK set-up modes.

Description

A kind of method and device of setting website TDK
Technical field
The present invention relates to web technology fields, and in particular to a kind of method and device of setting website TDK.
Background technology
What TDK was indicated is that the page in SEO (Search Engine Optimization, search engine optimization) page is retouched The abbreviation being arranged with keyword is stated, wherein D indicates that Title (title) element in the webpage top margin of website, D indicate the net of website Description (description) element in page top margin, K indicate Keywords (keyword) element in the webpage top margin of website. TDK settings are carried out to website, search engine spider can be allowed to be crawled faster to website, therefore TDK settings are excellent in website There is certain status in change technology.
Currently, the mode for carrying out TDK settings to website is mainly:To the webpage for each needing that TDK is arranged in website, artificially Write the content of Title elements, Description elements and Keywords elements;As can be seen that existing setting website TDK Mode, an each pair of webpage carry out TDK settings when, be required to again write Title elements, Description elements and The content of Keywords elements, user's operation trouble, and workload is larger.
Invention content
In view of this, the embodiment of the present invention provides a kind of method and device of setting website TDK, to solve existing setting net The user's operation trouble stood present in the mode of TDK, and the problem that workload is larger.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A method of setting website TDK, including:
Determine all types of message segments for introducing website;
According to the correspondence of the information segment type and TDK element variables of setting, corresponded to for all types of information segment marks TDK element variables;
When carrying out TDK settings to target webpage, the information corresponding to the corresponding TDK element variables of target webpage is determined Section, it is complete using the message segment corresponding to identified TDK element variables as the particular content of the TDK elements of the target webpage It is arranged at the TDK of the target webpage.
Wherein, the correspondence of the information segment type and TDK element variables according to setting is all types of message segment The corresponding TDK element variables are marked to include:
It is the information segment mark of respective type according to the correspondence of the information segment type and Title element variables of setting Title element variables;
It is the information of respective type according to the correspondence of the information segment type and Description element variables of setting Segment mark Description element variables;
It is the information segment mark of respective type according to the correspondence of the information segment type and Keywords element variables of setting Remember Keywords element variables.
Wherein, the Title element variables include:Multistage Title element variables;The information segment type according to setting With the correspondence of Title element variables, include for the information segment mark Title element variables of respective type:
According to the correspondence of the information segment type of setting and Title element variable series, Title elements at different levels is marked to become The corresponding message segment of amount;
The Description element variables include:Multistage Description element variables;The letter according to setting The correspondence of segment type and Description element variables is ceased, is the information segment mark Description elements of respective type Variable includes:
According to the correspondence of the information segment type of setting and Description element variable series, label is at different levels Message segment corresponding to Description element variables;
The Keywords element variables include:Multistage Keywords element variables;The message segment class according to setting The correspondence of type and Keywords element variables is that the information segment mark Keywords element variables of respective type include:
According to the correspondence of the information segment type of setting and Keywords element variable series, Keywords at different levels are marked Message segment corresponding to element variable.
Wherein, the message segment corresponding to the corresponding TDK element variables of the determining target webpage includes:
Determine the Title element variable series corresponding to the target webpage, Description element variables series with Keywords element variable series;Message segment corresponding with the Title element variable series corresponding to the target webpage is transferred, Message segment corresponding with the Description element variable series corresponding to the target webpage, and with the target webpage institute The corresponding corresponding message segment of Keywords element variables series;
The message segment using corresponding to identified TDK element variables is as the tool of the TDK elements of the target webpage Hold in vivo and includes:
The message segment corresponding with the Title element variable series corresponding to the target webpage that will be transferred, as institute State the particular content of the Title elements of target webpage;It will be transferred and the Description members corresponding to the target webpage Element becomes the corresponding message segment of range number, the particular content of the Description elements as the target webpage;By what is transferred Message segment corresponding with the Keywords element variable series corresponding to the target webpage, as the target webpage The particular content of Keywords elements.
Wherein, all types of message segments that website is introduced in the determination include:
Website is opened in user, when filling in all types of information for introducing website, determines all types of letters that user fills in Cease section;
Or, from storing the message segment for being described website and in the database of corresponding section of name, transferring all types of section name institutes Corresponding message segment is determined as the message segment corresponding to all types of section names transferred to introduce all types of information of website Section.
Wherein, the method further includes:
After completing the TDK settings of the target webpage, according to preset webpage format template, the target webpage is generated Results page after TDK is set.
The embodiment of the present invention also provides a kind of device of setting website TDK, including:
Message segment determining module, for determining all types of message segments for introducing website;
Mark module is used for the correspondence of the information segment type and TDK element variables according to setting, is all types of letters Cease the corresponding TDK element variables of segment mark;
Element content determining module, for when carrying out TDK settings to target webpage, determining the corresponding TDK of target webpage Message segment corresponding to element variable, using the message segment corresponding to identified TDK element variables as the target webpage The particular content of TDK elements completes the TDK settings of the target webpage.
Wherein, the mark module includes:
First marking unit is used for the correspondence of the information segment type and Title element variables according to setting, is corresponding The information segment mark Title element variables of type;
Second marking unit is used for the correspondence of the information segment type and Description element variables according to setting, For the information segment mark Description element variables of respective type;
Third marking unit is used for the correspondence of the information segment type and Keywords element variables according to setting, is The information segment mark Keywords element variables of respective type.
Wherein, first marking unit includes:
First classification marking unit, for the pass corresponding with Title element variable series of the information segment type according to setting System, marks the message segment corresponding to Title element variables at different levels;
Second marking unit includes:
Second classification marking unit, for the information segment type and Description element variable series according to setting Correspondence marks the message segment corresponding to Description element variables at different levels;
The third marking unit includes:
Third classification marking unit, for corresponding with Keywords element variable series according to the information segment type of setting Relationship marks the message segment corresponding to Keywords element variables at different levels;
The element content determining module includes:
Unit is transferred, for determining the Title element variable series corresponding to the target webpage, Description members Element becomes range number and Keywords element variable series;It transfers and the Title element variable series corresponding to the target webpage Corresponding message segment, message segment corresponding with the Description element variable series corresponding to the target webpage, and with institute State the corresponding message segment of Keywords element variable series corresponding to target webpage;
Content determining unit, for will be transferred and the Title element variable series phases corresponding to the target webpage The message segment answered, the particular content of the Title elements as the target webpage;It is right with target webpage institute to be transferred The corresponding message segment of Description element variable series answered, the tool of the Description elements as the target webpage Hold in vivo;The message segment corresponding with the Keywords element variable series corresponding to the target webpage that will be transferred, as The particular content of the Keywords elements of the target webpage.
Wherein, described device further includes:
Page generation module, after being arranged in the TDK for completing the target webpage, according to preset webpage format mould Plate generates the results page after the target webpage setting TDK.
Based on the above-mentioned technical proposal, each of website is introduced in the method for setting website TDK provided in an embodiment of the present invention, determination The message segment of type;It is all types of information segment marks according to the correspondence of the information segment type and TDK element variables of setting Corresponding TDK element variables;When carrying out TDK settings to target webpage, determine that the corresponding TDK element variables institute of target webpage is right The message segment answered, using the message segment corresponding to identified TDK element variables as the specific of the TDK elements of the target webpage Content completes the TDK settings of the target webpage.As can be seen that the embodiment of the present invention can pass through set information segment type and TDK The correspondence of element variable, all types of message segments to introduce website mark TDK element variables automatically, realize each TDK members The label of particular content corresponding to plain variable is not required to user and writes particular content corresponding to each TDK element variables, saves User rewrites the operation of the particular content of TDK elements when an each pair of webpage carries out TDK settings, to target When webpage carries out TDK settings, it is only necessary to incite somebody to action the corresponding message segment of identified TDK element variables corresponding with target webpage as institute State the particular content of the TDK elements of target webpage, you can realize the TDK settings of target webpage, the setting of entire website TDK Journey, amount of user effort is smaller, and operation is relatively simple, convenient.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the method flow diagram of setting website TDK provided in an embodiment of the present invention;
Fig. 2 is the another method flow chart of setting website TDK provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of the device of setting website TDK provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of mark module provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of the first marking unit provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of the second marking unit provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of third marking unit provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of element content determining module provided in an embodiment of the present invention;
Fig. 9 is another structure diagram of the device of setting website TDK provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the method flow diagram of setting website TDK provided in an embodiment of the present invention, and this method can be applied to user and set It is standby, the setting to website TDK is realized by user equipment;Referring to Fig.1, this method may include:
Step S100, all types of message segments for introducing website are determined;
Optionally, introducing all types of of the message segment of website may include:Business Name, principal products of business manage industry, enterprise mainly Industry address, company introduction, brand names, phone number, fixed-line telephone etc.;Corresponding all types of message segment may include:It is public The particular content of title is taken charge of, the particular content of principal products of business manages the particular content of industry mainly, and the particular content of enterprise address is public Take charge of the particular content of brief introduction, the particular content of brand names, the particular content of phone number, the particular content etc. of fixed-line telephone; It should be noted that above description is merely illustrative, the type of specific message segment, visual actual website situation and It is fixed;
Optionally, introduce all types of message segments of website generally by user when opening website in all types of information bars It fills in, therefore the embodiment of the present invention can open website in user, when filling in all types of information for introducing website, be filled out by user Enter the particular content in all types of information bars, determines all types of message segments that user fills in;
Optionally, after having filled in and introducing all types of message segments of website, the general section name of message segment corresponds to user And store in the database, as Business Name particular content can section name { Company Name } it is corresponding and be stored in data In library, the particular contents of principal products of business can section name { Main Products } it is corresponding and to be stored in database medium;Main management production Product may have multiple, different principal products of business particular content can by { Main Products1 }, { Main Products2 }, { Main Productsi } etc. corresponding and storage in the database, { Main Productsi } corresponding principal products of business it is specific Content;
Optionally, the embodiment of the present invention can define the information segment type corresponding to section name, such as define { Company Name } The corresponding information segment type (Business Name) of section name, the corresponding information segment type (principal products of business) of { Main Products1 } section name Deng;To transfer the message segment corresponding to all types of section names from database;Specifically, the embodiment of the present invention can be from being stored with It introduces the message segment of website and in the database of corresponding section of name, transfers the message segment corresponding to all types of section names, will be adjusted The message segment corresponding to all types of section names taken is determined as introducing all types of message segments of website.
Step S110, it is all types of message segments according to the correspondence of the information segment type and TDK element variables of setting Mark corresponding TDK element variables;
Wherein, TDK element variables include Title (title) element variable, Description (description) element variable, and Keywords (keyword) element variable;
The embodiment of the present invention can set the corresponding information segment type of Title element variables, Description element variables pair The information segment type answered, the corresponding information segment type of Keywords element variables;Thus by the corresponding information of Title element variables Message segment corresponding to segment type is labeled as Title element variables, by the corresponding information segment type of Description element variables Corresponding message segment is labeled as Description element variables, corresponding to the corresponding information segment type of Keywords elements Message segment be labeled as Keywords element variables, to be embodied as the corresponding TDK element variables of all types of information segment marks;
Step S120, when carrying out TDK settings to target webpage, determine that the corresponding TDK element variables institute of target webpage is right The message segment answered, using the message segment corresponding to identified TDK element variables as the specific of the TDK elements of the target webpage Content completes the TDK settings of the target webpage.
When carrying out TDK settings to some or certain several target webpages, the embodiment of the present invention can determine target webpage institute Message segment corresponding to corresponding Title element variables, the message segment corresponding to Description element variables, and Message segment corresponding to Keywords element variables realizes the Title element particular contents of target webpage, Description members The determination of plain particular content and Keywords element particular contents;I.e. the Title element particular contents of target webpage are target network The Description element particular contents of the message segment corresponding to Title element variables corresponding to page, target webpage are target The message segment corresponding to Description element variables corresponding to webpage, the Keywords element particular contents of target webpage For the message segment corresponding to the Keywords element variables corresponding to target webpage.
The method of setting website TDK provided in an embodiment of the present invention, determines all types of message segments for introducing website;According to The correspondence of the information segment type and TDK element variables of setting becomes for all types of corresponding TDK elements of information segment mark Amount;When carrying out TDK settings to target webpage, the message segment corresponding to the corresponding TDK element variables of target webpage is determined, by institute The particular content of message segment corresponding to determining TDK element variables as the TDK elements of the target webpage, completes the mesh Mark the TDK settings of webpage.As can be seen that the embodiment of the present invention can be corresponding with TDK element variables by set information segment type Relationship, all types of message segments to introduce website mark TDK element variables, realize corresponding to each TDK element variables automatically The label of particular content is not required to user and writes particular content corresponding to each TDK element variables, saves user at each pair of one When webpage carries out TDK settings, the operation of the particular content of TDK elements is rewritten, to carry out TDK settings to target webpage When, it is only necessary to using the corresponding message segment of identified corresponding with target webpage TDK element variables as the TDK of the target webpage The particular content of element, you can realize target webpage TDK setting, the setting up procedure of entire website TDK, amount of user effort compared with Small, operation is relatively simple, convenient.
Optionally, TDK element variables corresponding with target webpage can be selected by user when carrying out TDK settings;Selected It needs after the target webpage of TDK is set, the embodiment of the present invention can be shown corresponding to the Title element variables of step S110 labels Message segment, the message segment corresponding to Description element variables and the message segment corresponding to Keywords element variables;With From the message segment corresponding to shown Title element variables, the corresponding Title element variables institute of selected target webpage is right at family The message segment answered, from the message segment corresponding to shown Description element variables, selected target webpage is corresponding Message segment corresponding to Description element variables, from the message segment corresponding to shown Keywords element variables, Message segment corresponding to the corresponding Keywords element variables of selected target webpage, to realize the TDK elements of target webpage The determination of particular content;
With the message segment corresponding to Title element variables be " Business Name " content, the content of " principal products of business ", Message segment corresponding to Description element variables is the content of " enterprise address ", the content of " brand names ", " company's letter Be situated between " content, the message segment corresponding to Keywords element variables is the content of " brand names ", and the content of " main management industry " is Example;The correspondence of the information segment type that sets and TDK element variables as:
Title variables:" Business Name ", " principal products of business ";
Description variables:" enterprise address ", " brand names ", " company introduction ";
Keywords variables:" brand names ", " main management industry ";
When the TDK of target webpage is arranged, the content for waiting for chosen content " Business Name " of Title element variables is shown, The content of " principal products of business ";The content for waiting for chosen content " enterprise address " of Description element variables, " brand names " Content, the content of " company introduction ";Keywords element variables wait for that chosen content is the content of " brand names ", " main management row The content of industry ";User from each TDK elements after carried out in chosen content content it is selected after, it may be determined that target webpage is corresponding Message segment corresponding to TDK element variables;Such as user's waiting for selecting " Business Name " in chosen content from Title element variables Content, then the content of " Business Name " is the particular content corresponding to the Title element variables of target webpage, from The content of the content and " company introduction " for waiting for being chosen to be " enterprise address " in chosen content of Description element variables, then It is specific corresponding to the content of " enterprise address " and the Description element variables that the content of " company introduction " is target webpage Content, from the content for waiting for selecting " brand names " in chosen content of Keywords element variables, the then content of " brand names " The particular content corresponding to Keywords element variables for target webpage, i.e., the TDK that target webpage finally can be obtained are specifically interior Rong Wei:
Title:The content of " Business Name ";
Description:The content of " enterprise address ", the content of " company introduction ";
Keywords:The content of " brand names ";
The embodiment of the present invention introduces all types of message segments of website by determining, and is all types of information segment marks TDK element variables remove the process that each TDK elements that user is webpage write particular content from, meanwhile, it is carried out to target webpage When TDK is arranged, user can wait for from shown each TDK element variables in chosen content, the corresponding TDK members of selected target webpage Message segment corresponding to plain variable realizes the TDK settings of target webpage;The setting up procedure of entire website TDK, user only need basis The target webpage being arranged is needed to carry out the selected of message segment corresponding to each TDK element variables, you can to realize the TDK of target webpage Setting, operation are extremely convenient, simple.
Optionally, the embodiment of the present invention is alternatively webpage setting different in website targetedly TDK;The embodiment of the present invention Multistage Title element variables, multistage Description element variables and multistage Keywords element variables can be set;And it is each Grade Title element variables set corresponding information segment type, and corresponding message segment is set for Description element variables at different levels Type, and set corresponding information segment type for Keywords element variables at different levels;To for all types of information segment marks It is the information segment mark corresponding stage number corresponding to the corresponding information segment type of Title element variables at different levels when TDK element variables Title element variables are that the information segment mark corresponding to the corresponding information segment type of Description element variables at different levels is corresponding The Description element variables of series are the information corresponding to the corresponding information segment type of Keywords element variables at different levels The Keywords element variables of the corresponding series of segment mark;
Meanwhile corresponding Title element variables series is set for each webpage, Description element variable series, with Keywords element variable series;Then when carrying out TDK settings to target webpage, it may be determined that the Title corresponding to target webpage Element variable series, Description element variables series and Keywords element variable series, to transfer target webpage institute Message segment corresponding to corresponding Title element variables series, the Description element variable series corresponding to target webpage Corresponding message segment, the message segment corresponding to Keywords element variable series corresponding to target webpage, to realize mesh Mark the setting of the particular content of each TDK element variables of webpage;
Corresponding, Fig. 2 shows the another method flow charts of setting website TDK provided in an embodiment of the present invention;With reference to figure 2, this method may include:
Step S200, all types of message segments for introducing website are determined;
Step S210, according to the correspondence of the information segment type of setting and Title element variable series, label is at different levels Message segment corresponding to Title element variables;According to pair of the information segment type of setting and Description element variable series It should be related to, mark the message segment corresponding to Description element variables at different levels;According to the information segment type of setting with The correspondence of Keywords element variable series marks the message segment corresponding to Keywords element variables at different levels;
Step S220, when carrying out TDK settings to target webpage, the Title elements corresponding to the target webpage are determined Become range number, Description element variables series and Keywords element variable series;
Step S230, message segment corresponding with the Title element variable series corresponding to the target webpage is transferred, with institute State the corresponding message segment of Description element variable series corresponding to target webpage, and with corresponding to the target webpage The corresponding message segment of Keywords element variable series;
Step S240, the information corresponding with the Title element variable series corresponding to the target webpage that will be transferred Section, the particular content of the Title elements as the target webpage;To be transferred with corresponding to the target webpage The corresponding message segment of Description element variable series, Description elements as the target webpage it is specific in Hold;The message segment corresponding with the Keywords element variable series corresponding to the target webpage that will be transferred, as described The particular content of the Keywords elements of target webpage completes the TDK settings of the target webpage.
For ease of description, the embodiment of the present invention is with 2 grades of Title element variables, 2 grades of Description element variables and 2 grades For Keywords element variables, the embodiment of the present invention can set " Business Name " corresponding first order Title element variables (T1), " principal products of business " corresponding second level Title element variables (T2), " brand names " corresponding first order Description element variables (D1), " enterprise address ", " company introduction " corresponding second level Description element variables (D2), " brand names " corresponding the Level-one Keywords element variables (K1), " main management industry " corresponding second level Keywords element variables (K2);The letter set Breath segment type and the correspondence of Title element variable series are:
T1 variables:" Business Name ";
T2 variables:" principal products of business "
The correspondence of the information segment type that sets and Description element variable series as:
D1 variables:" brand names ";
D2 variables:" enterprise address ", " company introduction ";
The correspondence of the information segment type that sets and Keywords element variable series as:
K1 variables:" brand names ";
K2 variables:" main management industry ";
The embodiment of the present invention can set the corresponding Title element variables series of each webpage, Description element variable grades Number, with Keywords element variable series, it is T1, Description that 1 corresponding Title element variables series of webpage, which is such as arranged, Element variable series is D2, and Keywords element variable series is K2;It is T2 that webpage 2, which corresponds to Title element variable series, Description element variable series is D2, and Keywords element variable series is K1 etc.;Optionally, a webpage is corresponding Title element variable series, Description element variable sum of series Keywords element variables series can have it is multiple, If the corresponding Title element variables series of a webpage can be T1 and T2.
When webpage 1 carries out TDK settings as target webpage, the embodiment of the present invention can determine corresponding to target webpage Title element variable series is T1, and Description element variable series is D2, and Keywords element variable series is K2;It adjusts Take the corresponding message segments of T1 (content of " Business Name "), the corresponding message segments of D2 (content of " enterprise address ", and " company's letter The content of Jie "), the corresponding message segments of K1 (contents of " brand names "), the particular content of the TDK elements as webpage 1;I.e. most The TDK particular contents that target webpage can be obtained afterwards are:
Title:The content of " Business Name ";
Description:The content of " enterprise address ", and " company introduction " content;
Keywords:The content of " brand names ".
The embodiment of the present invention introduces all types of message segments of website by determining, marks Title element variables institutes at different levels Corresponding message segment marks the message segment corresponding to Description element variables at different levels, and Keywords elements at different levels is marked to become The corresponding message segment of amount removes the process that each TDK elements that user is webpage write particular content from;Meanwhile each webpage is set Corresponding Title element variable series, Description element variables series and Keywords element variable series, right When target webpage carries out TDK settings, the corresponding message segment of Title element variable series corresponding to target webpage, target are transferred The corresponding message segment of Description element variable series corresponding to webpage, the Keywords elements corresponding to target webpage Become the corresponding message segment of range number, the particular content of the TDK as target webpage realizes the automatic setting of the TDK of target webpage; The setting up procedure of entire website TDK, user only need to determine target webpage, you can carry out oneself of the corresponding TDK contents of target webpage Dynamic to determine, amount of user effort is minimum, and operates extremely convenient, simple.
Optionally, the target webpage of user's determination may include:Homepage, Introduction of enterprises page, product information page, enterprise's phase Volume, Company News, enterprises recruitment, enterprise's certificate, enterprise promote trade and investment, online message, contact us and wait Website pages;User is selected When target webpage, multiple webpages can be selected, the subpage whether the TDK contents of target webpage are applied to target webpage can be also selected Face is medium.
Optionally, after completing the TDK settings of the target webpage, the embodiment of the present invention can be according to preset webpage format Template generates the results page after target webpage setting TDK, so that user checks that effect is arranged in the TDK of target webpage.
Optionally, the particular content number of words of the Title elements of a webpage, the particular content word of Description elements The particular content number of words of number, Keywords elements has the requirement of the number of words upper limit;In the content of the Title elements of setting target webpage When, content number of words should not exceed the corresponding number of words upper limit, when the content of Description elements of target webpage is arranged, content Number of words should not exceed the corresponding number of words upper limit, and when the content of Keywords elements of target webpage is arranged, content number of words should not surpass Go out the corresponding number of words upper limit;
Optionally, in the corresponding message segment of setting Title element variables, Title element variables (including multilevel cases Under) corresponding to the number of words of a segment information should not exceed the corresponding number of words upper limit of Title elements;In setting Description members When the corresponding message segment of plain variable, the number of words of the segment information corresponding to Description element variables should not exceed The corresponding number of words upper limit of Description elements;In the corresponding message segment of setting Keywords element variables, Keywords members The number of words of a segment information corresponding to plain variable should not exceed the corresponding number of words upper limit of Keywords elements;
Optionally, in the corresponding message segment of the Title elements of transferring target webpage, the total number of word of message segment should not exceed The corresponding number of words upper limit of Title elements;In the corresponding message segment of the Description elements of transferring target webpage, message segment Total number of word should not exceed the corresponding number of words upper limit of Description elements;In the Keywords elements pair for transferring target webpage When the message segment answered, the total number of word of message segment should not exceed the corresponding number of words upper limit of Keywords elements.
The method of setting website TDK provided in an embodiment of the present invention, realizes smaller workload, and user's operation it is simple, Easily website TDK is arranged.
The device of setting website TDK provided in an embodiment of the present invention is introduced below, setting website described below The device of TDK can correspond reference with the method for above-described setting website TDK.
Fig. 3 is the structure diagram of the device of setting website TDK provided in an embodiment of the present invention, which can be applied to user Equipment, with reference to Fig. 3, which may include:
Message segment determining module 100, for determining all types of message segments for introducing website;
Mark module 200 is used for the correspondence of the information segment type and TDK element variables according to setting, is all types of The corresponding TDK element variables of information segment mark;
Element content determining module 300, for when carrying out TDK settings to target webpage, determining that target webpage is corresponding Message segment corresponding to TDK element variables, using the message segment corresponding to identified TDK element variables as the target webpage TDK elements particular content, complete the target webpage TDK setting.
Optionally, Fig. 4 shows a kind of alternative construction of mark module 200 provided in an embodiment of the present invention, with reference to Fig. 4, Mark module 200 may include:
First marking unit 210 is used for the correspondence of the information segment type and Title element variables according to setting, is The information segment mark Title element variables of respective type;
Second marking unit 220, for the pass corresponding with Description element variables of the information segment type according to setting System is the information segment mark Description element variables of respective type;
Third marking unit 230 is used for the correspondence of the information segment type and Keywords element variables according to setting, For the information segment mark Keywords element variables of respective type.
Optionally, the Title element variables may include:Multistage Title element variables;Corresponding, Fig. 5 shows this A kind of alternative construction for the first marking unit 210 that inventive embodiments provide, with reference to Fig. 5, the first marking unit 210 can wrap It includes:
First classification marking unit 211, for corresponding with Title element variable series according to the information segment type of setting Relationship marks the message segment corresponding to Title element variables at different levels.
Optionally, the Description element variables may include:Multistage Description element variables;It is corresponding , Fig. 6 shows a kind of alternative construction of the second marking unit 220 provided in an embodiment of the present invention, with reference to Fig. 6, the second label Unit 220 may include:
Second classification marking unit 221, for the information segment type and Description element variable series according to setting Correspondence, mark the message segment corresponding to Description element variables at different levels.
Optionally, the Keywords element variables may include:Multistage Keywords element variables;Corresponding, Fig. 7 shows A kind of alternative construction of third marking unit 230 provided in an embodiment of the present invention is gone out, with reference to Fig. 7, third marking unit 230 can To include:
Third classification marking unit 231, for the information segment type and Keywords element variable series according to setting Correspondence marks the message segment corresponding to Keywords element variables at different levels.
Optionally, TDK element variables corresponding with target webpage can also be selected by user when carrying out TDK settings.
Optionally, Fig. 8 shows a kind of alternative construction of element content determining module 300 provided in an embodiment of the present invention, With reference to Fig. 8, element content determining module 300 may include:
Unit 310 is transferred, for determining the Title element variable series corresponding to the target webpage, Description Element variable series and Keywords element variable series;It transfers and the Title element variable grades corresponding to the target webpage The corresponding message segment of number, message segment corresponding with the Description element variable series corresponding to the target webpage, and with The corresponding message segment of Keywords element variable series corresponding to the target webpage;
Content determining unit 320, for will be transferred and the Title element variable series corresponding to the target webpage Corresponding message segment, the particular content of the Title elements as the target webpage;It will be transferred and the target webpage institute The corresponding corresponding message segment of Description element variables series, Description elements as the target webpage Particular content;The message segment corresponding with the Keywords element variable series corresponding to the target webpage that will be transferred is made For the particular content of the Keywords elements of the target webpage.
Optionally, on the one hand, message segment determining module 100 is particularly used in, and is opened website in user, is filled in and introduce website All types of information when, determine all types of message segments that user fills in;
Optionally, on the other hand, message segment determining module 100 is particularly used in, and the message segment of website is described from storage With in the database of corresponding section of name, transfer the message segment corresponding to all types of section names, all types of section names that will be transferred Corresponding message segment is determined as introducing all types of message segments of website.
Optionally, Fig. 9 shows another structure diagram of the device of setting website TDK provided in an embodiment of the present invention, knot It closes shown in Fig. 3 and Fig. 9, which can also include:
Page generation module 400, after being arranged in the TDK for completing the target webpage, according to preset webpage format Template generates the results page after the target webpage setting TDK.
The device of setting website TDK provided in an embodiment of the present invention, realizes smaller workload, and user's operation it is simple, Easily website TDK is arranged.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of method of setting website TDK, which is characterized in that including:
Determine all types of message segments for introducing website;
It is all types of corresponding TDK of information segment mark according to the correspondence of the information segment type and TDK element variables of setting Element variable;The TDK element variables include:Title element variables, Description element variables and Keywords elements Variable;
When carrying out TDK settings to target webpage, the message segment corresponding to the corresponding TDK element variables of target webpage is determined, it will The particular content of message segment corresponding to identified TDK element variables as the TDK elements of the target webpage, described in completion The TDK of target webpage is arranged.
2. the method for setting website TDK according to claim 1, which is characterized in that the message segment class according to setting The correspondence of type and TDK element variables is that all types of corresponding TDK element variables of information segment mark include:
It is the information segment mark Title of respective type according to the correspondence of the information segment type and Title element variables of setting Element variable;
It is the information segment mark of respective type according to the correspondence of the information segment type and Description element variables of setting Remember Description element variables;
It is the information segment mark of respective type according to the correspondence of the information segment type and Keywords element variables of setting Keywords element variables.
3. the method for setting website TDK according to claim 2, which is characterized in that the Title element variables include: Multistage Title element variables;The correspondence of the information segment type and Title element variables according to setting is respective class The information segment mark Title element variables of type include:
According to the correspondence of the information segment type of setting and Title element variable series, Title element variables institutes at different levels are marked Corresponding message segment;
The Description element variables include:Multistage Description element variables;The message segment according to setting The correspondence of type and Description element variables is the information segment mark Description element variables of respective type Including:
According to the correspondence of the information segment type of setting and Description element variable series, label is at different levels Message segment corresponding to Description element variables;
The Keywords element variables include:Multistage Keywords element variables;The information segment type according to setting with The correspondence of Keywords element variables is that the information segment mark Keywords element variables of respective type include:
According to the correspondence of the information segment type of setting and Keywords element variable series, Keywords elements at different levels are marked Message segment corresponding to variable.
4. the method for setting website TDK according to claim 3, which is characterized in that the determining target webpage is corresponding Message segment corresponding to TDK element variables includes:
Determine the Title element variable series corresponding to the target webpage, Description element variables series with Keywords element variable series;Message segment corresponding with the Title element variable series corresponding to the target webpage is transferred, Message segment corresponding with the Description element variable series corresponding to the target webpage, and with the target webpage institute The corresponding corresponding message segment of Keywords element variables series;
The message segment using corresponding to identified TDK element variables is as the specific interior of the TDK elements of the target webpage Appearance includes:
The message segment corresponding with the Title element variable series corresponding to the target webpage that will be transferred, as the mesh Mark the particular content of the Title elements of webpage;Become being transferred with the Description elements corresponding to the target webpage The corresponding message segment of range number, the particular content of the Description elements as the target webpage;It will be transferred and institute State the corresponding message segment of Keywords element variable series corresponding to target webpage, the Keywords as the target webpage The particular content of element.
5. the method for website TDK is arranged according to claim 1-4 any one of them, which is characterized in that net is introduced in the determination The all types of message segments stood include:
Website is opened in user, when filling in all types of information for introducing website, determines all types of message segments that user fills in;
Or, from storing the message segment for being described website and in the database of corresponding section of name, transferring corresponding to all types of section names Message segment, be determined as the message segment corresponding to all types of section names transferred to introduce all types of message segments of website.
6. the method for website TDK is arranged according to claim 1-4 any one of them, which is characterized in that further include:
After completing the TDK settings of the target webpage, according to preset webpage format template, the target webpage setting is generated Results page after TDK.
7. a kind of device of setting website TDK, which is characterized in that including:
Message segment determining module, for determining all types of message segments for introducing website;
Mark module is used for the correspondence of the information segment type and TDK element variables according to setting, is all types of message segments Mark corresponding TDK element variables;The TDK element variables include:Title element variables, Description element variables, With Keywords element variables;
Element content determining module, for when carrying out TDK settings to target webpage, determining the corresponding TDK elements of target webpage Message segment corresponding to variable, using the message segment corresponding to identified TDK element variables as the TDK of target webpage members The particular content of element completes the TDK settings of the target webpage.
8. the device of setting website TDK according to claim 7, which is characterized in that the mark module includes:
First marking unit is used for the correspondence of the information segment type and Title element variables according to setting, is respective type Information segment mark Title element variables;
Second marking unit is used for the correspondence of the information segment type and Description element variables according to setting, is phase Answer the information segment mark Description element variables of type;
Third marking unit is used for the correspondence of the information segment type and Keywords element variables according to setting, is corresponding The information segment mark Keywords element variables of type.
9. the device of setting website TDK according to claim 8, which is characterized in that first marking unit includes:
First classification marking unit is used for the correspondence of the information segment type and Title element variable series according to setting, mark Remember the message segment corresponding to Title element variables at different levels;
Second marking unit includes:
Second classification marking unit, for corresponding with Description element variable series according to the information segment type of setting Relationship marks the message segment corresponding to Description element variables at different levels;
The third marking unit includes:
Third classification marking unit, for the pass corresponding with Keywords element variable series of the information segment type according to setting System, marks the message segment corresponding to Keywords element variables at different levels;
The element content determining module includes:
Unit is transferred, for determining that the Title element variable series corresponding to the target webpage, Description elements become Range number and Keywords element variable series;It transfers corresponding to the Title element variable series corresponding to the target webpage Message segment, message segment corresponding with the Description element variable series corresponding to the target webpage, and with the mesh Mark the corresponding message segment of Keywords element variable series corresponding to webpage;
Content determining unit, for corresponding with the Title element variable series corresponding to the target webpage by what is transferred Message segment, the particular content of the Title elements as the target webpage;To be transferred with corresponding to the target webpage The corresponding message segment of Description element variable series, Description elements as the target webpage it is specific in Hold;The message segment corresponding with the Keywords element variable series corresponding to the target webpage that will be transferred, as described The particular content of the Keywords elements of target webpage.
10. the device of website TDK is arranged according to claim 7-9 any one of them, which is characterized in that further include:
Page generation module, it is raw according to preset webpage format template after being arranged in the TDK for completing the target webpage Results page after TDK is set at the target webpage.
CN201510132766.XA 2015-03-25 2015-03-25 A kind of method and device of setting website TDK Active CN104679909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510132766.XA CN104679909B (en) 2015-03-25 2015-03-25 A kind of method and device of setting website TDK

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510132766.XA CN104679909B (en) 2015-03-25 2015-03-25 A kind of method and device of setting website TDK

Publications (2)

Publication Number Publication Date
CN104679909A CN104679909A (en) 2015-06-03
CN104679909B true CN104679909B (en) 2018-07-17

Family

ID=53314951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510132766.XA Active CN104679909B (en) 2015-03-25 2015-03-25 A kind of method and device of setting website TDK

Country Status (1)

Country Link
CN (1) CN104679909B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287444B (en) * 2019-07-02 2021-06-25 郑州悉知信息科技股份有限公司 Website detection method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527226A (en) * 2003-02-13 2004-09-08 Chaining of file element with corresponding field, inquiry and/or process in data base
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101171582A (en) * 2005-05-09 2008-04-30 阿玛得斯两合公司 Dynamic method for xml documents generation from a database

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6721727B2 (en) * 1999-12-02 2004-04-13 International Business Machines Corporation XML documents stored as column data
KR20020094884A (en) * 2001-06-13 2002-12-18 가부시키가이샤 소니 컴퓨터 엔터테인먼트 Banner advertisement forming apparatus, banner advertisement forming method, and storage medium
US7421448B2 (en) * 2004-12-20 2008-09-02 Sap Ag System and method for managing web content by using annotation tags
CN101394414A (en) * 2007-09-17 2009-03-25 杨云国 Method for open type webpage link advertisement publishing and evaluating

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527226A (en) * 2003-02-13 2004-09-08 Chaining of file element with corresponding field, inquiry and/or process in data base
CN101171582A (en) * 2005-05-09 2008-04-30 阿玛得斯两合公司 Dynamic method for xml documents generation from a database
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data

Also Published As

Publication number Publication date
CN104679909A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN103049271B (en) The method and apparatus of the description document of automatic generation api interface
CN102033887B (en) A kind of realize the method for c bookmart, user terminal and bookmark server
US20160070451A1 (en) Graphical User Interface that Simplifies User Creation of Custom Calculations for Data Visualizations
CN106980605A (en) Contract generation method and device
CN104346466B (en) The method and apparatus for the data that Added New Attribute in database
CN106021394A (en) Website construction method and apparatus
CN108537644A (en) A kind of method and apparatus of customer service recommended products
CN107343031A (en) A kind of method, apparatus for automatically updating file, electronic equipment and storage medium
CN108647244A (en) The tutorial resources integration method of mind map form, network store system
CN108319661A (en) A kind of structured storage method and device of spare part information
CN108170656A (en) Template establishment method, document creating method, rendering intent and device
CN108932257A (en) The querying method and device of multi-dimensional data
CN110232097A (en) A kind of method of data synchronization and device
CN108563431A (en) Software development methodology, device, computer readable storage medium and electronic equipment
CN104156381A (en) Copy access method and device for Hadoop distributed file system and Hadoop distributed file system
Shonhe A literature review of information dissemination techniques in the 21st century era
CN108920564B (en) Talent management method based on block chain and terminal thereof
CN107608632A (en) A kind of communication means, the apparatus and system of distributed storage cluster
CN108228618A (en) The method and apparatus of document verification of data
CN112463986A (en) Information storage method and device
CN104679909B (en) A kind of method and device of setting website TDK
CN104866603B (en) The call method and metadata management system of metadata
Nunn et al. The political economy of competitiveness and continuous adjustment in EU meta-governance
EP1593053A1 (en) Managing different representations of information
CN108055382A (en) Adding method, device and the mobile terminal of calendar event

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 450000 Zhengzhou science and technology zone, Henan high tech Road, building 169, building 1, No. 1

Applicant after: ZHENGZHOU XIZHI INFORMATION TECHNOLOGY CO., LTD.

Address before: 450000 Zhengzhou science and technology zone, Henan high tech Road, building 169, building 1, No. 1

Applicant before: ZHENGZHOU XIZHI INFORMATION TECHNOLOGY CO., LTD.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant