|
注册
首页
联系我们

专利技术全景分析 [A002]创新词云(检索式搜索)

[A002]创新词云(关键词&ipc搜索)公开
V1
通过创新词云可以了解该技术领域内最热门的技术主题词,帮助您分析该技术领域内最新重点研发的主题。提取了该技术领域中最近5,000条专利中最常见的关键词,根据关键词覆盖专利数排序,最多返回Top100个关键词。
注意:应提供关键词和IPC中的至少一个,两者都填写则以IPC为准。

基本信息

接口地址: /insights/word-cloud

请求方式: get

返回格式: application/json

登录后即可调试接口,点击 登录/注册

接口说明文档下载

请求参数

query
ParameterTypeRequiredDescriptionSample
keywordsstringfalse
关键词在专利的标题和摘要中精确搜索。支持AND、OR、NOT连接关键词,如 "手机 AND (屏幕 OR 电池)"。
car
ipcstringfalse
专利的IPC分类号
B66B11
apply_start_timestringfalse
专利申请起始时间,格式:yyyy
2010
apply_end_timestringfalse
专利申请截止时间,格式:yyyy
2020
public_start_timestringfalse
专利公开起始时间,格式:yyyy
2010
public_end_timestringfalse
专利公开截止时间,格式:yyyy
2020
authoritystringfalse
选择专利的受理局,如CN、US、EP、JP等,具体可以参考https://analytics.zhihuiya.com/status。 默认查询全部数据。 搜索专利受理局代码,多个代码可以用逻辑符OR连接 例如输入:US OR EP
CN
langstringtrue
可选择的语言,默认值为英文。单选,可选项包括cn、en,分别为中文、英文,请使用小写字母。
en

请求示例

  • Curl
  • NodeJs
  • Python
  • Java
curl -X GET "https://connect.zhihuiya.com/insights/word-cloud?keywords=car&ipc=B66B11&apply_start_time=2010&apply_end_time=2020&public_start_time=2010&public_end_time=2020&authority=CN&lang=en&apikey="
-H "Content-Type:application/json"
-H "authorization:Bearer {token}"
const axios = require('axios');
const options = {
    url: "https://connect.zhihuiya.com/insights/word-cloud",
    method: "GET",
    headers: {
        'Content-Type': 'application/json',
        'authorization': 'Bearer {token}',
    },
    params: {
        'keywords': 'car',
        'ipc': 'B66B11',
        'apply_start_time': '2010',
        'apply_end_time': '2020',
        'public_start_time': '2010',
        'public_end_time': '2020',
        'authority': 'CN',
        'lang': 'en',
        'apikey': '',
    },
};
axios(options).then(res => {
    console.log(res.data)
}).catch(err => {
    console.log(err)
})
import requests
url = "https://connect.zhihuiya.com/insights/word-cloud"

params = {
    "keywords": "car",
    "ipc": "B66B11",
    "apply_start_time": "2010",
    "apply_end_time": "2020",
    "public_start_time": "2010",
    "public_end_time": "2020",
    "authority": "CN",
    "lang": "en",
    "apikey": ""
}

payload = None

headers = {
    "Content-Type": "application/json",
    "authorization": "Bearer {token}"
}

response = requests.request("GET", url, params=params, data=payload, headers=headers)

print(response.text)
public static void main(String[] args) {
    String host = "https://connect.zhihuiya.com";
    String path = "/insights/word-cloud";

    Map headers = new HashMap();
    headers.put("Content-Type", "application/json");
    headers.put("authorization", "Bearer {token}");

    Map querys = new HashMap();
    querys.put("keywords", "car");
    querys.put("ipc", "B66B11");
    querys.put("apply_start_time", "2010");
    querys.put("apply_end_time", "2020");
    querys.put("public_start_time", "2010");
    querys.put("public_end_time", "2020");
    querys.put("authority", "CN");
    querys.put("lang", "en");
    querys.put("apikey", "");
    try {
        /**
        * Important Tips:
        * Please Download HttpUtils From
        * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/src/main/java/com/aliyun/api/gateway/demo/util/HttpUtils.java
        *
        * Please refer to the corresponding dependence:
        * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/pom.xml
        */
        HttpResponse response = HttpUtils.doGet(host, path, null, headers, querys);
        System.out.println(EntityUtils.toString(response.getEntity()));
    } catch (Exception e) {
        e.printStackTrace();
    }
}
复制

返回参数

CommonResponse
ParameterTypeRequiredDescriptionSample
data
arrayfalse
响应数据
no sample
status
booleantrue
状态
false
error_msg
stringfalse
错误信息
The request parameter format is incorrect!
error_code
integertrue
错误代码
0
WordCloudResponse
ParameterTypeRequiredDescriptionSample
name
stringfalse
核心概念
electronic device
count
integerfalse
专利数量
37

返回状态码

error_codeDescription
0请求成功
68300004请求参数异常!
68300005查询Api失败!
68300006解析基本存取错误!
68300007存在错误的请求!
68300008服务中断异常,请稍后再试!
68300010文件不符合上传规范!
67200001API整体限流错误!
67200002用户调用请求限流限制错误!
67200003申请token的key和secret不正确或者状态错误!
67200004无权限或该接口的套餐已超过系统设置的上限!
67200005账户余额不足,调用失败!
67200006客户端已过期,调用失败!

返回示例

  • json
{
    "data": [
        {
            "name": "electronic device",
            "count": 37
        }
    ],
    "status": true,
    "error_code": 0
}
复制
[A001]专利趋势分析
[A003]旭日图