linkfox-zhihuiya-description-data-translated

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Zhihuiya Patent Description (Translated)

智慧芽(Zhihuiya)专利说明书(翻译版)

This skill guides you on how to retrieve translated patent description (specification) text via the Zhihuiya data service. It supports translation into Chinese, English, or Japanese, and can look up patents by patent ID or publication number.
本技能将指导您如何通过智慧芽数据服务获取翻译后的专利说明书(specification)文本。支持翻译为中文、英文或日文,可通过专利ID或公开号查询专利。

Core Concepts

核心概念

A patent description (also called "specification") is the full technical text of a patent document. This tool fetches the translated version of that text from the Zhihuiya patent database, supporting three target languages: Chinese (
cn
), English (
en
), and Japanese (
jp
).
When a patent's description is unavailable, the tool can optionally substitute it with a description from a patent family member (a related patent filed in another jurisdiction covering the same invention).
专利说明书(也称为"specification")是专利文档的完整技术文本。本工具从智慧芽专利数据库中获取该文本的翻译版,支持三种目标语言:中文(
cn
)、英文(
en
)、日文(
jp
)。
当某一专利的说明书无法获取时,工具可选择用同族专利(在其他司法管辖区提交的涵盖同一发明的相关专利)的说明书替代。

Parameters

参数

ParameterTypeRequiredDescription
patentIdstringConditionallyPatent ID. At least one of
patentId
or
patentNumber
must be provided. If both are given,
patentId
takes priority. Multiple values separated by commas; max 100.
patentNumberstringConditionallyPublication (announcement) number. At least one of
patentId
or
patentNumber
must be provided. Multiple values separated by commas; max 100.
langstringNoTarget translation language. Supported values:
en
(English, default),
cn
(Chinese),
jp
(Japanese).
replaceByRelatedintegerNoWhether to substitute with a patent family member's description when the original is unavailable.
1
= yes,
0
= no (default).
参数类型是否必填描述
patentIdstring可选(需满足条件)专利ID。必须提供
patentId
patentNumber
中的至少一个。若两者均提供,
patentId
优先支持。多个值用逗号分隔,最多100个。
patentNumberstring可选(需满足条件)公开(公告)号。必须提供
patentId
patentNumber
中的至少一个。多个值用逗号分隔,最多100个。
langstring目标翻译语言。支持值:
en
(英文,默认)、
cn
(中文)、
jp
(日文)。
replaceByRelatedinteger当原专利说明书无法获取时,是否用同族专利的说明书替代。
1
=是,
0
=否(默认)。

Key Rules

关键规则

  1. At least one identifier required: Either
    patentId
    or
    patentNumber
    must be provided. If the user gives a publication number like "US10123456B2", use
    patentNumber
    . If they give a numeric patent ID, use
    patentId
    .
  2. Priority: When both identifiers are supplied,
    patentId
    takes precedence.
  3. Batch queries: Up to 100 patents can be queried at once by passing comma-separated values.
  4. Default language: If the user does not specify a language, default to
    en
    (English).
  1. 至少需要一个标识符:必须提供
    patentId
    patentNumber
    中的一个。如果用户提供类似"US10123456B2"的公开号,使用
    patentNumber
    参数;如果提供数字形式的专利ID,使用
    patentId
    参数。
  2. 优先级:当同时提供两个标识符时,
    patentId
    优先级更高。
  3. 批量查询:通过传递逗号分隔的值,一次最多可查询100个专利。
  4. 默认语言:如果用户未指定语言,默认使用
    en
    (英文)。

调用方式

调用方式

  • API 端点
    POST /zhihuiya/descriptionDataTranslated
    (完整参数/响应/错误码见
    references/api.md
  • Python 脚本
    python scripts/zhihuiya_description_translated.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为)
  • 始终将完整响应写入
    <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-description-data-translated-<timestamp>.json
    <cwd>
    为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;
    <session>
    取自环境变量
    SESSION_ID
    ,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
    total
    /
    costToken
    、最大列表字段的长度 + 前 3 条样本)
  • --inline
    强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用
