关键词研究
High Contrast
Dark Mode
Light Mode
Sepia
Forest
2 min read390 words

关键词研究

关键词研究是 SEO 的起点——理解用户搜什么,才能给什么。

搜索意图分类

graph TD INTENT[搜索意图] --> INFO[信息型 Informational] INTENT --> NAV[导航型 Navigational] INTENT --> COM[商业调研 Commercial] INTENT --> TRANS[交易型 Transactional] INFO --> Q1[如何减肥] INFO --> Q2[Python 是什么] NAV --> Q3[GitHub 登录] NAV --> Q4[淘宝官网] COM --> Q5[最好的笔记本电脑] COM --> Q6[iPhone vs Samsung] TRANS --> Q7[买 MacBook Pro] TRANS --> Q8[注册 ChatGPT] style INFO fill:#e3f2fd,stroke:#1565c0 style TRANS fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px

关键词研究流程

"""
关键词研究与评估
"""
from dataclasses import dataclass
@dataclass
class Keyword:
"""关键词分析"""
term: str
volume: int          # 月搜索量
difficulty: int      # 难度 0-100
cpc: float           # 广告 CPC
intent: str          # 搜索意图
@property
def opportunity_score(self) -> float:
"""机会评分 = 搜索量 × (100 - 难度) / 100"""
return self.volume * (100 - self.difficulty) / 100
@property
def priority(self) -> str:
score = self.opportunity_score
if score > 5000:
return "高优先"
elif score > 1000:
return "中优先"
return "低优先"
@property
def content_type(self) -> str:
"""推荐内容类型"""
intent_map = {
"信息型": "教程/指南/百科文章",
"商业调研": "对比评测/排行榜",
"交易型": "产品页/落地页",
"导航型": "品牌页面",
}
return intent_map.get(self.intent, "通用文章")
keywords = [
Keyword("python 教程", 18000, 65, 3.5, "信息型"),
Keyword("python 入门 书籍 推荐", 2200, 30, 2.0, "商业调研"),
Keyword("python 下载 安装", 8000, 20, 1.0, "交易型"),
Keyword("python 和 java 哪个好", 5500, 45, 2.5, "商业调研"),
Keyword("python matplotlib 折线图", 800, 15, 0.5, "信息型"),
]
print("=== 关键词研究报告 ===")
print(f"{'关键词':<28} {'搜索量':>6} {'难度':>4} {'机会分':>8} {'优先级':<6}")
print("-" * 60)
sorted_kw = sorted(keywords, key=lambda k: k.opportunity_score, reverse=True)
for kw in sorted_kw:
print(f"{kw.term:<28} {kw.volume:>6} {kw.difficulty:>4} "
f"{kw.opportunity_score:>8.0f} {kw.priority:<6}")
print(f"  意图: {kw.intent} → 建议: {kw.content_type}")

长尾关键词策略

graph TD HEAD[头部词 python 教程] -->|高搜索 高竞争| MID[中间词 python 入门教程] MID -->|中搜索 中竞争| LONG[长尾词 python 零基础入门教程 2024] HEAD -.->|10% 词 = 70% 搜索量| VOLUME[流量集中] LONG -.->|90% 词 = 30% 搜索量| CVR_HIGH[但转化率最高] style HEAD fill:#fce4ec,stroke:#c62828 style LONG fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
"""
长尾关键词挖掘策略
"""
LONGTAIL_METHODS = {
"Google 自动补全": {
"方法": "搜索框输入关键词,记录补全建议",
"工具": "免费",
"示例": "python 教程 → python 教程视频/python 教程入门",
},
"Google PAA": {
"方法": "搜索结果中的 '其他人也在问' 板块",
"工具": "免费",
"示例": "学 Python 需要多久?/Python 学哪个方向?",
},
"Answer The Public": {
"方法": "围绕种子词生成问题树",
"工具": "免费 3 次/天",
"示例": "who/what/when/where/why + python",
},
"Ahrefs/SEMrush": {
"方法": "专业 SEO 工具查同类词和相关词",
"工具": "$99+/月",
"示例": "关键词难度/搜索量/SERP 分析",
},
"竞品分析": {
"方法": "查竞争对手排名关键词",
"工具": "Ahrefs Site Explorer",
"示例": "发现竞品有排名但你没有的词",
},
}
print("=== 长尾关键词挖掘方法 ===")
for method, info in LONGTAIL_METHODS.items():
print(f"\n【{method}】")
print(f"  方法: {info['方法']}")
print(f"  工具: {info['工具']}")
print(f"  示例: {info['示例']}")

关键词分组策略

分组 示例 内容策略 目标
品牌词 公司名/产品名 官网优化 防御竞品
核心词 python 教程 支柱页面 权重积累
长尾词 python 读取 csv 教程 子页面 精准流量
问题词 python 怎么读取文件 FAQ/教程 精选摘要
对比词 python vs java 对比文章 商业流量

行动清单

下一节02-竞争对手关键词分析 — 系统挖掘竞品已在排名而你尚未覆盖的关键词缺口。