jq
ConvertFrom-Json
从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
  • API 端点
    POST /zhihuiya/descriptionDataTranslated
    (完整参数/响应/错误码详见
    references/api.md
  • Python 脚本
    python scripts/zhihuiya_description_translated.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗积分;同一会话中同一参数组合默认仅调用一次,脚本带有24小时本地缓存。失败/空结果不得自动更换关键词、翻页或修改邮编连续试探;需要继续检索时,需先向用户说明会产生额外消耗。
输出策略(脚本默认行为)
  • 始终将完整响应写入
    <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-description-data-translated-<timestamp>.json
    <cwd>
    为脚本执行时的工作目录,在Claude Code中即当前项目目录;
    <session>
    取自环境变量
    SESSION_ID
    ,按用户任务自动聚合;禁止写入/tmp目录,若当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后将完整JSON打印到标准输出(stdout)
  • 响应体 > 8 KB:落盘后标准输出(stdout)仅输出摘要(顶层字段、常见计数如
    total
    /
    costToken
    、最大列表字段的长度 + 前3条样本)
  • 添加
    --inline
    参数可强制将全量内容打印到标准输出(同样会落盘)
读数据建议:先查看摘要判断是否满足需求;需要具体字段时,优先使用
jq
ConvertFrom-Json
从保存的JSON文件中按需抽取,避免整份JSON进入上下文。

解决认证和积分问题

解决认证与积分问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
发生以下异常情况时,按照
references/onboarding.md
中的指引解决问题:

异常情况

异常情况

  • 未配置API Key:环境变量未配置
    LINKFOX_AGENT_API_KEY
    ,也未配置
    LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
  • 未配置API Key:环境变量未配置
    LINKFOX_AGENT_API_KEY
    ,也未配置
    LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息包含“积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或类似含义的内容。

Usage Examples

使用示例

1. Get English translation of a patent description by publication number
patentNumber: "US10123456B2"
lang: "en"
2. Get Chinese translation of a patent description by patent ID
patentId: "abc123def"
lang: "cn"
3. Batch query with family member fallback
patentNumber: "US10123456B2,EP3456789A1,CN112345678A"
lang: "en"
replaceByRelated: 1
4. Japanese translation of a specific patent
patentNumber: "JP2021012345A"
lang: "jp"
1. 通过公开号获取专利说明书的英文翻译
patentNumber: "US10123456B2"
lang: "en"
2. 通过专利ID获取专利说明书的中文翻译
patentId: "abc123def"
lang: "cn"
3. 批量查询并启用同族专利 fallback
patentNumber: "US10123456B2,EP3456789A1,CN112345678A"
lang: "en"
replaceByRelated: 1
4. 获取特定专利的日文翻译
patentNumber: "JP2021012345A"
lang: "jp"

Display Rules

展示规则

  1. Present the translated text clearly: Show the patent description text directly. For long descriptions, present a summary or the first section and inform the user the full text is available.
  2. Identify substitutions: When
    pnRelated
    is present in the response, clearly inform the user that the description was sourced from a family member patent and show the related publication number.
  3. Batch results: When multiple patents are returned, present them in a structured list with clear separation between each patent's description.
  4. Error handling: When a query fails, explain the reason based on the response and suggest checking the patent ID or publication number for correctness.
  5. No fabrication: Never invent or paraphrase patent text. Only display what the API returns.
  1. 清晰呈现翻译文本:直接展示专利说明书文本。对于较长的说明书,可呈现摘要或第一部分内容,并告知用户完整文本已保存。
  2. 标识替代来源:当响应中包含
    pnRelated
    字段时,需明确告知用户该说明书来源于同族专利,并展示相关公开号。
  3. 批量结果展示:当返回多个专利结果时,以结构化列表形式呈现,清晰区分每个专利的说明书内容。
  4. 错误处理:当查询失败时,根据响应信息解释原因,并建议用户检查专利ID或公开号是否正确。
  5. 禁止编造内容:不得编造或改写专利文本,仅展示API返回的内容。

User Expression & Scenario Quick Reference

用户表述与场景速查

Applicable -- Patent description/specification translation queries:
User SaysScenario
"Translate this patent description to English"Single patent translation
"I need the Chinese version of patent US10123456"Specific language translation
"Get me the specification text for these patents"Batch patent description retrieval
"What does patent CN112345678A describe?"Patent description lookup
"Show me the Japanese translation of this patent's full text"Japanese translation
"The description is missing, can you try a family member?"Family member fallback
Not applicable -- Needs beyond patent description translation:
  • Patent search or discovery (finding patents by keyword/topic)
  • Patent claim analysis or claim chart generation
  • Patent legal status or prosecution history
  • Patent citation or reference analysis
  • Patent portfolio analytics or statistics
适用场景 -- 专利说明书翻译查询:
用户表述场景
"把这份专利说明书翻译成英文"单条专利翻译
"我需要专利US10123456的中文版本"指定语言翻译
"帮我获取这些专利的说明书文本"批量专利说明书获取
"专利CN112345678A的内容是什么?"专利说明书查询
"展示这份专利全文的日文翻译"日文翻译
"说明书缺失了,能不能试试同族专利?"同族专利 fallback
不适用场景 -- 超出专利说明书翻译范围的需求:
  • 专利检索或发现(通过关键词/主题查找专利)
  • 专利权利要求分析或权利要求图生成
  • 专利法律状态或审查历史
  • 专利引用或参考文献分析
  • 专利组合分析或统计

积分消耗规则

积分消耗规则

按动态规则计费:消耗积分 = 81 × 返回data条数。每条为 1 条专利说明书翻译结果
重要:本技能的服务按倍数动态计算,可能一次性消耗大量积分,必须提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. Anything you believe could be improved
Call the feedback API as specified in
references/api.md
. Do not interrupt the user's flow.

For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.
按动态规则计费:消耗积分 = 81 × 返回data条数。每条为1条专利说明书翻译结果
重要提示:本技能的服务按倍数动态计算积分消耗,可能一次性消耗大量积分,必须提前提醒用户,由用户决定是否继续。
反馈:
当出现以下任一情况时,自动通过Feedback API检测并提交反馈:
  1. 本技能描述的功能或用途与实际行为不符
  2. 技能结果与用户意图不符
  3. 用户表达了对本技能的不满或赞扬
  4. 任何你认为可以改进的内容
按照
references/api.md
中的指定方式调用反馈API,不得中断用户流程。

如需获取更多高品质、专业的跨境电商技能,请访问LinkFox Skills.